record_cash_receipt
Record client payments and optionally apply them to invoices. Accepts payment method, date, amount, and currency details.
Instructions
Record a payment received from a client. Optionally links the payment to a specific invoice. Monetary amounts must be strings (e.g. '500.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": {
"client": "<client>",
"date": "<date>",
"amount": "<amount>",
"payment_method": "<payment_method>"
},
"name": "record_cash_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Payment date in YYYY-MM-DD format | |
| notes | No | Internal notes about this payment | |
| amount | Yes | Amount received as a string, e.g. '500.00' | |
| client | Yes | Contact ID of the paying client | |
| invoice | No | Invoice ID to apply this payment against (optional) | |
| 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 |