Migrating from the current OCPI service
This page is for platforms that already read VoltBras data through the current OCPI service. The new service runs at a different address and has its own registration, so the two do not share tokens. Both implement OCPI 2.2.1, but some identifiers and values change.
What to do
- Get the new versions URL and registration token from VoltBras.
- Register. Only a
credentialsendpoint is required on your side. - Read your VoltBras parties from the
rolesin the Credentials answer. Do not assume they match the identifiers you hold today. - Pull all Locations and Tariffs without
date_from, and replace what you hold for VoltBras. EVSE and Tariff identifiers change, so do not merge them with the old ones. - Then keep up to date by pulling changes, by exposing Receiver endpoints, or both.
What changes
Connection
| Topic | Current service | New service |
|---|---|---|
Authorization | Token in Base64 | Token in Base64. The token without Base64 is also accepted. |
| Tokens | Your current tokens | New tokens from a Credentials exchange, renewed after 30 days with a PUT. |
| Updates | Pull only, for Locations and Tariffs | Pull, plus PUT to your Receiver endpoints when you declare them. No PATCH. |
Locations
| Field | Current service | New service |
|---|---|---|
id | The station's id | Unchanged. |
country_code, party_id | Lowercase; the country comes from the station's address | Uppercase; the values of the publishing party. |
evses[] | One EVSE can hold several connectors | One EVSE per connector. |
evses[].uid | The EVSE's internal id | A new UUID for each connector. |
evses[].evse_id | The EVSE's number | {country_code}*{party_id}*E{station code}*{connector id}. |
evses[].capabilities | Empty, or from the charger model | REMOTE_START_STOP_CAPABLE. |
connectors[].format | Always CABLE | CABLE, or SOCKET for wall outlets. |
connectors[].power_type | AC_1_PHASE for every AC connector | AC_1_PHASE or AC_3_PHASE. |
connectors[].max_voltage | As configured on the charger | Line to neutral on three-phase connectors. |
connectors[].tariff_ids | Empty | The connector's Tariff. |
operator, owner | Only operator | Both, with the same name. |
EVSE status
A connector in Preparing was reported as CHARGING and is now AVAILABLE. The new service also reports an offline station as UNKNOWN, a connector in maintenance as OUTOFORDER, and a connector that is no longer published as REMOVED. See EVSE status.
Tariffs
| Field | Current service | New service |
|---|---|---|
id | Station id (up to 34 characters), -, connector id | cpc-… from the content, shared by connectors with the same price. |
elements | One element per price component | One element with all the components. |
vat | 0 | Not sent. |
step_size of TIME and PARKING_TIME | 60 | 1. |
PARKING_TIME price | The idle fee per minute | Per hour, including the time price. |
| Free charge | FLAT of 0 with step_size 0 | FLAT of 0 with step_size 1. |
See Tariffs for how to read each component.
The same charger in both services
Fictional data, produced by running each service's mapping code. It is a station with a 22 kW three-phase AC connector, a price of 0.50 per minute, and an idle fee of 0.20 per minute. Fields that do not matter for the comparison are left out.
Location fields
Current service
{
"country_code": "br",
"party_id": "exa",
"id": "3f1c9a52-7b1e-4d0a-9c35-2a6e8f10b7d4",
"name": "Example Paulista",
"country": "BRA",
"operator": {
"name": "Example CPO",
"website": null,
"logo": null
}
}
New service
{
"country_code": "BR",
"party_id": "EXA",
"id": "3f1c9a52-7b1e-4d0a-9c35-2a6e8f10b7d4",
"name": "Example Paulista",
"country": "BRA",
"operator": {
"name": "Example CPO"
},
"owner": {
"name": "Example CPO"
},
"facilities": [
"MALL"
],
"opening_times": {
"twentyfourseven": true
}
}
EVSE
Current service
{
"uid": "evse-0002",
"evse_id": "2",
"status": "CHARGING",
"capabilities": [],
"connectors": [
{
"id": "2",
"standard": "IEC_62196_T2",
"format": "CABLE",
"power_type": "AC_1_PHASE",
"max_voltage": 380,
"max_amperage": 32,
"max_electric_power": 22000,
"tariff_ids": [],
"last_updated": "2026-11-10T12:00:00.000Z"
}
],
"last_updated": "2026-11-10T12:00:00.000Z"
}
New service
{
"uid": "81eb3264-0001-585d-9a4d-62d96f3ce01e",
"evse_id": "BR*EXA*EA1B2C3*2",
"status": "CHARGING",
"capabilities": [
"REMOTE_START_STOP_CAPABLE"
],
"connectors": [
{
"id": "2",
"standard": "IEC_62196_T2",
"format": "CABLE",
"power_type": "AC_3_PHASE",
"max_voltage": 219,
"max_amperage": 32,
"max_electric_power": 22000,
"tariff_ids": [
"cpc-9bf1d9d838711240126f9570f4647958"
],
"last_updated": "2026-11-10T12:00:00.000Z"
}
],
"last_updated": "2026-11-10T12:00:00.000Z"
}
Tariff
Current service
{
"country_code": "BR",
"party_id": "EXA",
"id": "3f1c9a52-7b1e-4d0a-9c35-2a6e8f10b7-2",
"currency": "BRL",
"elements": [
{
"price_components": [
{
"type": "TIME",
"price": 30,
"vat": 0,
"step_size": 60
}
]
},
{
"price_components": [
{
"type": "PARKING_TIME",
"price": 0.2,
"vat": 0,
"step_size": 60
}
]
}
],
"last_updated": "2026-11-10T12:00:00.000Z"
}
New service
{
"country_code": "BR",
"party_id": "EXA",
"id": "cpc-9bf1d9d838711240126f9570f4647958",
"currency": "BRL",
"elements": [
{
"price_components": [
{
"type": "TIME",
"price": 30,
"step_size": 1
},
{
"type": "PARKING_TIME",
"price": 42,
"step_size": 1
}
]
}
],
"last_updated": "2026-11-10T12:00:00.000Z"
}
New modules
The new service also offers Commands, Sessions, and CDRs as a CPO.