Record a prepayment to a supplier
purchasing_record_prepaymentRecord money the business paid a supplier before their bill, like a deposit, as Xero's prepayments: it waits as a credit with the supplier (SC-0001 on) until purchasing_use_credit puts it on their bill or records it coming back. With tax_rate it carries the VAT on the supplier's advance invoice, reclaimable once paid; using it on the bill takes that VAT back off. With books kept it is posted at once: Prepayments to suppliers (1450, made when missing) and the tax to reclaim against the bank. Costs $0.01 per call; nothing if it fails.
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": {
"supplier": "<supplier>",
"amount": "<amount>"
},
"name": "purchasing_record_prepayment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | When it was paid. Default today. | |
| note | No | ||
| amount | Yes | What was paid, tax included. | |
| method | No | bank_transfer | |
| currency | No | ISO 4217, e.g. "EUR". Default: the supplier's. | |
| supplier | Yes | A supplier_id, or the supplier's name. | |
| tax_rate | No | The VAT in it, in percent, e.g. 19. Default none. | |
| reference | No |