A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity ShareholderParty
/ubl:Invoice | /cn:CreditNote
not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:ShareholderParty)