The officers mentioned in this title are not in any case, except for the state or county, to perform any official services unless upon prepayment of the fees prescribed for such services by law, except as in the succeeding sections provided: provided further, that the attorney-general or any prosecuting attorney may cause subpoenas to be issued on behalf of the state, without paying or tendering fees in advance to any officers, and on such payment the officer must perform the services required.
For every failure or refusal to perform official duty when the fees are tendered, the officer is liable on his official bond.