record_payment
Log a payment against an invoice with amount in cents, method, note, and date. This captures payment details for the invoice.
Instructions
Record a payment on an invoice.
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>"
},
"name": "record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Payment note | |
| amount | Yes | Payment amount in cents | |
| method | No | Payment method (e.g. bank_transfer, paypal) | |
| paid_at | No | Payment date (YYYY-MM-DD, default today) | |
| invoice_id | Yes | The invoice UUID |