Every clerk shall keep a perfect account of all arrearages coming into his hands and accruing to the county or state on account of taxes, fines, or otherwise. He shall then make settlement with the proper court at each stated term and pay over all balances.