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

VersionSpec dateStatus in the specWhat it is aboutDeep dive
2.030 Dec 2015ListedFirst official release: Locations, Tariffs, Sessions, CDRs, TokensWhat is OCPI
2.18 Apr 2016DeprecatedAdded the Commands module and real-time authorizationReplaced by 2.1.1
2.1.18 Jun 2017ListedFixed four bugs found in 2.12.1.1 to 2.2 migration
2.230 Sep 2019DeprecatedRoaming hubs, several roles per platform, smart charging2.1.1 to 2.2 migration
2.2.16 Oct 2021Current official releaseCorrections to 2.2, including new mandatory fields2.2 vs 2.2.1
2.3.021 Feb 2025Newest versionRegulation, North American taxes, extensibilityWhat’s new in 2.3.0
3.0Not releasedAwaiting CENELEC reviewArchitectural update3.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).

Timeline of OCPI releases: 2.0 in December 2015, 2.1 in April 2016 (deprecated), 2.1.1 in June 2017, 2.2 in September 2019 (deprecated), 2.2.1 in October 2021 (the current official release), 2.3.0 in February 2025 (the newest), and 3.0 not yet released

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 situationTargetWhy
New integration, any region2.2.1 firstIt is the floor. Everything earlier lacks hub routing or smart charging, and 2.2 is deprecated
You deliver data to an EU National Access Point2.3.0The 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.12.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 today2.2.1, skipping 2.22.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 today2.2.1Two of its changes are mandatory fields and type fixes, so plan a release for it
You are waiting for 3.0Do not waitIt 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_cost became optional.
  • The real-time authorization request gained an optional token_type parameter.
  • The response data field 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:

ModuleCPO serveseMSP serves
CredentialsGET, POST, PUT, DELETE /credentialsThe same
LocationsGET the list, or one Location, EVSE or ConnectorGET, PUT, PATCH /locations/{country_code}/{party_id}/{location_id}
TariffsGET the listGET, PUT, PATCH, DELETE /tariffs/{country_code}/{party_id}/{tariff_id}
SessionsGET the listGET, PUT, PATCH /sessions/{country_code}/{party_id}/{session_id}
CDRsGET the listGET, POST /cdrs
TokensGET, PUT, PATCH /tokens/{country_code}/{party_id}/{token_uid}GET the list, POST /tokens/{token_uid}/authorize
CommandsPOST /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- and OCPI-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_id and country_code, not a list of roles.
  • A thin CDR. The driver is identified by auth_id alone, which the 2.2 changelog replaced because it “could not be used to uniquely identify a Token”, and total_cost is a single number excluding VAT.
  • No request tracing. The X-Request-ID and X-Correlation-ID headers 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- and OCPI-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. CdrToken replaced auth_id, a dedicated CdrLocation replaced the full Location, total_cost became a Price with VAT, separate totals arrived for energy, time, parking, fixed and reservation costs, and a signed_data field 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-ID and X-Correlation-ID headers.

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:

  • CdrToken gained mandatory country_code and party_id fields. Sessions use CdrToken too, so both CDRs and Sessions change.
  • Signed meter data fields changed from case-insensitive CiString to case-sensitive string, and signed_data grew from 512 to 5,000 characters.
  • ConnectorType gained 13 values (NEMA, GB/T, ChaoJi and Domestic M, N and O), and PowerType gained AC_2_PHASE and AC_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 4000 generic hub error, an optional home_charging_compensation flag on CDRs, and state on CdrLocation.

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_id field 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.

VersionPDFWhere
2.1.1OCPI_2.1.1.pdf, revision OCPI_2.1.1-d2.pdfGitHub
2.2OCPI-2.2.pdf, revision OCPI-2.2-d2.pdfGitHub
2.2.1-d2 (read this one for 2.2.1)OCPI-2.2.1-d2.pdfEVRoaming Foundation
2.2.1 (original 2021 text)OCPI-2.2.1.pdfGitHub
2.2.1 changes with reasonsOCP-v2-2-1-changes-with-reason.pdfEVRoaming Foundation
2.3.0 as published Feb 2025 (with Payments)OCPI-2.3.0.pdf, also v2.3.0-paymentsBoth
2.3.0 edition 1 (core, no Payments)OCPI-2.3.0.pdfGitHub
2.3.0 edition 2OCPI-2.3.0-ed2.pdf, with Payments OCPI-2.3.0-ed2-payments.pdfGitHub
2.3.0 with BookingsOCPI-2.3.0-bookings.pdfGitHub

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.