Convert CII to UBL online

Turn a UN/CEFACT Cross Industry Invoice (CII) into a UBL 2.1 invoice in seconds.

  • Free, no account
  • File deleted after ~10 min
  • CII D22B
  • UBL 2.1
  • EN 16931
  • EXTENDED
  • EXTENDED-CTC-FR
  • XP Z12-012 1.4

Processed on servers in Frankfurt (EU), never shared.How your file is handled

Try a sample:

How to convert CII to UBL

  1. Choose the formats: CII as the source and UBL as the target (already set on this page).

  2. Upload your CII XML invoice, up to 10 MB, or try one of the samples.

  3. Press Convert, check the UBL result, then copy it or download the XML file.

What to expect

The converter reads your CII invoice (the XML of a Factur-X or ZUGFeRD invoice, an XRechnung in CII, or any CII D22B invoice), maps it to the EN 16931 semantic model and writes it as UBL 2.1. Invoices in the EXTENDED and EXTENDED-CTC-FR profiles (the latter as version 1.4 of XP Z12-012 defines it) are read too, and their extra fields are carried over where UBL has a place for them. Three values have no place in UBL: the line total with VAT, the department of a contact and the base quantity of a gross price. Some fields of the full EXTENDED profile are not carried yet either, so compare the result with your source. Check the result with the validator before you send it to a customer or a tax platform.

Where the main fields go

The same fields in CII and in UBL, with their number in EN 16931 (BT).

FieldCIIUBL
Invoice number (BT-1)rsm:ExchangedDocument/ram:IDcbc:ID
Type code (BT-3)rsm:ExchangedDocument/ram:TypeCodecbc:InvoiceTypeCode
Issue date (BT-2)rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeStringcbc:IssueDate
Currency (BT-5)rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCodecbc:DocumentCurrencyCode
Seller name (BT-27)rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Namecac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName
Buyer name (BT-44)rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Namecac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName
Total with VAT (BT-112)rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmountcac:LegalMonetaryTotal/cbc:TaxInclusiveAmount
Amount due (BT-115)rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmountcac:LegalMonetaryTotal/cbc:PayableAmount

Every field in the field mapping guide

About the formats

CII (Cross Industry Invoice)
The XML syntax defined by UN/CEFACT. It is the XML inside hybrid invoices such as Factur-X and ZUGFeRD.
UBL (Universal Business Language)
The XML syntax defined by OASIS. It is the syntax of Peppol invoices in many countries.
EN 16931
The European standard for the content of an electronic invoice. CII and UBL are two XML syntaxes that can carry it, so an invoice can be converted from one to the other.
EXTENDED
The Factur-X profile that adds fields to the EN 16931 core, such as more parties and more details on the lines.
EXTENDED-CTC-FR
The French profile for the e-invoicing reform: a subset of EXTENDED, defined with the AFNOR standard XP Z12-012. The converter follows its version 1.4 of 30 June 2026, the one in force.

CII to UBL in the EXTENDED-CTC-FR profile

An EXTENDED-CTC-FR invoice declares its profile in its specification identifier (BT-24). Its value depends on the syntax, as annex A of XP Z12-012 1.4 sets out:

InvoiceBT-24
Factur-X, EXTENDED profile (CII inside a PDF)urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended
CII on its ownurn:cen.eu:en16931:2017#conformant#urn.cpro.gouv.fr:1p0:extended-ctc-fr
UBLurn:cen.eu:en16931:2017#conformant#urn.cpro.gouv.fr:1p0:extended-ctc-fr

Going to UBL, the converter writes the EXTENDED-CTC-FR identifier, also when the CII declares the Factur-X EXTENDED identifier or its ZUGFeRD name; any other identifier is written as it is. Three values of the profile have no place in UBL and are lost: the line total with VAT (EXT-FR-FE-184), the department of a contact and the base quantity of a gross price.

The EXT-FR-FE fields are carried both ways where annex A gives them a place in CII and in UBL: for example the five added parties (among them the payer and the invoicer), the seller and the references of a single line, the GROUP and DETAIL lines of a multi-vendor invoice, and what version 1.4 added, such as the dates of the order, contract and despatch references (EXT-FR-FE-197 to 201) and the delivery terms of a line. Once converted, the EXTENDED examples of annex B still pass the schema and the rules of their profile.

The EXTENDED-CTC-FR profile: its fields, their paths and its rules

Frequently asked questions

When do I need UBL instead of CII?

When the receiver reads UBL. The Peppol network carries UBL invoices (Peppol BIS Billing 3.0), and many platforms and public buyers expect them. A typical case: an invoice made as Factur-X or ZUGFeRD, whose XML is CII, that has to reach a customer through Peppol.

What changes in the file?

Only the form, not the content. Dates are written 2026-01-15 instead of 20260115, the VAT scheme "VA" becomes "VAT", the VAT date codes 5, 29 and 72 become 3, 35 and 432, and a credit note (type code 381 or another credit note code) becomes a UBL CreditNote. The specification identifier (BT-24) is kept as it is, except a Factur-X EXTENDED identifier (or its ZUGFeRD name), which becomes the EXTENDED-CTC-FR one.

Can I convert a Factur-X or ZUGFeRD PDF?

Convert its XML, not the PDF. Take the XML out with the Factur-X extractor, then drop it here. The converter does not read or write the PDF part.

Can it convert an EXTENDED-CTC-FR invoice between CII and UBL?

Yes, both ways, as version 1.4 of XP Z12-012 defines the profile. Going to UBL, the identifier of a Factur-X EXTENDED (BT-24) becomes the one of EXTENDED-CTC-FR; going to CII, the identifier is kept as it is, so the result is a CII file on its own, not a Factur-X. UBL has no place for three values of the profile: the line total with VAT, the department of a contact and the base quantity of a gross price. Check the result with the validator: it applies the EXTENDED-CTC-FR rules, and the BR-FR rules if you choose France.

What is the difference between CII and UBL?

Both are XML syntaxes for the same EN 16931 invoice content. They organise and name the elements differently: CII comes from UN/CEFACT and is used by Factur-X and ZUGFeRD, UBL comes from OASIS and is used by Peppol.

Which versions are supported?

CII D22B and UBL 2.1, with the EN 16931, EXTENDED and EXTENDED-CTC-FR profiles, the last as version 1.4 of XP Z12-012 (30 June 2026) defines it, with the fields that version adds. More versions can be added.

Is the converted invoice valid?

The converter maps your invoice but does not check the result. To check it against its schema, the rules of EN 16931 and, if you need them, those of France or Germany, download the converted file and validate it with the validator.

Is it free? Do I need an account?

Yes, it is free, and you do not need an account.

What happens to my invoice?

Your file is converted, and the result stays available for about ten minutes so you can view and download it. After that it is discarded.