Generate & download ZUGFeRD PDF/A-3 or XRechnung XML
generate_and_downloadGenerates the final EN 16931 + veraPDF-validated ZUGFeRD PDF/A-3 or XRechnung XML for a paid Single Order job (or an authenticated paid-subscriber API-key job, charging 1 monthly invoice unit). Returns a short-lived signed download_url (and optional inline XML text for xrechnung_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": {
"job_token": "<job_token>"
},
"name": "generate_and_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: zugferd_pdf (EN 16931 ZUGFeRD 2.4 PDF/A-3) or xrechnung_xml (CII XML). | zugferd_pdf |
| job_token | Yes | The paid (or API-key authenticated) job_token. | |
| include_inline_xml | No | When format is xrechnung_xml, also return the XML string inline in the tool result. |