Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice's record within the Lago system.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Body
Void invoice payload
Parameters available when voiding an invoice that optionally generate credit notes.
Set to true
to force voiding the invoice and generate a credit note.
true
Portion of the invoice amount (in cents) to be refunded to the customer in the generated credit note.
x >= 0
2000
Portion of the invoice amount (in cents) to be credited to the customer's balance in the generated credit note.
x >= 0
1150
Response
Invoice voided