Understanding Related Credit Notes

Processing related credit notes lets you link a credit note to the original invoice, which makes it possible to track the current account. When you link a credit note to an original invoice, you must specify the internal document number or the legal document number from the original invoice.

The internal document number from the original invoices is stored in fields RPODOC, RPODCT, RPOKCO, and RPOSFX of the F03B11 table.