Skip to content

Documentation / @facturometro/einvoice / UBL_DT_ATTRIBUTE_TABLE

Variable: UBL_DT_ATTRIBUTE_TABLE ​

const UBL_DT_ATTRIBUTE_TABLE: Readonly<Record<string, UblDtAttributeRule>>

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

The attributes the EN 16931 UBL subset forbids everywhere (UBL-DT-08 to UBL-DT-28), keyed by attribute name. @name is the exception that proves the rule: it is allowed on cbc:PaymentMeansCode, where Peppol uses it for the payment means name.

Example ​

ts
UBL_DT_ATTRIBUTE_TABLE['name']; // { allowedOn: ['cbc:PaymentMeansCode'], id: 'UBL-DT-18' }

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