abraflexi_list_issued_invoices
List issued invoices (sales invoices to customers), newest first by default, filtered by payment status, customer/supplier code, dates or text. Money fields: sumCelkem = total, zbyvaUhradit = still to pay (in the company currency), the *Men fields are in the document currency. Returns total, next_start for paging. Pass 'fields' for other properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Issued on or before this day (yyyy-mm-dd). | |
| from | No | Issued on or after this day (yyyy-mm-dd). | |
| limit | No | Records per page, 1-200 (default 20). | |
| order | No | Sort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first). | |
| start | No | Records to skip (default 0). Use next_start from the previous reply. | |
| fields | No | Comma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names. | |
| search | No | Text searched in the invoice number, variable symbol, customer name and description (diacritics ignored). | |
| status | No | all (default), unpaid (open balance, not cancelled), overdue (unpaid and past its due date) or paid (nothing left to pay). | |
| due_before | No | Due date before this day (yyyy-mm-dd). | |
| customer_code | No | Only invoices of this address-book entry: its code (kod) from abraflexi_list_contacts. |