Accounting

Retrieves invoices or purchase bills as PDF files

get/Invoices/{InvoiceID}/pdf

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • URL
    https://api.xero.com/api.xro/2.0/Invoices/{InvoiceID}/pdf
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: accounting.transactions, accounting.transactions.read

Path parameters

InvoiceIDstring uuid required

Unique identifier for an Invoice

Response

Success - return response of byte array pdf version of specified Invoices

Changes

No recorded changes to this operation across all 62 revisions of this API.