xero_create_expense
Record already-paid business expenses like receipts in Xero accounting software by creating spend money transactions with vendor details, amounts, and account codes.
Instructions
Create a spend money transaction (direct expense) in Xero - use for already-paid expenses like receipts
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": {
"vendorName": "<vendorName>",
"amount": "<amount>",
"description": "<description>"
},
"name": "xero_create_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendorName | Yes | Name of the vendor | |
| vendorEmail | No | Email of the vendor (optional) | |
| amount | Yes | Total amount of the expense | |
| description | Yes | Description of the expense | |
| accountCode | No | Xero expense account code (e.g., '620' for meals) | |
| date | No | Transaction date (YYYY-MM-DD) | |
| reference | No | Reference number from the receipt | |
| bankAccountId | No | Xero bank account ID (optional, uses first available if not specified) |