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