xero_attach_file_to_expense
Attach PDF or image files to Xero expense records for documentation and verification purposes.
Instructions
Attach a file (PDF, image) to an existing Xero expense (bank transaction)
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": {
"bankTransactionId": "<bankTransactionId>",
"filePath": "<filePath>"
},
"name": "xero_attach_file_to_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bankTransactionId | Yes | The Xero bank transaction ID | |
| filePath | Yes | Path to the file to attach |