MSCONS — EDIFACT Metered Services Consumption Report Message (D.16B)
The MSCONS message conveys metered consumption reports (electricity, gas, water, heat) between energy-market participants: meter readings, consumption periods, hourly or quarter-hour profiles, energy qualities. It is the daily backbone of exchanges between suppliers, network operators and balance-responsible parties in the European market. This page summarises the segment structure as published by UN/CEFACT for directory D.16B.
Purpose
The MSCONS message conveys metered consumption reports (electricity, gas, water, heat) between energy-market participants: meter readings, consumption periods, hourly or quarter-hour profiles, energy qualities. It is the daily backbone of exchanges between suppliers, network operators and balance-responsible parties in the European market.
This page focuses on the structure published by UN/CEFACT for directory D.16B. The segments listed, their status (M / C), position and repetition factor are extracted from the official file mscons_c.htm hosted on service.unece.org.
Segment structure
The MSCONS D.16B message has 15 header entries, 27 detail entries and 2 summary entries (segments and groups combined). Groups are shown in bold and their members are indented by actual nesting depth.
Header
| Pos. | Tag | Name | S | Rep. |
|---|---|---|---|---|
00010 | UNH | Message header | M | 1 |
00020 | BGM | Beginning of message | M | 1 |
00030 | DTM | Date/time/period | M | ×9 |
00040 | CUX | Currencies | C | ×9 |
00050 | SG1 | Group (×9) | C | ×9 |
00060 | RFF | Reference | M | 1 |
00070 | DTM | Date/time/period | C | ×9 |
00080 | SG2 | Group (×99) | C | ×99 |
00090 | NAD | Name and address | M | 1 |
00100 | SG3 | Group (×9) | C | ×9 |
00110 | RFF | Reference | M | 1 |
00120 | DTM | Date/time/period | C | ×9 |
00130 | SG4 | Group (×9) | C | ×9 |
00140 | CTA | Contact information | M | 1 |
00150 | COM | Communication contact | C | ×9 |
Detail
| Pos. | Tag | Name | S | Rep. |
|---|---|---|---|---|
00160 | UNS | Section control | M | 1 |
00170 | SG5 | Group (×99999) | M | ×99999 |
00180 | NAD | Name and address | M | 1 |
00190 | SG6 | Group (×99999) | M | ×99999 |
00200 | LOC | Place/location identification | M | 1 |
00210 | DTM | Date/time/period | C | ×9 |
00220 | SG7 | Group (×99) | C | ×99 |
00230 | RFF | Reference | M | 1 |
00240 | DTM | Date/time/period | C | ×9 |
00250 | SG8 | Group (×99) | C | ×99 |
00260 | CCI | Characteristic/class id | M | 1 |
00270 | DTM | Date/time/period | C | ×99 |
00280 | SG9 | Group (×99999) | C | ×99999 |
00290 | LIN | Line item | M | 1 |
00300 | PIA | Additional product id | C | ×9 |
00310 | IMD | Item description | C | ×9 |
00320 | PRI | Price details | C | ×9 |
00330 | NAD | Name and address | C | ×9 |
00340 | MOA | Monetary amount | C | ×9 |
00350 | SG10 | Group (×9999) | M | ×9999 |
00360 | QTY | Quantity | M | 1 |
00370 | DTM | Date/time/period | C | ×9 |
00380 | STS | Status | C | ×9 |
00390 | SG11 | Group (×99) | C | ×99 |
00400 | CCI | Characteristic/class id | M | 1 |
00410 | MEA | Measurements | C | ×99 |
00420 | DTM | Date/time/period | C | ×9 |
Summary
| Pos. | Tag | Name | S | Rep. |
|---|---|---|---|---|
00430 | CNT | Control total | C | ×99 |
00440 | UNT | Message trailer | M | 1 |
Changes vs D.96A
The MSCONS message is not published in directory D.96A. No "D.96A → D.16B" comparison line can therefore be produced — see the block below for details.
This message is not published in directory D.96A: it was introduced into the standard after that release and therefore has no historical baseline for comparison. The first directory indexed on ediverse.io sets the reference; later changes are then documented from one release to the next in subsequent directories.
Structural example
Minimal example of an MSCONS D.16B message with mandatory segments only. The goal is to show the exact version declared in UNH (MSCONS:D:16B:UN) — not to replicate a full business case.
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL016001'
UNH+1+MSCONS:D:16B:UN'
BGM+7+MSCONS-2026-W19+9'
DTM+137:202605140800:203'
DTM+163:202605140000:203'
DTM+164:202605142400:203'
RFF+ACW:DELIVERY-PT-FR1234ABCD'
NAD+MS+5410000000123::9'
NAD+MR+5410000000456::9'
LOC+172+FR-DSO-PT-1234ABCD::293'
LIN+1++1-1?:1.8.0:SRW'
QTY+220:18540:KWH'
DTM+163:202605140000:203'
DTM+164:202605142400:203'
UNT+14+1'
UNZ+1+CTRL016001' Common errors
- Misaligned UNH tokens — The
UNH+...+MSCONS:D:16B:UNtoken must reflect exactly the directory in use — a mismatch between the UNH release and the release agreed with the partner is rejected by every strict validator. - Wrong UNT segment count — The value after
UNT+must include UNH and UNT themselves. By far the most common sender-side error, regardless of the directory in use. - Stale code lists — Between D.96A and D.16B, several code lists received new qualifiers (DTM status, RFF qualifier, NAD codes…). Reusing an older directory’s code tables triggers warnings or even rejections depending on the partner’s strict-conformance mode.
Related messages
Other versions of this message available on ediverse.io: MSCONS D.10A, MSCONS D.21B, MSCONS D.24A.
X12 functional equivalent: X12 867.