In all cases when any person shall pay any money into the county treasury he shall take a receipt therefor from the county treasurer.