In the event the tax assessor shall fail to comply with the requirements of Sections 40-7-37 through 40-7-39 in any year, he shall forfeit to the State of Alabama the sum of $500, which may be collected by the state by an action upon his official bond.