Record a payment
record_paymentRecords gross payments for one or more open invoices of the same customer and tax rate, with optional date and payment method. Helps reconcile sent invoices and track received amounts.
Instructions
Records a payment for one or more sent, open invoices of the same customer and tax rate. The amount is gross.
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": {
"invoice_ids": "<invoice_ids>",
"amount": "<amount>"
},
"name": "record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Defaults to today | |
| amount | Yes | Gross amount received | |
| invoice_ids | Yes | ||
| payment_method | No | Defaults to transfer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||