Official rule text
UBL
[BR-51]-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.CII
[BR-51]-In accordance with card payments security standards an invoice should never include a full card primary account number (BT-97). 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.Assertion BR-51 in the EN 16931 validation artefacts (CEN/TC 434), validation-1.3.16, UBL and CII.
What it means
For security, an invoice should never contain the full card number, at most the first six and last four digits. Mandatory content and structure of every EN 16931 invoice.
Docfaro reports a breach of BR-51 as a warning.
Where the data sits
The business terms this rule checks, and the element that carries each of them in the two syntaxes EN 16931 allows.
BT-87 Payment card primary account number
- UBL 2.1
/Invoice/cac:PaymentMeans/cac:CardAccount/cbc:PrimaryAccountNumberID- CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID
Prefixes: cbc and cac are the UBL basic and aggregate components; rsm, ram and udt the CII namespaces. In a UBL credit note the root is CreditNote and lines are cac:CreditNoteLine.
How to fix it
Shorten the card number.
Where the rule applies
| Defined in | EN 16931 validation artefacts validation-1.3.16 |
|---|---|
| Syntaxes | UBL and CII |
| Official severity | UBL: warning, CII: error (fatal) |
| Docfaro reports it as | Warning |
| Docfaro checks it for | XRechnung, Peppol BIS Billing, and ZUGFeRD / Factur-X in the profiles BASIC, EN 16931 (COMFORT) and EXTENDED. MINIMUM, BASIC WL and ZUGFeRD 1.0 do not carry a full EN 16931 data set and only get basic checks. |
| Rule group | EN 16931 core rules (BR-01 to BR-65) |
Related rules
Sources
- EN 16931 validation artefacts validation-1.3.16 (Schematron, EUPL-1.2)CEN/TC 434 and European Commission, GitHub
- Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub
- Revised European standard on eInvoicing EN 16931-1:2026Europäische Kommission
Last reviewed: