Skip to content

GetInvoice

Use this function to retrieve a specific invoice.

Authentication values used to connect to the Xero server.

The InvoiceID or Number for the invoice to retrieve.

Select how the data is to be returned.

Possible values are:

  • JSON
  • PDF

Note: If set to JSON, the item is returned. If set to PDF, the item is downloaded as a PDF file and file path is returned. The file is saved in the default temporary folder of the user.

Xero Developer: Invoices (GET)