generate_einvoice
Generate legally compliant European e-invoices (Factur-X/ZUGFeRD/EN 16931) as visual PDFs with embedded XML, ready for ERP and accounting platform ingestion.
Instructions
Generates a legally compliant European hybrid electronic invoice (Factur-X / ZUGFeRD 2.2 / EN 16931). Renders a beautiful visual PDF and embeds machine-readable CrossIndustryInvoice XML (/EmbeddedFiles) for automated ingestion by ERP and accounting platforms (DATEV, SAP, Chorus Pro, Dinero, Billy).
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_number": "<invoice_number>",
"seller_name": "<seller_name>",
"buyer_name": "<buyer_name>",
"line_items": "<line_items>"
},
"name": "generate_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional payment terms or notes | |
| profile | No | Factur-X compliance profile level | BASIC |
| currency | No | ISO 4217 currency code (e.g. EUR, DKK, USD, SEK) | EUR |
| due_date | No | Due payment date (YYYY-MM-DD) | |
| buyer_city | No | Buyer city | |
| buyer_name | Yes | Customer/buyer company or client name | |
| line_items | Yes | List of invoice items or billed services | |
| buyer_email | No | Buyer contact/AP email | |
| payment_bic | No | Bank SWIFT/BIC code | |
| seller_city | No | Seller city | |
| seller_name | Yes | Supplier/seller company name | |
| buyer_street | No | Buyer street address | |
| buyer_vat_id | No | Buyer VAT ID / Tax number (e.g. "DE123456789") | |
| payment_iban | No | Bank transfer IBAN for direct wire payment | |
| seller_email | No | Seller billing email | |
| buyer_country | No | 2-letter ISO country code of buyer (e.g. DE, FR, DK) | DE |
| seller_street | No | Seller street address | |
| seller_vat_id | No | Supplier VAT ID / Tax number (e.g. "DK12345678" or "DE987654321") | |
| buyer_postcode | No | Buyer postal code | |
| invoice_number | Yes | Unique invoice reference number (e.g. "INV-2026-0042") | |
| seller_country | No | 2-letter ISO country code of seller (e.g. DK, DE, FR, NL) | DK |
| seller_postcode | No | Seller postal code |