Peppol BIS Billing 3.0 · rule
UBL-CR-342
What does UBL-CR-342 mean? A UBL invoice should not include the Delivery ID
Why did my invoice fail UBL-CR-342?
The invoice should not contain the ID element on the Delivery structure (cac:Delivery/cbc:ID). The EN 16931 delivery group (BG-13) carries only the deliver-to party name, location identifier, address and actual delivery date; a delivery ID at this level has no corresponding business term. Note the delivery location identifier (BT-71) goes in cac:DeliveryLocation/cbc:ID, not directly on Delivery.
Official rule text
A UBL invoice should not include the Delivery ID
Common causes
- A delivery note or shipment number is mapped to cac:Delivery/cbc:ID instead of a document reference (BT-16, cac:DespatchDocumentReference)
- The location identifier is placed on Delivery instead of cac:DeliveryLocation/cbc:ID (BT-71)
How do I fix it?
<cac:Delivery>
<cbc:ActualDeliveryDate>2026-07-01</cbc:ActualDeliveryDate>
<cac:DeliveryLocation>
<cbc:ID schemeID="0088">7300010000001</cbc:ID>
</cac:DeliveryLocation>
</cac:Delivery>
<!-- location id belongs on DeliveryLocation, not <cbc:ID> directly under Delivery -->
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.