Xero MCP Server

Official
by XeroAPI
Verified

update-invoice

Modify details of draft invoices in Xero, including due date, line items, and reference. Ensures accurate updates to financial records.

Instructions

Update an invoice in Xero. Only works on draft invoices.

Input Schema

NameRequiredDescriptionDefault
dueDateNo
invoiceIdYes
lineItemsNo
referenceNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "dueDate": { "type": "string" }, "invoiceId": { "type": "string" }, "lineItems": { "items": { "additionalProperties": false, "properties": { "accountCode": { "type": "string" }, "description": { "type": "string" }, "quantity": { "type": "number" }, "taxType": { "type": "string" }, "unitAmount": { "type": "number" } }, "required": [ "description", "quantity", "unitAmount", "accountCode", "taxType" ], "type": "object" }, "type": "array" }, "reference": { "type": "string" } }, "required": [ "invoiceId" ], "type": "object" }

You must be authenticated.

Other Tools from Xero MCP Server

Related Tools

ID: 4rsnaczg6q