Transfer of Reads Schema Reference
Headers and Parameters
| Field | Location | Required | Type | Format / Constraints |
|---|
X-API-KEY or Authorization | Header | One | string | API key or Bearer <token>; API key takes precedence |
X-IDEMPOTENCY-KEY | Header (POST) | Yes | string | Non-empty string |
mpid | Path | Yes | string | Supplier MPID |
comparison_request_id | Decision/detail path | Yes | string(UUID) | Supplier-owned comparison ID |
request_id | Submission body/manual-close path | Yes | string(UUID) | Parent supplier-process ID |
request_id | Process-readings path | Yes | string(UUID) | Traditional ToR record ID |
mpan_core | MPAN comparison path | Yes | integer | MPAN core |
page | List query | No | integer | Minimum 1; default 1 |
page_size | List query | No | integer | 1–200; default 50 |
Request Schema (TraditionalCustomerReadingRequest)
| Field | Required | Type | Format / Constraints |
|---|
mpan_core | Yes | integer | Must match the supplier-owned parent process |
request_id | Yes | string(UUID) | Existing parent supplier-process ID |
meters | Yes | array | At least one meter; complete transfer-date register coverage |
meters[].meter_id | Yes | string | 1–10 characters |
meters[].registers | Yes | array | At least one register |
meters[].registers[].register_id | Yes | string | 1–2 characters |
meters[].registers[].reading_value | Yes | decimal | Finite; precision retained; at most 14 characters including sign and decimal point |
meters[].registers[].reading_datetime | Yes | string(datetime) | ISO 8601 datetime |
meters[].registers[].reading_method | Yes | string(enum) | A, C, E, S, X, Y |
Additional validation:
- Each
(meter_id, register_id) pair may appear only once.
- All meters/registers must be effective at the transfer date and cover the full expected set.
- Values must fit the ten-character outbound D0010 field after truncation towards zero to one decimal place.
Request Schema (TraditionalDisputeProposalRequest)
Used by comparison rejection. Losing COR rejection accepts {}; other supported versions require counter-readings.
| Field | Required | Type | Format / Constraints |
|---|
additional_information | No | string or null | Maximum 200 characters |
record_rejection_reason_indicator | No | string or null | Maximum 2 characters |
meters | No | array | Defaults to []; contents depend on comparison version |
meters[].meter_id | Yes | string | 1–10 characters |
meters[].registers | Yes | array | At least one register |
meters[].registers[].register_id | Yes | string | 1–2 characters |
meters[].registers[].disputed_reading_value | No | decimal or null | Finite; maximum 10 characters |
meters[].registers[].proposed_reading_value | No | decimal or null | Finite; maximum 10 characters |
meters[].registers[].reading_datetime | Conditional | string(datetime) or null | Required with proposed value; timezone-aware |
meters[].registers[].reading_method | Conditional | string(enum) or null | Required with proposed value; N or P |
meters[].registers[].proposed_reading_type | Conditional | string(enum) or null | Required with proposed value; values below |
meters[].registers[].d0300_proposed_reading_status | Yes | string(enum) | A or P |
meters[].registers[].rejection_reason | No | string or null | Maximum 50 characters |
meters[].registers[].change_of_supplier_reading_rejection_code | No | string or null | Maximum 2 characters |
Allowed proposed_reading_type values: A, C, D, F, I, M, O, P, Q, R, S, T, W, Z.
Additional validation:
- Each
(meter_id, register_id) pair must be unique; every row needs a disputed or proposed value.
reading_datetime and reading_method cannot be supplied without a proposed value.
- Counterproposals require full transfer-date register coverage and a proposed value for every row.
- Estimate rejection also requires each disputed value to match the selected Data Service estimate.
- Losing COR rejection requires empty
meters; metadata must be null or omitted.
Comparison Response Schemas
TraditionalComparisonSummary
| Field | Required | Type | Format / Constraints |
|---|
comparison_request_id | Yes | string(UUID) | Decision ID |
request_id | Yes | string(UUID) | Parent supplier-process ID |
mpan_core | Yes | integer | MPAN core |
comparison_version | Yes | string | Comparison version |
decision_guidance_code | Yes | string | Decision guidance identifier |
status | Yes | string | Comparison status |
decision_available_at | No | string(datetime) or null | When the comparison became actionable |
decision_due_at | No | string(datetime) or null | Decision deadline |
result_status | No | string or null | Saved decision outcome detail |
created_at | Yes | string(datetime) | Creation timestamp |
completed_at | No | string(datetime) or null | Completion timestamp |
Versions: MANUAL_TRADITIONAL_INITIAL, MANUAL_TRADITIONAL_ESTIMATE, MANUAL_TRADITIONAL_LOSS_COR, MANUAL_TRADITIONAL_DISPUTE.
Statuses: WAITING_FOR_EVIDENCE, AWAITING_DECISION, RUNNING, RETRYABLE, ACCEPTED, REJECTED, FAILED, CANCELLED.
TraditionalComparisonHistoryResponse
Used by open, history and MPAN lists.
| Field | Required | Type | Format / Constraints |
|---|
comparison_requests | Yes | array | TraditionalComparisonSummary items; may be empty |
page | Yes | integer | Page number |
page_size | Yes | integer | Page size |
total_count | Yes | integer | Matching comparisons before pagination |
TraditionalComparisonDetailResponse
| Field | Required | Type | Format / Constraints |
|---|
comparison_request_id, request_id | Yes | string(UUID) | Decision and parent IDs |
comparison_version, decision_guidance_code, status | Yes | string | Version, guidance and comparison status |
decision_available_at, decision_due_at | Yes | string(datetime) or null | Actionable timestamp and deadline |
decision_guidance | Yes | object | summary and responses below |
result_status | Yes | string or null | Saved outcome detail |
evidence | Yes | array | May be empty |
evidence[].source, evidence[].meter_id, evidence[].register_id | Yes | string | Source and meter/register identifiers |
evidence[].reading_datetime | Yes | string(datetime) | Reading timestamp |
evidence[].register_reading | Yes | decimal string | Register value |
evidence[].reading_type, evidence[].reading_method | Yes | string or null | Reading metadata |
proposal | Yes | object or null | Selected comparison's proposal |
proposal.dispute_type, proposal.status | Yes | string | Dispute type and status |
proposal.meters | Yes | array | Meter/register fields from TraditionalDisputeProposalRequest |
created_at | Yes | string(datetime) | Creation timestamp |
Decision Guidance
| Field | Required | Type | Format / Constraints |
|---|
summary | Yes | string | Decision summary |
responses | Yes | array | Available responses |
responses[].code | Yes | string | Response code |
responses[].label | Yes | string | Response label |
responses[].description | Yes | string | Response description |
responses[].requires_proposal | Yes | boolean | Whether the response requires a proposal |
TraditionalComparisonDecisionResponse
Used by accept, reject and cancel.
| Field | Required | Type | Format / Constraints |
|---|
comparison_request_id | Yes | string(UUID) | Comparison ID |
status | Yes | string | ACCEPTED, REJECTED or CANCELLED, respectively |
additional_information | No | string or null | Additional response information |
Process Readings Response (TraditionalTransferOfReadsLinkedReadingsResponseSchema)
| Field | Required | Type | Format / Constraints |
|---|
readings | Yes | array | Reading objects below; may be empty |
pagination | Yes | object | Pagination details |
pagination.page | Yes | integer | Page number |
pagination.page_size | Yes | integer | Page size |
pagination.total_count | Yes | integer | Matching reading links before pagination |
Every reading field below is present, including nullable fields.
| Field | Type | Format / Constraints |
|---|
source | string | Reading-link source |
source_message_reference | string or null | DIP sender reference or DTN file ID |
meter_id, register_id | string | Meter/register identifiers |
reading_datetime | string(datetime) | Reading timestamp |
reading_value, reading_method | string | Register value and method |
reading_type | string or null | Reading type |
meter_reading_flag | boolean or null | Meter reading flag |
md_reset_datetime | string(datetime) or null | Maximum-demand reset timestamp |
number_of_md_resets | decimal string or null | Reset count |
site_visit_check_code | string or null | Site visit code |
Process Response (TraditionalTransferOfReadsRequestResponseSchema)
Used by customer submission; reports the existing parent process.
| Field | Required | Type | Format / Constraints |
|---|
request_id | Yes | string(UUID) | Parent supplier-process ID |
request_type | No | string | Process type |
request_status | Yes | string(enum) | Pending, Success, Failed |
initiated_by, description | No | string or null | Initiator and description |
created_at, last_updated_at | Yes | string(datetime) | Process timestamps |
mpan_core | No | integer or null | MPAN core |
Request Search Process Details
Used by GET /requests/v1/{mpid} when request_type=traditional-transfer-of-reads.
| Field | Required | Type | Format / Constraints |
|---|
incoming_outgoing_supplier | Yes | string(enum) | Incoming or Outgoing |
counterparty_supplier_mpid | Yes | string or null | Counterparty supplier MPID |
outgoing_ds_mpid | No | string or null | Outgoing Data Service MPID |
status | Yes | string(enum) | Values below |
messages | No | array | Present when show_messages=true; linked market messages |
Statuses: AWAITING_COR_OR_ESTIMATE, AWAITING_COR_RESPONSE, AWAITING_COMPARISON, AWAITING_DISPUTE, MANUAL_INVESTIGATION, GAIN_COR_ACCEPTED, LOSS_COR_ACCEPTED, DS_ESTIMATE_RECEIVED, D0300_AGREED, COMPLETED, FAILED.
Manual Closure Schemas
ManualTorCloseRequest
| Field | Required | Type | Format / Constraints |
|---|
outcome | Yes | string(enum) | COMPLETE or FAILED |
reason | Yes | string | Trimmed; must not be empty |
Unknown fields are rejected. Only a pending process in MANUAL_INVESTIGATION can be closed.
ManualTorCloseResponse
| Field | Required | Type | Format / Constraints |
|---|
request_id | Yes | string(UUID) | Parent supplier-process ID |
status | Yes | string | COMPLETED or FAILED |
outcome | Yes | string(enum) | COMPLETE or FAILED |