Any locality or commission operating a juvenile secure detention facility may collect from any locality of this Commonwealth from which a child is placed in its facility a daily rate which does not exceed the sum total of the daily operating costs less any state aid for the purposes of construction and operation of such program. Daily cost shall be based on the cost of capital construction debt service and the cost of feeding, clothing, caring for, and furnishing medicine and medical attention for such child as may be agreed upon by the governmental units involved.
Va. Code § 16.1-322.4