A UBL invoice should not include the Delivery CarrierParty
/ubl:Invoice | /cn:CreditNote
not(cac:Delivery/cac:CarrierParty)