Retrieves sales invoices or purchase bills
Changed onRequest
- Base URLhttps://api.xero.com/api.xro/2.0
- URLhttps://api.xero.com/api.xro/2.0/Invoices
- AuthOAuth 2Authorization code: https://login.xero.com/identity/connect/authorizeToken URL: https://identity.xero.com/connect/token scopes: accounting.transactions, accounting.transactions.read
Query parameters
Filter by an any element
Order by an any element
Filter by a comma-separated list of InvoicesIDs.
Filter by a comma-separated list of InvoiceNumbers.
Filter by a comma-separated list of ContactIDs.
Filter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
When set to true you'll only retrieve Invoices created by your app
e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
Number of records to retrieve per page
Search parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference.
Headers
Only records created or modified since this timestamp will be returned
Response
Success - return response of type Invoices array with all Invoices
Changes
- info
the response optional property
////became not read-only for the status - info
the response optional property
///////became not read-only for the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
the response optional property
//became not read-only for the status - info
the response optional property
//became not read-only for the status - info
the response optional property
//became not read-only for the status
- info