Skip to content

Documentation / @facturometro/validator / SPEC

Variable: SPEC ​

const SPEC: Readonly<Record<"cen" | "cenTests" | "peppol" | "release", string>>

Defined in: packages/validator/src/rulesets/en16931.ts:56

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 '@facturometro/validator';

SPEC; // { cen: '1.3.15', cenTests: '1.3.16', peppol: '3.0.21', release: '2026-05' }

MIT licensed. Specification artefacts belong to OpenPEPPOL, CEN and OASIS.