All fines, forfeitures, and penalties recovered for the violation of a county ordinance shall be paid into the county treasury. Every court or officer receiving such money, on or before the tenth day after the last day of the month in which the money is collected, shall make a return of it under oath and be given duplicate receipts for the amounts paid. One of the receipts shall be filed with the county auditor.