# Factur-X examples

Source: https://xmlvalid.com/tools/factur-x-examples

> Example invoices of every Factur-X profile, from MINIMUM to EXTENDED, and the FNFE-MPE examples for the French e-invoicing reform, in CII and UBL. Download the XML, turn a CII example into a Factur-X PDF with the XML inside, or open it in the validator to see what each rule checks

## What the examples are

The French reform examples are FNFE-MPE's for the XP Z12-012 standard: use case 1, an invoice with the SIREN, the billing mode (BT-23) and the legal mentions the BR-FR rules ask for, and use case 13, under the EXTENDED-CTC-FR rules, each in CII and UBL. The credit note is use case 1 turned into one by us, as FNFE-MPE publishes no UBL credit note. The profile examples, one per profile of Factur-X 1.09, come with the akretion/factur-x library.

The **PDF Factur-X** button lays a CII example out on A4 pages as a PDF/A-3 file and attaches the XML as factur-x.xml, in the profile the XML names, as the [e-invoice viewer](https://xmlvalid.com/tools/e-invoice-viewer) does. To write a Factur-X invoice of your own, use the [e-invoice generator](https://xmlvalid.com/e-invoice-generator).

## The profiles

- **MINIMUM** and **BASIC WL**: the header and the totals, without lines; in Germany neither counts as an e-invoice.
- **BASIC**: with lines, a subset of EN 16931.
- **EN 16931** (COMFORT in ZUGFeRD): the full EN 16931 data, the profile most invoices use.
- **EXTENDED**: EN 16931 and further fields; in France, the EXTENDED-CTC-FR rules apply to it.

Each example passes the schema and the rules of its profile in the [validator](https://xmlvalid.com/validate); the Validate button opens it there.

## Questions

### Is a Factur-X PDF an e-invoice?

The XML inside is. In the EN 16931, EXTENDED and BASIC profiles it carries a structured invoice; MINIMUM and BASIC WL carry too little and do not count as e-invoices in Germany.

### Factur-X or ZUGFeRD: what is the difference?

None in the file: ZUGFeRD 2.x and Factur-X 1.x are the same standard of FeRD and FNFE-MPE, with the same profiles. ZUGFeRD calls EN 16931 COMFORT.

### Which examples fit the French reform?

Those of the French reform group: FNFE-MPE wrote them for the XP Z12-012 standard, and they pass the BR-FR rules the approved platforms apply.

### Can I use the examples in my tests?

Yes. FNFE-MPE publishes its examples under the Apache License 2.0; the companies in them are made up.

  ### Other tools

- [XML formatter](https://xmlvalid.com/tools/xml-formatter): Pretty-print or minify XML, keeping text, CDATA and comments as written.
- [XML viewer](https://xmlvalid.com/tools/xml-viewer): Read a document as a tree you can fold, search and copy XPaths from.
- [XPath tester](https://xmlvalid.com/tools/xpath-tester): Evaluate XPath 3.1 against a document and see each match with its line.
- [XSD generator](https://xmlvalid.com/tools/xsd-generator): Infer an XML Schema from sample documents, checked against them.
- [XML from XSD](https://xmlvalid.com/tools/xsd-to-xml): Generate a sample XML document from a schema, validated against it.
- [XSLT transformer](https://xmlvalid.com/tools/xslt-transformer): Run XSLT 1.0, 2.0 or 3.0 on a document and see the result, the messages and the files it writes.
- [XML diff](https://xmlvalid.com/tools/xml-diff): Compare two XML documents as trees: changed, added and removed elements, attributes and text.
- [XML to JSON converter](https://xmlvalid.com/tools/xml-to-json): Convert XML to JSON, with arrays where an element repeats or wherever its XSD allows.
- [JSON to XML converter](https://xmlvalid.com/tools/json-to-xml): Convert JSON to XML: @keys become attributes, arrays repeated elements.
- [XML to CSV converter](https://xmlvalid.com/tools/xml-to-csv): Turn a repeating element into CSV rows: invoice lines, products, records.
- [XML to PDF converter](https://xmlvalid.com/tools/xml-to-pdf): Save any XML as a PDF to read, print or attach: indented, coloured, with line numbers.
- [E-invoice viewer](https://xmlvalid.com/tools/e-invoice-viewer): Read an XRechnung, ZUGFeRD, Factur-X or Peppol invoice as a document, and save it as a PDF.
- [ZUGFeRD validator](https://xmlvalid.com/zugferd-validator): Check a ZUGFeRD or Factur-X PDF: the XML inside against its profile's rules, and the PDF around it.
- [XRechnung validator](https://xmlvalid.com/xrechnung-validator): Check an XRechnung in UBL or CII against EN 16931 and KoSIT's XRechnung rules before you send it.
- [UBL validator](https://xmlvalid.com/ubl-validator): Check a UBL invoice, order or any other UBL 2.1 document against its OASIS schema, and the business rules of the profile it names.
- [Peppol validator](https://xmlvalid.com/peppol-validator): Check a Peppol BIS Billing 3.0 or PINT invoice against the OpenPeppol rules before your access point sends it.
- [P7M viewer: open a .p7m file](https://xmlvalid.com/tools/p7m-viewer): Open a signed .p7m file: the PDF, invoice or document inside it, and who signed it.
- [XRechnung examples to download](https://xmlvalid.com/tools/xrechnung-examples): Example XRechnung and ZUGFeRD invoices to download, one for each common case.
- [E-invoicing mandate in Germany: do I have to?](https://xmlvalid.com/tools/e-invoicing-mandate): Find out whether your invoices in Germany must be e-invoices in 2026, 2027 and from 2028.
- [Leitweg-ID check](https://xmlvalid.com/tools/leitweg-id): Check the form and the check digits of a Leitweg-ID, the address of a German public buyer.
- [Peppol lookup](https://xmlvalid.com/tools/peppol-lookup): Check whether a company is registered in Peppol, under which ID, and which invoices it can receive.
- [XML validator](https://xmlvalid.com/validate): check a document against XSD, DTD, RelaxNG or Schematron, up to 1 GB.
