Reversing an Original Bill
Transactions that reference a credit entire bill (CRALL) must use the AHDR transaction type (TRANS_TYPE_BI AHDR). This type of adjustment is an exact reversal of the original bill.
To credit an entire bill, pass only one line (the AHDR transaction) along with the invoice number that is to be adjusted. The Billing Interface process automatically creates a new bill that credits all lines and reverses any accounting, tax, and discount or surcharge entries. You may also pass any new header notes to be appended to any existing header notes.
The following example shows how to populate the staging area for a credit entire bill adjustment:
| INTFC_ID | INTFC_LINE_NUM | TRANS_TYPE_BI | TRANS_TYPE_SEQ_NUM | ADJ_TRANS_TYPE | INVOICE_TO_ADJ |
|---|---|---|---|---|---|
|
10015 |
1 |
AHDR |
1 |
CRALL |
00009101112 |