Documentation / @facturometro/parser / UBL_CR_TABLE
Variable: UBL_CR_TABLE ​
constUBL_CR_TABLE: readonlyUblCrRule[]
Defined in: generated/structural.generated.ts:107
The 783 element paths the EN 16931 UBL subset forbids, one row per document type: an assert written against (cac:InvoiceLine|cac:CreditNoteLine) becomes a row for each. The parser reports the rule of the longest path it matched.
Example ​
ts
UBL_CR_TABLE.find((rule) => rule.segments.join('/') === 'cbc:UUID')?.id; // 'UBL-CR-005'