Skip to content

GetInvoices

Use this function to retrieve one or many invoices.

Note:

  • When you retrieve multiple invoices, only a summary of the contact is returned and no line details are returned - this is to keep the response more compact.
  • The line item details will be returned when you retrieve an individual invoice, either by specifying Invoice ID or Invoice Number or by using the optional paging parameter (below).

Authentication values used to connect to the Xero server.

You can retrieve an individual record by specifying the InvoiceID or Number.

Filter by a comma-separated list of InvoicesIDs. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.

Filter by a comma-separated list of InvoiceNumbers. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.

Filter by a comma-separated list of ContactIDs. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.

Filter by a comma-separated list of Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.

A UTC timestamp (yyyy-mm-ddThh:mm:ss) . Only records created or modified since this timestamp will be returned e.g. 2009-11-12T00:00:00.

Restrict the returned items using the specified criteria. See Where filter.

e.g. page=1 – Up to 100 records will be returned in a single API call with line items shown for each record.

Return items in a specific order. See Order by filter.

Select how the data is to be returned.

Possible values are:

  • Only the first item.
  • The first item or an empty item.
  • All the items one by one.
  • All of the items at once.

Xero Developer: Invoices (GET)