If any tax collector, judge of probate, sheriff, clerk, or other officer or person fails to pay to the county treasurer or other custodian of county funds, within the time prescribed by law or, in case no time is fixed by law, on the demand of such treasurer or other custodian of county funds, any money he has collected or received for the county, judgment may be recovered against such person or such officer and his sureties, or any or either of them, on 10 days' notice, on motion of such treasurer or other custodian of county funds, in the circuit court in the name of the county, for the amount so collected or received, with interest from the time fixed for the payment or from the demand when no time is fixed and 10 percent damages and costs.
Ala. Code § 6-6-723 (1975)