Save an invoice PDF
sevdesk_get_invoice_pdfDownload the rendered PDF of a sevDesk invoice and save it to an allowlisted receipt directory without changing the invoice's send status.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoiceId": "<invoiceId>",
"directory": "<directory>"
},
"name": "sevdesk_get_invoice_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Absolute path of an allowlisted directory to save the PDF into. | |
| invoiceId | Yes | Numeric invoice id. |