Example OCPI report
See what your partner can open. A real run against our owned local reference-hub fixture, with the saved exchanges and rules behind each result.
Example · Captured · OCPI 2.2.1
Roaming-hub relay: identity, Session forwarding, error propagation and Configuration observation. Credentials and identifiers are sanitized; exchange hosts are replaced with non-resolving example addresses. This scoped example does not certify an endpoint.
Anyone holding a report link can read it. Read about report access and retention.
Report: ChargerDojo reference-hub fixture
OCPI 2.2.1
The journey has partial coverage
2 checks were not tested. The ledger shows the missing evidence.
plan 1232e1e67dacbd55 · roaming-hub-relay @ charging-journeys-depth-v10
Journey evidence
1unknown-receiverunknown-receiverPUT · HTTP 200 · 5ms
✓ The hub answered the request to a party it does not know with 4001.
U12 · Robustness observation
status_codes #status_codes_4xxx_hub_errors · basis: shall
For errors that a Hub encounters while routing messages, the following OCPI status codes shall be used.
→ 200 · 5ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | c4889677-8ac1-475d-bb38-21e08e8fb9a2 |
| X-Correlation-ID | fbd87161-d6bc-4f2a-95ac-ecc0d597eb0f |
| OCPI-from-country-code | NL |
| OCPI-from-party-id | CDA |
| OCPI-to-country-code | ZZ |
| OCPI-to-party-id | WND |
{
"country_code": "NL",
"party_id": "CDA",
"id": "JRN-RELAY-LOST-e9936b5a",
"start_date_time": "2026-11-05T19:26:01.601Z",
"kwh": 12.5,
"cdr_token": {
"country_code": "ZZ",
"party_id": "WND",
"uid": "JOURNEY-RFID-001",
"type": "RFID",
"contract_id": "US-SYN-JOURNEY-001"
},
"auth_method": "WHITELIST",
"authorization_reference": "AUTH-JOURNEY-001",
"location_id": "LOC-JOURNEY",
"evse_uid": "EVSE-JOURNEY",
"connector_id": "1",
"meter_id": "METER-JOURNEY",
"currency": "EUR",
"charging_periods": [
{
"start_date_time": "2026-11-05T19:26:01.601Z",
"dimensions": [
{
"type": "ENERGY",
"volume": 12.5
}
]
}
],
"total_cost": {
"excl_vat": 6.75,
"incl_vat": 8.1
},
"status": "ACTIVE",
"last_updated": "2026-11-05T20:26:01.601Z"
}| Header | Value |
|---|---|
| x-powered-by | Express |
| x-request-id | c4889677-8ac1-475d-bb38-21e08e8fb9a2 |
| x-correlation-id | fbd87161-d6bc-4f2a-95ac-ecc0d597eb0f |
| ocpi-to-country-code | NL |
| ocpi-to-party-id | CDA |
| ocpi-from-country-code | ZZ |
| ocpi-from-party-id | WND |
| content-type | application/json; charset=utf-8 |
| content-length | 91 |
| etag | W/"5b-gUU/VIng4QrsYA1AJmpmRohSbSU" |
| date | Thu, 05 Nov 2026 19:26:04 GMT |
| connection | keep-alive |
{
"status_code": 4001,
"status_message": "Unknown receiver",
"timestamp": "2026-11-05T19:26:04Z"
}2config-window-cpoidentityWatch for the partner request
No protocol exchange was captured for this event.
3config-window-emspidentityWatch for the partner request
No protocol exchange was captured for this event.
4hub-credentials-cpoidentityGET · HTTP 200 · 3ms
✓ The hub's Credentials report only role HUB (1).
U07 · OCPI SHALL
credentials #credentials_credentials_object · basis: SHALL
A Hub SHALL only reports itself as role: Hub. A Hub SHALL NOT report all the other connected parties as a role on the platform.
✓ The captured Configuration Module request or response carries no routing header.
U10 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
Thus routing headers SHALL NOT be used with these modules.
→ 200 · 3ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | eea4bf4d-319e-4e76-8396-dca87f64280e |
| X-Correlation-ID | 70db7076-77ca-4268-b9d1-f7b99062c2cb |
| Header | Value |
|---|---|
| x-powered-by | Express |
| content-type | application/json; charset=utf-8 |
| content-length | 262 |
| etag | W/"106-9Mf8VmlIXEPoumcQfmq47dA8aUI" |
| date | Thu, 05 Nov 2026 19:26:02 GMT |
| connection | keep-alive |
{
"data": {
"token": "[redacted]",
"url": "https://reference-hub.example/ocpi/versions",
"roles": [
{
"role": "HUB",
"country_code": "NL",
"party_id": "HUB",
"business_details": {
"name": "Reference hub"
}
}
]
},
"status_code": 1000,
"timestamp": "2026-11-05T19:26:02Z"
}5hub-credentials-emspidentityGET · HTTP 200 · 3ms
✓ The hub's Credentials report only role HUB (1).
U07 · OCPI SHALL
credentials #credentials_credentials_object · basis: SHALL
A Hub SHALL only reports itself as role: Hub. A Hub SHALL NOT report all the other connected parties as a role on the platform.
✓ The captured Configuration Module request or response carries no routing header.
U10 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
Thus routing headers SHALL NOT be used with these modules.
→ 200 · 3ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | dd7251cb-45de-4f2a-bfb4-81ede32d4c61 |
| X-Correlation-ID | e064b25b-6569-453f-9473-09d067ce2345 |
| Header | Value |
|---|---|
| x-powered-by | Express |
| content-type | application/json; charset=utf-8 |
| content-length | 262 |
| etag | W/"106-wy+X+nlILWQkNew/RyNCFKi8Nk0" |
| date | Thu, 05 Nov 2026 19:26:02 GMT |
| connection | keep-alive |
{
"data": {
"token": "[redacted]",
"url": "https://reference-hub.example/ocpi/versions",
"roles": [
{
"role": "HUB",
"country_code": "NL",
"party_id": "HUB",
"business_details": {
"name": "Reference hub"
}
}
]
},
"status_code": 1000,
"timestamp": "2026-11-05T19:26:02Z"
}6hub-clients-cpoidentityGET · HTTP 200 · 6ms
✓ The hub's HubClientInfo list names NL/CDB, status CONNECTED.
U08 · OCPI SHALL
credentials #credentials_credentials_object · basis: SHALL
A Hub SHALL report connected parties via the HubClientInfo module.
✓ The captured Configuration Module request or response carries no routing header.
U10 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
Thus routing headers SHALL NOT be used with these modules.
→ 200 · 6ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | 6d39cc21-d2a4-43da-bf54-0ea4d91e83d3 |
| X-Correlation-ID | 7363adf5-eda0-4c35-97fc-aefa3b305fda |
| Header | Value |
|---|---|
| x-powered-by | Express |
| x-total-count | 2 |
| x-limit | 100 |
| content-type | application/json; charset=utf-8 |
| content-length | 287 |
| etag | W/"11f-aRpjnyRR9IcDPC+SR7uakrjgru0" |
| date | Thu, 05 Nov 2026 19:26:02 GMT |
| connection | keep-alive |
{
"data": [
{
"party_id": "CDA",
"country_code": "NL",
"role": "CPO",
"status": "CONNECTED",
"last_updated": "2026-11-05T19:26:01Z"
},
{
"party_id": "CDB",
"country_code": "NL",
"role": "EMSP",
"status": "CONNECTED",
"last_updated": "2026-11-05T19:26:01Z"
}
],
"status_code": 1000,
"timestamp": "2026-11-05T19:26:02Z"
}7hub-clients-emspidentityGET · HTTP 200 · 4ms
✓ The hub's HubClientInfo list names NL/CDA, status CONNECTED.
U08 · OCPI SHALL
credentials #credentials_credentials_object · basis: SHALL
A Hub SHALL report connected parties via the HubClientInfo module.
✓ The captured Configuration Module request or response carries no routing header.
U10 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
Thus routing headers SHALL NOT be used with these modules.
→ 200 · 4ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | aadadee2-2f58-424d-be67-5e3c5c333a57 |
| X-Correlation-ID | 6449be4c-321e-467a-9e95-467948654ee7 |
| Header | Value |
|---|---|
| x-powered-by | Express |
| x-total-count | 2 |
| x-limit | 100 |
| content-type | application/json; charset=utf-8 |
| content-length | 287 |
| etag | W/"11f-aRpjnyRR9IcDPC+SR7uakrjgru0" |
| date | Thu, 05 Nov 2026 19:26:02 GMT |
| connection | keep-alive |
{
"data": [
{
"party_id": "CDA",
"country_code": "NL",
"role": "CPO",
"status": "CONNECTED",
"last_updated": "2026-11-05T19:26:01Z"
},
{
"party_id": "CDB",
"country_code": "NL",
"role": "EMSP",
"status": "CONNECTED",
"last_updated": "2026-11-05T19:26:01Z"
}
],
"status_code": 1000,
"timestamp": "2026-11-05T19:26:02Z"
}8relay-windowrelayWatch for the partner request
No protocol exchange was captured for this event.
9relay-putrelayPUT · HTTP 201 · 42ms
→ 201 · 42ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | a053d292-9630-446a-9090-3fb2208e2528 |
| X-Correlation-ID | 2aaf9ffb-35aa-4954-ad41-a1ed3e874052 |
| OCPI-from-country-code | NL |
| OCPI-from-party-id | CDA |
| OCPI-to-country-code | NL |
| OCPI-to-party-id | CDB |
{
"country_code": "NL",
"party_id": "CDA",
"id": "JRN-RELAY-e9936b5a",
"start_date_time": "2026-11-05T19:26:01.601Z",
"kwh": 12.5,
"cdr_token": {
"country_code": "NL",
"party_id": "CDB",
"uid": "JOURNEY-RFID-001",
"type": "RFID",
"contract_id": "US-SYN-JOURNEY-001"
},
"auth_method": "WHITELIST",
"authorization_reference": "AUTH-JOURNEY-001",
"location_id": "LOC-JOURNEY",
"evse_uid": "EVSE-JOURNEY",
"connector_id": "1",
"meter_id": "METER-JOURNEY",
"currency": "EUR",
"charging_periods": [
{
"start_date_time": "2026-11-05T19:26:01.601Z",
"dimensions": [
{
"type": "ENERGY",
"volume": 12.5
}
]
}
],
"total_cost": {
"excl_vat": 6.75,
"incl_vat": 8.1
},
"status": "ACTIVE",
"last_updated": "2026-11-05T20:26:01.601Z"
}| Header | Value |
|---|---|
| x-powered-by | Express |
| x-request-id | a053d292-9630-446a-9090-3fb2208e2528 |
| x-correlation-id | 2aaf9ffb-35aa-4954-ad41-a1ed3e874052 |
| ocpi-to-country-code | NL |
| ocpi-to-party-id | CDA |
| ocpi-from-country-code | NL |
| ocpi-from-party-id | CDB |
| content-type | application/json; charset=utf-8 |
| content-length | 757 |
| etag | W/"2f5-b9A6Qm3mYX0nWiDDcexK/rDWFZo" |
| date | Thu, 05 Nov 2026 19:26:03 GMT |
| connection | keep-alive |
{
"status_code": 1000,
"status_message": "Generic success code",
"timestamp": "2026-11-05T19:26:03Z",
"data": {
"country_code": "NL",
"party_id": "CDA",
"id": "JRN-RELAY-e9936b5a",
"start_date_time": "2026-11-05T19:26:01.601Z",
"kwh": 12.5,
"cdr_token": {
"country_code": "NL",
"party_id": "CDB",
"uid": "JOURNEY-RFID-001",
"type": "RFID",
"contract_id": "US-SYN-JOURNEY-001"
},
"auth_method": "WHITELIST",
"authorization_reference": "AUTH-JOURNEY-001",
"location_id": "LOC-JOURNEY",
"evse_uid": "EVSE-JOURNEY",
"connector_id": "1",
"meter_id": "METER-JOURNEY",
"currency": "EUR",
"charging_periods": [
{
"start_date_time": "2026-11-05T19:26:01.601Z",
"dimensions": [
{
"type": "ENERGY",
"volume": 12.5
}
]
}
],
"total_cost": {
"excl_vat": 6.75,
"incl_vat": 8.1
},
"status": "ACTIVE",
"last_updated": "2026-11-05T20:26:01.601Z"
}
}10relay-arrivalrelayAwait the partner request
✓ The forwarded request names NL/CDB in OCPI-to-* and NL/CDA in OCPI-from-*.
U01 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL
When implementing OCPI these four headers SHALL be implemented for any request/response to/from a Functional Module.
✓ The hub's answer names NL/CDA in OCPI-to-* and NL/CDB in OCPI-from-*.
U02 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL
When implementing OCPI these four headers SHALL be implemented for any request/response to/from a Functional Module.
✓ The forwarded request carries a new X-Request-ID, 35e3882d-9cb7-45a1-9e74-11d7b4d3f1c8, not the a053d292-9630-446a-9090-3fb2208e2528 the CPO test party sent.
U03 · OCPI SHALL
transport #transport_and_format_unique_messageg_ids · basis: SHALL
When a Hub forwards a request to a party, the request to this party SHALL contain a new unique value in the X-Request-ID HTTP header, not a copy of the X-Request-ID HTTP header taken from the incoming request that is being forwarded.
✓ The forwarded request carries the X-Correlation-ID 2aaf9ffb-35aa-4954-ad41-a1ed3e874052.
U04 · OCPI SHALL
transport #transport_and_format_unique_messageg_ids · basis: SHALL
When a Hub forwards a request to a party, the request SHALL contain the same X-Correlation-ID HTTP header (with the same value).
✓ The forwarded object keeps last_updated 2026-11-05T20:26:01.601Z.
U05 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
When OCPI Objects are sent via Hubs, the `last_updated` fields SHALL NOT be updated by the Hub.
✓ The hub's HubClientInfo list named NL/CDB; the list step grades it.
U08 · OCPI SHALL
credentials #credentials_credentials_object · basis: SHALL
A Hub SHALL report connected parties via the HubClientInfo module.
✓ The request reached the eMSP test party.
U11 · Robustness observation
transport #transport_and_format_message_routing · basis: the method's description
| Direct request | Hub to receiving platform | Receiving-party | Requesting-party
No protocol exchange was captured for this event.
11refusal-windowrefusalWatch for the partner request
No protocol exchange was captured for this event.
12refusal-patchrefusalPATCH · HTTP 200 · 23ms
→ 200 · 23ms
| Header | Value |
|---|---|
| Authorization | [redacted] |
| Content-Type | application/json |
| OCPI-Version | 2.2.1 |
| X-Request-ID | cd0c434f-c6ae-4f95-b57e-97184dc1a1ac |
| X-Correlation-ID | 6ca47c45-2fb6-4c02-ac4a-e1fe8e60459d |
| OCPI-from-country-code | NL |
| OCPI-from-party-id | CDA |
| OCPI-to-country-code | NL |
| OCPI-to-party-id | CDB |
{
"kwh": 1,
"last_updated": "2026-11-05T19:27:01.601Z"
}| Header | Value |
|---|---|
| x-powered-by | Express |
| x-request-id | cd0c434f-c6ae-4f95-b57e-97184dc1a1ac |
| x-correlation-id | 6ca47c45-2fb6-4c02-ac4a-e1fe8e60459d |
| ocpi-to-country-code | NL |
| ocpi-to-party-id | CDA |
| ocpi-from-country-code | NL |
| ocpi-from-party-id | CDB |
| content-type | application/json; charset=utf-8 |
| content-length | 124 |
| etag | W/"7c-4VKP66e41zjSSF6tl5kLft8lfL8" |
| date | Thu, 05 Nov 2026 19:26:03 GMT |
| connection | keep-alive |
{
"status_code": 2001,
"status_message": "Session with ID JRN-RELAY-MISS-e9936b5a not found",
"timestamp": "2026-11-05T19:26:03Z"
}13refusal-arrivalrefusalAwait the partner request
✓ The hub's answer names NL/CDA in OCPI-to-* and NL/CDB in OCPI-from-*.
U02 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL
When implementing OCPI these four headers SHALL be implemented for any request/response to/from a Functional Module.
✓ The forwarded request carries a new X-Request-ID, 985c8bc7-a55f-47fc-bb5d-a9e19b79391d, not the cd0c434f-c6ae-4f95-b57e-97184dc1a1ac the CPO test party sent.
U03 · OCPI SHALL
transport #transport_and_format_unique_messageg_ids · basis: SHALL
When a Hub forwards a request to a party, the request to this party SHALL contain a new unique value in the X-Request-ID HTTP header, not a copy of the X-Request-ID HTTP header taken from the incoming request that is being forwarded.
✓ The forwarded request carries the X-Correlation-ID 6ca47c45-2fb6-4c02-ac4a-e1fe8e60459d.
U04 · OCPI SHALL
transport #transport_and_format_unique_messageg_ids · basis: SHALL
When a Hub forwards a request to a party, the request SHALL contain the same X-Correlation-ID HTTP header (with the same value).
✓ The eMSP test party answered status_code 2001 and the CPO test party received 2001.
U06 · OCPI SHALL
status_codes #status_codes_4xxx_hub_errors · basis: SHALL
The Hub SHALL then forward this error to the client which sent the request (when the request was not a Broadcast Push).
No protocol exchange was captured for this event.
14config-check-cpoconfigurationAwait the partner request
? Not tested: No Configuration Module request or response from the hub was captured for this check.
U10 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
Thus routing headers SHALL NOT be used with these modules.
No protocol exchange was captured for this event.
15config-check-emspconfigurationAwait the partner request
? Not tested: No Configuration Module request or response from the hub was captured for this check.
U10 · OCPI SHALL
transport #transport_and_format_message_routing · basis: SHALL NOT
Thus routing headers SHALL NOT be used with these modules.
No protocol exchange was captured for this event.