Except as otherwise provided in this chapter, all expenses necessary or appropriate to the carrying out of the purposes and intent of this chapter and all expenses of maintenance and care of children under the jurisdiction of the juvenile court pursuant to this chapter that may be incurred by order of the juvenile court in carrying out the provisions and intent of this chapter (except costs paid by parents, legal guardians, legal custodians, or trustees and court costs as provided by law) shall be valid charges and preferred claims against the county . These claims shall be paid by the county treasurer when itemized and sworn to by the creditor or other persons knowing the facts in the case and when approved by the juvenile court. Notwithstanding the foregoing, a municipality shall reimburse the county the actual costs of housing, maintenance, and medical expenses of those children held in a facility utilized by the county for housing children, or other facility licensed by the Department of Youth Services utilized by the county, as a result of a child being cited or detained for an alleged violation of an ordinance of the municipality that is not based on a state criminal statute adopted by the municipality as a municipal ordinance.
Ala. Code § 12-15-108 (1975)