When any application for refund under this chapter is granted, the county auditor shall issue and deliver to the applicant a refund order on the county treasurer in the amount ordered refunded, stating therein what sum shall be refunded, and the county treasurer shall refund the same, and write opposite such taxes in his tax duplicate, the word "refunded," and the date and number of the order. The amount so refunded shall be paid in preference to other claims upon the treasury and the amount so refunded shall be charged to the state, county, municipality, township, or school corporation which may have received any part of such money, in proportion to the levies for the year for which the tax was extended.
SDCL 10-18-10