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