Generates and returns a PDF for the specified invoice using the chosen print layout.
GET/gateway/invoice/invoices/:id/pdf
After the PDF is successfully received, call POST {id}/register-print
to increment the copy counter so subsequent prints are correctly labelled (e.g. "2ª Via").
Request
Responses
- 200
- 401
- 404
- 500
- 502
PDF generated successfully.
Unauthorized
Invoice not found.
Internal Server Error
The PDF generation service returned an error.