Get an invoice PDF
sevdesk_invoice_pdfFetch an invoice PDF by ID for read-only viewing, checking, or forwarding without marking it as sent or changing its status.
Instructions
Get the PDF of an invoice (Rechnung, also Stornorechnung or Mahnung), e.g. to show, check or forward it. Read-only preview: it is fetched with preventSendBy, so it never marks the invoice as sent (versendet) or changes its status. The result holds the file's metadata and a resource link; the client loads the file itself via resources/read, its content is never put into the text. To save a copy to disk or as a download link use sevdesk_document_save (available with SEVDESK_OUTPUT_DIR or on a remote server). Find the id with the invoice list tools first. For the XRechnung XML of an e-invoice use sevdesk_invoice_xml.
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": {
"id": "<id>"
},
"name": "sevdesk_invoice_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | sevDesk id of the document (not its number such as RE-1001). |