generate_erechnung
Generates official German E-Rechnung PDFs (ZUGFeRD) or XML (XRechnung) from structured JSON with deterministic math and IBAN checks for compliant B2B/B2G invoicing.
Instructions
Deterministically generate an official German E-Rechnung (ZUGFeRD 2.5 PDF/A-3b with SEPA GiroCode QR or KoSIT XRechnung 3.0.2 XML) from structured JSON (<300ms, zero LLM hallucinations, exact BigDecimal math & MOD-97 IBAN verification).
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": {
"invoice": "<invoice>"
},
"name": "generate_erechnung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ZUGFERD | |
| invoice | Yes | ||
| profile | No | EN16931 | |
| stampGiroCode | No |