Skip to main content
Glama

Xero MCP Server

Official
MIT License
160
60
  • Apple
  • Linux

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XeroAPI/xero-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server