In any county, other than a county of the second class, whenever any child is an inmate of an orphan asylum or home or a children's home or a home for the friendless or a private home or other institution for the care or training of orphans or other children, and the maintenance of such children is provided at the cost of the county or the county institution district wherein it is located, and such child attends the public schools of the school district wherein such home or institution is located, although not a legal resident of such district, the county shall in all such cases pay to such school district the tuition charge provided for by this act in the case of pupils attending public schools of another district. Such costs shall be paid annually by the county and shall thereafter be collected by the county from the school district in which such child is a legal resident.
24 P.S. § 13-1307