record_invoice_payment
Record a manual payment against an invoice (cash, bank transfer, cheque, card terminal). Updates invoice status to PARTIAL or PAID based on the running total.
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": {
"invoiceId": "<invoiceId>",
"amount": "<amount>",
"method": "<method>"
},
"name": "record_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note about this payment | |
| amount | Yes | Payment amount as decimal string, e.g. "100.00" | |
| method | Yes | Payment method | |
| invoiceId | Yes | Invoice ID to record payment against | |
| reference | No | External reference (cheque number, bank transfer ID) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |