A district may, with the approval of the county board of education, contract with the county superintendent of schools for the supervision of attendance of pupils in the school district. The county superintendent of schools shall transfer from the funds of the district to the county school service fund an amount equal to the actual cost of providing for the supervision of attendance.