Skip to content
Analytics & OperationsPublic

Download a shared fiscal document

Returns the PDF of the receipt, invoice or credit note that a customer order links to. The link is signed and expires after seven days; opening the order again gives a new one.

GET/v1/public/fiscal-documents/{token}/pdf
No token

Header Parameters

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

Length1 <= length <= 253

Response Body

application/pdf

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://storefront.ecomiq.pe/v1/public/fiscal-documents/{token}/pdf" \  -H "x-Store-Domain: my-store"
"string"