Security · Annex XIII RBAC
Deadline: 18 Feb 2027
NO SME EXEMPTION (ART. 77)
Deutsche Version →
Annex XIII: Mandatory 3-Tier Access Control (Public, Legitimate Interest, Authority)
Annex XIII of Regulation (EU) 2023/1542 mandates strict 3-tier role separation: Public consumers (Tier 1), Legitimate-Interest repairers and recyclers (Tier 2), and Market Surveillance Authorities (Tier 3) must receive strictly their legally authorized data subset — with zero leakage.
LEGAL CITATIONS:
Art. 77(4)Art. 78Annex XIII(1)Annex XIII(2)Annex XIII(3)
Technical Specification & Statutory Thresholds
| Parameter | Requirement | Article / Annex |
|---|---|---|
| Tier 1 — General Public | Zero login: general info, carbon class, chemistry, labels, safety summary | Annex XIII(1) |
| Tier 2 — Legitimate Interest | Token-gated: dismantling manuals, spare parts, live BMS batteryCondition | Annex XIII(2) |
| Tier 3 — Authorities | Authority token: conformity test reports, third-party audits, SHA-256 chain | Annex XIII(3) |
| Isolation Guarantee | Server-side allowlist projection (0 leaked bytes in JSON, HTML, or headers) | Gate 4 Zero-Leak Proof |
| Token Storage | SHA-256 hashes only in EU D1, expiration enforcement & instant revocation | Gate 5 Security |
Mandatory Data Domains (Annex XIII)
- 01 Server-side allowlist projection applied before JSON serialization or HTML rendering — never CSS hiding
-
02
Distinct cache policy:
public, max-age=60for Tier 1 vs.private, no-storefor Tier 2 & Tier 3 -
03
Explicit
X-BatteryPass-Tierresponse header andVary: Accept, Authorizationcache protection - 04 Fail-closed 401 handling on invalid, expired, or revoked tokens leaking zero restricted fields
Engineering Readiness Checklist
- Never embed full unprojected passport JSON into client bundles, RSC payloads, or script tags
- Issue scoped, expiring Tier-2 tokens to recyclers and Tier-3 tokens to market surveillance inspectors
- Revoke unused or expired tokens with one click in the workbench
- Run automated sentinel leak tests asserting 0 Tier-2/3 tokens in Tier-1 HTTP responses
BATTERYPASS STUDIO · FREE ENGINEERING TOOLS
Validate & Compile Your EU 2023/1542 Passport
Frequently Asked Questions
- Can we hide Tier-2 and Tier-3 fields on the frontend with CSS or React conditionals?
- Never. Shipping restricted fields in the HTTP response leaks confidential test reports and dismantling manuals to anyone inspecting network responses. Projection MUST happen server-side via strict allowlists.
- Who qualifies as a Tier-2 legitimate-interest actor?
- Under Annex XIII(2): independent repairers, repurposers, remanufacturers, dismantlers, and accredited battery recyclers.
- How do you prevent CDN caching from leaking a Tier-3 response to public users?
- All Tier-2 and Tier-3 responses enforce
Cache-Control: private, no-storeplusVary: Accept, Authorization, preventing edge caches from ever storing restricted payloads. - Are raw access tokens stored in the database?
- Never. Only the SHA-256 digest is persisted in Cloudflare D1; raw tokens are displayed once upon creation.
Related EU Battery Passport Guides
LMT · E-Bike & Pedelec
Read Guide →
E-Bike & Pedelec Digital Battery Passport (LMT) under Regulation (EU) 2023/1542
Industrial >2 kWh · 5 kWh LiFePO4
Read Guide →
LiFePO4 5 kWh Solar Storage: EU Digital Battery Passport (>2 kWh Industrial)
Stationary >2 kWh · 10 kWh HV
Read Guide →
10 kWh High-Voltage Home Battery Storage: EU Battery Passport Guide