List invoices
list_invoicesRetrieves invoices newest first with status, totals, balance due and overdue flags. Filter by project, customer, status or due date to track unpaid balances and past-due accounts.
Instructions
Invoices, newest first, with status, totals, balance due and an overdue flag.
The Invoices list: number, status (draft, submitted, on_hold, paid, denied, write_off), project, customer, invoice and due dates, total and balance due in dollars, and overdue (past the due date with a balance). Archived invoices are left out. unpaid_only keeps submitted and on-hold invoices that still have a balance. status, when given, replaces the unpaid_only status filter. unpaid_only and due_before filter the page you get, so a page can hold fewer than limit. Keep the cursor going until next_cursor is null. get_invoice gives the items and payments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | next_cursor from the previous call. | |
| search | No | Matches the number, project or customer. | |
| status | No | ||
| due_before | No | Only invoices due before this date. | |
| project_id | No | Only this project's (list_projects). | |
| customer_id | No | Only this customer's. | |
| unpaid_only | No | Only submitted or on-hold invoices with a balance due. |