Peppol BIS Billing 3.0 · rule
UBL-DT-14
What does UBL-DT-14 mean? Unit code list agency identifier attribute should not be present
Why did my invoice fail UBL-DT-14?
The unitCodeListAgencyID attribute should not be present on quantity elements in an EN 16931 UBL invoice. The unit code list is fixed by the standard, so agency metadata is redundant and outside the core model. Keep only the unitCode attribute.
Official rule text
Unit code list agency identifier attribute should not be present
Common causes
- UBL library populates all code-list metadata attributes
- Templates from other UBL profiles
How do I fix it?
<cbc:InvoicedQuantity unitCode="KGM">2.5</cbc:InvoicedQuantity>
Related rules
UBL-DT-01 · UBL-DT-06 · UBL-DT-07 · UBL-DT-08 · UBL-DT-09 · UBL-DT-10 · UBL-DT-11 · UBL-DT-12
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.