Learning Hub/Explorer
Back

CDRs

OCPI 2.2.1
Overview

Charge Detail Records are the invoices of OCPI. After a charging session completes, the CPO generates a CDR with a full cost breakdown and sends it to the eMSP for billing.

Who sends

CPO (Charge Point Operator)

Who receives

eMSP (e-mobility service provider)

Key Fields
FieldTypeDescription

id

CiString(36)

Unique CDR identifier

total_cost

Price

Total cost including and excluding VAT

total_energy

number

Total energy delivered in kWh

total_time

number

Total duration in hours

session_id

CiString(36)

Related session identifier

Endpoints
GET

/ocpi/2.2.1/cdrs/

POST

/ocpi/2.2.1/cdrs/

Live Endpoint Tester

Send requests directly to the local backend and see the response.