MarminDeveloper Docs

Download credit note PDF


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

Path parameters

ParameterTypeRequiredDescription
idstring
Required
The ID of the credit note to download.
Response

Status code: 200 OK

Response headers:

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

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 credit note.
404 Not FoundCredit note not found.
500 Internal Server ErrorAn error occurred while processing the request.
Next