Skip to main content

Apply Charges and Credits to Customer Invoices

Charges and credits are one-time or recurring monetary amounts that Lumenaza automatically includes in the next customer invoice for the relevant billing period. Common use cases include referral bonuses, promotional discounts, billing corrections, and late-payment fees. Base URLs All requests require an Authorization: Bearer <token> header.

Create a Charge or Credit

Endpoint
The same endpoint is available for producers: POST /v3/producers/{userID}/contracts/{contractID}/charges_and_credits/

Request fields

Required Optional

Example request

Example response


Update Charges or Credits

You can update entries either by your own input_id (affects all entries sharing that ID) or by the Lumenaza-assigned internal_id (updates a single entry).
All charges/credits that share inputId on this contract will be updated.

Delete Charges or Credits

Deletion follows the same addressing pattern as updates.
If a charge or credit has already been included in an issued bill, updating or deleting it via the API will not automatically revise that bill. To correct the invoice, you must cancel the original bill and recreate it. Always verify the status of an entry before attempting to modify it.