The expense of transporting any offender between the place of his confinement and the county wherein an untried indictment, information or complaint is pending shall be paid by the county. It shall be the duty of the sheriff to transport the offender, and he shall be compensated for such service as provided by section 57.290.
§ 217.470, RSMo