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