MarminDeveloper Docs

Download invoice PDF


Downloads the invoice as a PDF file. See the right panel for request examples.

Path parameters

ParameterTypeRequiredDescription
idstring
Required
The ID of the invoice to download.
Response

Status code: 200 OK

Response headers:

HeaderDescription
Content-Typeapplication/pdf
Content-Dispositionattachment; filename="INV-2024-001.pdf" (filename may vary by invoice)

Response body: Returns the PDF file data in bytes.

Error responses

StatusDescription
401 UnauthorizedAuthentication required or invalid token.
403 ForbiddenUser not authorized to access this invoice.
404 Not FoundInvoice not found.
500 Internal Server ErrorAn error occurred while processing the request.
Next