Credit and Rebill from Wallet Asset Line Item (WALI)
You can initiate Credit & Rebill operation from an invoice associated with a WALI.
When the custom setting Wallet’s Balance Based on its Invoicing is set to True and you attempt a Credit & Rebill operation from an invoice linked to a WALI, the system validates if there’s enough available balance in the wallet. If the sum of fee amounts of all the invoice line items referencing an individual WALI is less than or equal to the WALI available balance, the Credit & Rebill operation is allowed, else it is rejected and the UI displays an error message.
For example, assume you have created a wallet with the following details:
Asset Name |
Start Date |
End Date |
Selling/Billing Frequency |
Quantity |
Charge Type |
Price Type |
TCV |
Net Unit Price |
---|---|---|---|---|---|---|---|---|
Wallet |
01 Jan 2024 |
31 Dec 2024 |
Monthly |
1.00 |
Standard Price |
Recurring |
USD 1,200.00 |
USD 1,200.00 |
When billing is initiated, 12 billing schedules are created in a Pending Billing status.
You have invoiced the first two billing schedules:
Billing Schedule ID |
Period Start Date |
Period End Date |
Fee Amount |
Type |
Status |
Invoice Line Item ID |
Invoice ID |
---|---|---|---|---|---|---|---|
BS-001 |
01 Jan 2024 |
31 Jan 2024 |
USD 100.00 |
Contracted |
Invoiced |
ILI-001 |
INV-001 |
BS-002 |
01 Feb 2024 |
29 Feb 2024 |
USD 100.00 |
Contracted |
Invoiced |
ILI-002 |
INV-001 |
BS-003 to BS-011 |
.... |
.... |
.... |
... |
.... |
... |
.... |
BS-012 |
01 Dec 2024 |
31 Dec 2024 |
USD 100.00 |
Contracted |
Pending Billing |
NA |
NA |
The WALI page displays the balance as:
- Total Balance (Wallet) = USD 200.00 and
- Available Balance (Wallet) = USD 200.00
You consumed the wallet balance against a related asset line item (RALI) for USD 150.00. After this transaction, the wallet's available balance is USD 50.00. Now if you initiate the Credit & Rebill operation for the invoice INV-001, Billing won't allow you to do so because the WALI is already consumed and if credit is given it leads to a revenue leakage. Billing validates the sum of fee amounts of the invoice lines against the wallet's available balance. Here the sum of fee amounts of ILI1+ILI2 (USD 100.00 + USD 100.00) is greater than the available balance of USD 50.00 of the wallet, so the Credit & Rebill operation for the invoice INV-001 is not allowed.
In other words, if the available balance of the wallet is greater than or equal to the combined balance of the invoice line items then Credit & Rebill operation is allowed. After the operation is completed, the status of the billing schedules is updated to Pending Billing. For more information on how to carry out Credit & Rebill, see To apply credit and rebill.