Expert guide to OCPI 2.2.1 (Open Charge Point Interface) with module‑level detail, routing patterns, and version history based on the official OCPI 2.2.1‑d2 document.
← Back to profileOCPI 2.2.1 is the Open Charge Point Interface specification for EV roaming. The official document defines modules, message routing, credentials exchange, and data objects that enable interoperable charging ecosystems.
OCPI documentation revisions (d2, d3, d4) do not change message content or add new fields. They clarify descriptions and fix documentation issues. OCPI 2.2.1-d2 is a documentation update to the OCPI 2.2.1 protocol version.
| Module | Purpose |
|---|---|
| Versions | Discover supported OCPI versions and endpoints. |
| Credentials | Exchange credentials and register parties. |
| Locations | Publish charging locations, EVSEs, and connectors. |
| Sessions | Real‑time charging session lifecycle (push/pull). |
| CDRs | Charge Detail Records for billing and settlement. |
| Tariffs | Pricing structures and restrictions. |
| Tokens | Authorization tokens and real‑time auth. |
| Commands | Remote commands like start/stop/reserve/unlock. |
| ChargingProfiles | Smart charging profiles and topologies. |
| HubClientInfo | Hub connectivity and client status scenarios. |
OCPI supports push and pull models across multiple modules, including Locations, Sessions, CDRs, Tariffs, and Tokens. This allows parties to choose between event-driven updates or on-demand retrieval based on integration needs.
OCPI defines message routing guidance, routing headers, and scenarios such as broadcast push, open routing requests, and hub-based distribution.