POST
/
apps
/
pdf
/
v1
/
preview
curl --request POST \
  --url https://api.invopop.com/apps/pdf/v1/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "logo_url": "<string>",
  "logo_height": 123,
  "locale": "<string>",
  "date_format": "<string>",
  "hide_promo": true,
  "layout": "A4",
  "data": {}
}'
This response does not have an example.

The PDF Preview API converts GOBL Envelopes into PDF documents, allowing you to preview and validate your invoices before submitting them to a workflow. To get started, make sure the PDF Generator app is enabled in your account.

Authorizations

Authorization
string
header
required

Use the Bearer scheme with a valid JWT token to authenticate requests. Example: Authorization: Bearer <token>

Body

application/json

Response

200
application/pdf

Successfully generated PDF preview.

The response is of type file.