Peppol BIS Billing 3.0 · rule
UBL-DT-25
What does UBL-DT-25 mean? CharacterSetCode attribute should not be present
Why did my invoice fail UBL-DT-25?
The characterSetCode attribute should not be present on binary object elements in an EN 16931 UBL invoice. The core model restricts binary objects to mimeCode and filename; character set metadata is outside the model and triggers a warning. Remove the attribute.
Official rule text
CharacterSetCode attribute should not be present
Common causes
- Attachment library emits characterSetCode="UTF-8" on embedded documents
- Copying the full UBL BinaryObjectType attribute set
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.