The demurrer to the complaint, the charge given, and the charge requested, presént but a single question; that is, whether a claim against a county, audited and allowed by the court of county commissioners, bears interest from the day of its allowance, to the day of its payment by the county treasurer.
The court of county commissioners is required to audit all claims against their respective counties, and to register every claim, or such part thereof as is allowed ; and the judge of probate is required to give the claimant a warrant on the treasury for the amount so allowed. R. C. § 907. The county treasurer is required to register all claims allowed by the commissioners’ court, and presented to him, designating the date of the allowance, when presented, the character of the claim, to whom allowed, and the amount. He numbers, registers, and pays all claims, in the order of presentment; and on payment takes a receipt for the same, and marks on the register the word “ paid,” against the same. R. C. § 926. If the treasurer, having funds, fails to pay, on demand made, any claim against the county which has been allowed, the claimant, his legal representative, or assigns, may, by motion, obtain judgment against him and his sureties, for the amount of such claim, with interest from the demand, ten per centum damages, and costs. R. C. § 930. No suit can be maintained against a county, until the claim or demand has been presented to the court of county commissioners, and either disallowed, or reduced by the court and refused by the party. R. C. § 2537; Autauga County v. Davis, 32 Ala. 703; Marshall County v. Jackson County, 36 Ala. 613.
Construing these statutes in connection, when a claim is created by a county, in the exercise of its general powers, its obligation as a contract is, that, on presentment to the county commissioners within the period prescribed by law, it shall be audited and allowed, and the county treasurer ordered to pay the same when in funds ; that the county treasurer, having funds, will pay it in the order of its presentment and registration. The county is not in default, unless the court of county commissioners refuses to audit and allow the claim, or, having audited and allowed it, fails to exercise the powers with which it is clothed, to assess and collect taxes for its payment. Tarver v. Comm’rs Court, 17 Ala. 527; Falkner v. Comm'rs Court, 19 Ala. 177.
The statutes of this State substitute interest for damages allowed at common law for the detention of the debt. McWhorter v. Standifer, 2 Porter, 519. It is intended as just compensation for withholding the principal, and accrues only from the time the principal is due and payable. When a claim *390against a county is audited and allowed by the commissioners’ court, and the party to whom it is payable accepts the warrant on the county treasurer for its payment, he does so with the knowledge that, by law, it can be paid by the treasurer only in the order of its presentment and registration. Unless there is a failure to pay in this order, the principal is not detained, or withheld, and interest cannot accrue. If there is such failure, it is the default of the treasurer, not of the county, and the statute subjects him to liability for interest, and ten per cent, damages in addition. From the day of this default only interest attaches. It does not accrue against the county, but against the treasurer. If the treasurer pays the claim in its order, he can pay only the amount specified in the warrant. It is an authority to him to pay only that sum. If he should pay more, he would exceed the authority, and could not claim from the county the allowance of the excess. The creditor, receiving the amount specified in the warrant, receives all to which he is entitled. He contracted with the county, not for the payment of a sum certain, when his claim was audited and allowed, but for the payment of the amount allowed him, in the order of payment prescribed by the law. There is no breach of contract or duty imputable to the county, and no ground on which to rest a claim for damages or interest. In these views, we are supported by decisions in other States, on statutes similar to ours. Dyer v. Covington, 19 Penn. 200; Allison v. Juniata, 50 Penn. 351; Addison County v. Bartlett, 1 Scam. (Ill.) 67.
The rulings of the circuit court were erroneous; and as it appears fully from the pleading of the appellee that his only claim is for interest accruing after the day of the auditing and allowance of his claim against the county, to the day of payment by the treasurer, the judgment is reversed, but the cause will not be remanded. A judgment is here rendered, dismissing the motion against the appellants, and taxing the appellee with all the costs in this court, and in the circuit court.