Partial refund of an invoice

Hi, I just want to ask you how to report an invoice credit note with a partial amount of the payed invoice. What to include on the xml ?

Note, we already reported a lot of credit notes for fully refunded invoices.

Thanks in advance.