The fees and necessary expense of the referee and the compensation of the shorthand reporter shall be fixed by the court, after filing the report, and shall be audited and paid by the county wherein the court is held which made the reference; provided that the compensation of such reporter for making a transcript of the evidence shall not be a charge against or paid by the county, but when ordered by the referee shall be paid by the parties to the action.
SDCL 15-13-4