Skip to content

Introduction

What the BatteryPass integration API does, what stays in the portal, and where to start.

BatteryPass is a platform for digital battery passports under the EU Battery Regulation (Regulation (EU) 2023/1542). Manufacturers maintain battery models, units and their data in the BatteryPass portal, have the data reviewed and publish signed passports. This documentation covers the integration API: the part of BatteryPass that your own systems (ERP, MES, battery management system, data warehouse) use with an API key.

What the API covers

AreaWith a keyScope
Battery models, model versions, unitsRead, units also as a spreadsheet exportread
ValuesRead with provenance (source, review status, revisions, supporting documents) and completenessread
Evidence and facilitiesRead document metadata, download files, list manufacturing facilitiesread
PassportsRead the current state, published versions, differences between versions, exports (BatteryPass JSON, PDF, QR code) and the registration statusread
Field registryRead version, schema and statusread
Condition dataRead, and report measurements such as state of charge or capacity faderead, condition
Lifecycle eventsRead, and report events such as an inspection or a repairread, condition
ChangesFollow what changed in the organisation (change feed for polling)read
ImportsStage spreadsheet imports of units: upload, map, validate; members commit and approve themimport
Public passportsRead the public tier, check signatures, download public documentsno key

Every operation, with its parameters, responses and required scope, is in the API reference.

What stays in the portal

  • Declared data (models, units, values, documents) is entered by members in the portal or imported from a spreadsheet there. The API does not create or change declared data.
  • Review, approval and publication stay with members. By default the four-eyes principle applies: the person who entered a value cannot approve it.
  • Members, API keys and organisation settings are managed in the portal by owners and administrators.

Condition data reported with a key is the exception to the review step: it is stored as an approved measurement with its source and measurement time, and a published passport is updated as your organisation's settings say. See Condition data and lifecycle.

EU registry

The EU registry for digital product passports does not yet offer an interface for economic operators. BatteryPass submits nothing to it so far, and getRegistrySubmissionStatus reports not_available.

How the parts fit together

flowchart LR
  Portal["Portal: members enter, review, publish"] --> BP[("BatteryPass")]
  Import["Spreadsheet import in the portal"] --> BP
  BP -- "API key, scope read" --> ERP["Your systems: ERP, data warehouse"]
  BMS["BMS or service partner system"] -- "API key, scope condition" --> BP
  BP --> Public["Public passport: QR code, page, JSON, no key"]

Start here

On this page