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