fatalEN 16931syntax binding ruleUBL
Binary object elements shall contain the mime code attribute
An embedded binary object has no mimeCode attribute, so the receiver cannot tell what kind of file it is.
Add mimeCode to cbc:EmbeddedDocumentBinaryObject, e.g. mimeCode="application/pdf".
UBL — context //*[ends-with(name(), 'BinaryObject')]
(@mimeCode)
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.