Record payment
record_paymentRecord a cash, check, credit card or bank transfer payment on an invoice; paid in full moves to Paid. Records a payment received outside Joist Payments, as Record Payment does in Joist. Partial payments are allowed and an invoice can hold several; an amount above the balance due or a date in the future is refused. Once paid in full the invoice moves from Active to Paid. Check get_invoice first so the same check is not entered twice. By default you confirm each call, and you can switch that off for this tool.
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_id": "<invoice_id>",
"amount": "<amount>",
"method": "<method>"
},
"name": "record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount received, e.g. 1200.50. | |
| method | Yes | How the client paid. | |
| paid_on | No | Payment date. Default: today. | |
| invoice_id | Yes | From list_invoices. |