update_invoice
Update a Xero invoice's status, reference, due date, or line items by providing its invoiceID.
Instructions
[WRITE] Update an invoice by invoiceID (e.g. change status, reference, due date, or line items).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Org to target: a tenantId, a tenant-name substring, or an alias from XERO_ORG_ALIASES. Defaults to the first connected org. | |
| invoiceId | Yes | The Xero invoiceID (GUID) to update. | |
| status | No | ||
| reference | No | ||
| dueDate | No | YYYY-MM-DD. | |
| date | No | YYYY-MM-DD. | |
| lineItems | No | Replaces the line items if supplied. | |
| raw | No | Advanced: extra Invoice fields. |