Update an existing invoice in the payment platform. Only draft invoices can be fully edited; open or paid invoices have limited editability.
Path Parameters
| Parameter | Type | Required | Description |
|---|
| id | string | Yes | The rootfi_id or platform_id of the invoice to update |
Request Body
| Field | Type | Required | Description |
|---|
| due_date | string | No | Payment due date (ISO 8601) |
| status | string | No | Invoice status |
| line_items | array | No | Array of line item objects (replaces existing) |
| memo | string | No | Additional notes |
Some platforms restrict which fields can be updated after an invoice is sent. Updating line_items may replace all existing items.
See Invoice Overview for complete field details.