Convert UBL to CII online

Turn a UBL 2.1 invoice into a UN/CEFACT Cross Industry Invoice (CII) 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 UBL to CII

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

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

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

What to expect

The converter reads your UBL 2.1 invoice or credit note (a Peppol BIS invoice, an XRechnung in UBL, or any UBL 2.1 invoice), maps it to the EN 16931 semantic model and writes it as UN/CEFACT CII D22B. Every field of EN 16931 has a place in CII, and UBL invoices in the EXTENDED-CTC-FR profile of XP Z12-012 version 1.4 are read too. Compare the result with your source all the same, and check it with the validator before you send it to a customer or a tax platform. The result is the XML of the invoice: to send a Factur-X or a ZUGFeRD invoice, your invoicing software still has to put it into a PDF.

Where the main fields go

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

FieldUBLCII
Invoice number (BT-1)cbc:IDrsm:ExchangedDocument/ram:ID
Type code (BT-3)cbc:InvoiceTypeCodersm:ExchangedDocument/ram:TypeCode
Issue date (BT-2)cbc:IssueDatersm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString
Currency (BT-5)cbc:DocumentCurrencyCodersm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode
Seller name (BT-27)cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationNamersm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name
Buyer name (BT-44)cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationNamersm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name
Total with VAT (BT-112)cac:LegalMonetaryTotal/cbc:TaxInclusiveAmountrsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount
Amount due (BT-115)cac:LegalMonetaryTotal/cbc:PayableAmountrsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount

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.

UBL to CII 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 CII, the identifier is kept as it is: a UBL EXTENDED-CTC-FR invoice becomes a CII file on its own that declares EXTENDED-CTC-FR. It is not a Factur-X: inside a Factur-X, BT-24 would have to be the Factur-X EXTENDED identifier. Three values of the profile cannot be in a UBL invoice, as UBL has no place for them: 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 CII instead of UBL?

When the receiver or the software reads CII. Factur-X and ZUGFeRD carry CII XML, and many accounting tools that import them read only CII. A typical case: a Peppol invoice in UBL that has to go into software that reads Factur-X or ZUGFeRD XML.

What changes in the file?

Only the form, not the content. Dates are written 20260115 (format 102) instead of 2026-01-15, the VAT scheme "VAT" becomes "VA", the VAT date codes 3, 35 and 432 become 5, 29 and 72, and a UBL CreditNote becomes a CII document with its credit note type code (381). The specification identifier (BT-24) is kept as it is. The validator runs the Peppol rules on UBL only, so the CII result of a Peppol BIS invoice is checked against the EN 16931 rules.

Can I convert a Peppol BIS invoice?

Yes. Peppol BIS Billing 3.0 invoices are UBL 2.1, and the official Peppol example is among the invoices the converter is tested with: its CII result must pass the validator. The converter does not send or receive invoices on the Peppol network.

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.

Should I choose CII or UBL?

It depends on who receives the invoice. The Peppol network mostly uses UBL. ZUGFeRD and Factur-X use CII. XRechnung accepts both, and the French reform lists UBL, CII and Factur-X. Ask your customer or your platform which syntax it reads, and convert if yours is the other one.

Does it work for XRechnung, ZUGFeRD and Factur-X?

Yes, for the XML. XRechnung exists in two syntaxes, UBL and CII, and both can be converted here. ZUGFeRD and Factur-X carry a CII file inside a PDF: convert that XML file, not the PDF. The converter does not read or write the PDF part, and it does not check the rules of the XRechnung.

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.