Get a synced Xero invoice
get_xero_invoiceReturn one sales invoice from the signed-in owner’s latest completed SHVL Xero sync plus aggregate recorded-payment evidence. Read-only. Excludes Xero IDs, payment IDs, email addresses and message content.
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>",
"workspace_id": "<workspace_id>"
},
"name": "get_xero_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | SHVL invoice_id returned by search_xero_invoices for this business, not a Xero provider ID or invoice number. | |
| workspace_id | Yes | Selected business ID from list_shvl_workspaces. Ask the user to choose if several businesses are available; never infer another business. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| invoice | Yes | ||
| payments | Yes | ||
| data_notice | Yes | ||
| organisation | Yes |