All error codes › UBL-DT-06
UBL-DT-06 – Binary object elements shall contain the mime code attribute
Erroren16931applies to Romanian e-Factura
What the rule says
Binary object elements shall contain the mime code attribute
How to fix it
Remove the attribute from the element; EN 16931 does not use it.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: //*[ends-with(name(), 'BinaryObject')]
Test (XPath):
(@mimeCode)
Related rules
UBL-DT-01Amounts shall be decimal up to two fraction digitsUBL-DT-07Binary object elements shall contain the file name attributeUBL-DT-08Scheme name attribute should not be presentUBL-DT-09Scheme agency name attribute should not be presentUBL-DT-10Scheme data uri attribute should not be presentUBL-DT-11Scheme uri attribute should not be presentUBL-DT-12Format attribute should not be presentUBL-DT-13Unit code list identifier attribute should not be presentUBL-DT-14Unit code list agency identifier attribute should not be presentUBL-DT-15Unit code list agency name attribute should not be presentUBL-DT-16List agency name attribute should not be presentUBL-DT-17List name attribute should not be present