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

Marktrolle **LF** · Formatversion **202604** · BO4E-Schema **1.7.8**

## Master data

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

| Prüfi | Scope | Use case | Regulatory determination | Communication |
|---|---|---|---|---|
| [PI_44004](/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44004) | UTILMD_GAS | Deregistration NN | GeLi Gas 2.0 | LF → NB |
| [PI_55004](/schnittstellen/202604/pruefi/UTILMD/PI_55004) | UTILMD | Deregistration | GPKE part 2 | LF → NB |

The master data of the 2 check identifiers 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="Abmeldung NN">44004</span> | <span className="hbs-p" title="Abmeldung">55004</span> | Condition |
|---|---|---|---|---|---|
| <span className="hbs-g hbs-e0">**stammdaten**</span> | — | object | May | May | — |
| <span className="hbs-g hbs-e1">**MARKTLOKATION** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | May | — |
| <span className="hbs-f hbs-e2">[marktlokationsId](/en/bo4e/202604/bo/Marktlokation#marktlokationsid) <span className="hbs-pflicht">\*</span></span><span className="hbs-nr">00010</span> | Identification number of a market location at which energy is either<br/>consumed or generated | string | Must | May | — |
| <span className="hbs-g hbs-e2">**marktlokationsTyp** <span className="hbs-liste">[ ]</span></span> | — | object[] | — | May | — |
| <span className="hbs-f hbs-e3">[typ](/en/bo4e/202604/com/MarktlokationsTypisierung#typ)</span><span className="hbs-nr">00020</span> | Typing of the market location as standard market location, dormant market location or customer installation | [Enum MarktlokationsTyp](/en/bo4e/202604/enum/MarktlokationsTyp) | — | May | — |
| <span className="hbs-w hbs-e4">`STANDARD_MARKTLOKATION`</span> | — | — | — | May | — |
| <span className="hbs-w hbs-e4">`RUHENDE_MARKTLOKATION`</span> | — | — | — | May | — |
| <span className="hbs-w hbs-e4">`KUNDENANLAGE`</span> | — | — | — | May | — |
| <span className="hbs-g hbs-e1">**NETZNUTZUNGSVERTRAG** <span className="hbs-liste">[ ]</span></span> | — | object[] | May | May | — |
| <span className="hbs-f hbs-e2">[vertragsbeginn](/en/bo4e/202604/bo/Vertrag#vertragsbeginn)</span><span className="hbs-nr">00030</span> | Specifies when the contract begins. | string (date-time) | May | May | — |
| <span className="hbs-f hbs-e2">[vertragsende](/en/bo4e/202604/bo/Vertrag#vertragsende)</span><span className="hbs-nr">00040</span> | Specifies when the contract (is expected to) end or was ended. | string (date-time) | May | May | — |
| <span className="hbs-g hbs-e1">**TRANCHE** <span className="hbs-liste">[ ]</span></span> | — | object[] | — | May | — |
| <span className="hbs-f hbs-e2">[tranchenId](/en/bo4e/202604/bo/Tranche#tranchenid)</span><span className="hbs-nr">00050</span> | tranchenId | string | — | May | — |

</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 |
|---|---|---|
| [44004](/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44004) | [44005](/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44005), [44006](/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44006) | `POST /updateProcessData` |
| [55004](/schnittstellen/202604/pruefi/UTILMD/PI_55004) | [55005](/schnittstellen/202604/pruefi/UTILMD/PI_55005) | `POST /updateProcessData` |

This event triggers steps in these role views:

| Process | Party involved | Rulebook | Division |
|---|---|---|---|
| [End of supply from LF to NB](/en/prozessdoku/202604/LF/GPKE-Teil2-lieferende-von-lf-an-nb) | LF | GPKE part 2 | Electricity |
| [End of supply from LF to NB](/en/prozessdoku/202604/LF/geli-gas-2-0-lieferende-von-lf-an-nb) | LF | GeLi Gas 2.0 | Gas |

## Transaction data

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

| Field | Type | Mandatory | Description |
|---|---|---|---|
| [freitext](/en/bo4e/202604/cdoc/Transaktionsdaten#freitext) | string | **yes** | Free text / FTX+ACB |
| [kategorie](/en/bo4e/202604/cdoc/Transaktionsdaten#kategorie) | string | **yes** | Qualifier from the beginning of the EDIFACT message / BGM |
| [sparte](/en/bo4e/202604/cdoc/Transaktionsdaten#sparte) | [Enum Sparte](/en/bo4e/202604/enum/Sparte) | **yes** | Contains information about the division Values: `STROM`, `GAS`, `FERNWAERME`, `NAHWAERME`, `WASSER`, `ABWASSER` |
| [transaktionsgrund](/en/bo4e/202604/cdoc/Transaktionsdaten#transaktionsgrund) | string | **yes** | The transaction reason describes the business transaction for the category in more detail / UTILMD STS+7++###+ZW4+E03 |
| [transaktionsgrundergaenzung](/en/bo4e/202604/cdoc/Transaktionsdaten#transaktionsgrundergaenzung) | string | **yes** | Supplement to the transaction reason / UTILMD STS+7++E01+###+E03 |
| `pruefidentifikator` | — | no | Determined dynamically in the event process (decision basis: sparte). A value supplied by the sender is ignored. Check identifiers possible in the topic — 44004, 55004. Possible values: `44004`, `55004` |
| [absender › rollencodenummer](/en/bo4e/202604/bo/Marktteilnehmer#rollencodenummer) | string | no | Specifies the code value of the market role. |
| [empfaenger › marktrolle](/en/bo4e/202604/bo/Marktteilnehmer#marktrolle) | [Enum Marktrolle](/en/bo4e/202604/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/202604/bo/Marktteilnehmer#rollencodenummer) | string | no | Specifies the code value of the market role. |

## Additional data

`eventname` is fixed to **START_LIEFERENDE**. 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_LIEFERENDE` | **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).
