Pay bills in a batch
purchasing_pay_billsPay several bills at once from one bank account, like Xero's batch payments: bills (each with an optional amount, else its balance), or every unpaid bill due on or before due_before (one supplier's with supplier). One payment per bill on date, posted to the books from bank_account (default: where bank transfers land). sepa_file: true adds the SEPA credit transfer file (pain.001) to upload to the bank, paying each supplier's IBAN with the bill's reference; the bank books the batch as one line, which books_bank_lines then suggests matching to all its payments at once. All of it is paid or none. Costs $0.01 per bill paid; nothing if none are found.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "purchasing_pay_bills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day it is paid. Default today. | |
| bills | No | ||
| from_bic | No | ||
| supplier | No | A supplier_id, or the supplier's name. | |
| from_iban | No | The IBAN it is paid from, when not the bank account's own. | |
| sepa_file | No | ||
| due_before | No | Every unpaid bill due on or before this day, instead of bills. | |
| bank_account | No | The books' bank account it is paid from, by code. |