(a) In this section:
(1) “Commercial lodging establishment” means a motel, hotel, inn, apartment, or similar entity that offers lodging to the public in exchange for compensation.
(2) “Commercial transportation company” means an entity that offers transportation of people or goods to the public in exchange for compensation.
(b) A witness summoned by a state agency is entitled to receive from the agency:
(1) one dollar for each day the witness attends court;
(2) mileage at the rate provided by law for state employees if the witness uses the witness’s personally owned or leased motor vehicle to attend court;
(3) reimbursement of the witness’s transportation expenses if the witness does not use the witness’s personally owned or leased motor vehicle to attend court; and
(4) reimbursement of the witness’s meal and lodging expenses while attending court if the court is at least 25 miles from the witness’s place of residence.
(c) A state agency may directly pay a commercial transportation company for the transportation expenses and a commercial lodging establishment for the lodging expenses of a witness if this section otherwise requires the agency to reimburse the witness for those expenses.
(d) A state agency may not pay a commercial transportation company or a commercial lodging establishment or reimburse a witness for transportation, meal, or lodging expenses under this section at a rate that exceeds the maximum rates provided by law for state employees.
(e) After receiving the witness’s affidavit, the court clerk shall issue a certificate showing the fees incurred under this section.
(f) The witness fees must be taxed in the bill of costs as other costs.