# Check identifier 17006 — Termination of invoice processing MSB via LF

<span hidden data-pagefind-meta={"title:Check identifier 17006 — Termination invoice processing MSB via LF · ORDERS · Format version 202610"} />

Check identifier **17006** · EDIFACT message type **ORDERS** · Format version **202610**

## Data structure

<Handbuchsatz>

<div className="maco-tabellenrahmen">

| Structure (BO4E) | Description | Format | <span className="hbs-p" title="Beendigung Rechnungsabwicklung MSB über LF">17006</span> | Condition |
|---|---|---|---|---|
| <span className="hbs-g hbs-e0">**stammdaten** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-g hbs-e1">**ANFRAGE** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e2">[abonnement](/en/bo4e/202610/bo/Anfrage#abonnement) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={18} segment="IMD++Z02" /><span className="hbs-nr">00010</span> | Start or end of subscription | [Enum Abonnement](/en/bo4e/202610/enum/Abonnement) | Must | — |
| <span className="hbs-w hbs-e3">`START_ABO`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ENDE_ABO`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`OHNE_ABO`</span> | — | — | Must | — |
| <span className="hbs-f hbs-e2">[lokationsId](/en/bo4e/202610/bo/Anfrage#lokationsid) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={36} segment="SG2.NAD+DP.LOC+172" /><span className="hbs-nr">00020</span> | Which market or metering location this request applies to. | string | X | — |
| <span className="hbs-g hbs-e1">**AUFTRAG** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e2">[ausfuehrungsdatum](/en/bo4e/202610/bo/Auftrag#ausfuehrungsdatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={15} segment="DTM+203" /><span className="hbs-nr">00030</span> | The execution date describes at which point in time an order is to be executed. | string (date-time) | X | — |
| <span className="hbs-g hbs-e2">**positionsdaten** <span className="hbs-liste">[ ]</span></span> | — | object[] | May | — |
| <span className="hbs-f hbs-e3">[anfragegrund](/en/bo4e/202610/com/AuftragPosition#anfragegrund)</span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={40} segment="SG29.LIN.IMD++[Z61\|Z62\|Z63]" /><span className="hbs-nr">00040</span> | Request reason | [Enum Anfragegrund](/en/bo4e/202610/enum/Anfragegrund) | Must | — |
| <span className="hbs-w hbs-e4">`ABGRENZUNG_VON_ENERGIEMENGEN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`ABGRENZUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`WECHSELEREIGNIS`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`ZWISCHENABLESUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`DIREKTER_VERTRAG_MSB_AN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`DIREKTER_VERTRAG_MSB_ANN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`AENDERUNG_IM_LOKATIONSBUENDEL`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`NEUKONFIGURATION`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e4">`KONFIGURATION_UNVERAENDERT`</span> | — | — | Must | — |
| <span className="hbs-g hbs-e0">**transaktionsdaten** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e1">[dokumentennummer](/en/bo4e/202610/cdoc/Transaktionsdaten#dokumentennummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={8} segment="BGM+Z29" /><span className="hbs-nr">00050</span> | EDIFACT reference from the BGM segment / BGM | string | X | — |
| <span className="hbs-f hbs-e1">[nachrichtendatum](/en/bo4e/202610/cdoc/Transaktionsdaten#nachrichtendatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={11} segment="DTM+137" /><span className="hbs-nr">00060</span> | Creation date of the EDIFact / DTM+137 | string (date-time) | X | — |
| <span className="hbs-f hbs-e1">[nachrichtenreferenznummer](/en/bo4e/202610/cdoc/Transaktionsdaten#nachrichtenreferenznummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={0} segment="UNH" /><span className="hbs-nr">00070</span> | EDIFACT reference from the UNT segment / UTILMD UNT+21 | string | Must | — |
| <span className="hbs-f hbs-e1">[pruefidentifikator](/en/bo4e/202610/cdoc/Transaktionsdaten#pruefidentifikator) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={21} segment="SG1.RFF+Z13" /><span className="hbs-nr">00080</span> | Contains the check identifier from the EDIFact communication / RFF+Z13 | string | X | — |
| <span className="hbs-g hbs-e1">**absender** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e2">[rollencodenummer](/en/bo4e/202610/bo/Marktteilnehmer#rollencodenummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={24} segment="SG2.NAD+MS" /><span className="hbs-nr">00090</span> | Specifies the code value of the market role. | string | X | — |
| <span className="hbs-f hbs-e2">[rollencodetyp](/en/bo4e/202610/bo/Marktteilnehmer#rollencodetyp) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={24} segment="SG2.NAD+MS" /><span className="hbs-nr">00100</span> | Indicates the type of the code. | [Enum Rollencodetyp](/en/bo4e/202610/enum/Rollencodetyp) | X | — |
| <span className="hbs-w hbs-e3">`BDEW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GS1`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GLN`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`DVGW`</span> | — | — | X | — |
| <span className="hbs-g hbs-e1">**empfaenger** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e2">[rollencodenummer](/en/bo4e/202610/bo/Marktteilnehmer#rollencodenummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={29} segment="SG2.NAD+MR" /><span className="hbs-nr">00110</span> | Specifies the code value of the market role. | string | X | — |
| <span className="hbs-f hbs-e2">[rollencodetyp](/en/bo4e/202610/bo/Marktteilnehmer#rollencodetyp) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17006" format="ORDERS" fv="202610" zeile={29} segment="SG2.NAD+MR" /><span className="hbs-nr">00120</span> | Indicates the type of the code. | [Enum Rollencodetyp](/en/bo4e/202610/enum/Rollencodetyp) | X | — |
| <span className="hbs-w hbs-e3">`BDEW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GS1`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GLN`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`DVGW`</span> | — | — | X | — |

</div>

</Handbuchsatz>

## Application handbook (AHB)

<Handbuchsatz>

<div className="maco-tabellenrahmen" data-maco="ahb-tabelle">

| Structure (EDIFACT) | Description | Format | <span className="hbs-p" title="Beendigung Rechnungsabwicklung MSB über LF">17006</span> | Condition |
|---|---|---|---|---|
| <span className="hbs-g hbs-e0">**UNH**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0062`</span><span className="hbs-nr">00010</span> | Message reference number | — | X | — |
| <span className="hbs-f hbs-e1">`0065 ORDERS`</span><span className="hbs-nr">00020</span> | Order placement | — | X | — |
| <span className="hbs-f hbs-e1">`0052 D`</span><span className="hbs-nr">00030</span> | Draft version | — | X | — |
| <span className="hbs-f hbs-e1">`0054 09B`</span><span className="hbs-nr">00040</span> | Edition 2009 - B | — | X | — |
| <span className="hbs-f hbs-e1">`0051 UN`</span><span className="hbs-nr">00050</span> | UN/CEFACT | — | X | — |
| <span className="hbs-f hbs-e1">`0057 1.4c`</span><span className="hbs-nr">00060</span> | Version number of the underlying BDEW message description | — | X | — |
| <span className="hbs-g hbs-e0">**BGM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1001 Z29`</span><span className="hbs-nr">00070</span> | Billing of metering point operation from the MSB to the LF | — | X | — |
| <span className="hbs-f hbs-e1">`1004`</span><span className="hbs-nr">00080</span> | Document number | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 137`</span><span className="hbs-nr">00090</span> | Document-/message date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00100</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[931]</span> <span className="hbs-marke">[494]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00110</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 203`</span><span className="hbs-nr">00120</span> | Execution date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00130</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB1]</span> ∧ <span className="hbs-marke">[518]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00140</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**IMD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`7081 Z02`</span><span className="hbs-nr">00150</span> | End of subscription | — | X | — |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 Z13`</span><span className="hbs-nr">00160</span> | Check identifier | — | X | — |
| <span className="hbs-f hbs-e1">`1154 17006`</span><span className="hbs-nr">00170</span> | Termination of invoice processing MSB via LF | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 MS`</span><span className="hbs-nr">00180</span> | Document-/message sender or sender | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00190</span> | MP-ID | — | X | <span className="hbs-marke">[61]</span> |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00200</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00210</span> | DE, BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.) | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 MR`</span><span className="hbs-nr">00220</span> | Message recipient | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00230</span> | MP-ID | — | X | <span className="hbs-marke">[61]</span> |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00240</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00250</span> | DE, BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.) | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 DP`</span><span className="hbs-nr">00260</span> | Supply address | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.LOC**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3227 172`</span><span className="hbs-nr">00270</span> | Reporting point | — | X | — |
| <span className="hbs-f hbs-e1">`3225`</span><span className="hbs-nr">00280</span> | Identifier | — | X | <span className="hbs-marke">[950]</span> <span className="hbs-marke">[521]</span> |
| <span className="hbs-g hbs-e0">**SG29.LIN**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1082`</span><span className="hbs-nr">00290</span> | Line item number | — | X | <span className="hbs-marke">[903]</span> |
| <span className="hbs-g hbs-e0">**SG29.IMD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`7081 Z61`</span><span className="hbs-nr">00300</span> | Direct contract MSB - AN | — | X | — |
| <span className="hbs-f hbs-e1">`7081 Z62`</span><span className="hbs-nr">00310</span> | Direct contract MSB - ANN | — | X | — |
| <span className="hbs-f hbs-e1">`7081 Z63`</span><span className="hbs-nr">00320</span> | Change in the location bundle | — | X | — |
| <span className="hbs-g hbs-e0">**UNS**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0081 S`</span><span className="hbs-nr">00330</span> | Separation of detail and summary section | — | X | — |
| <span className="hbs-g hbs-e0">**UNT**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0074`</span><span className="hbs-nr">00340</span> | Number of segments in a message | — | X | — |
| <span className="hbs-f hbs-e1">`0062`</span><span className="hbs-nr">00350</span> | Message reference number | — | X | — |

</div>

</Handbuchsatz>

### Conditions of this table

The free text of the 8 conditions referenced by the rows above. All conditions of the message type are listed in the [condition index ORDERS](/en/referenz/202610/ahb-bedingungen/ORDERS).

<div className="maco-tabellenrahmen">

| Marker | Condition |
|---|---|
| **[61]** | MP-ID only from division electricity |
| **[494]** | The date stated here must be the point in time at which the document was created, or a point in time before that. |
| **[518]** | Note: For subscription start and subscription end respectively, the specified execution date determines from when or until when (inclusive) the subscription is to run. |
| **[521]** | Note: Use of the ID of the market location |
| **[903]** | Format: Possible value: 1 |
| **[931]** | Format: ZZZ = +00 |
| **[950]** | Format: market location ID |
| **[UB1]** | ([931] ∧ [932] [490]) ⊻ ([931] ∧ [933] [491]) |

</div>

## Example message

<div data-maco="beispielfall" className="maco-beispielfall">

<Beispielnachricht>

```text title="EDIFACT"
UNA:+.? '
UNB+UNOC:3+9903111000003:500+9904629000006:500+{{date}}:{{time}}+LZX9TCGL'
UNH+M06DSCB1+ORDERS:D:09B:UN:1.4c'
BGM+Z29+M0S9VUBM'
DTM+137:202610011100?+00:303'
DTM+203:202603282300?+00:303'
IMD++Z02'
RFF+Z13:17006'
NAD+MS+9903111000003::293'
NAD+MR+9904629000006::293'
NAD+DP'
LOC+172+55123678945'
UNS+S'
UNT+12+M06DSCB1'
UNZ+1+LZX9TCGL'
```

```json title="BO4E-JSON"
[
  {
    "businessKey": "<businessKey>",
    "processDate": null,
    "dataSource": "OUTBOUND",
    "version": 1,
    "edifactVersion": 202610,
    "data": {
      "stammdaten": {
        "ANFRAGE": [
          {
            "boTyp": "ANFRAGE",
            "versionStruktur": "1",
            "anfragekategorie": "ABRECHNUNG_MESSSTELLENBETRIEB_MSB_AN_LF",
            "abonnement": "ENDE_ABO",
            "lokationsId": "55123678945",
            "lokationsTyp": "MALO"
          }
        ],
        "AUFTRAG": [
          {
            "boTyp": "AUFTRAG",
            "versionStruktur": "1",
            "ausfuehrungsdatum": "2026-03-28T23:00:00Z"
          }
        ]
      },
      "transaktionsdaten": {
        "datenaustauschreferenz": "LZX9TCGL",
        "sparte": "STROM",
        "pruefidentifikator": "17006",
        "absender": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "marktrolle": "LF",
          "rollencodenummer": "9903111000003",
          "rollencodetyp": "BDEW"
        },
        "empfaenger": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "marktrolle": "MSB",
          "rollencodenummer": "9904629000006",
          "rollencodetyp": "BDEW"
        },
        "dokumentennummer": "M0S9VUBM",
        "nachrichtendatum": "2026-10-01T11:00:00Z",
        "nachrichtenreferenznummer": "M06DSCB1"
      },
      "zusatzdaten": {}
    }
  }
]
```

</Beispielnachricht>

*Source: [`1.edi`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/inbound/v202610/orders/17006/1.edi) · [`1.json`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/outbound/v202610/orders/17006/1.json)*

<Testdateien edi="/testdaten/202610/orders/17006/1.edi" json="/testdaten/202610/orders/17006/1.json" />

</div>

## Belongs to these role views

The check identifier itself carries no market role. This assignment is derived back from the role views in whose process steps it occurs — affected are **LF** and **MSB**.

<div className="maco-tabellenrahmen">

| Role | Party involved | Process | Rulebook | Division | Step |
|---|---|---|---|---|---|
| LF | LF | [Termination of invoicing for metering point operation via the LF by the LF](/en/prozessdoku/202610/LF/WiM-Teil1-beendigung-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-lf) | WiM electricity part 1 | Electricity | Step 1 |
| LF | LF | [Termination of invoicing for metering point operation via the LF by the MSB](/en/prozessdoku/202610/LF/WiM-Teil1-beendigung-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-msb) | WiM electricity part 1 | Electricity | Step 1 |
| MSB | MSB-MALO | [Termination of invoicing for metering point operation via the LF by the LF](/en/prozessdoku/202610/MSB/WiM-Teil1-beendigung-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-lf) | WiM electricity part 1 | Electricity | Step 1 |
| MSB | MSB-MALO | [Termination of invoicing for metering point operation via the LF by the MSB](/en/prozessdoku/202610/MSB/WiM-Teil1-beendigung-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-msb) | WiM electricity part 1 | Electricity | Step 1 |

</div>

## Business classification

<div className="maco-tabellenrahmen">

| Attribute | Value |
|---|---|
| Use case (AHB) | Termination of invoice processing MSB via LF |
| AHB | ORDERS AHB |
| Transmission channel | AS4 |

</div>

:::caution{title="This check identifier is used in 2 contexts"}

Regulatory determination and communication direction depend on the process in which the message is sent. A single entry would be misleading — all placements are therefore listed here.

:::

<div className="maco-tabellenrahmen">

| Process description / rulebook | Process step | Communication | Action |
|---|---|---|---|
| WiM electricity part 1 | Termination of invoice processing for metering point operation via the LF by the MSB | MSB (corresponds to MSB on the object market location) → LF | Termination of invoice processing for metering point operation via the LF |
| WiM electricity part 1 | Termination of invoice processing for metering point operation via the LF by the LF | LF → MSB (corresponds to MSB on the market location object) | Termination of invoice processing for metering point operation via the LF |

</div>

## Transaction and responses

**Role of this check identifier: request.** Basis: the transaction data carry neither `antwortstatus` nor `antwortstatusCodeliste`, and neither the title nor the action of the Prüfi table begins with “response” or “response message”.

### Which messages respond to this

<div className="maco-tabellenrahmen">

| Role | Check identifier | Use case | Message type | Origin of supply |
|---|---|---|---|---|
| Response | [19009](/schnittstellen/202610/pruefi/ORDRSP/PI_19009) | Confirmation of termination of invoice processing MSB | ORDRSP | from the step sequence |
| Response | [19010](/schnittstellen/202610/pruefi/ORDRSP/PI_19010) | Rejection termination of invoice processing MSB | ORDRSP | from the step sequence |

</div>

This column is the **inverse** of the assignment on the response pages — not the next step of a list. The process source says of its own steps that they are »possible messages, not a sequence«.

**Check identifiers of the same AHB table:** No other check identifier of message type ORDERS has the same row structure in this version.

<Hinweisbereich>

An **\*** after a field or group name marks a **mandatory field** or a mandatory group. The type is beside it; where the value ends up in the EDIFACT segment is shown by the info icon next to the field name.

The status column carries two vocabularies because the manual answers two questions: on a **group row**, *Muss*, *Soll* or *Kann* states whether the EDIFACT segment must be present; on a **field row**, *X* states that this qualifier is used in this check identifier. Both are kept exactly as the source records them.

For this check identifier, the application handbook lists **49 rows**. They appear in the order of the handbook, indented by segment: a row without a data element opens a segment, the rows below it are its data elements.

The **Condition** column names the markers under which the handbook ties a row to a prerequisite; their free text is below the table.

The test data contains one transaction for this check identifier under the message type `orders`. Each is stored twice — as a EDIFACT message and as a BO4E JSON. That both representations show the same transaction has been recalculated, not assumed: interchange control reference, message reference number, document number, message date, sender and recipient match in all 517 pairs of the format version; check identifier, transaction number and location ID wherever both representations carry them. Not a single attribute contradicts.

:::note{title="Placeholder from the test data set"}

The test data set carries placeholders instead of valid values: `{{date}}` and `{{time}}` in the UNB interchange envelope of every EDIFACT file. **The page replaces these on call with the current date and the current time** — in the format that applies at the respective position: in the envelope year, month and day as well as hour and minute, two digits each.

`<businessKey>` stays in place. It is not a time value, and an invented key would look like a valid one.

:::

</Hinweisbereich>
