Documentation / @einvoice-ts/validator / SPEC
Variable: SPEC ​
constSPEC:Readonly<Record<"cen"|"cenTests"|"peppol"|"release",string>>
Defined in: packages/validator/src/rulesets/en16931.ts:59
The specification versions the built-in rulesets implement.
cen is the version the EN 16931 Schematron embedded in the Peppol release declares (the copy Peppol validators run); cenTests the CEN repository tag that supplies the unit-test corpus.
Example ​
ts
import { SPEC } from '@einvoice-ts/validator';
SPEC; // { cen: '1.3.16', cenTests: '1.3.16', peppol: '3.0.22', release: '2026-10' }