In making a settlement with the county treasury, the tax collector of each county shall pay the amount due the county to a county depository, according to law and the rules of the board of supervisors. The tax collector, in making deposits, shall receive duplicate receipts for the same and shall mail one to the chancery clerk, and the county depository, upon demand, shall issue its official receipt as required heretofore.