Tools › SmartFormular E-Rechnung lite › Validation rules › BR-51
BR-51
The invoice contains a full card number (BT-87)
What the message means
The invoice contains a full card number (BT-87).
What the issuer needs to change
Show at most the first six and last four digits.
Fields concerned
BT-87payment card primary account number
Your invoice reports BR-51? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- CII, UBL
- Level
- Warning
Original rule text
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.
Technical details for IT
UBL
Context: cac:PaymentMeans/cac:CardAccount/cbc:PrimaryAccountNumberID Test: not(string-length(normalize-space(.))<=10)
CII
Context: //ram:ApplicableTradeSettlementFinancialCard Test: not(string-length(normalize-space(ram:ID)) <= 10)
Related rules
- BR-48Missing in the VAT breakdown: VAT category rate (BT-119)
- BR-49Missing in the payment instructions: payment means type code (BT-81)
- BR-50A credit transfer is given but without an IBAN or account number (BT-84)
- BR-52Missing in an attachment: supporting document reference (BT-122)
- BR-53A separate VAT accounting currency (BT-6) is given, but not the VAT total in that currency (BT-111)
- BR-54An item attribute lacks its name or value (BT-160, BT-161)