Message

Binary object elements shall contain the mime code attribute

Context
//*[ends-with(name(), 'BinaryObject')]
Test
(@mimeCode)
Usage
/ ubl:Invoice / cac:AdditionalDocumentReference / cac:Attachment / cbc:EmbeddedDocumentBinaryObject / @mimeCode
/ ubl:CreditNote / cac:AdditionalDocumentReference / cac:Attachment / cbc:EmbeddedDocumentBinaryObject / @mimeCode