BOOK I
GENERAL PART
TITLE III
JURIDICAL CONSEQUENCES OF THE ACT
CHAPTER IV
CHOICE AND DETERMINATION OF PENALTIES
SECTION IV
DISCOUNT
Article 80
Procedural measures
1- Detention, preventive imprisonment and obligation to stay at home, suffered by the defendant in the process in which he is to be sentenced, are discounted in full in the enforcement of the imprisonment penalty imposed on him.
2- If the penalty applied is a fine, the detention, preventive imprisonment and obligation to stay at home are discounted at the rate of 1 day of deprivation of freedom for, at least, one day fine.
Reduction of national sentence following pre-trial detention - national proceedings
EDIT.