Download credit note PDF
Downloads the credit note as a PDF file. See the right panel for request examples.
Path parameters
Response
Status code: 200 OK
Response headers:
Response body: Returns the PDF file data in bytes.
Downloads the credit note as a PDF file. See the right panel for request examples.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Required | The ID of the credit note to download. |
Status code: 200 OK
Response headers:
| Header | Description |
|---|---|
Content-Type | application/pdf |
Content-Disposition | attachment; filename="CN-2024-001.pdf" (filename may vary) |
Response body: Returns the PDF file data in bytes.
| Status | Description |
|---|---|
| 401 Unauthorized | Authentication required or invalid token. |
| 403 Forbidden | User not authorized to access this credit note. |
| 404 Not Found | Credit note not found. |
| 500 Internal Server Error | An error occurred while processing the request. |
