VRBL-INV-PEPPOL-PINT-53

Basic Info

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

Implementation

count(cac:PartyIdentification/cbc:ID[@schemeID != 'SEPA']) <= 1
or
cac:PartyName/cbc:Name = ../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName