Showing credit note amount on invoice

Hello,

I’d like to show the credit note amount on the invoice but couldn’t find the correct object. Basically once I apply a credit note to an invoice in dolibarr, I want to be able to show that amount on the invoice as well. Currently I am using a .odt template and I have

SUBTOTAL {object_total_ht_locale}
TAX {object_total_vat_locale}
TOTAL {object_total_ttc_locale}
DEPOSIT{object_already_payed_locale}
BALANCE{object_remain_to_pay_locale}

And I’m hoping to add CREDIT {object_xxxxx} where object_xxxx is the amount of the credit note.

Thank you for your help!