Get the PDF of a final sales document
GET /documents/invoices/:id/pdf
GET
/documents/invoices/:id/pdf
Returns the stored PDF of a final invoice, advance invoice, credit note or proforma, rendering and storing it first when the background job has not done so yet. Drafts and purchase invoices have no PDF.
Parameters
Odeljak pod nazivom „ Parameters “Query Parameters
Odeljak pod nazivom „Query Parameters “ id
required
string
Responses
Odeljak pod nazivom „ Responses “OK
object
fileId
required
string
filename
required
string
url
required
string
expiresIn
number
sizeBytes
required
number
rendered
required
boolean
401
403
422