Skip to main content

CII: UN/CEFACT XML for E-Invoices

CII is the UN/CEFACT XML syntax used by EN 16931 and by ZUGFeRD and Factur-X profiles.

What is CII?

CII (Cross Industry Invoice) is an XML-based e-invoicing standard from UN/CEFACT. UN/CEFACT publishes CII in versioned directories. The European EN 16931 syntax binding uses CII D16B, while a target profile package can select a later CII release. Always use the schemas and rules for the recipient profile.

Foundation for ZUGFeRD and Factur-X

ZUGFeRD and Factur-X use CII as their embedded XML syntax. The selected profile and recipient rules determine whether a file is accepted.

Interactive family tree

EN 16931 defines what invoice data means. UBL and CII write it down. CIUS and profiles add rules on top. Tap a box for details.

CIUS: restricts the core modelHybrid PDF/A-3 with profiles
Syntax binding

UN/CEFACT

What it is
Cross Industry Invoice D16B from UN/CEFACT. CEN/TS 16931-3-3 maps every business term to a CII element.
Who uses it
The XML inside every ZUGFeRD and Factur-X file, XRechnung in its CII variant, and French e-invoices sent as CII.
Syntax
XML, trade-oriented.
The EN 16931 family: EN 16931-1 is the semantic model with business terms (BT) and business groups (BG). Two syntax bindings carry it: UBL 2.1 (CEN/TS 16931-3-2) and UN/CEFACT CII D16B (CEN/TS 16931-3-3). Peppol BIS Billing 3.0, NLCIUS and OIOUBL are CIUS used with UBL; XRechnung, the German CIUS, exists in UBL and CII. ZUGFeRD and Factur-X are hybrid PDF/A-3 files with embedded CII XML. They are not a CIUS but define profiles (MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED, XRECHNUNG); MINIMUM and BASIC WL do not cover EN 16931. Sources: CEN/TS 16931-3-2 and 16931-3-3, Peppol BIS Billing 3.0, KoSIT XRechnung, FeRD ZUGFeRD. Status: October 2026.

Key Features

  • EN 16931 syntax binding uses CII D16B
  • A profile package can select another CII directory
  • Structured XML syntax
  • Embedded syntax for ZUGFeRD and Factur-X
  • Target profiles restrict elements and code lists
  • Validation against matching schemas and rules

Advantages of CII Format

UN/CEFACT publication

Published by UN/CEFACT; acceptance depends on the target profile

Cross-Industry

Designed for multiple sectors; target profiles can restrict the data

Versioned

UN/CEFACT publishes maintained releases

Integration

ERP or middleware can map the XML; profile rules still apply

ZUGFeRD and Factur-X Hybrid Profiles

LevelRequirementsFieldsComplexity
MINIMUMAccounting data onlySelected header and totalsLow
BASIC WLHeader data without line itemsHeader and totalsMedium
BASICEN 16931 subset with line itemsHeader, lines, and totalsMedium
EN16931EN 16931 data modelEN 16931 fieldsHigh
EXTENDEDAdditional fields beyond EN 16931Additional profile fieldsVery high

Invoice Type Codes (UNTDID 1001)

Commercial invoice (380)

Standard B2B invoice — the default in EN 16931. Usage: Default for most B2B transactions

Credit note (381)

Cancels or reduces a previously issued invoice. Usage: Refunds, returns, corrections downward

Debit note (383)

Adds charges to a previously issued invoice. Usage: Additional charges, corrections upward

Corrected invoice (384)

Replaces an earlier invoice with corrected values. Usage: Full replacement of an earlier invoice

Prepayment invoice (386)

Issued before delivery to request advance payment. Usage: Advance payments and deposits

Self-billed invoice (389)

Buyer-issued invoice on the seller's behalf (Gutschrift in German). Usage: Self-billing arrangements

Technical Specifications

AspectSpecificationDetails
EN 16931 Syntax BindingCEN/TS 16931-3-3UN/CEFACT CII D16B
Character EncodingUTF-8Unicode support for international characters
Namespaceurn:un:unece:uncefact:data:standardUnique XML namespace identification
Document Type380 (Commercial Invoice)UN/EDIFACT-compliant document classification

Quick actions

Resources & Links