Inquiry Regarding Credit Note Line Item Details

I have a question regarding the submission of credit note documents for multiple invoices. Specifically, I would like to understand the required data for the lines of the credit note.

When preparing the credit note, should I include the invoice number from which each line item is deducted? For example, in the credit note, the lines would appear as follows:

Line 1: Amount of 1,000 SAR from the total invoice amount of Invoice No. 123, which is 5,000 SAR.
Line 2: Amount of 500 SAR from the total invoice amount of Invoice No. 1234, which is 3,000 SAR.
I noticed in the guidelines the mention of the :InvoiceDocumentReference field, which I understand is a text type. However, the description suggests that it is for writing the invoice IRN:

(The sequential number
(Invoice number BT-1) of
the original invoice(s) that
the credit/debit note is
related to)

Should the return amount for each invoice also be included in this field, or is there a separate field designated for that purpose or it is not ?