Peppol BIS Billing 3.0 · rule
UBL-DT-23
What does UBL-DT-23 mean? Uri attribute should not be present
Why did my invoice fail UBL-DT-23?
The uri attribute should not be present on binary object elements in an EN 16931 UBL invoice. Attachments are either embedded (base64 with mimeCode and filename) or referenced via the separate ExternalReference/URI element (BT-124); a uri attribute on the binary object itself is outside the core model.
Official rule text
Uri attribute should not be present
Common causes
- Mixing embedded and external-reference patterns in one element
- Serializer emits uri metadata on EmbeddedDocumentBinaryObject
How do I fix it?
<cac:Attachment>
<cac:ExternalReference>
<cbc:URI>https://example.com/docs/spec.pdf</cbc:URI>
</cac:ExternalReference>
</cac:Attachment>
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.