# ECS_LIEFERBEGINN: supplier switch within 24 hours

<Kopf rolle="LF" beteiligter="LF" festlegung="ECS" dokument="Steuerprozesse nach Kundenanforderung" kapitel="" sparte="Strom und Gas" schritte={6} suchtitel="ECS_LIEFERBEGINN: supplier switch within 24 hours — market role LF · control processes built to customer requirements (FV 202604)" abschnitte={[{"id": "abschnitt-ablauf", "label": "Process flow"}, {"id": "abschnitt-schritte", "label": "Process steps"}, {"id": "abschnitt-informationen", "label": "Process information"}]} />

<Kurzfassung>

With a single trigger event, the supplier's backend initiates the entire supplier switch (LW24: supplier switch within 24 hours). For electricity, the MACO APP first determines the market location where necessary, then terminates the contract with the previous supplier if one is named, and finally registers the supply with the grid operator. Each of these steps runs as a separate standard process of the MACO APP; ECS_LIEFERBEGINN waits for its response and decides how to proceed.

</Kurzfassung>

:::note{title="Control process built to customer requirements"}

`ECS_LIEFERBEGINN` combines three standard processes of the MACO APP in one flow: MaloIdent, contract termination and registration. This page describes the process model as of 21.10.2026. The message structure of the trigger is shown on the [event page ECS_LIEFERBEGINN](/en/schnittstellen/202604/trigger/events/LF-ECS_LIEFERBEGINN); you can try it out in the [trigger catalogue](/en/api/202604/ausloeser-lf/ecs-lieferbeginn).

:::

<a id="abschnitt-ablauf"></a>

## Process flow from the perspective of the LF

