Skip to content

E-Invoices

Endpoints for e-invoices

Retrieve a document PDF preview for e-invoices

Request

Provides a binary file of a document PDF preview for e-invoices

Security
OAuth2(Required scopes: e-invoices.read)
Path
idstringrequired

Id of the document.

curl -i -X GET \
  'https://api.cloud.hypatos.ai/v2/e-invoices/{id}/preview' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Binary content of a file

Bodyapplication/pdf
string, (binary)(BinaryFile)
Response
string