e-Factura validator

All error codes › BR-51

BR-51 – In accordance with card payments security standards an invoice should never include a…

Warningen16931applies to Romanian e-Factura

What the rule says

In accordance with card payments security standards an invoice should never include a full card primary account number (BT-87). At the moment PCI Security Standards Council has defined that the first 6 digits and last 4 digits are the maximum number of digits to be shown.

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.

This is a warning, not an error: it does not normally cause a rejection, but it is worth cleaning up.

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:PaymentMeans/cac:CardAccount/cbc:PrimaryAccountNumberID

Test (XPath):

string-length(normalize-space(.))<=10

Related rules