Get the invoice as a UBL 2.1

Requires the INVOICE.UBL.DOWNLOAD permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version
resourceIdstringRequiredDefaults to
The ID of the resource to be requested.

Headers

x-platform-idstringOptional
Platform ID.

Query parameters

include_invoice_pdfbooleanOptional
Include the PDF as an AdditionalDocumentReference in the UBL document.

Response

OK

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error