Message

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

Context
cac:PayeeParty
Test
(count(cac:PartyIdentification/cbc:ID[upper-case(@schemeID) != 'SEPA']) <= 1) and ((cac:PartyName/cbc:Name) != (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName))