List or search expenses
superfaktura_list_expensesRead-only
List received documents (expenses: received invoices, bills, internal documents) with amounts, VAT, supplier and payment status. status: issued (new), partially_paid, paid, overdue. Without a date filter SuperFaktura applies its default period; pass created_period='all' for everything. Paged: pass next_page as page. GET /expenses/index.json.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default 1). Use next_page from the previous reply. | |
| type | No | Expense type (note the vendor's spelling recieved_credit_note). | |
| search | No | Text to search for (matched by SuperFaktura in names, numbers, e-mails ... of the records). | |
| status | No | Payment status. | |
| per_page | No | Results per page, 1-100 (the account's profile default when omitted). | |
| amount_to | No | ||
| client_id | No | Supplier (client) id. | |
| direction | No | Sort direction (default DESC). | |
| created_to | No | Issued on or before (yyyy-mm-dd). | |
| amount_from | No | ||
| category_id | No | Expense category id (superfaktura_list_expense_categories). | |
| created_since | No | Issued on or after (yyyy-mm-dd). | |
| created_period | No | Issue date as a period. |