There are multiple definitions - click on the translation that matches your context.

abono de prisión preventiva

full

credit for jail time

Comparative law notes

Spain

US