All moneys received and collected on behalf of a particular political subdivision by the Department of Revenue, pursuant to this chapter, shall be credited to a special municipal non-ad valorem tax fund which is hereby established in the state treasury and after deducting the amount of refunds made, the amounts necessary to defray the cost of collecting the tax, and the administrative expenses incident thereto, shall be paid within thirty days after collection to the municipality entitled thereto.
SDCL 10-52-5