It is a Class C misdemeanor for a collector of taxes to collect, under the color or pretense of office, more money, in the name of taxes, than is directed by law.