# [MSB] START_GERAETEWECHSEL
<span hidden data-pagefind-meta={"title:Trigger event START_GERAETEWECHSEL — Market role MSB (FV 202610)"} />

Marktrolle **MSB** · Formatversion **202610** · BO4E-Schema **1.7.8**

## Master data

Exactly one of the following 1 check identifiers is permitted under this topic — which one is decided by the event process.

| Prüfi | Scope | Use case | Regulatory determination | Communication |
|---|---|---|---|---|
| [PI_17009](/schnittstellen/202610/pruefi/ORDERS/PI_17009) | ORDERS | Notification of device replacement intent | WiM electricity part 1 | MSB (corresponds to MSBN on the object metering location) → MSB (corresponds to MSBA on the object metering location) |

The master data of the 1 check identifier in **one** structure — one column per check identifier, as in the application handbook. A value in the column means that the field belongs to this check identifier: **Must** where its specification requires it, otherwise **May**. An empty cell means »not part of it«, not »unknown«. The first one is preselected; the bar above the table adds the others.

<Handbuchsatz>

<div className="maco-tabellenrahmen">

| Structure (BO4E) | Description | Format | <span className="hbs-p" title="Anzeige Gerätewechselabsicht">17009</span> | Condition |
|---|---|---|---|---|
| <span className="hbs-g hbs-e0">**stammdaten**</span> | — | object | May | — |
| <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">[anfragetyp](/en/bo4e/202610/bo/Anfrage#anfragetyp) <span className="hbs-pflicht">\*</span></span><span className="hbs-nr">00010</span> | Type/kind of the request (ORDERS ORDRSP IMD 7081) | [Enum Anfragetyp](/en/bo4e/202610/enum/Anfragetyp) | Must | — |
| <span className="hbs-w hbs-e3">`KAUF`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`NUTZUNGSUEBERLASSUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ABRECHNUNGSBRENNWERT_UND_ZUSTANDSZAHL`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`LASTGANGDATEN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ZAEHLERSTAENDE`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`WERTEERMITTLUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ENERGIEMENGE_EINZELWERT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`INNERHALB_DER_ARBEITSZEIT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`AUCH_AUSSERHALB_DER_ARBEITSZEIT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`WECHSEL_SAEMTLICHER_EINRICHTUNGEN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`TEILWEISER_WECHSEL`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`AENDERUNG_ZAEHLZEITDEFINITION`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ABBESTELLUNG_ZAEHLZEITEN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ABBESTELLUNG_MESSPRODUKT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ANGEBOT_AUF_BASIS_PREISBLATT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`INDIVIDUELLES_ANGEBOT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`AENDERUNG_KONFIGURATION`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`KANN_NICHT_ANGEBOTEN_WERDEN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`NEUKONFIGURATION`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`BEENDIGUNG_KONFIGURATION`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`AKTIVIERUNG_KONFIGURATION`</span> | — | — | Must | — |
| <span className="hbs-f hbs-e2">[lokationsId](/en/bo4e/202610/bo/Anfrage#lokationsid) <span className="hbs-pflicht">\*</span></span><span className="hbs-nr">00020</span> | Which market or metering location this request applies to. | string | Must | — |
| <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><span className="hbs-nr">00030</span> | The execution date describes at which point in time an order is to be executed. | string (date-time) | Must | — |
| <span className="hbs-g hbs-e1">**ZAEHLER** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-g hbs-e2">**geraete** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e3">[geraetenummer](/en/bo4e/202610/com/Geraet#geraetenummer) <span className="hbs-pflicht">\*</span></span><span className="hbs-nr">00040</span> | The number printed on the device, which is assigned by the MSB. | string | Must | — |
| <span className="hbs-f hbs-e3">[weitereGeraetenummern](/en/bo4e/202610/com/Geraet#weiteregeraetenummern)</span><span className="hbs-nr">00050</span> | weitereGeraetenummern | array | May | — |
| <span className="hbs-g hbs-e3">**geraeteeigenschaften** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e4">[geraetetyp](/en/bo4e/202610/com/Geraeteeigenschaften#geraetetyp) <span className="hbs-pflicht">\*</span></span><span className="hbs-nr">00060</span> | List of possible billable device types | [Enum Geraetetyp](/en/bo4e/202610/enum/Geraetetyp) | Must | — |
| <span className="hbs-w hbs-e5">`WECHSELSTROMZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`DREHSTROMZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`ZWEIRICHTUNGSZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`RLM_ZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`IMS_ZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`BALGENGASZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MAXIMUMZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MULTIPLEXANLAGE`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`PAUSCHALANLAGE`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`VERSTAERKERANLAGE`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`SUMMATIONSGERAET`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`IMPULSGEBER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`EDL_21_ZAEHLERAUFSATZ`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`VIER_QUADRANTEN_LASTGANGZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MENGENUMWERTER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`STROMWANDLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`SPANNUNGSWANDLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`DATENLOGGER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`KOMMUNIKATIONSANSCHLUSS`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MODEM`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TELEKOMMUNIKATIONSEINRICHTUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`KOMMUNIKATIONSEINRICHTUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`DREHKOLBENGASZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TURBINENRADGASZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`ULTRASCHALLZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`WIRBELGASZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MODERNE_MESSEINRICHTUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`ELEKTRONISCHER_HAUSHALTSZAEHLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`STEUEREINRICHTUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TECHNISCHESTEUEREINRICHTUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TARIFSCHALTGERAET`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`RUNDSTEUEREMPFAENGER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`OPTIONALE_ZUS_ZAEHLEINRICHTUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MESSWANDLERSATZ_IMS_MME`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`KOMBIMESSWANDLER_IMS_MME`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TARIFSCHALTGERAET_IMS_MME`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`RUNDSTEUEREMPFAENGER_IMS_MME`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TEMPERATUR_KOMPENSATION`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`HOECHSTBELASTUNGS_ANZEIGER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`SONSTIGES_GERAET`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`SMARTMETERGATEWAY`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`STEUERBOX`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`BLOCKSTROMWANDLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`KOMBIMESSWANDLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MODEM_GSM`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`ETHERNET_KOM`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`PLC_COM`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MODEM_FESTNETZ`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`DSL_KOM`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`LTE_KOM`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`DICHTEMENGENUMWERTER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`TEMPERATURMENGENUMWERTER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`ZUSTANDSMENGENUMWERTER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`MESSDATENREGISTRIERGERAET`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`WANDLER`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e5">`BEFESTIGUNGSEINRICHTUNG`</span> | — | — | Must | — |

</div>

</Handbuchsatz>

## Chain of this trigger

The event triggers the message. The market partner responds with one of the responses listed, and after that the MACO APP writes the transaction to your backend system.

| Message | Responses | Write call after the response |
|---|---|---|
| [17009](/schnittstellen/202610/pruefi/ORDERS/PI_17009) | [19015](/schnittstellen/202610/pruefi/ORDRSP/PI_19015), [19016](/schnittstellen/202610/pruefi/ORDRSP/PI_19016) | `AKTUALISIEREN_PROZESSDATEN_BASIS` |

This event triggers steps in these role views:

| Process | Party involved | Rulebook | Division |
|---|---|---|---|
| [Device replacement](/en/prozessdoku/202610/MSB--MSBN/awh-wim-gas-2-0-geratewechsel) | MSBN | AWH WiM gas 2.0 | Gas |
| [Device replacement](/en/prozessdoku/202610/MSB--MSBN/WiM-Teil1-geraetewechsel) | MSBN | WiM electricity part 1 | Electricity |

## Transaction data

The interchange envelope of the message. Mandatory fields must be set on the trigger call.

| Field | Type | Mandatory | Description |
|---|---|---|---|
| [kategorie](/en/bo4e/202610/cdoc/Transaktionsdaten#kategorie) | string | **yes** | Qualifier from the beginning of the EDIFACT message / BGM |
| [sparte](/en/bo4e/202610/cdoc/Transaktionsdaten#sparte) | [Enum Sparte](/en/bo4e/202610/enum/Sparte) | **yes** | Contains information about the division Values: `STROM`, `GAS`, `FERNWAERME`, `NAHWAERME`, `WASSER`, `ABWASSER` |
| `pruefidentifikator` | — | no | Determined dynamically in the event process. A value supplied by the sender is ignored. Prüfis possible in the topic — 17009. Possible values: `17009` |
| [absender › marktrolle](/en/bo4e/202610/bo/Marktteilnehmer#marktrolle) | [Enum Marktrolle](/en/bo4e/202610/enum/Marktrolle) | no | Specifies the designation of the market role as free text. Values: `NB`, `LF`, `MSB`, `MSBA`, `GMSB`, `MDL`, `DL`, `BKV`, `UENB`, `KUNDE-SELBST-NN` … (+9) |
| [absender › rollencodenummer](/en/bo4e/202610/bo/Marktteilnehmer#rollencodenummer) | string | no | Specifies the code value of the market role. |
| [empfaenger › marktrolle](/en/bo4e/202610/bo/Marktteilnehmer#marktrolle) | [Enum Marktrolle](/en/bo4e/202610/enum/Marktrolle) | no | Specifies the designation of the market role as free text. Values: `NB`, `LF`, `MSB`, `MSBA`, `GMSB`, `MDL`, `DL`, `BKV`, `UENB`, `KUNDE-SELBST-NN` … (+9) |
| [empfaenger › rollencodenummer](/en/bo4e/202610/bo/Marktteilnehmer#rollencodenummer) | string | no | Specifies the code value of the market role. |

## Additional data

`eventname` is fixed to **START_GERAETEWECHSEL**. This value stays German in the English version as well, because Camunda correlates on it.

| Field | Type | Mandatory | Description |
|---|---|---|---|
| `prozessId` | string | **yes** | — |
| `eventname` | const `START_GERAETEWECHSEL` | **yes** | — |

## Response

**The trigger assigns its own `businessKey`.** The MACO APP adopts **neither** the `businessKey` **nor** the `prozessId` of the calling system as the identifier of the process instance. The `businessKey` of the response is created when the process starts and is new. The body of this call carries no `businessKey` field; there is thus no place where a key of your own could be passed in. The `prozessId` passed in (a mandatory field of this call) remains the document number of the backend: it comes back in `zusatzdaten.prozessId` of the callbacks — mandatory there only for MaloIdent (03002/03003), otherwise optional.

**201 — Success.** Success message for the process data API call.

| Field | Type | Mandatory | Description |
|---|---|---|---|
| `businessKey` | string (uuid) | **yes** | Unique identifier of the business process |
| `message` | string | **yes** | Message with details of the triggered event — example from the source: `received event XXXXXXXXXXXX with id at 2024-08-08T12:58:22Z and started process with businessKey 4c7170ed-3518-41ee-8582-39ab65b00107` |

**400 — Error.** Error message for the process data API call.

| Field | Type | Mandatory | Description |
|---|---|---|---|
| `errorCode` | string | no | Error identifier — example from the source: `400` |
| `message` | string | no | Technical message — example from the source: `Validation Failed` |

Which body the callbacks `updateProcessData` and `createProcessData` send is measured against the NiFi flow of the MACO APP: `{stammdaten, transaktionsdaten, zusatzdaten}` without an interchange envelope, the `businessKey` inside `zusatzdaten`. This is not measured against a recorded call, and not for MaloIdent (03002/03003).

What distinguishes `businessKey`, `prozessId` and `targetBusinessKey` is explained on [Keys and assignment](/en/schnittstellen/schluessel).
