List purchase invoices
merit_list_purchase_invoicesRead-only
List purchase invoices (vendor bills) of a period: bill number, vendor, dates, totals, paid flag. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v2/getpurchorders.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_type | No | Which date the period filters: 0 = document date (default), 1 = date of last change. | |
| period_end | Yes | Last day of the period, yyyy-mm-dd (max 3 months after the start). | |
| max_results | No | Show at most this many rows (default 100, max 1000); the reply says how many there are in total. | |
| unpaid_only | No | true = only unpaid bills. | |
| period_start | Yes | First day of the period, yyyy-mm-dd. |