361. The defendant may at the time of or during imprisonment pay part of the sums due to the director or warden of the establishment where he is detained.
Payment under the first paragraph reduces the number of days of imprisonment to be served at the time of imprisonment proportionately to the ratio between the amount paid and the amount of the sums due at the time of imprisonment.