68.01 Declaring tax assessment invalid.—When an assessment is made against any person, body politic or corporate and payment is refused on an allegation of illegality of the assessment, the person, body corporate or politic may file an action in chancery setting forth the alleged illegality. The court has jurisdiction to decide the matter and if the assessment is illegal, shall declare the assessment not lawfully made.