Get the content of an invoice document

Streams the bytes of a document of an invoice (invoiceDocument or one of additionalDocuments) with its stored media type and file name: Content-Disposition: inline for a PDF or an image, attachment for anything else (a spreadsheet). This is the only way to read a document: no storage URL is ever handed out, and the response must not be cached.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the invoice

string
required

The unique identifier of the document

Headers
string
enum
Defaults to application/pdf

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/pdf
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/octet-stream