List invoices
phppos_list_invoicesList customer invoices (money customers owe) or supplier invoices (money the store owes) with date, due date, status and amount. GET /invoices/customer or /invoices/supplier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | customer = invoices to customers; supplier = invoices from suppliers. | |
| limit | No | Rows per page, 1-100 (default 20). | |
| offset | No | Rows to skip (default 0). Pass the previous reply's next_offset (paging.next_offset for a report). | |
| search | No | Free-text search. | |
| sort_col | No | Column to sort by (a field name of the rows). | |
| sort_dir | No | Sort direction. |