A UBL invoice should not include the AdditionalDocumentReference Attachment External CharacterSetCode
/ubl:Invoice | /cn:CreditNote
not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:CharacterSetCode)