Message

Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller

Context
cac:PayeeParty
Test
(count(cac:PartyLegalEntity/cbc:CompanyID) <= 1) and ((cac:PartyName/cbc:Name) != (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName))