All error codes › BR-17
BR-17 – The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is…
Erroren16931applies to Romanian e-Factura
What the rule says
The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4)
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
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):
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) )
Related rules
BR-01An Invoice shall have a Specification identifier (BT-24)BR-02Invoice number missingBR-03An Invoice shall have an Invoice issue date (BT-2)BR-04An Invoice shall have an Invoice type code (BT-3)BR-05Invoice currency missingBR-06Seller name missingBR-07Buyer name missingBR-08Seller address missingBR-09The Seller postal address (BG-5) shall contain a Seller country code (BT-40)BR-10Buyer address missingBR-11The Buyer postal address shall contain a Buyer country code (BT-55)BR-12An Invoice shall have the Sum of Invoice line net amount (BT-106)