Skip to content

Documentation / einvoice-ts / UBL_SR_TABLE

Variable: UBL_SR_TABLE ​

const UBL_SR_TABLE: readonly UblSrRule[]

Defined in: packages/parser/src/generated/structural.generated.ts:2895

The 55 cardinality caps of the EN 16931 UBL subset, one row per context alternative. The parser counts each one per element the context selects, and reports it once for that element.

Example ​

ts
UBL_SR_TABLE.find((rule) => rule.id === 'UBL-SR-08')?.max; // 1

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.