payments_list
List all payments for a specific invoice, ordered newest first, and return each payment’s amount, date, method, reference, and notes to calculate amount paid and remaining balance.
Instructions
List all payments recorded for a specific invoice, ordered by payment date (most recent first). Returns payment amount, date, method, reference number, and notes. The sum of payments determines the invoice amountPaid and balance.
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>"
},
"name": "payments_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company UUID override (uses active company if not set) | |
| invoiceId | Yes | Invoice UUID to list payments for |