VRBL-INV-PEPPOL-PINT-55

Basic Info

Rule The Payee Name must occur maximum once in the Invoice, if the Payee Name is different from the Seller Name.
Context /ubl:Invoice/cac:PayeeParty
Pattern vrbl-invoice-peppol-pint
Severity fatal

Implementation

count(cac:PartyName/cbc:Name) <= 1
or
cac:PartyName/cbc:Name = ../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName