Xero Update Invoice
xero_update_invoiceUpdate a draft or submitted Xero invoice by changing its status, due date, or reference. Use this to correct invoice details before approval or payment.
Instructions
Update a draft or submitted invoice. Requires XERO_WRITE_ENABLED=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_id": "<invoice_id>"
},
"name": "xero_update_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | New status: DRAFT, SUBMITTED, AUTHORISED | |
| due_date | No | Updated due date (YYYY-MM-DD) | |
| reference | No | Updated reference | |
| invoice_id | Yes | Invoice UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |