List invoices
invbg_list_invoicesList documents (tax invoices, proformas, debit and credit notes) with filters: type, number, issue-date range, amount ranges, payment status, client, draft/annulled, sent status, currency. Each row has number, client, totals, balance_paid, balance_due and dates. GET /invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 (default 1). Pass the previous reply's next_page. | |
| type | No | Document types: dan = tax invoice, prof = proforma, deb = debit note, cred = credit note. | |
| order | No | Sort direction (default desc). | |
| number | No | Document number (as printed, e.g. 0000000024). | |
| search | No | Free-text search over the results. | |
| status | No | Payment statuses to include. Use ["unpaid", "partially-paid"] to find open receivables. | |
| date_to | No | Only documents dated on or before this date, yyyy-mm-dd. | |
| currency | No | Only documents in this currency. | |
| is_draft | No | true = only drafts, false = no drafts. | |
| language | No | Language of names in the reply: bg (default) or en, where the record has both. | |
| order_by | No | Field to sort by (for example id, date or name; see the vendor reference). | |
| per_page | No | Results per page, 1-100 (default 25). | |
| amount_gt | No | Only documents with a total of at least this amount. | |
| amount_lt | No | Only documents with a total of at most this amount. | |
| client_id | No | Only documents issued to this client (invbg_list_clients). | |
| date_from | No | Only documents dated on or after this date, yyyy-mm-dd. | |
| client_name | No | Client name filter; % matches any run of characters, _ one character. | |
| is_annulled | No | true = only annulled documents, false = none. | |
| send_status | No | Email status(es) to include. | |
| amount_due_gt | No | Only documents with an outstanding balance of at least this amount. | |
| amount_due_lt | No | Only documents with an outstanding balance of at most this amount. |