In the simulation the CPO creates the charge detail record and sends it to the eMSP for billing.
Simulated copies · no peer is connected
CPO
Session COMPLETED. CDR sent.
eMSP
CDR received for billing.
Session Completed
Charging Receipt (CDR)
Total Energy:
0.00 kWh
Duration:
0 min 0 sec
Total Cost:
€0.00
What's Happening?
OCPI message
POST/cdrs
The CPO sends the final CDR to the eMSP for invoicing.
Test this flow
Test this flow runs against an eMSP endpoint you have registered. The endpoint test grades your endpoint's answer to each Session push. It does not read the stored Session back.
What OCPI 2.1.1 defines for this lesson
Modules in OCPI 2.1.1
Sessions
CDRs
Locations
Tariffs
Tokens
Commands
Credentials
Versions
No advertised interface-role field
Endpoint descriptions name the module and URL without an interface-role field.
The header carries the token value
The request header carries the shared credentials token value.
Session ID uses case-sensitive text
The Session ID uses text whose letter case matters.