List invoices
List invoices. Add includeSummary=true for the count and outstanding balance of every invoice the filters match.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Query Parameters
The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.
Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.
1 <= x <= 100Field to order the page by. Each value has its own default direction, used unless sortDirection is passed. See Sorting.
createdAt(default) — descendingissueDate— descendingdueDate— descendingtotal— descending
createdAt, issueDate, dueDate, total Return only invoices in these statuses.
scheduled, unpaid, partially_paid, paid, void true returns only invoices that are overdue; false excludes them.
Return only invoices for one customer.
Return only invoices that settle into one account.
Return only invoices issued by one recurring series.
Return only the invoice with exactly this number.
1 - 50^[A-Z0-9_-]+$Return only invoices due on or after this YYYY-MM-DD date.
Return only invoices due on or before this YYYY-MM-DD date.
Return only invoices issued on or after this YYYY-MM-DD date.
Return only invoices issued on or before this YYYY-MM-DD date.
Return only invoices whose total is at least this many cents.
x >= 0Return only invoices whose total is at most this many cents.
x >= 0Match invoices by number, memo or customer name.
1 - 255true adds a summary covering every invoice the filters match, not just the current page.