Skip to content

Documentation / @facturometro/einvoice / SPEC_VERSIONS

Variable: SPEC_VERSIONS ​

const SPEC_VERSIONS: object

Defined in: packages/core/src/constants.ts:116

Versions of the specifications this library implements.

peppol is the Peppol BIS Billing release, cen the EN 16931 (CEN TC 434) rule set version: the one the Schematron embedded in that Peppol release declares about itself, which is what Peppol validators run (the CEN repository tag validation-1.3.16 only supplies the test corpus).

Type Declaration ​

cen ​

readonly cen: "1.3.15" = '1.3.15'

peppol ​

readonly peppol: "3.0.21" = '3.0.21'

Example ​

ts
import { SPEC_VERSIONS } from '@facturometro/core';

console.log(SPEC_VERSIONS.peppol); // '3.0.21'

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