The E-Invoice Mandate
Germany requires electronic invoices for all B2B transactions starting 2025. As developers, we need to understand ZUGFeRD and XRechnung formats.
Key Formats
- ZUGFeRD: PDF with embedded XML
- XRechnung: Pure XML (EN 16931)
Quick Integration
Rather than building from scratch, I have been using E-Rechnung Push which handles format generation, compliance validation, and Peppol delivery automatically.
// Example: Generate ZUGFeRD invoice
const invoice = await eRechnungPush.create({
format: "zugferd",
customer: { vatId: "DE123456789" },
items: [{ description: "SaaS License", amount: 49.90 }]
});
Starting at 2.90 EUR/month — worth checking out if you need to add e-invoicing to your product.
Top comments (0)