If the auditor or treasurer shall wilfully [willfully] neglect or refuse to perform any duty enjoined by law, or shall be guilty of any oppression or extortion in the performance of any legal duty, or shall receive any fee or reward for the performance of any legal duty not allowed by law, or by color of his office shall knowingly do any act not authorized by law, or in any other manner than is required by law, he shall, upon conviction upon indictment, be adjudged guilty of a misdemeanor in office and be fined any sum not exceeding one thousand dollars [($1,000)]. The state or any person injured, in the name of the state, may sue, either before or after an indictment found, upon the bonds of the auditor and treasurer, for any damages suffered by reason of any of the acts of the auditor or treasurer in this section mentioned.
NMS § 8-6-6