Skip to content

Documentation / @facturometro/einvoice / SpecRule

Interface: SpecRule ​

Defined in: packages/validator/src/generated/spec-messages.generated.ts:455

What the specification says about one rule.

Properties ​

bt ​

readonly bt: readonly string[]

Defined in: packages/validator/src/generated/spec-messages.generated.ts:457

Business terms the message names, e.g. ["BT-106", "BT-131"].


docsUrl ​

readonly docsUrl: string

Defined in: packages/validator/src/generated/spec-messages.generated.ts:459

The rule's page on docs.peppol.eu.


family ​

readonly family: SpecRuleFamily

Defined in: packages/validator/src/generated/spec-messages.generated.ts:461

Family the id belongs to.


message ​

readonly message: string

Defined in: packages/validator/src/generated/spec-messages.generated.ts:463

The message, verbatim from the Schematron, without its [id] prefix.


severity ​

readonly severity: Severity

Defined in: packages/validator/src/generated/spec-messages.generated.ts:465

Severity, from the Schematron flag attribute.

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