Rules / IBR-105
The Payee identifier must occur maximum once in the Invoice, if the Payee is different from the Seller
The Payee identifier (ibt-060) must occur maximum once in the Invoice, if the Payee (ibg-10) is different from the Seller (ibg-04).
Fails when this is false
(count(cac:PartyIdentification/cbc:ID[upper-case(@schemeID) != 'SEPA']) <= 1) or ((cac:PartyName/cbc:Name) = (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName))The schematron test, verbatim. Context: cac:PayeeParty
Fix
Change the data so the condition below holds. It reads cac:AccountingSupplierParty, cac:Party, cac:PartyIdentification, cac:PartyLegalEntity. Paste the invoice into the validator to see the exact element that fails.