Customer debts report
merit_customer_debts_reportRead-only
Open customer receivables: for each unpaid document the customer, date, due date, total, paid and unpaid amount. Give a customer name (empty string = all customers) or a customer id; over_due_days keeps only documents overdue by at least that many days. POST /api/v1/getcustdebtrep.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Debt as of this date (default today). | |
| customer_id | No | Customer id. | |
| max_results | No | Show at most this many rows (default 100, max 1000); the reply says how many there are in total. | |
| customer_name | No | Customer name; an empty string or omitting it with no customer_id selects ALL customers. | |
| over_due_days | No | Only documents overdue by at least this many days. |