PintLint

Rules / IBR-017

IBR-017 error

The Payee name

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 statement above is true. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check an invoice