Invoices
Download invoice PDF
Downloads the invoice PDF export as an attachment (application/pdf). You can also find this endpoint URL in the pdfDownloadUrl field on the invoice detail response.
GET
Download invoice PDF
Previous
Create credit note from invoiceCreates a credit note directly from the selected invoice.
### When to use this endpoint
This endpoint is a DX shortcut for the common full-credit flow when you already have the `invoiceId` and do not want to compose the full payload manually. It does not replace the canonical `POST /credit-notes`; that endpoint remains the explicit create flow with the full business payload.
### What the backend takes from the source invoice
- it always derives the client from the selected invoice,
- it copies the invoice items as negative credit-note lines including warehouse allocations,
- it keeps the bank account, currency, language, payment method, reverse-charge flag, and document-level discount,
- it keeps `note`, `textAboveItems`, `constantSymbol`, and `specificSymbol` unless you explicitly override the fields that are allowed here.
### Defaults and override fields
- `issueDate` defaults to today's date.
- `dueDate` defaults to the effective `issueDate`.
- `deliveryDate` defaults to the effective `issueDate`.
- If you omit `number`, the backend generates it from the primary credit-note numbering series. If you send `numericalSeriesId` without `number`, the number is generated from that series.
- `variableSymbol` is derived server-side from the final credit-note number.
- Only the fields defined in the request schema below can be overridden.
If you send an `Idempotency-Key`, the same key with the same payload returns the original response without creating the credit note a second time.
Next
Download invoice PDF

