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