Get Xero invoice
xero_get_invoiceFetch a Xero invoice by ID with line items and its revision for safe updates. Use it to review invoice details before editing or reconciling.
Instructions
Fetch one Xero invoice including line items and a revision required as expectedRevision for any update.
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": {
"invoiceId": "<invoiceId>"
},
"name": "xero_get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | Xero InvoiceID |