Skip to content

Documentation / @facturometro/einvoice / Severity

Type Alias: Severity ​

Severity = "fatal" | "warning"

Defined in: packages/core/src/issue.ts:22

How serious a diagnostic is, mirroring the Schematron flag attribute.

A fatal issue makes a document invalid; a warning is reported but keeps it valid.

Example ​

ts
import type { Severity } from '@facturometro/core';

const severity: Severity = 'fatal';

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