merit_list_sales_invoices
Retrieve Merit Aktiva sales invoices within a date range (max 3 months). Filter by unpaid status, bank, or document/changed date.
Instructions
List Merit Aktiva sales invoices for a period (POST /api/v2/getinvoices). periodStart/periodEnd are ISO YYYY-MM-DD and may be at most 3 months apart (Merit rejects longer periods). dateType: 0 = document date (default), 1 = changed date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bankId | No | Bank GUID filter | |
| 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) |