Skip to content

Documentation / @facturometro/parser / UblCrSpecial

Type Alias: UblCrSpecial ​

UblCrSpecial = "document-type-code-130" | "document-type-code-not-130" | "payment-due-date" | "ubl-version"

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

A condition a structural table cannot express on its own.

  • ubl-version: the element is allowed when its value is 2.1.
  • payment-due-date: the element is allowed in a credit note, forbidden in an invoice.
  • document-type-code-130: forbidden only when the document reference is an invoiced object identifier (cbc:DocumentTypeCode is 130).
  • document-type-code-not-130: forbidden unless it is.

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