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.
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 |