Peppol BIS Billing 3.0 · rule
UBL-CR-082
What does UBL-CR-082 mean? A UBL invoice should not include the OriginatorDocumentReference DocumentTypeCode
Why did my invoice fail UBL-CR-082?
EN 16931 states that a UBL invoice should not include the cbc:DocumentTypeCode 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 cbc:DocumentTypeCode 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 DocumentTypeCode
Common causes
- A UNCL1001 document type code is exported as cbc:DocumentTypeCode, although the core model does not use it on the originator document reference.
- A mapping copied from AdditionalDocumentReference (where a type code is used) is reused for the originator document reference.
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.