e-Factura validator

All error codes › UBL-SR-21

UBL-SR-21 – Payee legal registration identifier shall occur maximum once, if the Payee is different…

Erroren16931applies to Romanian e-Factura

What the rule says

Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller

How to fix it

The element appears more often than allowed: keep a single occurrence (or the maximum in the rule).

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: cac:PayeeParty

Test (XPath):

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

Related rules