Message

Binary object elements shall contain the file name attribute

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