Skip to content

Documentation / @facturometro/parser / UBL_RULE_TABLE

Variable: UBL_RULE_TABLE ​

const UBL_RULE_TABLE: Readonly<Record<string, UblRuleInfo>>

Defined in: generated/structural.generated.ts:3333

What each of the 746 rules of the tables above says when it fires: the Schematron message and the severity it is flagged with, so a structural diagnostic is worded by the specification without the parser depending on the validator. UBL-DT-01 is worded too: the parser reports it on the amounts inside an element it dropped.

Example ​

ts
UBL_RULE_TABLE['UBL-SR-08']?.severity; // 'fatal'

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