Partially update invoice
Applies a partial update to an invoice by its ID.
- Invoices in DRAFT status can be updated without restrictions.
- Invoices in VOID status cannot be updated.
- Invoices in FINALIZED status can only have the following fields updated: paidAt. All other fields are locked for updates.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Specifies the tenant context for the request. All endpoints operate within this tenant scope.
"tnt_pfh0haxfpzowht3oi213cqos"
Path Parameters
The ID of the invoice.
"inv_mqxd1kc6bgtcc676xoqzax47"
Body
Request body used to partially update an existing invoice resource. Status-based update restrictions are validated server-side against the current invoice status.
Request body used to partially update an existing invoice resource. Status-based update restrictions are validated server-side against the current invoice status.
Unique invoice number.
1 - 255"INV-2025-0001"
Exchange rate applied when currency conversion is needed.
x >= 01.12
ISO 4217 currency code.
3"EUR"
Amount expressed in the minor unit (e.g., cents).
0 <= x <= 90071992547409915000
When the invoice was issued.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2023-10-05T14:48:00.000Z"
When the invoice is due.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2023-10-05T14:48:00.000Z"
When the invoice was paid.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2023-10-05T14:48:00.000Z"
Response
Default Response
Standard success response payload wrapped in a data property.
Invoice resource returned by the API.