Download readable
Information
This endpoint allow you to download the generated invoice if the original document is not a pdf.
It the original document is a PDF, it will be returned as is.
Iopole offers a default template for generating the PDF, which can be adapted to the requirements.
Link to swaggerThis endpoint is
synchronous
The role
user
is needed in order to use this endpointEndpoints
GET/v1/invoice/:invoiceId/download
Path parameters
invoiceIdstring (uuid) - Required
Request
GET /v1/invoice/:invoiceId/download/readable
curl -X 'GET'
'https://api.ppd.iopole.fr//v1/invoice/5e80a8b6-06b5-4c52-853a-c5c2e252a2fc/download/readable'
-H 'accept: application/pdf'
-H 'Authorization: Bearer ${token}'
Response
200 - content-type: application/pdf