xero_payments_create
Record a customer payment against an invoice in Xero using invoice ID, bank account ID, amount, and date to keep financial records accurate.
Instructions
Create a new payment in Xero. Records a payment against an invoice.
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>",
"AccountID": "<AccountID>",
"Amount": "<Amount>",
"Date": "<Date>"
},
"name": "xero_payments_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Date | Yes | Payment date in YYYY-MM-DD format (required) | |
| Amount | Yes | Payment amount (required) | |
| AccountID | Yes | The bank account ID the payment is made from/to (required) | |
| InvoiceID | Yes | The invoice ID to apply the payment to (required) | |
| Reference | No | Payment reference |