Crediting a Line and Rebilling
Transactions that reference a line rebill adjustment (RBLIN) must use the LINE transaction type (TRANS_TYPE_BI = LINE).
For a line rebill, you must pass at least two LINE transactions to the Billing interface: one for the credit and one for the rebill. Use the ADJ_TRANS_TYPE CRLIN for the credit, and RBLIN for the rebill. You must pass both lines under the same INTFC_ID. Both lines must reference the invoice number and line sequence number to be adjusted. You must pass with the LINE transaction for the line rebill adjustment any accounting entries, discount or surcharge entries, note lines and any other line information associated with the line rebill, similar to the way non-adjustment LINE transactions are passed to the Billing interface.
The following example demonstrates how to populate the staging area for a line rebill adjustment:
| INTFC_ID | INTFC_LINE_NUM | TRANS_TYPE_BI | TRANS_TYPE_BI_SEQ | ADJ_TRANS_TYPE | INVOICE_TO_ADJ | LINE_SEQ_TO_ADJ |
|---|---|---|---|---|---|---|
|
10015 |
1 |
LINE |
1 |
CRLIN |
00009101112 |
2 |
|
10015 |
2 |
LINE |
1 |
RBLIN |
00009101112 |
2 |