Quick answer

UBL 2.1 (OASIS): verbose, self-documenting element names, required for Peppol BIS. CII (UN/CEFACT): compact element names with deeper nesting, required for ZUGFeRD/Factur-X. Both serialize the same EN 16931 semantic model — the choice is driven by your target network and format, not data capability.

Side by side

FeatureUBLCII
Full NameUniversal Business Language 2.1UN/CEFACT Cross-Industry Invoice
Maintained ByOASISUN/CEFACT
Used ByPeppol, XRechnungZUGFeRD, Factur-X, XRechnung
File SizeTypically largerTypically smaller
StructureMore verbose/explicitMore compact
International AdoptionHigher (Peppol network)Strong in EU (Franco-German)

UBL

UBL 2.1 (OASIS) uses explicit, self-documenting XML element names. It is the required syntax for Peppol BIS Billing 3.0 and one of the two accepted syntaxes for XRechnung. Dominant in international e-invoicing and government procurement.

CII

UN/CEFACT CII uses compact element names with deeper nesting, producing smaller files. It is the required syntax for ZUGFeRD and Factur-X, and the second accepted syntax for XRechnung. Dominant in Franco-German trade corridors.

Key differences

Structure and Verbosity

UBL uses explicit, self-documenting element names. More verbose but easier to read without documentation.

CII uses shorter element names with more nesting. Smaller files but requires documentation reference.

Ecosystem

UBL dominates international trade (Peppol connects 40+ countries). If you need to invoice globally, UBL is more widely supported.

CII is strong in France and Germany. If most of your trade is Franco-German, CII tools are abundant.

When to use which

UBL

CII

Can you use both?

If you use XRechnung, you can choose either syntax—both are valid. Most implementations pick one and stick with it.

Conversion between UBL and CII is possible since both map to EN 16931, though some edge cases may require attention.

Questions

Which is more widely supported?
UBL has broader international support via Peppol. CII is dominant in Franco-German trade. Both are fully supported for EN 16931 compliance.
Can I convert between UBL and CII?
Yes, both map to the same EN 16931 semantic model. Conversion tools exist, and many platforms handle it automatically.
Does it matter for German government?
No—XRechnung accepts both UBL and CII. Choose based on your ecosystem (Peppol → UBL, ZUGFeRD → CII).