Put the month's bills into Xero as drafts
push_bills_to_xeroPut the month's bills into Xero as DRAFT bills, one per supplier, one line per job, with the original invoices attached. Without send: true it is a dry run that shows what would be sent. Running it again updates the same draft (no duplicates). A bill the trade has already approved is never changed; late invoices go on a top up bill. Never approves or pays.
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": {
"month": "<month>"
},
"name": "push_bills_to_xero"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| send | No | true to really add the drafts. Default false (dry run). | |
| month | Yes | YYYY-MM, for example 2026-11. | |
| suppliers | No | Only these suppliers. |