merit_list_purchase_invoices
Retrieve Merit Aktiva purchase invoices for a date range up to 3 months, with optional filtering by unpaid status and date type. Supports document or changed dates for period-based reporting.
Instructions
List Merit Aktiva purchase invoices for a period (POST /api/v2/getpurchorders). periodStart/periodEnd are ISO YYYY-MM-DD, max 3 months apart. dateType: 0 = document date, 1 = changed date. Distinct from merit_list_purchase_orders (waiting-approval).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unPaid | No | Only unpaid invoices | |
| dateType | No | 0 = filter by document date, 1 = filter by changed date | |
| periodEnd | Yes | Period end (YYYY-MM-DD, required; max 3 months after periodStart) | |
| periodStart | Yes | Period start (YYYY-MM-DD, required) |