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