Conditions INVOIC
EDIFACT message type INVOIC · format version 202604 · 110 conditions · 3 packages · 3 UB conditions · from 11 handbook file(s)
Conditions
| Marker | Condition |
|---|---|
| [1] | If filled in the invoice to be cancelled |
| [2] | If this concerns a transfer of use (lease) of a device |
| [3] | If this concerns a purchase of a device |
| [4] | If the tax liability of the service recipient applies |
| [5] | If NAD+MR DE3207 <> „DE“ |
| [6] | If NAD+MR DE3207 = „DE“ |
| [7] | Provided that no large-customer postcode is used |
| [8] | For time-dependent prices |
| [9] | If SG26 DTM+203 is not present |
| [10] | If SG26 DTM+155/156 is not present |
| [11] | If an instalment payment is due |
| [12] | If SG26 QTY+136 is present |
| [13] | If a prepaid amount exists |
| [18] | If IMD++WIM not present |
| [19] | If IMD++WIM present |
| [20] | If amount due (SG50 MOA+9) ≥ 0 |
| [21] | If amount due (SG50 MOA+9) < 0 |
| [22] | If present |
| [23] | If DE3124 is not present in the same NAD |
| [24] | Value must be at least 10 WT after the value from DTM+137 DE2380 |
| [25] | Value must be no more than 10 WT after the value from DTM+137 DE2380 |
| [26] | If SG39 ALC+A+:Z04 is present |
| [27] | If SG39 ALC+C is present |
| [28] | If a surcharge applies |
| [29] | [If DTM+155 (billing period start) not greater than 31.12.2015 |
| [30] | If MP-ID in NAD+MR is not in the role MGV or KN |
| [31] | If MP-ID in NAD+MR in the role MGV |
| [32] | If SG39 ALC+A+:Z01 (municipal discount) is present |
| [34] | If present in the original invoice |
| [36] | If DTM+156 (billing period end) ≥ 01.12.2019 |
| [37] | If a delivery note was exchanged beforehand |
| [40] | Only the article numbers are permitted that are marked with the corresponding check identifier in the code list of article numbers and article IDs, or article IDs from the code list of article numbers and article IDs. |
| [41] | If IMD++SOR present |
| [42] | If DTM+155 (billing period start) ≥ 1.1.2023 0: 00 German statutory time |
| [44] | If IMD++ABS not present |
| [45] | Only MP-ID from the electricity division |
| [47] | If IMD++Z43 present |
| [49] | If IMD++Z43 and IMD+Z44 not present |
| [50] | If IMD++SOR not present |
| [51] | If SG26 DTM+156 (item-related billing period end) ≤ 1.1.2023 0:00 German legal time |
| [54] | If IMD++ABR/JVR/ZVR present |
| [55] | If IMD++ABS present |
| [56] | If DTM+137 (message date ≥ 1.1.2023 0: 00 German statutory time |
| [57] | If DTM+156 (billing period end) ≤ 1.1.2023 0:00 German statutory time |
| [58] | If MOA+113 is present in this SG52 |
| [59] | If SG26 DTM+155 (item-related billing period start) ≥ 1.1.2023 0: 00 German statutory time |
| [60] | If DTM+203 DE2379 present in the same segment with value 303 |
| [61] | If DTM+203 DE2379 present in the same segment with value 102 |
| [64] | If DTM+156 (billing period end) ≤ 1.1.2024 0:00 German statutory time |
| [65] | If SG26 DTM+155 (item-related billing period start) ≥ 1.1.2024 0: 00 German legal time |
| [66] | If IMD++KON present |
| [67] | Only the article numbers are permitted that have an „X“ for the corresponding check identifier in chapter 2 „Code list of article numbers“ of the code list of article numbers and article IDs. |
| [68] | Only the article IDs are permitted that have an „X“ in the column „INVOIC code usage“ in chapter 3 „Code list of group article IDs and article IDs“ of the code list of article numbers and article IDs. |
| [69] | Only the article IDs are permitted that have a „SOR“ in the column „INVOIC code usage“ in chapter 3 „Code list of group article IDs and article IDs“ of the code list of article numbers and article IDs. |
| [72] | If MP-ID in NAD+MR in the role LF |
| [73] | If IMD++MSB present |
| [74] | if the code EM is present in DE3155 in the same COM |
| [75] | if the code TE / FX / AJ / AL is present in DE3155 in the same COM |
| [76] | If MP-ID in NAD+MR in the role NB |
| [77] | If SG26 DTM+156 (item-related billing period end) ≤ 1.1.2024 0:00 German legal time |
| [78] | If GEI+Z08 not present |
| [79] | If GEI+Z09 not present |
| [80] | If GEI+Z01 not present |
| [81] | If GEI+Z04 not present |
| [82] | If GEI+Z05 not present |
| [83] | If GEI+Z10 not present |
| [84] | If ALC+C+:Z02 / Z03 / Z04 is present in this SG39 |
| [85] | If in this segment DE6411 = DAY |
| [86] | If in this segment DE6411 = MON/ANN |
| [87] | If IMD++TEC present |
| [88] | If DTM+155 (billing period start) ≥ 1.1.2026 0: 00 German statutory time |
| [490] | if the value in this DE, at position CCYYMMDDHHMM, is a point in time within the period stated in the table in chapter 3.5 “Overview of German statutory summer time (MESZ)” in the columns: “Summer time (MESZ) from” representation in UTC and “Summer time (MESZ) to” representation in UTC. |
| [491] | if the value in this DE, at position CCYYMMDDHHMM, is a point in time within the period stated in the table in chapter 3.6 “Overview of German statutory time (MEZ)” in the columns: “Winter time (MEZ) from” representation in UTC and “Winter time (MEZ) to” representation in UTC. |
| [492] | If MP-ID in NAD+MR (message recipient) from the Electricity division |
| [493] | If MP-ID in NAD+MR (message recipient) from the Gas division |
| [501] | Note: Document number of the ORDERS |
| [508] | Note: Document number of the QUOTES |
| [509] | Note: Use of the ID of the market location |
| [510] | Note: Use of the ID of the metering location |
| [512] | Note: State here either the amount from MOA+203 or the amount from MOA+203 increased by the applicable tax amount. |
| [513] | Note: State here the result of the multiplication of MOA+25 by PCD+3. |
| [514] | Note: Document number of the delivery note MSCONS |
| [515] | Note: BGM DE1004 from the INVOIC message that is to be canceled |
| [516] | Note: A delivery note for an invoice is necessary for all billing periods that are billed for the first time after 1.12.2019 and for all billing periods for which changed quantities or demand values arise after 1.12.2019. |
| [519] | Note: Cancelled instalment invoices are not to be listed |
| [522] | Note: Use of the ID of the grid location |
| [523] | Note: Use of the ID of the controllable resource |
| [524] | Note: Only one piece of information may be transmitted in DE3148 |
| [525] | Note: Use if grid fees are lower than the flat-rate grid fee reduction |
| [526] | Note: The monetary amount specified here must be identical to the one stated in SG50 MOA+77 in DE5004 of the instalment invoice that has the invoice number named in this SG50 in SG51-RFF+AFL in DE1154. |
| [902] | Format: Possible value: ≥ 0 |
| [906] | Format: max. 3 decimal places |
| [908] | Format: possible values: 1 to n |
| [910] | Format: Possible value: < 0 or ≥ 0 |
| [911] | Format: Possible values: 1 to n, starting at 1 for each message or segment group and ascending consecutively |
| [912] | Format: max. 6 decimal places |
| [914] | Format: Possible value: > 0 |
| [930] | Format: max. 2 decimal places |
| [931] | Format: ZZZ = +00 |
| [932] | Format: HHMM = 2200 |
| [933] | Format: HHMM = 2300 |
| [934] | Format: HHMM = 0400 |
| [935] | Format: HHMM = 0500 |
| [939] | Format: the character string must contain the characters @ and . |
| [940] | Format: the character string must begin with the character + and may only be followed by digits |
| [946] | Format: max. 11 decimal places |
| [950] | Format: market location ID |
| [951] | Format: Metering point identifier |
| [960] | Format: Grid location ID |
| [961] | Format: SR-ID |
UB conditions
UB conditions combine several markers into a single expression. In the handbook rows they appear like a condition, but they resolve into the markers they contain.
| Marker | Printout |
|---|---|
| [UB1] | ([931] ∧ [932] [490]) ⊻ ([931] ∧ [933] [491]) |
| [UB2] | ([931] ∧ [934] [490]) ⊻ ([931] ∧ [935] [491]) |
| [UB3] | ([931] ∧ [932] [492] ∧ [490]) ⊻ ([931] ∧ [933] [492] ∧ [491]) ⊻ ([931] ∧ [934] [493] ∧ [490]) ⊻ ([931] ∧ [935] [493] ∧ [491]) |
Condition packages
Condition packages bundle prerequisites.
| Package | Prerequisites | Conditions |
|---|---|---|
| [1P] | -- | Note: This is the standard package if no condition applies, e.g. in the COM segment. |
| [2P] | [492] | [492] If MP-ID in NAD+MR (message recipient) from division electricity |
| [3P] | [493] | [493] If MP-ID in NAD+MR (message recipient) from division gas |
Notes on this page
This page carries the free text of every condition that the application handbook of message type INVOIC references in this format version. A row of the handbook writes Muss [704]; what [704] requires is here.
The list applies to the message type, not to a single check identifier. This is not a simplification but the form of the source: the condition list is present identically in every handbook file of the format.
Why no assignment to individual check identifiers is given here
The intermediate format from which this documentation reads the handbook rows assigns conditions to a column — and this assignment is shifted against the original. Measured on 05.09.2026 against UTILMD electricity: the handbook lists STS DE9013 as X [360] (approval codes only) for check identifier 55017 and X [359] (rejection codes only) for 55018; the intermediate format puts [360] on 55016 and [359] on 55017 and 55018. The same applies to FTX Muss [83]: at 55018 in the handbook, at 55017 in the intermediate format.
Independently confirmed by the change lists of the source: change IDs 25242, 25821, 25822, 25445 and 25243 explicitly locate [83], [351] and [352] in „Use case 55018 Rejection of contract termination“. No entry assigns them to 55016 or 55017.
That is why the text of every condition is given here and nowhere the claim as to which condition applies to which check identifier. Anyone who needs that looks it up in the original application handbook.
1 condition does not appear in every handbook file
The list of conditions is meant to apply across the whole format, but it does not everywhere: the following markers occur in fewer than all 11 files of this format. They are given here nonetheless — leaving out a condition because one file does not carry it would mean letting a reference point into the void again.
[UB2]
16 conditions are referenced without the source carrying their text
These markers are in at least one handbook row of this message type, but in none of the three lists of the source. The reference therefore points nowhere, and that is stated here instead of silently omitting the marker — an omitted gap looks like no gap at all.
[14], [15], [16], [53], [70], [71], [502], [503], [504], [507], [517], [518], [520], [521], [927], [937]
Measured on 05.09.2026, after the position-faithful re-export of the source. Across both versions and all message types there are 22 markers, all in version 202604.
As measured on 05.09.2026, no ahb_expression in this source points to a package marker — the condition packages are listed on this page because the source carries them, not because a handbook line refers to them.