Message

[UBL-SR-19]-Payee name shall occur maximum once, if the Payee is different from the Seller

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