Six OCPI versions have been released, and the specification itself marks two of them, 2.1 and 2.2, as deprecated. As of November 2026, the EVRoaming Foundation, which maintains OCPI, calls 2.2.1 the current official release, 2.3.0 is the newest published version, and 3.0 is still waiting for review. This page is the map of OCPI versions: the facts for each one, how to choose between them, and the official download for every spec PDF. The full change lists live in the dedicated articles linked from each section.
OCPI versions at a glance
| Version | Spec date | Status in the spec | What it is about | Deep dive |
|---|---|---|---|---|
| 2.0 | 30 Dec 2015 | Listed | First official release: Locations, Tariffs, Sessions, CDRs, Tokens | What is OCPI |
| 2.1 | 8 Apr 2016 | Deprecated | Added the Commands module and real-time authorization | Replaced by 2.1.1 |
| 2.1.1 | 8 Jun 2017 | Listed | Fixed four bugs found in 2.1 | 2.1.1 to 2.2 migration |
| 2.2 | 30 Sep 2019 | Deprecated | Roaming hubs, several roles per platform, smart charging | 2.1.1 to 2.2 migration |
| 2.2.1 | 6 Oct 2021 | Current official release | Corrections to 2.2, including new mandatory fields | 2.2 vs 2.2.1 |
| 2.3.0 | 21 Feb 2025 | Newest version | Regulation, North American taxes, extensibility | What’s new in 2.3.0 |
| 3.0 | Not released | Awaiting CENELEC review | Architectural update | 3.0 preview |
The dates come from the version history table inside the specification. “Deprecated” is the wording of the VersionNumber list in the 2.2.1 and 2.3.0 specs, which says of 2.1 and 2.2: “DEPRECATED, do not use”. “Current official release” is how the EVRoaming Foundation downloads page describes 2.2.1 (checked November 2026).
Two kinds of document look like versions and are not. Documentation revisions (2.1.1-d2, 2.2-d2, 2.2.1-d2) may only fix text, descriptions and examples; the spec forbids them from adding or renaming fields, so 2.2.1-d2 is still negotiated as “2.2.1”. The 2.3.0 editions are different: edition 2 lengthened fields and added a module, yet it still advertises itself as “2.3.0”. More on that below.
Which OCPI version should you implement?
| Your situation | Target | Why |
|---|---|---|
| New integration, any region | 2.2.1 first | It is the floor. Everything earlier lacks hub routing or smart charging, and 2.2 is deprecated |
| You deliver data to an EU National Access Point | 2.3.0 | The Foundation maps the AFIR NAP data requirements onto 2.3.0 and built its NAP test tooling on it |
| You bill where taxes stack (US, Canada) | 2.3.0 alongside 2.2.1 | 2.3.0’s Price object carries a list of named taxes; 2.2.1 only has excl_vat and incl_vat |
| You run 2.1.1 today | 2.2.1, skipping 2.2 | 2.2 is deprecated, and the delta from 2.2 to 2.2.1 is small once you are in the code |
| You run 2.2 today | 2.2.1 | Two of its changes are mandatory fields and type fixes, so plan a release for it |
| You are waiting for 3.0 | Do not wait | It is not released, and its expected date has already moved once |
For an existing 2.1.1 deployment, the deciding factor is not the calendar. It is which later capability you are working around: hub routing, smart charging, or CDR pricing detail. If you are working around none of them, the upgrade can wait for a partner to force it. If you are working around two, the workarounds already cost more than the migration.
Whatever you pick, keep version-specific serialization at the edge of your system rather than smeared through billing logic. Partners move on their own schedules, so a long-lived OCPI platform ends up serving more than one version at a time, and 3.0 will add another.
OCPI 2.1.1: the long-lived baseline
OCPI 2.1.1 was released on 8 June 2017. It is the oldest version you still need to understand in detail, because it is the one you meet when a partner has not upgraded. The specification is free: download OCPI_2.1.1.pdf, or the documentation revision OCPI_2.1.1-d2.pdf (21 June 2019), which fixed the Commands module text and many examples without changing a message. The Markdown source is on the 2.1.1 tag of ocpi/ocpi.
OCPI 2.1 vs 2.1.1
OCPI 2.1 (8 April 2016) added the Commands module and real-time token authorization to 2.0. Fourteen months later, 2.1.1 “fixed 4 bugs found in OCPI 2.1”, in the words of its own version history. The 2.1.1 changelog shows what that meant in practice:
- Object IDs that 2.1 capped at 15 characters became 36 characters, or 39 for Location and EVSE IDs. That includes the Session
auth_id, which the changelog calls “THE bug in 2.1”. - A Session’s
total_costbecame optional. - The real-time authorization request gained an optional
token_typeparameter. - The response
datafield may be a plain string, which the Commands module needed.
The 2.1.1 spec already lists 2.1 as “DEPRECATED, do not use, use 2.1.1 instead”. If a partner says “OCPI 2.1”, ask whether they mean 2.1.1. Version strings must match exactly during negotiation, so the difference is not cosmetic.
What 2.1.1 contains
Eight modules: Versions, Credentials, Locations, Tariffs, Sessions, CDRs, Tokens and Commands. Every party must serve Versions and Credentials; the rest are optional, with dependencies between some of them. Credentials and versions walks through the connection setup. The endpoints each side serves:
| Module | CPO serves | eMSP serves |
|---|---|---|
| Credentials | GET, POST, PUT, DELETE /credentials | The same |
| Locations | GET the list, or one Location, EVSE or Connector | GET, PUT, PATCH /locations/{country_code}/{party_id}/{location_id} |
| Tariffs | GET the list | GET, PUT, PATCH, DELETE /tariffs/{country_code}/{party_id}/{tariff_id} |
| Sessions | GET the list | GET, PUT, PATCH /sessions/{country_code}/{party_id}/{session_id} |
| CDRs | GET the list | GET, POST /cdrs |
| Tokens | GET, PUT, PATCH /tokens/{country_code}/{party_id}/{token_uid} | GET the list, POST /tokens/{token_uid}/authorize |
| Commands | POST /commands/{command} | POST /commands/{command}/{uid} for the async result |
A 2.1.1 version details response is a flat list of module identifiers and URLs:
{
"version": "2.1.1",
"endpoints": [
{ "identifier": "credentials", "url": "https://example.com/ocpi/cpo/2.1.1/credentials/" },
{ "identifier": "locations", "url": "https://example.com/ocpi/cpo/2.1.1/locations/" },
{ "identifier": "tokens", "url": "https://example.com/ocpi/cpo/2.1.1/tokens/" }
]
}
There is no role field on an endpoint, so a 2.1.1 platform publishes one versions endpoint for its CPO side and another for its eMSP side. OCPI 2.2 added the role field so one endpoint can cover both.
What 2.1.1 lacks
- No hub support. No HUB role, no
OCPI-to-andOCPI-from-routing headers, no HubClientInfo module. - No smart charging. The 2.1.1 repository has a smart charging chapter marked “TO BE DEFINED”. The ChargingProfiles module arrived in 2.2.
- One party per connection. The Credentials object carries a single
party_idandcountry_code, not a list of roles. - A thin CDR. The driver is identified by
auth_idalone, which the 2.2 changelog replaced because it “could not be used to uniquely identify a Token”, andtotal_costis a single number excluding VAT. - No request tracing. The
X-Request-IDandX-Correlation-IDheaders only arrived in 2.2.
Why 2.1.1 is still around
The 2.3.0 spec still lists 2.1.1 without a deprecation mark. Because the version lives in the URL path, a 2.1.1 link keeps working for as long as both sides serve /2.1.1/, and a partner that needs neither hub routing nor smart charging has nothing forcing an upgrade. The Foundation’s own 2.2.1-d2 text acknowledges the installed base: it warns that “many OCPI 2.1.1 and 2.2 implementations” send the credentials token in the Authorization header without the Base64 encoding later versions require, and that staying compatible with them takes trial and error or a configuration flag. If you connect to a 2.1.1 partner, that header is the first thing to check.
Moving off 2.1.1 is the one OCPI upgrade with real structural work in it. The 2.1.1 to 2.2 migration guide has the order to do it in.
OCPI 2.2: hubs, roles and smart charging
OCPI 2.2 (30 September 2019) changed the shape of the protocol rather than adding fields. From its changelog:
- Hub support. New
OCPI-to-andOCPI-from-routing headers, a HUB role, and the HubClientInfo module, which tells connected parties who else is reachable. Whether to use a hub at all is a separate question, covered in hub vs peer-to-peer OCPI. - Several roles per platform. The Credentials object replaced its single party with a list of roles, and the NAP, NSP and SCSP roles appeared.
- Smart charging. The ChargingProfiles module, plus charging preferences that a driver can set on a session.
- A rebuilt CDR.
CdrTokenreplacedauth_id, a dedicatedCdrLocationreplaced the full Location,total_costbecame a Price with VAT, separate totals arrived for energy, time, parking, fixed and reservation costs, and asigned_datafield carried signed meter values for German calibration law (Eichrecht). Credit CDRs became possible too. The CDRs module guide covers the result. - Traceable messages. Every request and response carries
X-Request-IDandX-Correlation-IDheaders.
Status: deprecated. The 2.2.1 spec says to use 2.2.1 instead, and the Foundation states that “v2.2 will not be supported anymore.”
OCPI 2.2.1: the current official release
OCPI 2.2.1 (6 October 2021) is the corrective release for 2.2. It adds no modules and no roles, but it is not purely cosmetic either:
CdrTokengained mandatorycountry_codeandparty_idfields. Sessions useCdrTokentoo, so both CDRs and Sessions change.- Signed meter data fields changed from case-insensitive
CiStringto case-sensitivestring, andsigned_datagrew from 512 to 5,000 characters. ConnectorTypegained 13 values (NEMA, GB/T, ChaoJi and Domestic M, N and O), andPowerTypegainedAC_2_PHASEandAC_2_PHASE_SPLIT.- StartSession gained an optional
connector_id, with a matching EVSE capability, for OCPP 1.x charge points that have several connectors per EVSE. - Smaller items: a
4000generic hub error, an optionalhome_charging_compensationflag on CDRs, andstateonCdrLocation.
The documentation revision 2.2.1-d2 (7 September 2023) rewrote much of the Tariffs and step_size text without changing any message. The Foundation’s downloads page calls 2.2.1 with d2 “the current official release” (checked November 2026).
Every change, the spec’s own impact rating for each, and an upgrade checklist are in OCPI 2.2 vs 2.2.1.
Building 2.2.1 from scratch rather than upgrading? The OCPI 2.2.1 implementation guide (coming soon) covers which modules each role builds, the order to build them in, and testing before go-live. This page sticks to what each version is.
OCPI 2.3.0: regulation, taxes and extensibility
Full walkthrough: what’s new in OCPI 2.3.0, module by module. The summary:
OCPI 2.3.0 was published on 21 February 2025. Its introduction describes it as “only the minimal changes to 2.2.1” needed for two goals: complying with laws and regulations coming into effect in 2025, and making room for custom extensions. For EU operators, the regulation in question is AFIR, Regulation (EU) 2023/1804. The changelog lists:
- Extensibility: new modules, fields and values for certain enums can be added without breaking other implementers
- A Parking object linked to EVSEs, including the vehicle types a space suits
- A field on the EVSE listing which eMSPs’ contracts are accepted there
- A support telephone number on Location, and information for people with disabilities
- Support for North American taxes
- Enum values taken from the 3.0 draft, including flags for ISO 15118 Plug and Charge
- A
hub_party_idfield in Credentials
It is not purely additive. The Price object drops excl_vat and incl_vat for before_taxes plus a list of taxes, each a TaxAmount with a name (such as “QST”), an amount and an optional percentage. Tariffs gain a required tax_included field. The HUB value is removed from the Role enum: a hub now identifies itself through hub_party_id and lists the parties reachable through it as ordinary roles. Many enums become open enums. The Foundation’s 2.2.1 to 2.3.0 migration guide rates the price and tax changes as high impact.
2.3.0 is now several documents. The February 2025 text included a Payments module for payment terminals. In June 2026 the ocpi/ocpi repository split the release: v2.3.0-ed1 is the core without Payments, v2.3.0-payments and v2.3.0-bookings add those modules, and v2.3.0-ed2 (18 June 2026) adds an Invoice Reconciliation module and lengthens the plain_data, address and state fields. Every one of them advertises “2.3.0” in the Versions module, so ask a partner which document they built against.
The Foundation has also published add-ons that sit on top of 2.3.0: an accessibility extension, an AFIR NAP extension, and tariff simplification guidelines.
OCPI 3.0: what is actually known
Full preview: OCPI 3.0: what is coming. The short version:
OCPI 3.0 is not released. The Foundation’s October 2026 update describes it as a major update in which static and dynamic data are split and the “3 layer model is changed in 4 layer model”. It is “waiting official review by CENELEC”, and the expected release is the second half of 2027 (checked November 2026). The Foundation’s own August 2025 versions overview had said H2 2025, so read the date as an expectation.
Two things are safe to plan on. First, 3.0 is the version where compatibility is on the table, which a 2.x point release never puts there. Second, the accessibility and NAP extensions are labelled for “v2.3.0 and 3.0”, so data modelled for them on 2.3.0 is not throwaway work.
Where to download the OCPI specification PDFs
OCPI is free to read. The Foundation hosts the current documents on its OCPI downloads page, and nearly every version from 2.1.1 onward has a release with a PDF on the ocpi/ocpi releases page.
| Version | Where | |
|---|---|---|
| 2.1.1 | OCPI_2.1.1.pdf, revision OCPI_2.1.1-d2.pdf | GitHub |
| 2.2 | OCPI-2.2.pdf, revision OCPI-2.2-d2.pdf | GitHub |
| 2.2.1-d2 (read this one for 2.2.1) | OCPI-2.2.1-d2.pdf | EVRoaming Foundation |
| 2.2.1 (original 2021 text) | OCPI-2.2.1.pdf | GitHub |
| 2.2.1 changes with reasons | OCP-v2-2-1-changes-with-reason.pdf | EVRoaming Foundation |
| 2.3.0 as published Feb 2025 (with Payments) | OCPI-2.3.0.pdf, also v2.3.0-payments | Both |
| 2.3.0 edition 1 (core, no Payments) | OCPI-2.3.0.pdf | GitHub |
| 2.3.0 edition 2 | OCPI-2.3.0-ed2.pdf, with Payments OCPI-2.3.0-ed2-payments.pdf | GitHub |
| 2.3.0 with Bookings | OCPI-2.3.0-bookings.pdf | GitHub |
The 2.2.1-d2 revision is tagged v2.2.1-d2 in the repository but has no PDF attached there, which is why people searching for the 2.2.1 documentation often end up with the 2021 text. If you prefer machine-readable definitions, the Foundation also links OpenAPI documentation for 2.2.1 and 2.3.0.
How version negotiation decides what you actually run
OCPI puts the version in the URL (/ocpi/cpo/2.2.1/...), so one party can serve several versions at once. Each side’s Versions endpoint lists the exact version strings it supports, the two settle on one that both list, and switching later is a PUT to the credentials endpoint of the new version.
Three consequences follow, and each catches teams out:
- Version strings are exact. “2.2” and “2.2.1” are different entries, so a party that serves only 2.2.1 shares no version with a partner that serves only 2.2. Keep the old path alive until the last partner has moved.
- The string does not identify the document. 2.2.1-d2 negotiates as “2.2.1”, and every 2.3.0 edition and variant negotiates as “2.3.0”.
- Your partner sets your version. On each link, the effective version is in practice the newest one both sides list. Upgrading your own stack to 2.3.0 while your largest counterparties sit on 2.2.1 gets you a set of 2.2.1 links and a second codebase to maintain.
That last point changes the arithmetic of hubs versus direct connections. One upgrade on a hub link can move every partner behind that hub at once, while a mesh of bilateral connections has to be renegotiated partner by partner.
The honest summary
A version number used to tell you what a partner could send you. It now tells you less. “2.2.1” might mean the 2021 text or the clarified 2023 revision, and “2.3.0” can mean four different documents with different modules. The specification’s own deprecation marks are the clearest signal it gives: 2.1 and 2.2 lived only until the release that fixed them, and nobody should build against either today.
So read past the number. Build 2.2.1 as your floor, add 2.3.0 where regulation or tax structure gives it a job, and when a partner names a version, ask which document they implemented. That question costs a minute and saves the integration test that would otherwise discover the answer for you.