einvoicecheck
Menu

Rules / UBL-CR-020 · Markdown

Peppol BIS Billing 3.0 · rule

UBL-CR-020

Layer en16931·Checked against Peppol BIS Billing 3.0 2026.5

What does UBL-CR-020 mean? A UBL invoice should not include the OrderReference CustomerReference

Why did my invoice fail UBL-CR-020?

The UBL 2.1 schema allows a CustomerReference child inside cac:OrderReference, 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:OrderReference conveys the purchase order reference (BT-13) and should be limited to cbc:ID (the purchase order reference, BT-13); Peppol additionally uses cbc:SalesOrderID for BT-14.

Official rule text

A UBL invoice should not include the OrderReference CustomerReference

Common causes

How do I fix it?

<cac:OrderReference>
  <cbc:ID>PO-2024-0815</cbc:ID>
</cac:OrderReference>

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.