A UBL invoice should not include the DespatchDocumentReference LocaleCode
/ubl:Invoice | /cn:CreditNote
not(cac:DespatchDocumentReference/cbc:LocaleCode)