If the sentencing court finds good cause to reduce the fees or costs imposed under § 23A-27-25.7, the court shall issue an order stating that the defendant shall be credited the current rate of pay for institutional work assignments against the fines or costs imposed in the priority ordered by the court. The reduction must be in accordance with work performed by the defendant related to reasonable institutional work assignments. Any work required as a disciplinary sanction for misconduct may not count as a credit against fines or costs imposed. The Department of Corrections shall record the number of hours the defendant worked pursuant to this section. The defendant shall be responsible for any outstanding amount following release from incarceration.
SDCL 23A-27-25.8