Any receiver, assignee, trustee, committee, guardian, executor, administrator, or other fiduciary, required by law to give bond as such, may include as a part of lawful expenses such actual sum paid for such suretyship, not exceeding $10 per annum when the amount of the bond is not more than $1,000, and not more than one percent per annum on the excess when over $1,000, as the head of the department, court, judge, or officer by whom, or the court or body by which, the fiduciary is appointed allows; and in all actions or proceedings the party entitled to recover costs may include therein the reasonable fees of such company for executing or guaranteeing any bond or undertaking therein. The several county and town boards, and the governing body of any city, or school district, may allow the treasurer of the municipality such reasonable sum, not exceeding the amount herein specified, as may have been paid by the treasurer for such suretyship, to be paid out of the general revenue fund of the municipality. The officers required by law to approve such bill may first designate the surety company to be employed, if its charges be as low as those offered by any other responsible company.