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