362. The director or warden of the establishment who receives a sum due must give a receipt to the defendant as evidence of payment of the sum and remit the amount to the collector.
In addition, the director or warden must release the defendant from custody if he has made full payment of the sums due, unless his detention is required on another ground.