<Systembild svg={"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1004 672\" width=\"1004\" height=\"672\" role=\"img\" aria-labelledby=\"sb-title\" class=\"maco-systembild\">\n<title id=\"sb-title\">System diagram: ECS_LIEFERBEGINN — view of LF</title>\n<defs><marker id=\"sb-arrow\" viewBox=\"0 0 14 14\" refX=\"13\" refY=\"7\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0 L14 7 L0 14 z\" fill=\"var(--prn-label-2, #424245)\"/></marker></defs>\n<rect class=\"sb-lane-kopf\" x=\"16\" y=\"12\" width=\"232\" height=\"46\" rx=\"10\" fill=\"var(--prn-bg-elevated, #f5f5f7)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"132\" y=\"40\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"var(--prn-label, #1d1d1f)\">Customer backend system</text>\n<rect class=\"sb-lane-kopf\" x=\"398\" y=\"12\" width=\"264\" height=\"46\" rx=\"10\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"40\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"600\" fill=\"var(--prn-label, #1d1d1f)\">MACO APP · LF</text>\n<rect class=\"sb-lane-kopf\" x=\"812\" y=\"12\" width=\"176\" height=\"46\" rx=\"10\" fill=\"var(--prn-bg-elevated, #f5f5f7)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"900\" y=\"40\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"var(--prn-label, #1d1d1f)\">Market partner</text>\n<line x1=\"323\" y1=\"58\" x2=\"323\" y2=\"660\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1\" stroke-dasharray=\"4 4\"/>\n<line x1=\"737\" y1=\"58\" x2=\"737\" y2=\"660\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1\" stroke-dasharray=\"4 4\"/>\n<rect class=\"sb-kasten sb-trigger\" x=\"432\" y=\"80\" width=\"196\" height=\"33\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"100\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">Process trigger received</text>\n<rect class=\"sb-kasten sb-backend sb-trigger\" x=\"34\" y=\"80\" width=\"196\" height=\"33\" rx=\"8\" fill=\"var(--prn-bg-elevated, #f5f5f7)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"132\" y=\"100\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">ECS_LIEFERBEGINN</text>\n<line x1=\"230\" y1=\"96\" x2=\"432\" y2=\"96\" stroke=\"var(--prn-blue, #0071e3)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"331\" y=\"88\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">API</text>\n<rect class=\"sb-kasten sb-ausgehend\" x=\"432\" y=\"144\" width=\"196\" height=\"48\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"164\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">1. Marktlokation</text>\n<text x=\"530\" y=\"179\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">identifizieren (nur Strom)</text>\n<line class=\"sb-fluss\" x1=\"530\" y1=\"113\" x2=\"530\" y2=\"144\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1.4\" marker-end=\"url(#sb-arrow)\"/>\n<g class=\"sb-akteur\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.4\" fill=\"none\"><circle cx=\"900\" cy=\"150\" r=\"5\"/><line x1=\"900\" y1=\"155\" x2=\"900\" y2=\"167\"/><line x1=\"893\" y1=\"159\" x2=\"907\" y2=\"159\"/><line x1=\"900\" y1=\"167\" x2=\"894\" y2=\"177\"/><line x1=\"900\" y1=\"167\" x2=\"906\" y2=\"177\"/></g>\n<text x=\"900\" y=\"199\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">NB</text>\n<line x1=\"628\" y1=\"168\" x2=\"878\" y2=\"168\" stroke=\"var(--prn-accent, #2f7d5c)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"753\" y=\"160\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">API</text>\n<text x=\"753\" y=\"184\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"var(--prn-label-2, #424245)\">03001</text>\n<rect class=\"sb-kasten sb-eingehend\" x=\"432\" y=\"227\" width=\"196\" height=\"48\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"247\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">2. Antwort auf die</text>\n<text x=\"530\" y=\"262\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">MaloIdent-Anfrage</text>\n<line class=\"sb-fluss\" x1=\"530\" y1=\"192\" x2=\"530\" y2=\"227\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1.4\" marker-end=\"url(#sb-arrow)\"/>\n<g class=\"sb-akteur\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.4\" fill=\"none\"><circle cx=\"900\" cy=\"233\" r=\"5\"/><line x1=\"900\" y1=\"238\" x2=\"900\" y2=\"250\"/><line x1=\"893\" y1=\"242\" x2=\"907\" y2=\"242\"/><line x1=\"900\" y1=\"250\" x2=\"894\" y2=\"260\"/><line x1=\"900\" y1=\"250\" x2=\"906\" y2=\"260\"/></g>\n<text x=\"900\" y=\"282\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">NB</text>\n<line x1=\"878\" y1=\"251\" x2=\"628\" y2=\"251\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"753\" y=\"243\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">API</text>\n<text x=\"753\" y=\"267\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"var(--prn-label-2, #424245)\">03002, 03003</text>\n<rect class=\"sb-kasten sb-ausgehend\" x=\"432\" y=\"310\" width=\"196\" height=\"63\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"330\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">3. Beim bisherigen</text>\n<text x=\"530\" y=\"345\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">Lieferanten kündigen (wenn</text>\n<text x=\"530\" y=\"360\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">angegeben)</text>\n<line class=\"sb-fluss\" x1=\"530\" y1=\"275\" x2=\"530\" y2=\"310\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1.4\" marker-end=\"url(#sb-arrow)\"/>\n<g class=\"sb-akteur\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.4\" fill=\"none\"><circle cx=\"900\" cy=\"323\" r=\"5\"/><line x1=\"900\" y1=\"328\" x2=\"900\" y2=\"340\"/><line x1=\"893\" y1=\"332\" x2=\"907\" y2=\"332\"/><line x1=\"900\" y1=\"340\" x2=\"894\" y2=\"350\"/><line x1=\"900\" y1=\"340\" x2=\"906\" y2=\"350\"/></g>\n<text x=\"900\" y=\"372\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">LFA</text>\n<line x1=\"628\" y1=\"341\" x2=\"878\" y2=\"341\" stroke=\"var(--prn-accent, #2f7d5c)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"753\" y=\"333\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">AS4</text>\n<text x=\"753\" y=\"357\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"var(--prn-label-2, #424245)\">55016, 44016</text>\n<rect class=\"sb-kasten sb-eingehend\" x=\"432\" y=\"399\" width=\"196\" height=\"33\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"419\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">4. Antwort auf die Kündigung</text>\n<line class=\"sb-fluss\" x1=\"530\" y1=\"373\" x2=\"530\" y2=\"399\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1.4\" marker-end=\"url(#sb-arrow)\"/>\n<g class=\"sb-akteur\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.4\" fill=\"none\"><circle cx=\"900\" cy=\"397\" r=\"5\"/><line x1=\"900\" y1=\"402\" x2=\"900\" y2=\"414\"/><line x1=\"893\" y1=\"406\" x2=\"907\" y2=\"406\"/><line x1=\"900\" y1=\"414\" x2=\"894\" y2=\"424\"/><line x1=\"900\" y1=\"414\" x2=\"906\" y2=\"424\"/></g>\n<text x=\"900\" y=\"446\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">LFA</text>\n<line x1=\"878\" y1=\"415\" x2=\"628\" y2=\"415\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"753\" y=\"407\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">AS4</text>\n<text x=\"753\" y=\"431\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"var(--prn-label-2, #424245)\">55017, 55018, 44017…</text>\n<rect class=\"sb-kasten sb-ausgehend\" x=\"432\" y=\"482\" width=\"196\" height=\"48\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"502\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">5. Beim Netzbetreiber</text>\n<text x=\"530\" y=\"517\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">anmelden</text>\n<line class=\"sb-fluss\" x1=\"530\" y1=\"432\" x2=\"530\" y2=\"482\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1.4\" marker-end=\"url(#sb-arrow)\"/>\n<g class=\"sb-akteur\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.4\" fill=\"none\"><circle cx=\"900\" cy=\"488\" r=\"5\"/><line x1=\"900\" y1=\"493\" x2=\"900\" y2=\"505\"/><line x1=\"893\" y1=\"497\" x2=\"907\" y2=\"497\"/><line x1=\"900\" y1=\"505\" x2=\"894\" y2=\"515\"/><line x1=\"900\" y1=\"505\" x2=\"906\" y2=\"515\"/></g>\n<text x=\"900\" y=\"537\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">NB</text>\n<line x1=\"628\" y1=\"506\" x2=\"878\" y2=\"506\" stroke=\"var(--prn-accent, #2f7d5c)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"753\" y=\"498\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">AS4</text>\n<text x=\"753\" y=\"522\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"var(--prn-label-2, #424245)\">55001, 55077, 44001</text>\n<rect class=\"sb-kasten sb-eingehend\" x=\"432\" y=\"565\" width=\"196\" height=\"48\" rx=\"8\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"530\" y=\"585\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">6. Antwort auf die</text>\n<text x=\"530\" y=\"600\" text-anchor=\"middle\" font-size=\"12\" fill=\"var(--prn-label, #1d1d1f)\">Anmeldung</text>\n<line class=\"sb-fluss\" x1=\"530\" y1=\"530\" x2=\"530\" y2=\"565\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1.4\" marker-end=\"url(#sb-arrow)\"/>\n<g class=\"sb-akteur\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.4\" fill=\"none\"><circle cx=\"900\" cy=\"571\" r=\"5\"/><line x1=\"900\" y1=\"576\" x2=\"900\" y2=\"588\"/><line x1=\"893\" y1=\"580\" x2=\"907\" y2=\"580\"/><line x1=\"900\" y1=\"588\" x2=\"894\" y2=\"598\"/><line x1=\"900\" y1=\"588\" x2=\"906\" y2=\"598\"/></g>\n<text x=\"900\" y=\"620\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">NB</text>\n<line x1=\"878\" y1=\"589\" x2=\"628\" y2=\"589\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.6\" stroke-dasharray=\"6 3\" marker-end=\"url(#sb-arrow)\"/>\n<text x=\"753\" y=\"581\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"var(--prn-label, #1d1d1f)\">AS4</text>\n<text x=\"753\" y=\"605\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"var(--prn-label-2, #424245)\">55002, 55003, 55078…</text>\n</svg>"} gesamt={"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 974 548\" width=\"974\" height=\"548\" role=\"img\" aria-labelledby=\"sd-title\" class=\"maco-sequence\">\n<title id=\"sd-title\">Sequence diagram: ECS_LIEFERBEGINN — view of LF</title>\n<defs><marker id=\"sd-arrow\" viewBox=\"0 0 14 14\" refX=\"13\" refY=\"7\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0 L14 7 L0 14 z\" fill=\"var(--prn-label-2, #424245)\"/></marker></defs>\n<rect x=\"16\" y=\"12\" width=\"210\" height=\"52\" rx=\"10\" fill=\"var(--prn-bg-elevated, #f5f5f7)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"121\" y=\"43\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"var(--prn-label, #1d1d1f)\">Backend (customer)</text>\n<line x1=\"121\" y1=\"64\" x2=\"121\" y2=\"536\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1\" stroke-dasharray=\"4 4\"/>\n<rect x=\"260\" y=\"12\" width=\"210\" height=\"52\" rx=\"10\" fill=\"var(--prn-accent-soft, #e4f2eb)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"365\" y=\"43\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"600\" fill=\"var(--prn-label, #1d1d1f)\">MACO APP · LF</text>\n<line x1=\"365\" y1=\"64\" x2=\"365\" y2=\"536\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1\" stroke-dasharray=\"4 4\"/>\n<rect x=\"504\" y=\"12\" width=\"210\" height=\"52\" rx=\"10\" fill=\"var(--prn-bg-elevated, #f5f5f7)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"609\" y=\"43\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"var(--prn-label, #1d1d1f)\">NB</text>\n<line x1=\"609\" y1=\"64\" x2=\"609\" y2=\"536\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1\" stroke-dasharray=\"4 4\"/>\n<rect x=\"748\" y=\"12\" width=\"210\" height=\"52\" rx=\"10\" fill=\"var(--prn-bg-elevated, #f5f5f7)\" stroke=\"var(--prn-separator, #d2d2d7)\"/>\n<text x=\"853\" y=\"43\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"var(--prn-label, #1d1d1f)\">LFA</text>\n<line x1=\"853\" y1=\"64\" x2=\"853\" y2=\"536\" stroke=\"var(--prn-label-3, #6e6e73)\" stroke-width=\"1\" stroke-dasharray=\"4 4\"/>\n<line x1=\"121\" y1=\"90\" x2=\"365\" y2=\"90\" stroke=\"var(--prn-blue, #0071e3)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\" stroke-dasharray=\"6 3\"/>\n<text x=\"243\" y=\"81\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">ECS_LIEFERBEGINN</text>\n<text x=\"243\" y=\"105\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">Trigger event</text>\n<line x1=\"365\" y1=\"152\" x2=\"609\" y2=\"152\" stroke=\"var(--prn-accent, #2f7d5c)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\"/>\n<text x=\"487\" y=\"143\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">1. Marktlokation identifizieren (nur Strom)</text>\n<text x=\"487\" y=\"167\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">API · PI 03001</text>\n<line x1=\"609\" y1=\"214\" x2=\"365\" y2=\"214\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\"/>\n<text x=\"487\" y=\"205\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">2. Antwort auf die MaloIdent-Anfrage</text>\n<text x=\"487\" y=\"229\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">API · PI 03002, 03003</text>\n<line x1=\"365\" y1=\"276\" x2=\"853\" y2=\"276\" stroke=\"var(--prn-accent, #2f7d5c)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\"/>\n<text x=\"609\" y=\"267\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">3. Beim bisherigen Lieferanten kündigen (wenn an…</text>\n<text x=\"609\" y=\"291\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">AS4 · PI 55016, 44016</text>\n<line x1=\"853\" y1=\"338\" x2=\"365\" y2=\"338\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\"/>\n<text x=\"609\" y=\"329\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">4. Antwort auf die Kündigung</text>\n<text x=\"609\" y=\"353\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">AS4 · PI 55017, 55018, 44017…</text>\n<line x1=\"365\" y1=\"400\" x2=\"609\" y2=\"400\" stroke=\"var(--prn-accent, #2f7d5c)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\"/>\n<text x=\"487\" y=\"391\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">5. Beim Netzbetreiber anmelden</text>\n<text x=\"487\" y=\"415\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">AS4 · PI 55001, 55077, 44001</text>\n<line x1=\"609\" y1=\"462\" x2=\"365\" y2=\"462\" stroke=\"var(--prn-label-2, #424245)\" stroke-width=\"1.6\" marker-end=\"url(#sd-arrow)\"/>\n<text x=\"487\" y=\"453\" text-anchor=\"middle\" font-size=\"12.5\" fill=\"var(--prn-label, #1d1d1f)\">6. Antwort auf die Anmeldung</text>\n<text x=\"487\" y=\"477\" text-anchor=\"middle\" font-size=\"11\" fill=\"var(--prn-label-2, #424245)\">AS4 · PI 55002, 55003, 55078…</text>\n</svg>"} titel="LF" />

<a id="abschnitt-schritte"></a>

## Process steps

<Schritt nr="1" anker="schritt-1" richtung="ausgehend" kopf={{"links": {"label": "LF", "eigen": true}, "rechts": {"label": "NB"}}}>

### Identify the market location (electricity only)

The backend starts the process with the trigger event ECS_LIEFERBEGINN. It carries the master data for all subsequent messages (market location, metering location, meter, contracts, business partners) and the transaction data: division, sender, recipient (the grid operator), the previous supplier as the involved market partner, and the contract start and contract end date. The master data of the trigger is carried over into every follow-up message.

If the trigger contains no market location ID, the MACO APP sends a MaloIdent request to the grid operator. If the ID is already in the trigger, the step is skipped; for gas it is always skipped. The process then continues with the contract termination or, without an involved market partner, with the registration.

<Schrittskizze sicht={{"label": "LF"}} zeilen={[{"art": "ausloeser", "werte": ["ECS_LIEFERBEGINN"]}, {"art": "senden", "label": "NB", "weg": "API", "nachrichten": [{"nr": "03001", "titel": "MaloIdent request"}]}]} />

<div data-teil="pruefis">

**Check identifiers**
- `03001` — MaloIdent request · electricity · API

</div>

**Flow**

<div data-ablauf>

<Stepper>
<ol>

<li data-teil="ausloeser">

**Process trigger** [`ECS_LIEFERBEGINN`](/en/api/202604/ausloeser-lf/ecs-lieferbeginn)

The backend triggers the process with this event.

</li>

<li data-teil="nachricht">

Message to **NB** · API

</li>

</ol>
</Stepper>

</div>

</Schritt>

<Schritt nr="2" anker="schritt-2" richtung="eingehend" kopf={{"links": {"label": "LF", "eigen": true}, "rechts": {"label": "NB"}}}>

### Response to the MaloIdent request

The positive response supplies the market location ID, and the MACO APP uses it for all subsequent messages.

<Schrittskizze sicht={{"label": "LF"}} zeilen={[{"art": "empfangen", "label": "NB", "weg": "API", "nachrichten": [{"nr": "03002", "titel": "MaloIdent positive"}, {"nr": "03003", "titel": "MaloIdent negative"}]}]} />

<div data-teil="pruefis">

**Check identifiers**
- `03002` — MaloIdent positive · electricity · API
- `03003` — MaloIdent negative · electricity · API

</div>

**Flow**

<div data-ablauf>

<Stepper>
<ol>

<li data-teil="nachricht">

Message from **NB** · API

</li>

<li data-teil="reaktion">

**What happens next**

<div className="maco-tabellenrahmen">

| Response | What the MACO APP does |
|---|---|
| positive response | continue with the contract termination or, without an involved market partner, with the registration |
| negative response or no response | ECS_LIEFERBEGINN ends without contract termination and without registration |

</div>

</li>

</ol>
</Stepper>

</div>

</Schritt>

<Schritt nr="3" anker="schritt-3" richtung="ausgehend" kopf={{"links": {"label": "LF", "eigen": true}, "rechts": {"label": "LFA"}}}>

### Terminate with the previous supplier (if named)

If the trigger names an involved market partner, the MACO APP terminates the contract there as of the contract end date. Without an involved market partner, the step is skipped and the process goes straight to the registration.

<Schrittskizze sicht={{"label": "LF"}} zeilen={[{"art": "senden", "label": "LFA", "weg": "AS4", "nachrichten": [{"nr": "55016", "titel": "Contract termination"}, {"nr": "44016", "titel": "Contract termination with the old supplier"}]}]} />

<div data-teil="pruefis">

**Check identifiers**
- [55016](/en/schnittstellen/202604/pruefi/UTILMD/PI_55016) — Contract termination · electricity · AS4
- [44016](/en/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44016) — Contract termination with the old supplier · gas · AS4

</div>

**Flow**

<div data-ablauf>

<Stepper>
<ol>

<li data-teil="nachricht">

Message to **LFA** · AS4

</li>

</ol>
</Stepper>

</div>

</Schritt>

<Schritt nr="4" anker="schritt-4" richtung="eingehend" kopf={{"links": {"label": "LF", "eigen": true}, "rechts": {"label": "LFA"}}}>

### Response to the contract termination

A confirmation is followed by the registration. On a rejection, the MACO APP reads the response status and decides on that basis whether to terminate again or to continue with the registration. If no response arrives, the same handling starts. After the third handling at the latest, the process continues with the registration.

<Schrittskizze sicht={{"label": "LF"}} zeilen={[{"art": "empfangen", "label": "LFA", "weg": "AS4", "nachrichten": [{"nr": "55017", "titel": "Confirmation of contract termination"}, {"nr": "55018", "titel": "Rejection of contract termination"}, {"nr": "44017", "titel": "Confirmation of contract termination"}, {"nr": "44018", "titel": "Rejection of contract termination"}]}]} />

<div data-teil="pruefis">

**Check identifiers**
- [55017](/en/schnittstellen/202604/pruefi/UTILMD/PI_55017) — Confirmation of contract termination · electricity · AS4
- [55018](/en/schnittstellen/202604/pruefi/UTILMD/PI_55018) — Rejection of contract termination · electricity · AS4
- [44017](/en/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44017) — Confirmation of contract termination · gas · AS4
- [44018](/en/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44018) — Rejection of contract termination · gas · AS4

</div>

**Flow**

<div data-ablauf>

<Stepper>
<ol>

<li data-teil="nachricht">

Message from **LFA** · AS4

</li>

<li data-teil="reaktion">

**What happens next**

<div className="maco-tabellenrahmen">

| Response | What the MACO APP does |
|---|---|
| Confirmation | continue with the registration |
| Rejection with A01, A10 | sets the contract end date to the following day and terminates again |
| Rejection with A06, A15, Z12 | takes the termination date from the response as the contract end date and terminates again |
| Rejection with A05, A14 | takes the termination date from the response as the contract end date and registers |
| Rejection with A03, A04, A08, A12, A13, A16, A18, A99, E14, Z29, Z34 | registers |
| negative APERAK | registers |

</div>

</li>

</ol>
</Stepper>

</div>

</Schritt>

<Schritt nr="5" anker="schritt-5" richtung="ausgehend" kopf={{"links": {"label": "LF", "eigen": true}, "rechts": {"label": "NB"}}}>

### Register with the grid operator

The MACO APP registers the supply with the grid operator. Which registration is used depends on the division and the energy direction of the market location: consumption (AUSSP) or generation (EINSP).

<Schrittskizze sicht={{"label": "LF"}} zeilen={[{"art": "senden", "label": "NB", "weg": "AS4", "nachrichten": [{"nr": "55001", "titel": "Registration cons. MaLo"}, {"nr": "55077", "titel": "Registration gen. MaLo"}, {"nr": "44001", "titel": "Registration NN"}]}]} />

<div data-teil="pruefis">

**Check identifiers**
- [55001](/en/schnittstellen/202604/pruefi/UTILMD/PI_55001) — Registration cons. MaLo · electricity · AS4
- [55077](/en/schnittstellen/202604/pruefi/UTILMD/PI_55077) — Registration gen. MaLo · electricity · AS4
- [44001](/en/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44001) — Registration NN · gas · AS4

</div>

**Flow**

<div data-ablauf>

<Stepper>
<ol>

<li data-teil="nachricht">

Message to **NB** · AS4

</li>

</ol>
</Stepper>

</div>

</Schritt>

<Schritt nr="6" anker="schritt-6" richtung="eingehend" kopf={{"links": {"label": "LF", "eigen": true}, "rechts": {"label": "NB"}}}>

### Response to the registration

With the confirmation, the supply start is successful and ECS_LIEFERBEGINN ends.

<Schrittskizze sicht={{"label": "LF"}} zeilen={[{"art": "empfangen", "label": "NB", "weg": "AS4", "nachrichten": [{"nr": "55002", "titel": "Confirmation of registration cons. MaLo"}, {"nr": "55003", "titel": "Rejection of registration cons. MaLo"}, {"nr": "55078", "titel": "Confirmation of registration gen. MaLo"}, {"nr": "55080", "titel": "Rejection of registration gen. MaLo"}, {"nr": "44002", "titel": "Confirmation of registration"}, {"nr": "44003", "titel": "Rejection of registration"}]}]} />

<div data-teil="pruefis">

**Check identifiers**
- [55002](/en/schnittstellen/202604/pruefi/UTILMD/PI_55002) — Confirmation of registration cons. MaLo · electricity · AS4
- [55003](/en/schnittstellen/202604/pruefi/UTILMD/PI_55003) — Rejection of registration cons. MaLo · electricity · AS4
- [55078](/en/schnittstellen/202604/pruefi/UTILMD/PI_55078) — Confirmation of registration gen. MaLo · electricity · AS4
- [55080](/en/schnittstellen/202604/pruefi/UTILMD/PI_55080) — Rejection of registration gen. MaLo · electricity · AS4
- [44002](/en/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44002) — Confirmation of registration · gas · AS4
- [44003](/en/schnittstellen/202604/pruefi/UTILMD_GAS/PI_44003) — Rejection of registration · gas · AS4

</div>

**Flow**

<div data-ablauf>

<Stepper>
<ol>

<li data-teil="nachricht">

Message from **NB** · AS4

</li>

<li data-teil="reaktion">

**What happens next**

<div className="maco-tabellenrahmen">

| Response | What the MACO APP does |
|---|---|
| Confirmation | the supply start is successful, ECS_LIEFERBEGINN ends |
| Rejection, negative APERAK or no response | ECS_LIEFERBEGINN ends without a supply start |
| Registration cannot be carried out | the MACO APP records the rejection, ECS_LIEFERBEGINN ends |

</div>

</li>

</ol>
</Stepper>

</div>

</Schritt>

<a id="abschnitt-informationen"></a>

## Process information

### Abort

At any point, the process can also end as follows:

- **Abort requested.** If the process is aborted, the MACO APP records the abort and ends ECS_LIEFERBEGINN.
- **Deadline expired.** If the deadline of the process expires, ECS_LIEFERBEGINN ends with an abort due to the expired deadline.

### Restart

The model provides for restarting MaloIdent, contract termination and registration from their problem handling. The step then starts over.

### How the responses find their way back

Every response arrives as a separate message. The MACO APP uses the reference to the request message to find the waiting ECS_LIEFERBEGINN and passes the result to it.
