For knowingly failing to file a tax statement required by ordinance or knowingly making a false affidavit to a statement required by a tax ordinance relative to the amount, location, kind, or value of property subject to taxation with intent to evade the taxation, a municipality may by ordinance prescribe a penalty not to exceed a fine of $1,000 or imprisonment for 90 days.