# Check identifier 17005 — Order placement invoice processing MSB via LF

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

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

## Data structure

<Handbuchsatz>

<div className="maco-tabellenrahmen">

| Structure (BO4E) | Description | Format | <span className="hbs-p" title="Bestellung Rechnungsabwicklung MSB über LF">17005</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="17005" format="ORDERS" fv="202610" zeile={18} segment="IMD++Z01" /><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="17005" format="ORDERS" fv="202610" zeile={39} 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="17005" 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-e0">**transaktionsdaten** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e1">[angebotsnummer](/en/bo4e/202610/cdoc/Transaktionsdaten#angebotsnummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17005" format="ORDERS" fv="202610" zeile={21} segment="SG1.RFF+AAG" /><span className="hbs-nr">00040</span> | Quotation number / RFF+AAG | string | X | — |
| <span className="hbs-f hbs-e1">[dokumentennummer](/en/bo4e/202610/cdoc/Transaktionsdaten#dokumentennummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="17005" 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="17005" 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="17005" 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="17005" format="ORDERS" fv="202610" zeile={24} 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="17005" format="ORDERS" fv="202610" zeile={27} 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="17005" format="ORDERS" fv="202610" zeile={27} 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="17005" format="ORDERS" fv="202610" zeile={32} 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="17005" format="ORDERS" fv="202610" zeile={32} 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="Bestellung Rechnungsabwicklung MSB über LF">17005</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 Z01`</span><span className="hbs-nr">00150</span> | Subscription start | — | X | — |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 AAG`</span><span className="hbs-nr">00160</span> | Quotation number | — | X | — |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00170</span> | Message number | — | X | <span className="hbs-marke">[532]</span> |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 Z13`</span><span className="hbs-nr">00180</span> | Check identifier | — | X | — |
| <span className="hbs-f hbs-e1">`1154 17005`</span><span className="hbs-nr">00190</span> | Order placement for 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">00200</span> | Document-/message sender or sender | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00210</span> | MP-ID | — | X | <span className="hbs-marke">[61]</span> |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00220</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00230</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">00240</span> | Message recipient | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00250</span> | MP-ID | — | X | <span className="hbs-marke">[61]</span> |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00260</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00270</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">00280</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">00290</span> | Reporting point | — | X | — |
| <span className="hbs-f hbs-e1">`3225`</span><span className="hbs-nr">00300</span> | Identifier | — | X | <span className="hbs-marke">[950]</span> <span className="hbs-marke">[521]</span> |
| <span className="hbs-g hbs-e0">**UNS**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0081 S`</span><span className="hbs-nr">00310</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">00320</span> | Number of segments in a message | — | X | — |
| <span className="hbs-f hbs-e1">`0062`</span><span className="hbs-nr">00330</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 |
| **[532]** | Note: Value from BGM+Z29 DE1004 of the QUOTES with which the quotation for the billing of the metering point operation was made. |
| **[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+9903692000001:500+9904733000009:500+{{date}}:{{time}}+M27ZKAJL'
UNH+UNHM2LDYGU8+ORDERS:D:09B:UN:1.4c'
BGM+Z29+BGMM32GNEP9'
DTM+137:202610011100?+00:303'
DTM+203:202610152200?+00:303'
IMD++Z01'
RFF+AAG:UNHM2LD5555'
RFF+Z13:17005'
NAD+MS+9903692000001::293'
NAD+MR+9904733000009::293'
NAD+DP'
LOC+172+52345678901'
UNS+S'
UNT+13+UNHM2LDYGU8'
UNZ+1+M27ZKAJL'
```

```json title="BO4E-JSON"
[
  {
    "businessKey": "<businessKey>",
    "processDate": null,
    "dataSource": "OUTBOUND",
    "version": 1,
    "edifactVersion": 202610,
    "data": {
      "stammdaten": {
        "ANFRAGE": [
          {
            "boTyp": "ANFRAGE",
            "versionStruktur": "1",
            "lokationsId": "52345678901",
            "lokationsTyp": "MALO",
            "anfragekategorie": "ABRECHNUNG_MESSSTELLENBETRIEB_MSB_AN_LF",
            "abonnement": "START_ABO"
          }
        ],
        "AUFTRAG": [
          {
            "boTyp": "AUFTRAG",
            "versionStruktur": "1",
            "ausfuehrungsdatum": "2026-10-15T22:00:00Z"
          }
        ]
      },
      "transaktionsdaten": {
        "datenaustauschreferenz": "M27ZKAJL",
        "sparte": "STROM",
        "pruefidentifikator": "17005",
        "absender": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "rollencodenummer": "9903692000001",
          "rollencodetyp": "BDEW"
        },
        "empfaenger": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "rollencodenummer": "9904733000009",
          "rollencodetyp": "BDEW"
        },
        "dokumentennummer": "BGMM32GNEP9",
        "nachrichtendatum": "2026-10-01T11:00:00Z",
        "nachrichtenreferenznummer": "UNHM2LDYGU8",
        "angebotsnummer": "UNHM2LD5555"
      },
      "zusatzdaten": {}
    }
  }
]
```

</Beispielnachricht>

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

<Testdateien edi="/testdaten/202610/orders/17005/1.edi" json="/testdaten/202610/orders/17005/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 | [Request for invoice processing of the metering point operation via the LF by the LF](/en/prozessdoku/202610/LF/WiM-Teil1-anfrage-zur-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-lf) | WiM electricity part 1 | Electricity | Step 3 |
| LF | LF | [Quotation for invoice processing of the metering point operation via the LF by the MSB](/en/prozessdoku/202610/LF/WiM-Teil1-angebot-zur-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-msb) | WiM electricity part 1 | Electricity | Step 2 |
| MSB | MSB-MALO | [Request for invoice processing of the metering point operation via the LF by the LF](/en/prozessdoku/202610/MSB/WiM-Teil1-anfrage-zur-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-lf) | WiM electricity part 1 | Electricity | Step 3 |
| MSB | MSB-MALO | [Quotation for invoice processing of the metering point operation via the LF by the MSB](/en/prozessdoku/202610/MSB/WiM-Teil1-angebot-zur-rechnungsabwicklung-des-messstellenbetriebes-ueber-den-lf-durch-den-msb) | WiM electricity part 1 | Electricity | Step 2 |

</div>

## Business classification

<div className="maco-tabellenrahmen">

| Attribute | Value |
|---|---|
| Use case (AHB) | Order placement for 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 | Quotation for invoice processing of metering point operation via the LF by the MSB | LF → MSB (corresponds to MSB on the market location object) | Response to the quotation |
| WiM electricity part 1 | Request for invoice processing of metering point operation via the LF by the LF | LF → MSB (corresponds to MSB on the market location object) | Response quotation |

</div>

## Transaction and responses

**Role of this check identifier: response.** Basis: the title or the action of the Prüfi table begins with “response”. The title names **no** polarity — whether this message confirms or rejects is decided by the response code, not by the check identifier.

### Which request this message responds to

<div className="maco-tabellenrahmen">

| Role | Check identifier | Use case | Message type | Origin of supply |
|---|---|---|---|---|
| Request | [21033](/schnittstellen/202610/pruefi/IFTSTA/PI_21033) | Rejection of the request | IFTSTA | from the step sequence |

</div>

**Reference field:** This message carries none of the fields with which a response cites its request (`anfragereferenznummer`, `auftragsReferenz`, `vorgangsreferenznummer`, `anfrageReferenz`). The reference is therefore not in the data of this message: which message is meant follows only from the process, not from the message itself.

**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 **46 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>
