einvoicecheck
Menu

Rules / UBL-CR-049 · Markdown

Peppol BIS Billing 3.0 · rule

UBL-CR-049

Layer en16931·Checked against Peppol BIS Billing 3.0 2026.5

What does UBL-CR-049 mean? A UBL invoice should not include the DespatchDocumentReference DocumentTypeCode

Why did my invoice fail UBL-CR-049?

The UBL 2.1 schema allows a DocumentTypeCode child inside cac:DespatchDocumentReference, but this element is not part of the EN 16931 core invoice model, so a compliant invoice should not include it. UBL-CR rules exist because EN 16931 uses only a subset of full UBL: any element outside that subset carries data the receiver is not required to process. In the core model, cac:DespatchDocumentReference conveys the despatch advice reference (BT-16) and should be limited to cbc:ID (the despatch advice reference, BT-16).

Official rule text

A UBL invoice should not include the DespatchDocumentReference DocumentTypeCode

Common causes

How do I fix it?

<cac:DespatchDocumentReference>
  <cbc:ID>DESP-2024-042</cbc:ID>
</cac:DespatchDocumentReference>

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

Check your invoice against this rule

Paste it into the live demo, or call POST /v1/validate. See the quickstart.