PDF herunterladen
download_document_pdfPDF eines Belegs herunterladen (bei E-Rechnung mit eingebettetem XML; Schweiz: QR-Zahlteil als letzte Seite, siehe payment_slip). Liefert die Datei base64-kodiert.
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": "download_document_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Beleg-ID | |
| payment_slip | No | Schweiz: QR-Zahlteil mitgeben (true) oder weglassen (false). Ohne Angabe gilt die Vorgabe des Belegs (hide_payment_qr) |