Sheriffs, referees, receivers, and witnesses shall receive such compensation as is allowed for like services in other cases, to be taxed as costs in the case, and the collection thereof from such party or parties as ought to pay the same shall be enforced by an order or execution.
Iowa Code § 630.13