ECS_LIEFERBEGINN: supplier switch within 24 hours
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.
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; you can try it out in the trigger catalogue.
Process flow from the perspective of the LF
Process steps
Identify the market location (electricity only)
LF NBThe 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.
Check identifiers
03001— MaloIdent request · electricity · API
Flow
Process trigger
ECS_LIEFERBEGINNThe backend triggers the process with this event.
Message to NB · API
Response to the MaloIdent request
LF NBThe positive response supplies the market location ID, and the MACO APP uses it for all subsequent messages.
Check identifiers
03002— MaloIdent positive · electricity · API03003— MaloIdent negative · electricity · API
Flow
Message from NB · API
What happens next
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
Terminate with the previous supplier (if named)
LF LFAIf 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.
Check identifiers
Flow
Message to LFA · AS4
Response to the contract termination
LF LFAA 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.
Check identifiers
Flow
Message from LFA · AS4
What happens next
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
Register with the grid operator
LF NBThe 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).
Check identifiers
Flow
Message to NB · AS4
Response to the registration
LF NBWith the confirmation, the supply start is successful and ECS_LIEFERBEGINN ends.
Check identifiers
- 55002 — Confirmation of registration cons. MaLo · electricity · AS4
- 55003 — Rejection of registration cons. MaLo · electricity · AS4
- 55078 — Confirmation of registration gen. MaLo · electricity · AS4
- 55080 — Rejection of registration gen. MaLo · electricity · AS4
- 44002 — Confirmation of registration · gas · AS4
- 44003 — Rejection of registration · gas · AS4
Flow
Message from NB · AS4
What happens next
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
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.
- Negative CONTRL or APERAK. A negative CONTRL or APERAK on a message of the process ends ECS_LIEFERBEGINN.
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.
Compared with the previous version
New compared with 202604: an abort on a negative CONTRL or APERAK, and the handling of a rejected contract termination recognises the CONTRL in addition to the APERAK.