Returns one page of a Books instance's invoices: accounts receivable (AR), money customers owe the organization. Each item has its id, referenceNumber (the invoice number), customer (the customer billed, with its id and name; omitted when the invoice has no recorded customer), effectiveDate (invoice date), dueDate, status, displayStatus, grossAmount (total of all lines), amountRemaining (still owed after applied payments), lines (each with its ledger ID, i.e. general ledger (GL) account, description, and amount), notes (omitted when none), and paymentApplications (each a line entry ID, such as a bank transaction's line, and the amount of it applied). status is the stored lifecycle status (draft, open, processing, paid, cancelled); displayStatus is what users see, which also distinguishes overdue (open and past due) and partiallyPaid (open with some payment applied). A customer's id is a Mercury Invoicing customer ID, as used by the Mercury Invoicing customers API (/ar/customers); a deleted customer still appears with its name. Amounts are in dollars. Each response is one page of at most limit items (default 100, at most 1000). To see every match, pass nextPageToken back as pageToken with the same other parameters, and repeat until a response has no nextPageToken. To read specific invoices by ID, pass their IDs as ids. To discover ledger IDs, use getBooksLedgers.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid limit or pageToken or sort or keywords or maxAmountRemaining or minAmountRemaining or amountRemaining or maxGrossAmount or minGrossAmount or grossAmount or referenceNumber or ids or customerIds or displayStatus or status or dueDateEnd or dueDateStart or effectiveDateEnd or effectiveDateStart or booksId

