Four acronyms in EV charging keep getting tangled in conversations: OCPI, OCPP, OICP, and ISO 15118. Three of them start with “OC”, and all four describe interfaces between computer systems, so people conflate them constantly.
They sit at different layers of the charging stack and solve different problems. Confusing them is like confusing TCP/IP with HTTP: related, but each does its own job, and neither substitutes for the other.
The four-layer model
A complete EV charging session involves communication at four distinct layers:
- Vehicle ↔ Station (the physical and protocol negotiation between the car and the charging point)
- Station ↔ CPO backend (the station reports up to its operator’s servers)
- CPO ↔ eMSP (the CPO and the customer’s service provider exchange business-level info)
- eMSP ↔ Driver (the app, the receipt, the customer experience)
Each layer has its own protocol. The four acronyms map cleanly:
| Layer | Protocol(s) | Example use |
|---|---|---|
| 1. Vehicle ↔ Station | ISO 15118, plus IEC 61851 basic signaling | Plug & Charge, V2G negotiation |
| 2. Station ↔ CPO backend | OCPP | Station boot, transaction reporting, remote start |
| 3. CPO ↔ eMSP | OCPI or OICP | Sharing locations, tariffs, sessions, CDRs |
| 4. eMSP ↔ Driver | App, web, email | App displays, payment receipts |
The four acronyms each live at one of the first three layers. Confusing them collapses the layers.
OCPP: station to backend
What it is: Open Charge Point Protocol. Defines how a charging station talks to its operator’s central management system.
Managed by: Open Charge Alliance (OCA), an industry consortium.
Versions: 1.6 predates the 2.x rewrite and uses a different message set, so a 1.6 station and a 2.x management system cannot talk without a translation layer sitting between them. 2.0.1 restructured the protocol around a device model, security profiles, and Smart Charging. 2.1, published in January 2025, adds bidirectional power flow for V2G, DER coordination, and refined ISO 15118 integration, and it is backward compatible with 2.0.1. The version comparison walks through what actually changed between them.
What flows:
- Boot notifications (“I’m a station with these capabilities”)
- Heartbeat messages (“still alive, still connected”)
- Transaction start/stop events (per-session reporting)
- Status notifications (available, occupied, faulted)
- Remote start/stop commands (CPO triggers a session)
- Smart charging schedules (CPO tells station to limit power)
- Firmware update commands
Where it sits: Between the charging station and the cloud. Always station-to-server. It does not cross between companies.
Common confusion: “Is OCPP what makes roaming work?” No. OCPP is between a station and its own operator. Roaming, meaning CPO to eMSP, is OCPI.
OCPI: CPO to eMSP, peer-to-peer
What it is: Open Charge Point Interface. Defines how a CPO and an eMSP exchange business data.
Managed by: EVRoaming Foundation, an independent nonprofit.
How it works: a REST API, JSON over HTTPS, where each party runs both a client and a server and every response carries a four-digit status_code. The OCPI API at a glance shows the endpoints, authentication and the response envelope.
Versions: 2.1.1 predates the formal Hub role. 2.2, published in September 2019, introduced that Hub role along with a Smart Charging module. 2.2.1, published in October 2021, corrects 2.2 without adding modules (some of those corrections are breaking), and the two are genuinely distinct versions rather than two names for the same thing, which matters when a partner tells you which one they speak. 2.3.0, published in February 2025, adds AFIR data duties and an extensibility framework. The full OCPI version history covers what changed and when.
What flows (by module):
- Locations: CPO publishes station info; eMSP consumes it to show in the app
- Tariffs: CPO publishes pricing; eMSP consumes it for transparency and billing
- Sessions: live session data from CPO to eMSP
- CDRs: final billing records from CPO to eMSP
- Tokens: eMSP publishes customer identities; CPO validates at session start
- Commands: eMSP triggers actions (start, stop, reserve) via the CPO
Where it sits: Between business backends, either direct (CPO ↔ eMSP) or via a roaming hub.
Common confusion: “Is OCPI just for roaming hubs?” No. OCPI is the protocol whether or not a hub is involved. A hub does not replace OCPI; it terminates an OCPI connection on each side and forwards between them, which is why the hub versus peer-to-peer decision is a commercial and operational one rather than a protocol one.
OICP: CPO to eMSP, hub-centered
What it is: Open InterCharge Protocol. An alternative to OCPI for CPO-to-eMSP exchange, built on a different architectural assumption.
Managed by: Hubject, a commercial company rather than a standards body. Hubject is German-founded and operates in North America as well as Europe, so OICP is not a Europe-only choice.
Versions: Versioned by Hubject rather than by a public standards process, so the specification and its release cadence come from the vendor.
Architecture: OICP assumes a central hub. CPOs and eMSPs connect to the hub, and the hub mediates transactions between them. Where OCPI treats the hub as optional, OICP treats it as structural.
What flows: Conceptually similar to OCPI, covering locations, sessions, billing records, and customer identity. The wire format and the governance are what differ.
Where it sits: The same layer as OCPI, between business backends. The distinguishing factors are the hub-centered architecture and the vendor-led governance.
Common confusion: “Should I implement OCPI or OICP?” That is a partner question, not a technical one. Ask each partner you intend to connect to which protocol and version their integration team publishes, then count how many connections each choice buys you. Supporting both is possible, because they are two separate integrations rather than conflicting ones.
ISO 15118: vehicle to station
What it is: An ISO international standard for vehicle-to-grid communication. Defines the protocol the car and the charging station use to talk to each other over the control pilot line.
Managed by: ISO (International Organization for Standardization).
Versions:
- ISO 15118-2 (2014): the original, supports Plug & Charge
- ISO 15118-20 (2022): adds bidirectional charging (V2G) support and expanded protocol features
The side-by-side on the two editions (coming soon) covers the differences in detail.
What flows:
- Vehicle identification and authentication (Plug & Charge)
- Charging session negotiation (target voltage, current, state of charge)
- Smart charging schedules (vehicle and station agree on a plan)
- V2G bidirectional power flow direction
Encoding: ISO 15118-2 mandates EXI, Efficient XML Interchange (coming soon), rather than plain XML or JSON. The messages are defined as XML schemas but travel as compressed binary, which is why this layer needs a decoder before a packet capture tells you anything.
Where it sits: The lowest layer, between the EV and the station. Below OCPP. It does not involve any backend or business systems.
Common confusion: “Is ISO 15118 a replacement for OCPP?” No. They sit at different layers and solve different problems. ISO 15118 is car-to-station. OCPP is station-to-CPO-backend. Both run inside the same charging session, doing different jobs.
The full session, mapped to protocols
Walk through a charging session and all three appear in order. OICP is interchangeable with OCPI at the relevant step.
sequenceDiagram
participant EV
participant Station
participant CPO as CPO backend
participant eMSP
EV->>Station: ISO 15118: authenticate
Station->>CPO: OCPP: starting, token X
CPO->>eMSP: OCPI Tokens: valid token X?
eMSP-->>CPO: OCPI: authorized
CPO->>Station: OCPP: begin session
Station->>CPO: OCPP: delivering power
CPO->>eMSP: OCPI Sessions: progress
Note over eMSP: App shows driver
Station->>CPO: OCPP: ended, total kWh
CPO->>eMSP: OCPI CDRs: billing record
Note over eMSP: Charges payment method
Reading that sequence layer by layer:
- ISO 15118 handles the EV-to-station handshake, and Plug & Charge if both ends support it
- OCPP handles every station-to-CPO message: start, progress updates, end
- OCPI handles every CPO-to-eMSP message: token validation, live session push, final CDR
Each is the right tool for its layer. Trying to do roaming with OCPP, or station control with OCPI, does not work.
One app-started session, message by message
The diagram above is the shape. Here is the same idea with real message names, for the most common roaming case: a driver taps “Start” in their eMSP’s app at a DC charger run by another company. The car speaks ISO 15118-2, but authorization comes from the backend, so the car uses External Identification Means (EIM) rather than Plug & Charge. The CPO runs OCPP 2.0.1 to the station and OCPI 2.2.1 to the eMSP.
| # | Who to whom | Protocol | Message | What it carries |
|---|---|---|---|---|
| 1 | eMSP → CPO | OCPI Commands | POST /commands/START_SESSION | StartSession: the driver’s Token, location_id, evse_uid, response_url, authorization_reference |
| 2 | CPO → eMSP | OCPI | HTTP 200, CommandResponse | result: ACCEPTED, timeout. Means “the CPO understood”, not “the station started” |
| 3 | CPO → station | OCPP 2.0.1 | RequestStartTransactionRequest | idToken, remoteStartId, evseId |
| 4 | station → CPO | OCPP 2.0.1 | RequestStartTransactionResponse | status: Accepted |
| 5 | CPO → eMSP | OCPI Commands | POST {response_url}, CommandResult | result: ACCEPTED. This is the answer from the station |
| 6 | car ↔ station | ISO 15118-2 | SessionSetup, ServiceDiscovery, PaymentServiceSelection | SelectedPaymentOption: ExternalPayment (EIM, because the backend already authorized) |
| 7 | car ↔ station | ISO 15118-2 | Authorization, ChargeParameterDiscovery, CableCheck, PreCharge, PowerDelivery | Station answers Authorization with EVSEProcessing: Finished because step 3 already authorized the session |
| 8 | station → CPO | OCPP 2.0.1 | TransactionEventRequest (Started) | transactionId, remoteStartId, evse, idToken |
| 9 | CPO → eMSP | OCPI Sessions | PUT /sessions/{country_code}/{party_id}/{session_id} | Session with status: ACTIVE, auth_method: COMMAND, the same authorization_reference |
| 10 | car ↔ station | ISO 15118-2 | CurrentDemand loop | Requested and delivered voltage and current, repeated for as long as energy flows |
| 11 | station → CPO | OCPP 2.0.1 | TransactionEventRequest (Updated, MeterValuePeriodic) | meterValue with Energy.Active.Import.Register |
| 12 | CPO → eMSP | OCPI Sessions | PATCH /sessions/.../{session_id} | New kwh, charging_periods, total_cost, last_updated |
| 13 | eMSP → CPO → station | OCPI then OCPP | STOP_SESSION, then RequestStopTransactionRequest | OCPI session_id; OCPP transactionId |
| 14 | car ↔ station | ISO 15118-2 | PowerDelivery (stop), WeldingDetection, SessionStop | Energy flow ends, contactors open |
| 15 | station → CPO | OCPP 2.0.1 | TransactionEventRequest (Ended) | triggerReason: RemoteStop, stoppedReason: Remote, final meter value |
| 16 | CPO → eMSP | OCPI Sessions, then CDRs | PATCH session COMPLETED, then POST /cdrs | The CDR is the billable record; the session was only the live view |
Three of those steps carry most of the integration bugs, so they are worth seeing as JSON.
Step 1, the eMSP asking the CPO to start (OCPI 2.2.1). The Token is the full Token object, not just its uid:
{
"response_url": "https://emsp.example.com/ocpi/2.2.1/commands/START_SESSION/8f3e1c2a",
"token": {
"country_code": "DE",
"party_id": "MSP",
"uid": "a7c2e9f0-4b1d-4e6a-9c3f-2d8b5e7a1f04",
"type": "APP_USER",
"contract_id": "DE-MSP-C00012345-7",
"issuer": "Example eMSP",
"valid": true,
"whitelist": "NEVER",
"last_updated": "2026-11-28T09:14:02Z"
},
"location_id": "LOC-0042",
"evse_uid": "NL*CPX*E0042*1",
"connector_id": "1",
"authorization_reference": "auth-5d1f0c3b9a"
}
Step 3, the CPO turning that into an OCPP 2.0.1 call to the station. The OCPI Token uid usually becomes the idToken; the token type the CPO picks is its own convention (Central is common for backend-issued tokens):
{
"remoteStartId": 4711,
"evseId": 1,
"idToken": {
"idToken": "a7c2e9f0-4b1d-4e6a-9c3f-2d8b5e7a1f04",
"type": "Central"
}
}
Step 8, the station reporting the start back. remoteStartId is the only field that links this event to step 3:
{
"eventType": "Started",
"timestamp": "2026-11-28T09:14:09Z",
"triggerReason": "RemoteStart",
"seqNo": 0,
"transactionInfo": {
"transactionId": "c41f9a2e-7b3d-4f10-8e5a-0d2b6c9e1a77",
"chargingState": "EVConnected",
"remoteStartId": 4711
},
"evse": { "id": 1, "connectorId": 1 },
"idToken": {
"idToken": "a7c2e9f0-4b1d-4e6a-9c3f-2d8b5e7a1f04",
"type": "Central"
}
}
One caveat on step 8. When the Started event fires depends on the station’s TxStartPoint setting. If the cable was plugged in before the driver tapped Start, a station configured to start transactions on EVConnected has already sent Started with triggerReason: CablePluggedIn, and the remote start shows up as an Updated event with triggerReason: RemoteStart. In that case the RequestStartTransactionResponse already carries the transactionId. A CPO backend that only links remote starts on Started events loses these sessions.
On an OCPP 1.6 station the same flow uses RemoteStartTransaction (with connectorId and idTag), then StartTransaction from the station. There is no remoteStartId, so the CPO has to match the start by connector and idTag, and the transactionId is assigned by the CPO backend in the StartTransaction response instead of by the station.
The IDs that have to line up across layers
Most cross-protocol bugs are ID bugs. Each layer has its own identifier for the same session, and nothing in any spec forces them to be equal. The CPO backend is the only system that sees all of them, so it owns the mapping.
| Thing | ISO 15118-2 | OCPP 2.0.1 | OCPP 1.6 | OCPI 2.2.1 |
|---|---|---|---|---|
| The session | SessionID (set by the station, stays on the charging cable link) | transactionId (string, generated by the station) | transactionId (integer, generated by the backend) | Session.id and CDR.id (strings, generated by the CPO) |
| The remote start | none | remoteStartId (integer, CPO chooses) | none | authorization_reference (eMSP chooses), plus the response_url |
| The driver | contract certificate and eMAID, only with Plug & Charge | idToken plus type | idTag (max 20 characters) | Token.uid plus Token.type; contract_id is the contract |
| The plug | implicit (one cable) | evse.id and evse.connectorId (integers) | connectorId (integer) | evse_uid and connector_id (strings) |
Two consequences worth designing for:
- The 20-character
idTaglimit in OCPP 1.6. An OCPIAPP_USERtokenuidis often a 36-character UUID. It cannot be passed to a 1.6 station as is, so the CPO either issues a shorter local ID and keeps a lookup table, or the remote start fails schema validation at the station. authorization_referencehas no OCPP field. The eMSP sends it inStartSession(or returns it from a real-time authorization), and expects to see it again in the Session and the CDR. The CPO must store it against the OCPP transaction itself. If it gets dropped, the eMSP gets a CDR it cannot tie to the tap in its app, which shows up weeks later as a billing dispute.
Where a session breaks, by layer
When a driver reports a failed session, start from the last message that succeeded:
| Symptom the driver sees | Last good message | Layer to look at first | What to check |
|---|---|---|---|
| App spins, then says “could not start” | OCPI CommandResponse ACCEPTED, no CommandResult | CPO to station (OCPP) | Is the station online? Did RequestStartTransactionResponse come back Rejected? Did the CPO forget to POST the result to response_url? |
| App says “started”, charger never delivers | OCPP TransactionEventRequest Started | Car to station (ISO 15118 or IEC 61851) | Station logs for CableCheck, PreCharge or ChargeParameterDiscovery failures; the backend cannot see these |
| Charging works, app shows 0 kWh | OCPP Updated events with meter values | CPO to eMSP (OCPI Sessions) | Are PATCH calls reaching the eMSP? Is the eMSP rejecting them because the session PUT never arrived? |
| Session ended, no bill for days | OCPP Ended | CPO to eMSP (OCPI CDRs) | Was the CDR POSTed? Did the eMSP answer with an OCPI error status inside an HTTP 200 (for example 2001 for a missing field)? |
| Plug & Charge car falls back to asking for a card | ISO 15118 PaymentServiceSelection with ExternalPayment instead of Contract | Car to station, then the contract certificate chain | Did the station offer Contract in its payment options? Is a valid contract certificate installed in the car? Did OCPP Authorize with iso15118CertificateHashData return a certificateStatus other than Accepted? |
When to use which
If you are trying to figure out which protocol applies to a given engineering or business problem:
| Your problem | Protocol |
|---|---|
| Station hardware reports to my CPO platform | OCPP |
| My charging station needs firmware updates | OCPP |
| I need to roam my customers onto another network’s stations | OCPI (or OICP) |
| I want the car to authenticate itself with no app tap and no RFID card | ISO 15118 (Plug & Charge) |
| I want bidirectional charging (vehicle-to-home or vehicle-to-grid) | ISO 15118-20 |
| I want to connect to many partners through one integration | OCPI or OICP via a roaming hub |
| I need to publish current charging station status to many parties | OCPI Locations module |
| I need to send a billing record to another network | OCPI CDRs module (or OICP equivalent) |
A note on OCPI vs OICP
These two are the closest competitors, and the only pair on this list that genuinely overlaps. Both solve the same layer-3 problem, so it is worth being explicit about how they differ:
- OCPI is governance-neutral, managed by an independent nonprofit. Peer-to-peer by default, with hubs optional.
- OICP is governed by Hubject, a commercial entity. Hub-centered by design, with the hub sitting in the middle of every transaction.
Nothing stops one company from running both stacks. The exclusivity is per connection rather than per company: a given partner link speaks one protocol or the other, but the backend behind it can hold integrations for both. If you want to know which protocols a specific network actually exposes, its developer or partner documentation is the source to check, and the answer changes as partnerships change.
What this means in practice
The layer model is not filing-cabinet trivia. It is a triage tool. When a session fails, the useful first question is not “what broke” but “which layer produced the last successful message”, because that single answer narrows the search from four systems to one.
Two of the layers make this easy. OCPP is JSON over WebSocket, and OCPI is JSON over REST, so both are readable in any proxy or log viewer you already run. The vehicle-to-station layer is the exception: ISO 15118-2 mandates EXI, so the traffic that decides whether Plug & Charge worked is compressed binary riding the control pilot line, not an IP link you can tap with the tooling you already have. That inverts the usual instinct. When authentication fails, the roaming interface is the layer you can read, so it is the layer you blame, while the layer that actually decided the outcome is the one you have no log for. Build the decoder before you need it.