Peppol BIS Billing 3.0 · rule
UBL-CR-091
What does UBL-CR-091 mean? A UBL invoice should not include the OriginatorDocumentReference ValidityPeriod
Why did my invoice fail UBL-CR-091?
EN 16931 states that a UBL invoice should not include the cac:ValidityPeriod child of cac:OriginatorDocumentReference. In the core invoice model this element carries the tender or lot reference (BT-17), for which the core model only uses the document identifier (cac:OriginatorDocumentReference/cbc:ID), so cac:ValidityPeriod lies outside the standard's subset of UBL and validators flag its presence. It is a warning-level cardinality rule: the extra data is ignored by receivers that implement only the core model.
Official rule text
A UBL invoice should not include the OriginatorDocumentReference ValidityPeriod
Common causes
- The validity period of the referenced document is exported as cac:ValidityPeriod, which the core model does not support.
- A generic UBL library serialises every optional field of the DocumentReference aggregate by default.
Related rules
UBL-CR-001 · UBL-CR-002 · UBL-CR-003 · UBL-CR-004 · UBL-CR-005 · UBL-CR-006 · UBL-CR-007 · UBL-CR-008
Paste it into the live demo, or call POST /v1/validate. See the quickstart.