List purchase invoices
smartaccounts_list_purchase_invoicesRead-only
Purchase (vendor) invoices (purchasesales/vendorinvoices:get): number, vendor, dates, amounts, VAT, outstanding amount, optionally the rows. Filter by date, vendor, number or payment status (unpaid, overdue). Paged (100 per page). The vendor limit is 60 requests per minute and 1000 per 24 hours; every call here is one request.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A specific invoice id. | |
| page | No | Page number, 1-based (default 1). Use next_page_number from the previous reply (100 objects per page). | |
| date_to | No | Invoices dated to, yyyy-mm-dd (or yyyy-mm-ddTHH:mm:ss, Estonian time). | |
| date_from | No | Invoices dated from, yyyy-mm-dd (or yyyy-mm-ddTHH:mm:ss, Estonian time). | |
| date_type | No | Which date the range filters: invoice date (default), entry date, due date or modification time. | |
| vendor_id | No | Only this vendor's invoices. | |
| fetch_rows | No | Include the invoice rows. | |
| vendor_name | No | Filter by vendor name. | |
| invoice_number | No | Filter by invoice number. | |
| payment_status | No | unpaid = not fully paid; overdue = unpaid and past due. Omit for all. |