2-2-206. Officers not to pay illegal warrant. Officers charged with the disbursement of public moneys must not pay any warrant or other evidence of indebtedness against the state, county, city, town, or township when the same has been purchased, sold, received, or transferred contrary to any of the provisions of this part.