Peppol BIS Billing 3.0.20 · UBL

UBL-DT-07: Binary object elements shall contain the file name attribute

Peppol BIS Billing 3.0.20 · UBL

fatalschema

Original rule text

[UBL-DT-07]-Binary object elements shall contain the file name attribute

Stored validation assertion
(@filename)

UBL-DT-07 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected.

What this rule requires

The rule requires every UBL element whose name ends with BinaryObject to carry a filename attribute. The test is (@filename), so an element of that kind without the attribute fails the rule.

How to fix

Add a filename attribute to the reported BinaryObject element, for example filename="invoice.pdf". The rule only tests that the attribute exists.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to UBL-DT-07.

Validate an invoice against these rules · All release changes