Every assessor who fails to complete the local roll, or to transmit the statistical statement to the State Board of Equalization, forfeits one thousand dollars to the county, to be recovered on his official bond in an action brought in the name of the people by the Attorney General, when directed to do so by the board.