Guide

Factur-X, UBL or CII: which e-invoice format should you choose?

Compare Factur-X, UBL and CII and identify the e-invoice format your partners and systems can process.

Factur-X combines a human-readable PDF with embedded XML data. UBL and CII represent the invoice in XML. The right choice depends on the data your software produces, the formats and profiles the exchange channel accepts and how the recipient processes the invoice.

What is the difference between Factur-X, UBL and CII?

FormatWhat the file containsWhen to consider it
Factur-XA human-readable PDF/A-3 file that embeds CII XML according to a Factur-X profile.You need a document people can read that also provides structured data for integration.
UBLAn XML invoice structured according to the Universal Business Language syntax.Your partner or exchange channel requires a UBL-based profile and your software can supply the data.
CIIAn XML invoice structured according to UN/CEFACT’s Cross Industry Invoice syntax.Your software generates CII or your recipient requires an implementation based on that syntax.

Factur-X comes in several profiles that determine what data the XML contains. A detailed PDF can therefore accompany XML that includes only some of the visible data. Compare the profile your tool supports with the data your recipient needs. FNFE-MPE Factur-X documentation

How does EN 16931 relate to these formats?

The European standard EN 16931 defines a data model for the core invoice, covering information such as the parties, lines, taxes and totals. UBL and CII describe how to encode this information in XML. To validate an invoice, check the version, profile and rules of the exchange channel. A file can be valid XML and still omit a field required by the expected profile. European Commission guidance on EN 16931 compliance

Which formats are part of the French e-invoicing scheme?

The French tax authority, DGFiP, identifies UBL, CII and Factur-X as the three core formats of the French reform. For transactions covered by the scheme, agree with your accredited platform on the format and profile to send and what your ERP must provide. If your provider converts the data, the output of your software may differ from the final format. Confirm the arrangement in your contract and verify the result with a test invoice. DGFiP fact sheet on the French reform’s formats

For another country, check the route and profile that apply to your transactions. Find Weexa’s country pages in our overview of international e-invoicing.

How do you choose a format for your invoicing workflows?

  1. Check the recipient’s requirements. Ask the partner or platform which syntax, version, profile and additional rules apply.
  2. Map your data. Identify the system that provides customer data, order references, lines, VAT, discounts and totals.
  3. Check what your teams need. Does an accountant need to open a human-readable document? Does a buyer need to match each invoice line to an order?
  4. Test a real conversion. If an intermediary transforms the file, compare the received data with the original document, especially the lines, references and totals.

Example: testing Factur-X before choosing it

A supplier produces a Factur-X invoice whose PDF shows three services. Its customer wants to match the invoice lines to an order automatically. To validate the format, the supplier sends a sample and checks with the customer that the embedded XML contains all three lines and the expected references. They also check that the PDF and XML amounts match.

Repeat the test with a credit note and an invoice that includes a discount. This shows what information the profile retains and what survives any conversions.

In summary

Start with the format and profile your exchange channel expects. Then confirm your ERP can provide the required data and check that the data is still present after transmission.