> ## Documentation Index
> Fetch the complete documentation index at: https://docs.engrate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Clearing Settlement

A clearing settlement contains one day's metering data within a [Clearing Period](/api-reference/settlement-management/models/clearing-period). The data originates from MSCONS messages sent by the TSO or DSO, containing quarter-hourly metered energy values.

## Structure

Each settlement record contains:

* **date** — the specific delivery day within the settlement month
* **values** — raw interval data from the MSCONS message, structure varies by message type and data category

A complete clearing period for a 31-day month will have 31 settlement records, one per day.

## Data flow

Settlement data arrives via EDIFACT MSCONS messages. The platform parses these messages and stores the interval values per day. The raw values are preserved as received — use the imbalance calculation endpoint to compare scheduled versus actual energy.
