Skip to content

License and provenance

Henri Lepic edited this page Nov 21, 2026 · 1 revision

ZeRechnung's code is under the MIT license (see LICENSE).

Official artefacts

The validation rules are rewritten in Go from the official artefacts, which are not included in the repository. The XSD schemas are compiled into Go tables. Rule identifiers and messages are kept as they are, so that reports match those of the reference validators.

Artefact Version License
EN 16931 validation artefacts for CII and UBL (CEN TC 434, ConnectingEurope/eInvoicing-EN16931) 1.3.17 EUPL-1.2
BR-FR schematron (FNFE-MPE, fnfempe/France_RFE) 1.4.0.04 EUPL-1.2
EXTENDED-CTC-FR-CII schematron (FNFE-MPE, fnfempe/France_RFE), syntax pattern 1.4.0.04 EUPL (derived from the EN 16931 schematron, notice at the top of the file); France_RFE repository under Apache-2.0
XRechnung schematron (KoSIT) 3.0.2 Apache-2.0
Factur-X XSD schemas (FNFE-MPE / FeRD): BASIC, EN 16931 and EXTENDED from ZUGFeRD 2.5.2, MINIMUM and BASIC WL from Factur-X 1.09 1.09.2 Apache-2.0
UN/CEFACT CII D16B XSD schemas (resources/cii/16b/xsd of the KoSIT validator configuration for XRechnung 3.0.2, release 2026-08-31) D16B Copyright UN/CEFACT, copying and distribution allowed (notice at the top of the files); KoSIT configuration under Apache-2.0
UN/CEFACT CII D22B XSD schemas (CII/1xsd-CII_D22B_uncoupled of fnfempe/France_RFE), compiled for tests only D22B UN/CEFACT schemas, no notice in the files; France_RFE repository under Apache-2.0
UBL 2.1 XSD schemas (OASIS, os-UBL-2.1, xsdrt schemas of Invoice and CreditNote) 2.1 Copyright OASIS Open, OASIS intellectual property rights policy
Factur-X MINIMUM and BASIC WL schematrons (FNFE-MPE / FeRD) 1.09 Apache-2.0
Factur-X BASIC, EN 16931 and EXTENDED schematrons and their code lists (FeRD, ZUGFeRD 2.5.2), code list assertions 1.09.2 Apache-2.0
EXTENDED validation XSLT (FeRD, ZUGFeRD 2.5.2) 1.09.2 Apache-2.0
Peppol BIS Billing 3.0 schematrons, CII and UBL (OpenPEPPOL/peppol-bis-invoice-3) 3.0.21 no license published in the repository
NLCIUS-CII, SI-UBL 2.0 and G-account extension schematrons (Dutch Peppol authority, peppolautoriteit-nl/validation) 1.0.3.13, 2.0.3.13 and 1.0.2.13 (release 2026-05-21) MIT (repository); EUPL-1.2 according to the header of the CII schematron

Test files

The files in testdata/ at the root come from the ZUGFeRD corpus (Apache-2.0) and, for the UBL credit note, from the CEN artefacts (EUPL-1.2); see testdata/NOTICE.

The test invoices for the French, German, Peppol and Dutch rules were written by hand, with fictitious parties. The Peppol UBL invoice is the Peppol CII invoice written back by ubl.Marshal.

Clone this wiki locally