List invoices
list_invoicesFetch invoices, most recent first, one page at a time, to review recent billing. Includes paid and unpaid invoices; check the Balance field to tell them apart.
Instructions
List invoices, most recent transaction date first, one page at a time. Use it to review recent billing when you have nothing to filter on; prefer search_invoices when you can filter by customer, date, or document number. Read-only. Paging is caller-driven through start_position and max_results, so keep requesting pages until fewer than max_results rows come back. Paid and unpaid invoices are both included; read the Balance field to tell them apart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Maximum rows to return in this page, between 1 and 1000. QuickBooks serves at most 1000 rows per query, so larger result sets need several calls. | |
| start_position | No | One-based index of the first row to return. Page by adding max_results to it: with max_results 20, the second page starts at 21. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| count | No | ||
| error | No | ||
| invoices | No | ||
| max_results | No | ||
| start_position | No |