
E-invoicing began as a simple way to end the mess of paper invoices. Lost documents, typing mistakes, late payments, and tax fraud cost governments billions every year.
By 2026, the scale has exploded. Systems now handle 125 billion invoices a year, according to recent reports. The EU's ViDA rules push even harder for digital reporting. Product managers at software firms deal with a tangle of invoice types: B2B, B2G, B2C. Add in formats like UBL or CII, plus country-specific codes, and it's easy to see why wrong choices lead to trouble.
E-invoice formats are not interchangeable. Each transaction type, B2G, B2B, or B2C, has specific structural requirements, and government systems validate against them automatically. A mismatch means an instant rejection, not a manual review.
The reasons are technical. Italy's SdI only accepts FatturaPA-structured files. Germany's public sector routing requires an 11-digit Leitweg-ID in the correct field. France's Chorus Pro checks both the format profile and sender registration. A missing VAT identifier or incorrectly coded invoice type fails validation the same way.
Wrong format choices also break ERP system integrations and create reconciliation gaps. Checking format compatibility, syntax, and routing IDs before submission can reduce rejections by up to 80%.
The type of transaction sets the rules. Here's what fits each one.
B2G (Business-to-Government): These face the toughest demands. Governments require formats that match EN16931 standards, like UBL or CII, tied to exact country routing IDs. Germany's Leitweg-ID routes to the right authority. Italy's SdI system uses FatturaPA and rejects anything off. France's PDP does the same. One small error in meaning or structure, and the invoice fails instantly.
B2B (Business-to-Business): More room to move here. UBL or CII works well over Peppol or EDI networks. These handle extras such as multiple currencies, discounts, large volumes, and custom terms between partners.
B2C (Business-to-Consumer): No need for heavy B2B details. Focus on easy payments and data privacy under GDPR.

Tired of scrolling through information about e-invoicing?
EN16931 lays down the base rules for Europe, key data fields and meanings that all must follow. It's required for B2G and spreading to B2B. Here are the formats that meet it:
Format | Key Traits | Best For | Drawbacks |
|---|---|---|---|
UBL 2.1 (OASIS) | Verbose XML; rich details (line items, parties, charges). Peppol dominant. | Cross-border B2B. | Bandwidth-heavy. |
CII D16B (UN/CEFACT) | Compact; EN16931 core. | Supply chains, hybrids. | Less feature-rich. |
Hybrids (ZUGFeRD/Factur-X) | PDF/A-3 + embedded CII XML (5 profiles: MINIMUM to EXTENDED). | Human + machine-readable; low-maturity partners. | Profile mismatches.
|
Every country adds its own codes for invoice kinds, like standard bills, credit notes, or corrections, plus tax rules and paths to send them.
In 2026, with ViDA and mandates everywhere, these details matter more than ever. Teams often spend hours chasing updates.Here's a close look at key examples:
Manual tracking fails fast as rules shift. A single API with built-in libraries changes that.
The 2026 e-invoicing world mixes B2B, B2G, B2C rules with UBL, CII, hybrids, EN16931 needs, and ever-changing country codes.
DDD Invoices stands as the proven, API-first platform trusted by global SaaS providers, ERPs, and enterprises.
With one secure integration, it automatically handles format conversions, real-time validation APIs, CTC/Peppol network routing, and centralised code updates, eliminating routing errors, ERP gaps, and rejection risks while ensuring ViDA-ready scalability.
DDD Invoices delivers uninterrupted compliance as regulations evolve. Design once with our unified API, then issue, receive, and archive flawless e-invoices worldwide.
Still have questions?
In the 30min free call we will discuss:
UBL packs detailed XML for Peppol B2B flows across borders and full info on parties and items. CII stays lean for chains and blends, focusing on speed with core EN16931 rules.
EN16931 locks in EU data standards for B2G buys via profiles like Peppol BIS or FatturaPA. ViDA pushes it to B2B, making formats work across countries and cutting failed sends.
B2G. It forces exact syntax like UBL/CII with IDs such as Germany's Leitweg-ID or Italy's SdI/FatturaPA. One miss means an instant block, far stricter than B2B networks or basic B2C.
Country codes define invoice types (like bills vs. credits), tax rules, and routing paths; mismatches lead to instant blocks, as seen in Malaysia's 45 MyInvois types or Poland's KSeF schemas. Teams avoid this by using APIs like DDD Invoices, which pull live code libraries and auto-map them to formats, preventing fines and ERP disruptions.
Written by the Compliance & Growth Team
Reviewed by Denis V. P.