Xero Create Payment
xero_create_paymentRecords a payment against a Xero invoice or bill using invoice ID, bank account ID, amount, and optional date or reference; requires XERO_WRITE_ENABLED=true.
Instructions
Record a payment against an invoice or bill. Requires XERO_WRITE_ENABLED=true.
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>",
"account_id": "<account_id>",
"amount": "<amount>"
},
"name": "xero_create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Payment date (YYYY-MM-DD) | |
| amount | Yes | Payment amount | |
| reference | No | Payment reference | |
| account_id | Yes | Bank account UUID | |
| invoice_id | Yes | Invoice UUID to pay against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |