It is unlawful for any member of the board or the clerk of the board to have any financial interest in the sale or purchase of any article to or from the county, or to receive any rebate, expense account, transportation, or other valuable consideration in connection with or through the purchase of any equipment, materials or supplies for the county, or the awarding of any contract for the county; and if any commissioner, or the clerk of the board, shall knowingly or wilfully violate any provision of this section, he shall be guilty of a misdemeanor, and upon conviction shall be punished as prescribed by law and shall forfeit his office or be discharged from employment.