Specification versions
Which versions of the specifications this release implements, where they come from, and how a new Peppol release reaches the library.
This release
| Specification | Version | Source |
|---|---|---|
| Peppol BIS Billing 3.0 | 3.0.22 (2026 October hotfix) | OpenPEPPOL/peppol-bis-invoice-3, tag 3.0.22 |
| EN 16931 rules (CEN TC 434 Schematron) | 1.3.16 | the Schematron shipped inside Peppol BIS 3.0.22 |
| EN 16931 unit tests | 1.3.16 | ConnectingEurope/eInvoicing-EN16931, tag validation-1.3.16 |
| UBL | 2.1 | OASIS UBL 2.1 schemas |
| CIUS-ES-FACE | 1.0.0 | the CIUS document of the Spanish administration for FACe; there is no Schematron to pin |
The EN 16931 rules come from the Schematron embedded in the Peppol release, because that is what Peppol validators run; the CEN repository supplies test cases only, at the same version. In code, the versions are SPEC_VERSIONS of @einvoice-ts/core and SPEC of @einvoice-ts/validator, and each ruleset constant carries them in spec (esFaceRuleset adds ciusEsFace).
CIUS-ES-FACE is a document, not a Schematron, so its rules are written by hand from the document, with ids of this library's own (ES-FACE-R*), and no official tests check them.
How versions are pinned
Every artefact is pinned by commit SHA and sha256 in spec/spec.lock.json. OpenPEPPOL publishes each BIS Billing release, hotfixes included, as a GitHub release with a version tag, so the Peppol pin is a release tag. The -MR and -QA branches hold member-review and QA drafts of the next release and are never pinned. pnpm spec:fetch downloads the artefacts into spec/vendor/, which is never committed or published: OpenPEPPOL's terms do not allow redistribution. What the packages ship is the code generated from them (model types, runtime schema, code lists, rule tables), which is committed so a new release shows up as a reviewable diff.
A nightly job compares the Peppol pin with the newest release tag upstream, and the other sources with their own pinned refs, and opens an issue when that would change something.
Choosing a Peppol version
Each minor version of the packages implements exactly one Peppol BIS Billing release. You choose the Peppol version by pinning the package version; the rulesets are not versioned per Peppol release, and no package ships two releases side by side.
| Packages | Peppol BIS Billing | Peppol source | EN 16931 rules |
|---|---|---|---|
0.1.x..0.4.x | 3.0.21 | member-review snapshot f90a3914 (2026-Q2-MR) | 1.3.15 |
0.5.x | 3.0.22 | tag 3.0.22 (38d693d7) | 1.3.16 |
The snapshot behind 0.1.x..0.4.x predates the final 3.0.21: it lacks the 3.0.21 rule and code list changes and the October 2026 hotfix.
Release policy
OpenPEPPOL's release notes list a release each May and each November since 2022, with hotfix releases such as 3.0.22 in between. Adopting one is a minor release of these packages, since new or changed rules can reject documents that passed before; see Choosing a Peppol version. Upgrading means re-pinning (pnpm spec:fetch --update), regenerating (pnpm codegen), reviewing the generated diff, implementing new rules until the coverage gate passes, and adding a changeset.