Rules / IBR-017
The Payee name must be provided in the Invoice, if the Payee is different from the Seller
The Payee name (ibt-059) must be provided in the Invoice, if the Payee (ibg-10) is different from the Seller (ibg-04).
Fails when this is false
exists(cac:PartyName/cbc:Name) and (not(cac:PartyName/cbc:Name = ../cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name) and not(cac:PartyIdentification/cbc:ID = ../cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID) )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:PartyName. Paste the invoice into the validator to see the exact element that fails.