One-tenth of the net profit for any dividend period shall be carried to the surplus fund until such fund shall amount to twenty percent of the capital stock or members' equity. Any losses sustained in excess of undivided profits may be charged to the surplus account, but no dividends shall thereafter be declared or paid until the surplus fund shall amount to twenty percent of the capital stock or members' equity.
SDCL 51A-3-6