Save an invoice PDF
sevdesk_get_invoice_pdfFetch the rendered PDF of an invoice and save it to an allowlisted directory. This read-only operation does not change the invoice's send state.
Instructions
Fetch the rendered PDF of an invoice and save it into a directory from the SEVDESK_RECEIPT_DIRS allowlist. Never changes the invoice's send state (preventSendBy). Read-only towards sevDesk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Absolute path of an allowlisted directory to save the PDF into. | |
| invoiceId | Yes | Numeric invoice id. |