No assessor, tax collector, city, city and county, or county treasurer shall charge or receive any fees or compensation for assessing, collecting, receiving, keeping, or disbursing any school moneys, but the whole moneys collected shall be paid to the city, city and county, or county treasurer.