In short
A UBL invoice is an XML file that software reads. What it takes to get one depends on the PDF you have. An ordinary PDF only holds the picture of an invoice: no conversion tool turns it into a reliable e-invoice, which has to come from the software that makes the invoice, or be typed into a form such as the creator. A Factur-X or ZUGFeRD PDF already holds the invoice, in CII: you take it out of the PDF, then convert it to UBL.
This guide explains how to tell the two apart, the three steps from a Factur-X PDF to a UBL invoice, what the profile of the PDF changes, and what a Peppol BIS invoice still needs. If your PDF is a Factur-X: extract its XML.
An ordinary PDF holds no e-invoice
An ordinary PDF, whether it comes from a word processor, a till or a scanner, shows an invoice to a person. It holds no data that software can read with certainty: the number, the amounts or the VAT rate are only text placed on a page, or the pixels of an image. To make a UBL invoice of it, each field would have to be read again and copied to the right place in the XML file. This site does not read an ordinary PDF.
The e-invoice has to be made by the software that makes the invoice: your invoicing software, your ERP, or the tool of your service provider. In Belgium, between businesses with a VAT number, a PDF has no longer been enough since 1 January 2026, and the invoice goes in principle through the Peppol network, with software connected to it (the guide on Belgium). In France, from the date your company must issue electronic invoices, an ordinary PDF no longer counts as an invoice between businesses, and the invoice goes through an approved platform (the guide on the reform). If you receive a PDF and need the XML, ask the sender for it.
A Factur-X PDF already holds the invoice
A Factur-X PDF, or ZUGFeRD, its German name, is a readable PDF with the invoice attached as an XML file in the CII syntax, most often named factur-x.xml (zugferd-invoice.xml for ZUGFeRD 2.0). The PDF and the XML carry the same invoice, but the XML is what counts: software reads the XML, and the PDF only shows it.
To know whether your PDF is one, open the list of its attached files in your PDF reader, often in the side bar under "Attachments", or drop it in the extractor: if it holds no invoice, the extractor says so. UBL and CII carry the same content, that of EN 16931, so going from one to the other needs neither reading the PDF again nor guessing any data (the differences between UBL, CII and Factur-X).
From a Factur-X PDF to a UBL invoice, in three steps
- Extract the XML. Drop the PDF in the Factur-X extractor and save the XML file. It is handed over as it is, without a character changed.
- Convert it to UBL. Drop that file in the CII to UBL converter. It maps the invoice to the EN 16931 model and writes it in UBL 2.1. The converter does not read the PDF itself: that is why extraction comes first.
- Check the result. Drop the UBL invoice in the validator, with the rules of France if it is meant for them, and compare it with the source using the checklist.
We followed these three steps on 6 November 2026 with a sample invoice of the ZUGFeRD 2.5.2 specification (Factur-X 1.09.2), of the EN 16931 profile: the extracted XML is identical, byte for byte, to the file published next to the PDF, and the UBL invoice passes the UBL schema and the EN 16931 rules without an error. With the French rules, this German invoice does not pass, for lack, among others, of the notes that rule BR-FR-05 requires: converting does not make an invoice meet the rules of a country.
What the profile of the PDF changes
A Factur-X PDF declares a profile, which says what its XML holds. We converted to UBL a sample invoice of each profile of the ZUGFeRD 2.5.2 specification, then checked the result with the validator of this site:
| Profile of the PDF | Invoice lines | The UBL invoice you get |
|---|
| MINIMUM | None | Fails the UBL schema, which requires at least one line |
| BASIC WL | None | Fails the UBL schema, for the same reason |
| BASIC | Yes | Passes the UBL schema and the EN 16931 rules |
| EN 16931 | Yes | Passes the UBL schema and the EN 16931 rules |
| EXTENDED | Yes | Declares the French profile EXTENDED-CTC-FR and passes its UBL rules; only what that profile provides for is kept |
| XRECHNUNG | Yes | Stays an XRechnung and passes its UBL rules |
MINIMUM and BASIC WL carry less than a complete EN 16931 invoice: MINIMUM has the header and footer data, BASIC WL has no lines. The French standard XP Z12-012 accepts BASIC WL only until 1 September 2027, and not MINIMUM (the standard explained). In Germany, the Federal Ministry of Finance names ZUGFeRD among the formats that meet the requirements, except these two profiles (the guide on the German obligation). For such a PDF, ask the sender for the invoice in a fuller profile. The fields that the EXTENDED profile adds to EN 16931 are set out in the guide on EXTENDED-CTC-FR.
Peppol BIS: what is still missing
The converter keeps the specification identifier of the invoice (BT-24, cbc:CustomizationID in UBL): a Factur-X EN 16931 invoice becomes a UBL invoice that declares urn:cen.eu:en16931:2017, EN 16931 alone. It does not become a Peppol BIS invoice, the format of invoices between Belgian businesses, which also requires:
- a
CustomizationID that starts with urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 (rule PEPPOL-EN16931-R004); - a
ProfileID (BT-23) that names a Peppol process, for example urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 (R001, R007); - the electronic addresses of the seller and the buyer, BT-34 and BT-49 (R020, R010), and a buyer reference or a purchase order reference (R003).
Not all of this is in a Factur-X PDF. A Peppol BIS invoice is made and sent with software connected to the Peppol network, which knows it. The guide on the UBL invoice presents the rules that the CustomizationID names, and the guide to XML invoice examples what changes in a Peppol BIS invoice.
Where this site fits
- Create. No software that makes e-invoices? Type the invoice into the creator and download it in UBL (EN 16931 or Peppol BIS), CII or as a Factur-X PDF, checked against the rules you choose.
- Extract. The extractor hands over the XML attached to a Factur-X or ZUGFeRD PDF. It does not read an ordinary PDF.
- Convert. CII to UBL rewrites that XML in UBL 2.1, and UBL to CII does the reverse.
- Check. The validator checks the UBL invoice, or the Factur-X PDF itself, against its schema and the rules of its profile, with those of France or Germany if you wish.
- Read. The viewer shows the UBL invoice as a PDF, to compare it with the original PDF.
This site neither sends nor receives invoices, on Peppol or through an approved platform: that is the job of your software.
Sources