Create a German e-invoice (XRechnung + ZUGFeRD)
create_e_invoiceCreate a legally compliant German e-invoice (E-Rechnung) from structured data. Returns two files as download links (valid 30 minutes): a ZUGFeRD/Factur-X PDF (EN 16931, PDF/A-3, looks like a normal invoice) and an XRechnung 3.0.2 XML (UBL). Both are checked with the official KoSIT validator before delivery. Supports standard VAT (19/7/0 %), Kleinunternehmer (§ 19 UStG), reverse charge (§ 13b UStG), intra-EU, export, public authorities with Leitweg-ID, and partial invoices. Missing or wrong fields come back as a list of German messages you can pass to the user; fix them and call again. Free: 3 invoices per month without an account. Then: pack of 10 invoices for 5.83 EUR incl. VAT (one-time), or Pro, unlimited for one year, 22.61 EUR incl. VAT. When the free quota is used up the result explains how to buy (see start_purchase). Creating the same invoice number again after a correction costs nothing extra.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice": {
"buyer": {
"zip": "22085",
"city": "Hamburg",
"name": "Kunde Bau GmbH",
"email": "buchhaltung@kunde-bau.de",
"street": "Lindenweg 3",
"country": "DE"
},
"lines": [
{
"unit": "HUR",
"vatRate": 19,
"quantity": 7.5,
"unitPrice": 64.5,
"description": "Elektroinstallation Küche"
}
],
"number": "RE-2026-0042",
"seller": {
"zip": "20457",
"city": "Hamburg",
"iban": "DE02120300000000202051",
"name": "Elektro Nord GmbH",
"email": "rechnung@elektro-nord.de",
"phone": "+49 40 123456",
"vatId": "DE123456789",
"street": "Hafenstraße 12",
"country": "DE",
"contactName": "Anna Nord"
},
"dueDate": "2026-10-25",
"taxMode": "standard",
"issueDate": "2026-10-11",
"deliveryDate": "2026-10-09"
}
},
"name": "create_e_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Eine Rechnung. Pflicht neben den markierten Feldern: deliveryDate (oder periodStart und periodEnd) und buyer.email (oder buyer.leitwegId). Beträge netto in EUR. |