Get the eInvoice that was submitted to the Tax Authority
GET
/v:version/invoices/:resourceId/download-e-invoice
Requires the INVOICE.E_INVOICE.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
1version
resourceIdstringRequiredDefaults to
The ID of the resource for which the action is posted.
Headers
x-platform-idstringOptional
Platform ID.
Query parameters
external_referencestringRequired
The external reference of the eInvoice to be downloaded
file_formatenumRequired
The type of eInvoice to download, e.g the input to the eInvoicing integration, or the output to the centralised tax authority
Allowed values:
Response
OK
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error