CPO · CDRs
No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.
Road enables these for your connection on request.
- Additional fieldsAdds fields OCPI 2.1.1 does not define: the owning party (country_code and party_id) on every object, and extra location data such as a publish flag, charging accessibility, parking places and the details needed for national access point reporting. Sessions and CDRs also carry VAT-inclusive totals.When not enabled: Objects carry only the fields the OCPI specification defines.
- Remapped party identitycountry_code, party_id and EVSE ids on locations, tariffs and CDRs can differ from those of the party that created them. Road rewrites them according to rules set up for the connection.When not enabled: Objects keep the identity of the party that created them.
List CDRs
Returns the CPO's charge detail records.
200OCPI response envelope application/json
dataobject[]
locationobject
coordinatesobject
related_locationsobject[]
evsesobject[]
directionsobject[]
operatorobject
suboperatorobject
ownerobject
opening_timesobject
imagesobject[]
energy_mixobject
cdr_charge_rulesobject[]
parking_placesobject[]
registry_infoobject
tariffsobject[]
tariff_alt_textobject[]
elementsobject[]
energy_mixobject
charging_periodsobject[]
dimensionsobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
Id of the Road connection the CDR came from.
Total cost including VAT, alongside the VAT-exclusive total_cost.
fundingobject
401Missing or invalid OCPI token
Get a CDR cost breakdown
Road extension. Returns the CDR's total cost split over the tariff dimensions (fixed fee, energy, charging time, parking time, reservation), taken from the CPO's own sub-totals when it reported them and otherwise computed from the charging periods and the tariff. Only the quantities are returned when neither is available, with unavailable_reason (no_tariff_reference, tariff_not_found, tariff_without_elements, out_of_bounds or too_complex) and unavailable_message saying why. The CDR must have been issued to the calling eMSP.