The state's attorney, whenever any money for fines, forfeitures, recognizances, penalties, or costs is received, shall deliver to the officer or person paying the same, duplicate receipts, one receipt shall be filed by the officer or person in the office of the county treasurer.
SDCL 7-16-20