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.

Download sanitized capture

Report: ChargerDojo reference-hub fixture

Completed

OCPI 2.2.1

The journey has partial coverage

2 checks were not tested. The ledger shows the missing evidence.

20 passed
0 failed
2 not tested
22 total

plan 1232e1e67dacbd55 · roaming-hub-relay @ charging-journeys-depth-v10

Journey evidence

15 actions
1Passedunknown-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.

PUT https://reference-hub.example/ocpi/2.2.1/sessions/NL/CDA/JRN-RELAY-LOST-e9936b5a

→ 200 · 5ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-IDc4889677-8ac1-475d-bb38-21e08e8fb9a2
X-Correlation-IDfbd87161-d6bc-4f2a-95ac-ecc0d597eb0f
OCPI-from-country-codeNL
OCPI-from-party-idCDA
OCPI-to-country-codeZZ
OCPI-to-party-idWND
REQUEST
{
  "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"
}
RESPONSE
HeaderValue
x-powered-byExpress
x-request-idc4889677-8ac1-475d-bb38-21e08e8fb9a2
x-correlation-idfbd87161-d6bc-4f2a-95ac-ecc0d597eb0f
ocpi-to-country-codeNL
ocpi-to-party-idCDA
ocpi-from-country-codeZZ
ocpi-from-party-idWND
content-typeapplication/json; charset=utf-8
content-length91
etagW/"5b-gUU/VIng4QrsYA1AJmpmRohSbSU"
dateThu, 05 Nov 2026 19:26:04 GMT
connectionkeep-alive
{
  "status_code": 4001,
  "status_message": "Unknown receiver",
  "timestamp": "2026-11-05T19:26:04Z"
}
2Lifecycle event without a conformance assertionconfig-window-cpoidentityWatch for the partner request

No protocol exchange was captured for this event.

3Lifecycle event without a conformance assertionconfig-window-emspidentityWatch for the partner request

No protocol exchange was captured for this event.

4Passedhub-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.

GET https://reference-hub.example/ocpi/2.2.1/credentials

→ 200 · 3ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-IDeea4bf4d-319e-4e76-8396-dca87f64280e
X-Correlation-ID70db7076-77ca-4268-b9d1-f7b99062c2cb
RESPONSE
HeaderValue
x-powered-byExpress
content-typeapplication/json; charset=utf-8
content-length262
etagW/"106-9Mf8VmlIXEPoumcQfmq47dA8aUI"
dateThu, 05 Nov 2026 19:26:02 GMT
connectionkeep-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"
}
5Passedhub-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.

GET https://reference-hub.example/ocpi/2.2.1/credentials

→ 200 · 3ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-IDdd7251cb-45de-4f2a-bfb4-81ede32d4c61
X-Correlation-IDe064b25b-6569-453f-9473-09d067ce2345
RESPONSE
HeaderValue
x-powered-byExpress
content-typeapplication/json; charset=utf-8
content-length262
etagW/"106-wy+X+nlILWQkNew/RyNCFKi8Nk0"
dateThu, 05 Nov 2026 19:26:02 GMT
connectionkeep-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"
}
6Passedhub-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.

GET https://reference-hub.example/ocpi/2.2.1/hubclientinfo

→ 200 · 6ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-ID6d39cc21-d2a4-43da-bf54-0ea4d91e83d3
X-Correlation-ID7363adf5-eda0-4c35-97fc-aefa3b305fda
RESPONSE
HeaderValue
x-powered-byExpress
x-total-count2
x-limit100
content-typeapplication/json; charset=utf-8
content-length287
etagW/"11f-aRpjnyRR9IcDPC+SR7uakrjgru0"
dateThu, 05 Nov 2026 19:26:02 GMT
connectionkeep-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"
}
7Passedhub-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.

GET https://reference-hub.example/ocpi/2.2.1/hubclientinfo

→ 200 · 4ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-IDaadadee2-2f58-424d-be67-5e3c5c333a57
X-Correlation-ID6449be4c-321e-467a-9e95-467948654ee7
RESPONSE
HeaderValue
x-powered-byExpress
x-total-count2
x-limit100
content-typeapplication/json; charset=utf-8
content-length287
etagW/"11f-aRpjnyRR9IcDPC+SR7uakrjgru0"
dateThu, 05 Nov 2026 19:26:02 GMT
connectionkeep-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"
}
8Lifecycle event without a conformance assertionrelay-windowrelayWatch for the partner request

No protocol exchange was captured for this event.

9Lifecycle event without a conformance assertionrelay-putrelayPUT · HTTP 201 · 42ms
PUT https://reference-hub.example/ocpi/2.2.1/sessions/NL/CDA/JRN-RELAY-e9936b5a

→ 201 · 42ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-IDa053d292-9630-446a-9090-3fb2208e2528
X-Correlation-ID2aaf9ffb-35aa-4954-ad41-a1ed3e874052
OCPI-from-country-codeNL
OCPI-from-party-idCDA
OCPI-to-country-codeNL
OCPI-to-party-idCDB
REQUEST
{
  "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"
}
RESPONSE
HeaderValue
x-powered-byExpress
x-request-ida053d292-9630-446a-9090-3fb2208e2528
x-correlation-id2aaf9ffb-35aa-4954-ad41-a1ed3e874052
ocpi-to-country-codeNL
ocpi-to-party-idCDA
ocpi-from-country-codeNL
ocpi-from-party-idCDB
content-typeapplication/json; charset=utf-8
content-length757
etagW/"2f5-b9A6Qm3mYX0nWiDDcexK/rDWFZo"
dateThu, 05 Nov 2026 19:26:03 GMT
connectionkeep-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"
  }
}
10Passedrelay-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.

11Lifecycle event without a conformance assertionrefusal-windowrefusalWatch for the partner request

No protocol exchange was captured for this event.

12Lifecycle event without a conformance assertionrefusal-patchrefusalPATCH · HTTP 200 · 23ms
PATCH https://reference-hub.example/ocpi/2.2.1/sessions/NL/CDA/JRN-RELAY-MISS-e9936b5a

→ 200 · 23ms

REQUEST HEADERS
HeaderValue
Authorization[redacted]
Content-Typeapplication/json
OCPI-Version2.2.1
X-Request-IDcd0c434f-c6ae-4f95-b57e-97184dc1a1ac
X-Correlation-ID6ca47c45-2fb6-4c02-ac4a-e1fe8e60459d
OCPI-from-country-codeNL
OCPI-from-party-idCDA
OCPI-to-country-codeNL
OCPI-to-party-idCDB
REQUEST
{
  "kwh": 1,
  "last_updated": "2026-11-05T19:27:01.601Z"
}
RESPONSE
HeaderValue
x-powered-byExpress
x-request-idcd0c434f-c6ae-4f95-b57e-97184dc1a1ac
x-correlation-id6ca47c45-2fb6-4c02-ac4a-e1fe8e60459d
ocpi-to-country-codeNL
ocpi-to-party-idCDA
ocpi-from-country-codeNL
ocpi-from-party-idCDB
content-typeapplication/json; charset=utf-8
content-length124
etagW/"7c-4VKP66e41zjSSF6tl5kLft8lfL8"
dateThu, 05 Nov 2026 19:26:03 GMT
connectionkeep-alive
{
  "status_code": 2001,
  "status_message": "Session with ID JRN-RELAY-MISS-e9936b5a not found",
  "timestamp": "2026-11-05T19:26:03Z"
}
13Passedrefusal-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.

14Not tested: the partner answered with nothing to gradeconfig-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.

15Not tested: the partner answered with nothing to gradeconfig-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.