record_cash_payment
Record a payment to a supplier, optionally applying it to a specific bill. Input supplier, date, amount, and payment method.
Instructions
Record a payment made to a supplier. Optionally links the payment to a specific bill. Monetary amounts must be strings (e.g. '250.00').
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>",
"date": "<date>",
"amount": "<amount>",
"payment_method": "<payment_method>"
},
"name": "record_cash_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | No | Bill ID to apply this payment against (optional) | |
| date | Yes | Payment date in YYYY-MM-DD format | |
| notes | No | Internal notes about this payment | |
| amount | Yes | Amount paid as a string, e.g. '250.00' | |
| supplier | Yes | Contact ID of the supplier being paid | |
| currency_code | No | ISO 4217 currency code, e.g. 'EUR' (default: organization currency) | |
| exchange_rate | No | Exchange rate to organization base currency as a string, e.g. '1.000000' | |
| payment_method | Yes | Payment method: 1=bank account, 2=cash, 3=cheque, 4=web banking, 5=POS, 6=PayPal, 7=other |