Add a one time charge
Context
Section titled “Context”If you need to invoice an item to a customer outside the context of their subscription (e.g., billing for an exceptional service, offering a commercial gesture, etc.), you can add a line item to the customer’s balance. Once created, the line item will be processed in the next regular billing cycle.
Prerequisites
Section titled “Prerequisites”To make it work, you need to have:
- An active customer.
Procedure
Section titled “Procedure”1/ Create a line item in the balance
Section titled “1/ Create a line item in the balance”Example request
POST https://api-42.proabono.com/v1/BalanceLine{ "ReferenceCustomer": "cust-123456", "Label": "Service XYZ", "Amount": 50000, "Quantity": 18}2/ (optional) Force the invoice collection
Section titled “2/ (optional) Force the invoice collection”Example request
POST https://api-42.proabono.com/v1/Billing/Customer{ "ReferenceCustomer": "cust-123456", "NoteLocalized" : ""I love you as long as you pay. ;)"}