CDR Exports
Request a CDR export
Triggers an asynchronous export of Charge Detail Records (CDRs) for an operator. The export is processed in the background and the resulting file is delivered by email to the address provided. The recipient email must belong to a Monta user with export permission on the target operator.
Notes:
- The date range may not exceed 31 days.
- If operatorId is omitted, it is derived from the credentials. Consumers with multiple authorised operators must specify it explicitly.
- direction defaults to INBOUND (CDRs Monta issued as CPO to partner eMSPs). Set OUTBOUND to export CDRs Monta received as eMSP from partner CPOs.
Required scope: cdr-exports:write
Organization authorization: supported
Request a CDR export › Request Body
from\d{4}-\d{2}-\d{2} · requiredStart of the export range (inclusive), in yyyy-MM-dd format.
to\d{4}-\d{2}-\d{2} · requiredEnd of the export range (inclusive), in yyyy-MM-dd format. Must be on or after from, and the range may not exceed 31 days.
emailEmail address that the export will be delivered to. Must belong to a Monta user with the export permission on the target operator.
operatorIdThe ID of the operator whose CDRs will be exported. If not provided, operator ID will be derived from the used api credentials.
formatOutput format for the exported file. Defaults to CSV.
emspIdentifierOptional filter. When set, only CDRs whose EMSP identifier ({CountryCode}*{PartyId}) matches are exported. Does not appear as a column in the exported file.
selfManagedOptional filter. When set, only CDRs with the matching self-managed flag (bilateral agreement) are exported.
directionDirection of the CDRs to export. INBOUND (default) exports CDRs Monta issued as CPO to partner eMSPs (Monta operated the charge point). OUTBOUND exports CDRs Monta received as eMSP from partner CPOs (Monta's drivers charged on partner networks). Defaults to INBOUND when omitted.
Request a CDR export › Responses
CDR export accepted; the file will be sent by email
statusExport request status. Always queued for an accepted request.
messageHuman-readable confirmation message.