There are two types of credits that can be placed on an invoice: one is a void which shows up in RPC1 with BaseRef filled with an id that links to APCH, the other is a credit which also shows up in RPC1 but with NULL in BaseRef. This credit is entered into SAP with the same interface as an invoice but instead uses the A/P Credit Memo Interface. When the payment wizard is ran, these credit show up and are subtracted from the total invoice amount. I need to generate an A/P Invoice report that takes these credits into account. Does anyone have any idea how these credits link to the invoices?