Peppol BIS Billing 3.0 · rule
UBL-CR-397
What does UBL-CR-397 mean? A UBL invoice should not include the DeliveryParty PartyLegalEntity
Why did my invoice fail UBL-CR-397?
The UBL element cac:Delivery/cac:DeliveryParty/cac:PartyLegalEntity should not be used in an EN 16931 invoice. Legal registration data is defined for seller and buyer only; the deliver-to party is limited to its name (BT-70) in the core model. Note that the deliver-to party name goes in cac:PartyName, not PartyLegalEntity.
Official rule text
A UBL invoice should not include the DeliveryParty PartyLegalEntity
Common causes
- Copying the buyer party structure, where the name lives in PartyLegalEntity/RegistrationName
- Exporting the full legal-entity record for every party
How do I fix it?
<cac:DeliveryParty>
<cac:PartyName>
<cbc:Name>Warehouse Ljubljana</cbc:Name>
</cac:PartyName>
</cac:DeliveryParty>
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.