# Check identifier 31002 — NN invoice

<span hidden data-pagefind-meta={"title:Check identifier 31002 — NN invoice · INVOIC · Format version 202604"} />

Check identifier **31002** · EDIFACT message type **INVOIC** · Format version **202604**

## Data structure

<Handbuchsatz>

<div className="maco-tabellenrahmen">

| Structure (BO4E) | Description | Format | <span className="hbs-p" title="NN-Rechnung">31002</span> | Condition |
|---|---|---|---|---|
| <span className="hbs-g hbs-e0">**stammdaten** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-g hbs-e1">**MARKTLOKATION** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e2">[lokationsadresse](/en/bo4e/202604/bo/Marktlokation#lokationsadresse) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={112} segment="SG2.NAD+DP" /><span className="hbs-nr">00010</span> | The address at which the energy delivery or feed-in takes place. | [Adresse](/en/bo4e/202604/com/Adresse) | X | — |
| <span className="hbs-f hbs-e2">[marktlokationsId](/en/bo4e/202604/bo/Marktlokation#marktlokationsid) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={119} segment="SG2.NAD+DP.LOC+172" /><span className="hbs-nr">00020</span> | Identification number of a market location at which energy is either<br/>consumed or generated | string | X | — |
| <span className="hbs-g hbs-e1">**RECHNUNG** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e2">[bearbeitungsdatum](/en/bo4e/202604/bo/Rechnung#bearbeitungsdatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={17} segment="DTM+9" /><span className="hbs-nr">00030</span> | bearbeitungsdatum | string (date-time) | X | — |
| <span className="hbs-f hbs-e2">[datumVorgaengerrechnung](/en/bo4e/202604/bo/Rechnung#datumvorgaengerrechnung)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={211} segment="SG50.MOA+113.SG51.RFF+AFL.DTM+3" /><span className="hbs-nr">00040</span> | datumVorgaengerrechnung | string (date-time) | X | — |
| <span className="hbs-f hbs-e2">[faelligkeitsdatum](/en/bo4e/202604/bo/Rechnung#faelligkeitsdatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={128} segment="SG8.PYT.DTM+265" /><span className="hbs-nr">00050</span> | Payment is due on this date. | string (date-time) | X | — |
| <span className="hbs-f hbs-e2">[istReverseCharge](/en/bo4e/202604/bo/Rechnung#istreversecharge)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={36} segment="FTX+REG++RCH" /><span className="hbs-nr">00060</span> | Indicator whether the reverse charge procedure is applied to the invoice | boolean | Should | <span className="hbs-marke">[4]</span> |
| <span className="hbs-f hbs-e2">[originalRechnungsnummer](/en/bo4e/202604/bo/Rechnung#originalrechnungsnummer)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={55} segment="SG1.RFF+OI" /><span className="hbs-nr">00070</span> | In the case of a cancellation invoice (storno = true), this contains the invoice number of the cancelled invoice. | string | X | — |
| <span className="hbs-f hbs-e2">[preisNetzbetreiberCodenummer](/en/bo4e/202604/bo/Rechnung#preisnetzbetreibercodenummer)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={65} segment="SG1.RFF+Z56" /><span className="hbs-nr">00080</span> | preisNetzbetreiberCodenummer | string | X | — |
| <span className="hbs-f hbs-e2">[rechnungsdatum](/en/bo4e/202604/bo/Rechnung#rechnungsdatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={13} segment="DTM+137" /><span className="hbs-nr">00090</span> | Issue date of the invoice. | string (date-time) | X | — |
| <span className="hbs-f hbs-e2">[rechnungsstatus](/en/bo4e/202604/bo/Rechnung#rechnungsstatus) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={8} segment="BGM+380" /><span className="hbs-nr">00100</span> | Status of the invoice indicating the processing stage. For details see ENUM invoice status | [Enum Rechnungsstatus](/en/bo4e/202604/enum/Rechnungsstatus) | X | — |
| <span className="hbs-w hbs-e3">`DUPLIKAT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`ORIGINAL`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`STORNIERT`</span> | — | — | X | — |
| <span className="hbs-f hbs-e2">[rechnungstyp](/en/bo4e/202604/bo/Rechnung#rechnungstyp) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={28} segment="IMD" /><span className="hbs-nr">00110</span> | A context-related invoice type, e.g. grid usage invoice. For details see ENUM Invoice type | [Enum Rechnungstyp](/en/bo4e/202604/enum/Rechnungstyp) | Must | — |
| <span className="hbs-w hbs-e3">`ABSCHLUSSRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ABSCHLAGSRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`TURNUSRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`MONATSRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`WIMRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ZWISCHENRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`INTEGRIERTE_13TE_RECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ZUSAETZLICHE_13TE_RECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`MEHRMINDERMENGENRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`MSBRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`KAPAZITAETSRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`SPERRUNG_INBETRIEBNAHME`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`VERZUGSKOSTEN`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`BLINDARBEIT`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`SONDERRECHNUNG`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ABRECHNUNG_VON_KONFIGURATIONEN_UNIVERSALBESTELLPROZESS`</span> | — | — | Must | — |
| <span className="hbs-w hbs-e3">`ABRECHNUNG_VON_TECHNIK`</span> | — | — | Must | — |
| <span className="hbs-f hbs-e2">[referenzDokumentennummer](/en/bo4e/202604/bo/Rechnung#referenzdokumentennummer)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={62} segment="SG1.RFF+ACE" /><span className="hbs-nr">00120</span> | referenzDokumentennummer | string | X | — |
| <span className="hbs-f hbs-e2">[referenzNachrichtendatum](/en/bo4e/202604/bo/Rechnung#referenznachrichtendatum)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={58} segment="SG1.RFF+OI.DTM+171" /><span className="hbs-nr">00130</span> | referenzNachrichtendatum | string | X | — |
| <span className="hbs-f hbs-e2">[referenzVorgaengerrechnung](/en/bo4e/202604/bo/Rechnung#referenzvorgaengerrechnung)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={208} segment="SG50.MOA+113.SG51.RFF+AFL" /><span className="hbs-nr">00140</span> | referenzVorgaengerrechnung | string | X | — |
| <span className="hbs-f hbs-e2">[sonderrechnungsarten](/en/bo4e/202604/bo/Rechnung#sonderrechnungsarten)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={39} segment="GEI+Z01" /><span className="hbs-nr">00150</span> | Special invoice type | array | X | — |
| <span className="hbs-g hbs-e2">**gemeinderabatt**</span> | — | object | May | — |
| <span className="hbs-f hbs-e3">[wert](/en/bo4e/202604/com/Gemeinderabatt#wert)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={215} segment="SG50.MOA+Z01" /><span className="hbs-nr">00160</span> | Value | number (float) | X | — |
| <span className="hbs-g hbs-e2">**gesamtbrutto** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e3">[wert](/en/bo4e/202604/com/Betrag#wert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={202} segment="SG50.MOA+77" /><span className="hbs-nr">00170</span> | Specifies the amount of the price. | number (float) | X | — |
| <span className="hbs-g hbs-e2">**rechnungsperiode** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e3">[enddatum](/en/bo4e/202604/com/Zeitraum#enddatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={25} segment="DTM+156" /><span className="hbs-nr">00180</span> | enddatum | string (date-time) | X | — |
| <span className="hbs-f hbs-e3">[startdatum](/en/bo4e/202604/com/Zeitraum#startdatum) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={21} segment="DTM+155" /><span className="hbs-nr">00190</span> | startdatum | string (date-time) | X | — |
| <span className="hbs-g hbs-e2">**rechnungspositionen** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e3">[artikelnummer](/en/bo4e/202604/com/Rechnungsposition#artikelnummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={131} segment="SG26.LIN" /><span className="hbs-nr">00200</span> | Identification of the invoice line item with the standard article number of the BDEW. Details<br/>BDEW article number | string | Must | — |
| <span className="hbs-f hbs-e3">[gesamtZuAbschlagsbetrag](/en/bo4e/202604/com/Rechnungsposition#gesamtzuabschlagsbetrag)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={162} segment="SG26.LIN.SG27.MOA+131" /><span className="hbs-nr">00210</span> | gesamtZuAbschlagsbetrag | number (float) | X | — |
| <span className="hbs-f hbs-e3">[lieferungBis](/en/bo4e/202604/com/Rechnungsposition#lieferungbis) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={155} segment="SG26.LIN.DTM+156" /><span className="hbs-nr">00220</span> | End of the supply for the billed service. | string (date-time) | X | — |
| <span className="hbs-f hbs-e3">[lieferungVon](/en/bo4e/202604/com/Rechnungsposition#lieferungvon) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={151} segment="SG26.LIN.DTM+155" /><span className="hbs-nr">00230</span> | Start of supply for the billed service. | string (date-time) | X | — |
| <span className="hbs-f hbs-e3">[positionsnummer](/en/bo4e/202604/com/Rechnungsposition#positionsnummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={131} segment="SG26.LIN" /><span className="hbs-nr">00240</span> | Sequential number for the invoice line item. | integer | Must | — |
| <span className="hbs-g hbs-e3">**abschlag**</span> | — | object | May | — |
| <span className="hbs-f hbs-e4">[prozent](/en/bo4e/202604/com/Abschlag#prozent)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={182} segment="SG26.LIN.SG39.ALC+A.SG41.PCD+3" /><span className="hbs-nr">00250</span> | Percentage details of the surcharge/discount | number (float) | X | — |
| <span className="hbs-f hbs-e4">[typ](/en/bo4e/202604/com/Abschlag#typ)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={178} segment="SG26.LIN.SG39.ALC+A" /><span className="hbs-nr">00260</span> | AbschlagTyp | [Enum AbschlagTyp](/en/bo4e/202604/enum/AbschlagTyp) | X | — |
| <span className="hbs-w hbs-e5">`GEMEINDERABATT_KAV`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`ANPASSUNG_P19_STROM_NEV`</span> | — | — | X | — |
| <span className="hbs-g hbs-e3">**einzelpreis** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e4">[bezugswert](/en/bo4e/202604/com/Preis#bezugswert)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={165} segment="SG26.LIN.SG29.PRI+CAL" /><span className="hbs-nr">00270</span> | Unit: measurands that can be determined by measurement or by specification | [Enum Mengeneinheit](/en/bo4e/202604/enum/Mengeneinheit) | X | — |
| <span className="hbs-w hbs-e5">`W`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`WH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KVARH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MWH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`STUECK`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KUBIKMETER`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`STUNDE`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`TAG`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MONAT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`JAHR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`PROZENT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`ANZAHL`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`VAR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KVAR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`VARH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWHK`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`Z16`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`WATT_PRO_QUADRATMETER`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`METER_PRO_SEKUNDE`</span> | — | — | X | — |
| <span className="hbs-f hbs-e4">[wert](/en/bo4e/202604/com/Preis#wert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={165} segment="SG26.LIN.SG29.PRI+CAL" /><span className="hbs-nr">00280</span> | wert | number (float) | X | — |
| <span className="hbs-g hbs-e3">**gemeinderabatt**</span> | — | object | May | — |
| <span className="hbs-f hbs-e4">[bemessungsgrundlage](/en/bo4e/202604/com/Gemeinderabatt#bemessungsgrundlage)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={185} segment="SG26.LIN.SG39.ALC+A.SG42.MOA+25" /><span className="hbs-nr">00290</span> | Assessment basis | number (float) | X | — |
| <span className="hbs-f hbs-e4">[wert](/en/bo4e/202604/com/Gemeinderabatt#wert)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={188} segment="SG26.LIN.SG39.ALC+A.SG42.MOA+Z01" /><span className="hbs-nr">00300</span> | Value | number (float) | X | — |
| <span className="hbs-g hbs-e3">**positionsMenge** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e4">[einheit](/en/bo4e/202604/com/Menge#einheit) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={137} segment="SG26.LIN.QTY+47" /><span className="hbs-nr">00310</span> | Unit: measurands that can be determined by measurement or by specification | [Enum Mengeneinheit](/en/bo4e/202604/enum/Mengeneinheit) | X | — |
| <span className="hbs-w hbs-e5">`W`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`WH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KVARH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MWH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`STUECK`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KUBIKMETER`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`STUNDE`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`TAG`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MONAT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`JAHR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`PROZENT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`ANZAHL`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`VAR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KVAR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`VARH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWHK`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`Z16`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`WATT_PRO_QUADRATMETER`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`METER_PRO_SEKUNDE`</span> | — | — | X | — |
| <span className="hbs-f hbs-e4">[wert](/en/bo4e/202604/com/Menge#wert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={137} segment="SG26.LIN.QTY+47" /><span className="hbs-nr">00320</span> | Value | number (float) | X | — |
| <span className="hbs-g hbs-e3">**teilsummeNetto** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e4">[wert](/en/bo4e/202604/com/Betrag#wert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={159} segment="SG26.LIN.SG27.MOA+203" /><span className="hbs-nr">00330</span> | Specifies the amount of the price. | number (float) | X | — |
| <span className="hbs-g hbs-e3">**teilsummeSteuer** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e4">[steuerkennzeichen](/en/bo4e/202604/com/Steuerbetrag#steuerkennzeichen) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={170} segment="SG26.LIN.SG34.TAX+7+VAT" /><span className="hbs-nr">00340</span> | Identification of the tax rate or procedure. Details tax code | string | Must | — |
| <span className="hbs-g hbs-e3">**zeitbezogeneMenge**</span> | — | object | May | — |
| <span className="hbs-f hbs-e4">[einheit](/en/bo4e/202604/com/Menge#einheit)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={144} segment="SG26.LIN.QTY+136" /><span className="hbs-nr">00350</span> | Unit: measurands that can be determined by measurement or by specification | [Enum Mengeneinheit](/en/bo4e/202604/enum/Mengeneinheit) | X | — |
| <span className="hbs-w hbs-e5">`W`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`WH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KVARH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MWH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`STUECK`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KUBIKMETER`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`STUNDE`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`TAG`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`MONAT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`JAHR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`PROZENT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`ANZAHL`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`VAR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KVAR`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`VARH`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWHK`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`Z16`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`KWT`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`WATT_PRO_QUADRATMETER`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`METER_PRO_SEKUNDE`</span> | — | — | X | — |
| <span className="hbs-f hbs-e4">[wert](/en/bo4e/202604/com/Menge#wert)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={144} segment="SG26.LIN.QTY+136" /><span className="hbs-nr">00360</span> | Value | number (float) | X | — |
| <span className="hbs-g hbs-e3">**zuschlag**</span> | — | object | May | — |
| <span className="hbs-f hbs-e4">[prozent](/en/bo4e/202604/com/Zuschlag#prozent)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={182} segment="SG26.LIN.SG39.ALC+C.SG41.PCD+3" /><span className="hbs-nr">00370</span> | prozent | number (float) | X | — |
| <span className="hbs-f hbs-e4">[typ](/en/bo4e/202604/com/Zuschlag#typ)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={191} segment="SG26.LIN.SG39.ALC+C" /><span className="hbs-nr">00380</span> | Surcharge type | [Enum ZuschlagTyp](/en/bo4e/202604/enum/ZuschlagTyp) | X | — |
| <span className="hbs-w hbs-e5">`UMSPANNUNGSZUSCHLAG`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`BETRIEBSMITTEL_P19_STROM_NEV`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`ANPASSUNG_P19_STROM_NEV`</span> | — | — | X | — |
| <span className="hbs-w hbs-e5">`ANPASSUNG_PAUSCHALE_NETZENTGELTREDUZIERUNG_NACH_P14A_ENWG_AUF_HOEHE_DER_NNE`</span> | — | — | X | — |
| <span className="hbs-g hbs-e2">**steuerbetraege** <span className="hbs-liste">[ ]</span> <span className="hbs-pflicht">\*</span></span> | — | object[] | Must | — |
| <span className="hbs-f hbs-e3">[basiswert](/en/bo4e/202604/com/Steuerbetrag#basiswert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={234} segment="SG52.TAX+7+VAT.MOA+125" /><span className="hbs-nr">00390</span> | Net amount on which the tax was calculated. E.g. 200 | number (float) | X | — |
| <span className="hbs-f hbs-e3">[basiswertVorausbezahlt](/en/bo4e/202604/com/Steuerbetrag#basiswertvorausbezahlt)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={227} segment="SG52.TAX+7+VAT.MOA+113" /><span className="hbs-nr">00400</span> | basiswertVorausbezahlt | number (float) | X | — |
| <span className="hbs-f hbs-e3">[steuerkennzeichen](/en/bo4e/202604/com/Steuerbetrag#steuerkennzeichen) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={220} segment="SG52.TAX+7+VAT" /><span className="hbs-nr">00410</span> | Identification of the tax rate or procedure. Details tax code | string | Must | — |
| <span className="hbs-f hbs-e3">[steuerwert](/en/bo4e/202604/com/Steuerbetrag#steuerwert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={237} segment="SG52.TAX+7+VAT.MOA+161" /><span className="hbs-nr">00420</span> | Tax calculated from the base value. E.g. 38 (at UST_19) if the base value is 200. | number (float) | X | — |
| <span className="hbs-f hbs-e3">[steuerwertVorausbezahlt](/en/bo4e/202604/com/Steuerbetrag#steuerwertvorausbezahlt)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={230} segment="SG52.TAX+7+VAT.MOA+115" /><span className="hbs-nr">00430</span> | steuerwertVorausbezahlt | number (float) | X | — |
| <span className="hbs-g hbs-e2">**vorausgezahlt**</span> | — | object | May | — |
| <span className="hbs-f hbs-e3">[wert](/en/bo4e/202604/com/Betrag#wert)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={205} segment="SG50.MOA+113" /><span className="hbs-nr">00440</span> | Specifies the amount of the price. | number (float) | X | — |
| <span className="hbs-g hbs-e2">**zuZahlen** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e3">[wert](/en/bo4e/202604/com/Betrag#wert) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={218} segment="SG50.MOA+9" /><span className="hbs-nr">00450</span> | Specifies the amount of the price. | number (float) | X | — |
| <span className="hbs-g hbs-e0">**transaktionsdaten** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e1">[dokumentennummer](/en/bo4e/202604/cdoc/Transaktionsdaten#dokumentennummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={8} segment="BGM+380" /><span className="hbs-nr">00460</span> | EDIFACT reference from the BGM segment / BGM | string | X | — |
| <span className="hbs-f hbs-e1">[nachrichtenreferenznummer](/en/bo4e/202604/cdoc/Transaktionsdaten#nachrichtenreferenznummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={0} segment="UNH" /><span className="hbs-nr">00470</span> | EDIFACT reference from the UNT segment / UTILMD UNT+21 | string | Must | — |
| <span className="hbs-f hbs-e1">[pruefidentifikator](/en/bo4e/202604/cdoc/Transaktionsdaten#pruefidentifikator) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={52} segment="SG1.RFF+Z13" /><span className="hbs-nr">00480</span> | Contains the check identifier from the EDIFact communication / RFF+Z13 | string | X | — |
| <span className="hbs-g hbs-e1">**absender** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e2">[name1](/en/bo4e/202604/bo/Marktteilnehmer#name1) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={68} segment="SG2.NAD+MS" /><span className="hbs-nr">00490</span> | First part of the name. This can hold the company name or, for private individuals,<br/>the surname, for example. Examples: Yellow Strom GmbH<br/>or Hagen | string | X | — |
| <span className="hbs-f hbs-e2">[rollencodenummer](/en/bo4e/202604/bo/Marktteilnehmer#rollencodenummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={68} segment="SG2.NAD+MS" /><span className="hbs-nr">00500</span> | Specifies the code value of the market role. | string | X | — |
| <span className="hbs-f hbs-e2">[rollencodetyp](/en/bo4e/202604/bo/Marktteilnehmer#rollencodetyp) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={68} segment="SG2.NAD+MS" /><span className="hbs-nr">00510</span> | Indicates the type of the code. | [Enum Rollencodetyp](/en/bo4e/202604/enum/Rollencodetyp) | X | — |
| <span className="hbs-w hbs-e3">`BDEW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GS1`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GLN`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`DVGW`</span> | — | — | X | — |
| <span className="hbs-f hbs-e2">[steuernummer](/en/bo4e/202604/bo/Marktteilnehmer#steuernummer)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={80} segment="SG2.NAD+MS.SG3.RFF" /><span className="hbs-nr">00520</span> | The tax number ID of the business partner. Example: 30120345678 | string | Must | — |
| <span className="hbs-f hbs-e2">[umsatzsteuerId](/en/bo4e/202604/bo/Marktteilnehmer#umsatzsteuerid)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={80} segment="SG2.NAD+MS.SG3.RFF" /><span className="hbs-nr">00530</span> | The VAT ID of the business partner. Example: DE 813281825 | string | Must | — |
| <span className="hbs-g hbs-e2">**ansprechpartner**</span> | — | object | May | — |
| <span className="hbs-f hbs-e3">[nachname](/en/bo4e/202604/bo/Ansprechpartner#nachname)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={85} segment="SG2.NAD+MS.SG5.CTA+IC" /><span className="hbs-nr">00540</span> | Surname (family name) of the contact person | string | X | — |
| <span className="hbs-g hbs-e1">**empfaenger** <span className="hbs-pflicht">\*</span></span> | — | object | Must | — |
| <span className="hbs-f hbs-e2">[name1](/en/bo4e/202604/bo/Marktteilnehmer#name1) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={95} segment="SG2.NAD+MR" /><span className="hbs-nr">00550</span> | First part of the name. This can hold the company name or, for private individuals,<br/>the surname, for example. Examples: Yellow Strom GmbH<br/>or Hagen | string | X | — |
| <span className="hbs-f hbs-e2">[rollencodenummer](/en/bo4e/202604/bo/Marktteilnehmer#rollencodenummer) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={95} segment="SG2.NAD+MR" /><span className="hbs-nr">00560</span> | Specifies the code value of the market role. | string | X | — |
| <span className="hbs-f hbs-e2">[rollencodetyp](/en/bo4e/202604/bo/Marktteilnehmer#rollencodetyp) <span className="hbs-pflicht">\*</span></span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={95} segment="SG2.NAD+MR" /><span className="hbs-nr">00570</span> | Indicates the type of the code. | [Enum Rollencodetyp](/en/bo4e/202604/enum/Rollencodetyp) | X | — |
| <span className="hbs-w hbs-e3">`BDEW`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GS1`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`GLN`</span> | — | — | X | — |
| <span className="hbs-w hbs-e3">`DVGW`</span> | — | — | X | — |
| <span className="hbs-f hbs-e2">[steuernummer](/en/bo4e/202604/bo/Marktteilnehmer#steuernummer)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={80} segment="SG2.NAD+MR.SG3.RFF" /><span className="hbs-nr">00580</span> | The tax number ID of the business partner. Example: 30120345678 | string | Must | — |
| <span className="hbs-f hbs-e2">[umsatzsteuerId](/en/bo4e/202604/bo/Marktteilnehmer#umsatzsteuerid)</span> <AhbTabelle pruefid="31002" format="INVOIC" fv="202604" zeile={80} segment="SG2.NAD+MR.SG3.RFF" /><span className="hbs-nr">00590</span> | The VAT ID of the business partner. Example: DE 813281825 | string | Must | — |

</div>

</Handbuchsatz>

## Application handbook (AHB)

<Handbuchsatz>

<div className="maco-tabellenrahmen" data-maco="ahb-tabelle">

| Structure (EDIFACT) | Description | Format | <span className="hbs-p" title="NN-Rechnung">31002</span> | Condition |
|---|---|---|---|---|
| <span className="hbs-g hbs-e0">**UNH**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0062`</span><span className="hbs-nr">00010</span> | Message reference number | — | X | — |
| <span className="hbs-f hbs-e1">`0065 INVOIC`</span><span className="hbs-nr">00020</span> | Invoice | — | X | — |
| <span className="hbs-f hbs-e1">`0052 D`</span><span className="hbs-nr">00030</span> | Draft version | — | X | — |
| <span className="hbs-f hbs-e1">`0054 06A`</span><span className="hbs-nr">00040</span> | Edition 2006 - A | — | X | — |
| <span className="hbs-f hbs-e1">`0051 UN`</span><span className="hbs-nr">00050</span> | UN/CEFACT | — | X | — |
| <span className="hbs-f hbs-e1">`0057 2.8e`</span><span className="hbs-nr">00060</span> | — | — | X | — |
| <span className="hbs-g hbs-e0">**BGM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1001 380`</span><span className="hbs-nr">00070</span> | Commercial invoice | — | X | — |
| <span className="hbs-f hbs-e1">`1004`</span><span className="hbs-nr">00080</span> | Document number | — | X | — |
| <span className="hbs-f hbs-e1">`1225 7`</span><span className="hbs-nr">00090</span> | Duplicate | — | X | — |
| <span className="hbs-f hbs-e1">`1225 9`</span><span className="hbs-nr">00100</span> | Original | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 137`</span><span className="hbs-nr">00110</span> | Document/message date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00120</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[931]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00130</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 9`</span><span className="hbs-nr">00140</span> | Handling / processing date / time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00150</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[931]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00160</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 155`</span><span className="hbs-nr">00170</span> | Invoicing period, start date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00180</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB3]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00190</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 156`</span><span className="hbs-nr">00200</span> | Invoicing period, end date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00210</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB3]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00220</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**IMD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`7081 ABR`</span><span className="hbs-nr">00230</span> | Final invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 JVR`</span><span className="hbs-nr">00240</span> | Periodic invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 MVR`</span><span className="hbs-nr">00250</span> | Monthly invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 ZVR`</span><span className="hbs-nr">00260</span> | Interim invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 13I`</span><span className="hbs-nr">00270</span> | Integrated 13th invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 13R`</span><span className="hbs-nr">00280</span> | 13. Invoice | — | X | <span className="hbs-marke">[493]</span> ∨ <span className="hbs-marke">[57]</span> |
| <span className="hbs-f hbs-e1">`7081 SOR`</span><span className="hbs-nr">00290</span> | Special invoice | — | X | <span className="hbs-marke">[492]</span> ∧ <span className="hbs-marke">[56]</span> |
| <span className="hbs-g hbs-e0">**FTX**</span> | — | — | Should | <span className="hbs-marke">[4]</span> |
| <span className="hbs-f hbs-e1">`4451 REG`</span><span className="hbs-nr">00300</span> | Notification information | — | X | — |
| <span className="hbs-f hbs-e1">`4441 RCH`</span><span className="hbs-nr">00310</span> | Reverse Charge in accordance with §13b UStG / tax liability of the service recipient | — | X | — |
| <span className="hbs-g hbs-e0">**GEI**</span> | — | — | Must | <span className="hbs-marke">[41]</span> |
| <span className="hbs-f hbs-e1">`9649 Z01`</span><span className="hbs-nr">00320</span> | Type of special invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7365 Z01`</span><span className="hbs-nr">00330</span> | Concession levy (attestation) | — | X | <span className="hbs-marke">[78]</span> ∧ <span className="hbs-marke">[83]</span> |
| <span className="hbs-f hbs-e1">`7365 Z02`</span><span className="hbs-nr">00340</span> | Individual agreement for atypical and energy-intensive grid usage | — | X | — |
| <span className="hbs-f hbs-e1">`7365 Z03`</span><span className="hbs-nr">00350</span> | Individual agreement for singular grid usage | — | X | — |
| <span className="hbs-f hbs-e1">`7365 Z04`</span><span className="hbs-nr">00360</span> | KWKG levy | — | X | <span className="hbs-marke">[79]</span> |
| <span className="hbs-f hbs-e1">`7365 Z05`</span><span className="hbs-nr">00370</span> | Offshore grid levy | — | X | <span className="hbs-marke">[79]</span> |
| <span className="hbs-f hbs-e1">`7365 Z06`</span><span className="hbs-nr">00380</span> | § 19 StromNEV levy | — | X | — |
| <span className="hbs-f hbs-e1">`7365 Z07`</span><span className="hbs-nr">00390</span> | §18 AbLaV | — | X | — |
| <span className="hbs-f hbs-e1">`7365 Z08`</span><span className="hbs-nr">00400</span> | Concession levy (switch to load curve metering) | — | X | <span className="hbs-marke">[80]</span> ∧ <span className="hbs-marke">[83]</span> |
| <span className="hbs-f hbs-e1">`7365 Z09`</span><span className="hbs-nr">00410</span> | Privileging under the EnFG | — | X | <span className="hbs-marke">[81]</span> ∧ <span className="hbs-marke">[82]</span> |
| <span className="hbs-f hbs-e1">`7365 Z10`</span><span className="hbs-nr">00420</span> | Concession levy (forwarded quantities) | — | X | <span className="hbs-marke">[78]</span> ∧ <span className="hbs-marke">[80]</span> |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 Z13`</span><span className="hbs-nr">00430</span> | Check identifier | — | X | — |
| <span className="hbs-f hbs-e1">`1154 31002`</span><span className="hbs-nr">00440</span> | NN invoice | — | X | — |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 OI`</span><span className="hbs-nr">00450</span> | Original invoice number | — | X | — |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00460</span> | Reference, identification | — | X | — |
| <span className="hbs-g hbs-e0">**SG1.DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 171`</span><span className="hbs-nr">00470</span> | Reference date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00480</span> | Date or time or time span, value | — | X | — |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00490</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 ACE`</span><span className="hbs-nr">00500</span> | Number of the associated document | — | X | — |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00510</span> | Reference, identification | — | X | <span className="hbs-marke">[514]</span> |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 Z56`</span><span className="hbs-nr">00520</span> | Prices of the grid operator | — | X | — |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00530</span> | MP-ID | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 MS`</span><span className="hbs-nr">00540</span> | Document-/ message sender or sender | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00550</span> | MP-ID | — | X | — |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00560</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00570</span> | DE, BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.) | — | X | — |
| <span className="hbs-f hbs-e1">`3055 332`</span><span className="hbs-nr">00580</span> | DE, DVGW Service & Consult GmbH | — | X | — |
| <span className="hbs-f hbs-e1">`3036`</span><span className="hbs-nr">00590</span> | Party involved | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z01`</span><span className="hbs-nr">00600</span> | Structure of person names | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z02`</span><span className="hbs-nr">00610</span> | Structure of the company name | — | X | — |
| <span className="hbs-f hbs-e1">`3042`</span><span className="hbs-nr">00620</span> | Street and house number or PO box | — | — | S <span className="hbs-marke">[7]</span> |
| <span className="hbs-f hbs-e1">`3164`</span><span className="hbs-nr">00630</span> | City | — | — | — |
| <span className="hbs-f hbs-e1">`3251`</span><span className="hbs-nr">00640</span> | Postal code, code | — | X | — |
| <span className="hbs-f hbs-e1">`3207`</span><span className="hbs-nr">00650</span> | Country name, code | — | X | — |
| <span className="hbs-g hbs-e0">**SG3.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 VA`</span><span className="hbs-nr">00660</span> | Value added tax number | — | X | — |
| <span className="hbs-f hbs-e1">`1153 FC`</span><span className="hbs-nr">00670</span> | Tax number | — | X | <span className="hbs-marke">[6]</span> |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00680</span> | Reference, identification | — | X | — |
| <span className="hbs-g hbs-e0">**SG5.CTA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3139 IC`</span><span className="hbs-nr">00690</span> | Information contact | — | X | — |
| <span className="hbs-f hbs-e1">`3412`</span><span className="hbs-nr">00700</span> | Contact | — | X | — |
| <span className="hbs-g hbs-e0">**SG5.COM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3148`</span><span className="hbs-nr">00710</span> | Communication address, identification | — | X | ((<span className="hbs-marke">[939]</span> <span className="hbs-marke">[74]</span>) ∨ (<span className="hbs-marke">[940]</span><span className="hbs-marke">[75]</span>)) ∧ <span className="hbs-marke">[524]</span> |
| <span className="hbs-f hbs-e1">`3155 EM`</span><span className="hbs-nr">00720</span> | Electronic mail | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 FX`</span><span className="hbs-nr">00730</span> | Fax number | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 TE`</span><span className="hbs-nr">00740</span> | Telephone | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 AJ`</span><span className="hbs-nr">00750</span> | further telephone | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 AL`</span><span className="hbs-nr">00760</span> | Mobile phone | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 MR`</span><span className="hbs-nr">00770</span> | Message recipient | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00780</span> | MP-ID | — | X | — |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00790</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00800</span> | DE, BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.) | — | X | — |
| <span className="hbs-f hbs-e1">`3055 332`</span><span className="hbs-nr">00810</span> | DE, DVGW Service & Consult GmbH | — | X | — |
| <span className="hbs-f hbs-e1">`3036`</span><span className="hbs-nr">00820</span> | Party involved | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z01`</span><span className="hbs-nr">00830</span> | Structure of person names | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z02`</span><span className="hbs-nr">00840</span> | Structure of the company name | — | X | — |
| <span className="hbs-f hbs-e1">`3042`</span><span className="hbs-nr">00850</span> | Street and house number or PO box | — | — | S <span className="hbs-marke">[7]</span> |
| <span className="hbs-f hbs-e1">`3164`</span><span className="hbs-nr">00860</span> | City | — | — | — |
| <span className="hbs-f hbs-e1">`3251`</span><span className="hbs-nr">00870</span> | Postal code, code | — | X | — |
| <span className="hbs-f hbs-e1">`3207`</span><span className="hbs-nr">00880</span> | Country name, code | — | X | — |
| <span className="hbs-g hbs-e0">**SG3.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 VA`</span><span className="hbs-nr">00890</span> | Value added tax number | — | X | — |
| <span className="hbs-f hbs-e1">`1153 FC`</span><span className="hbs-nr">00900</span> | Tax number | — | X | <span className="hbs-marke">[6]</span> |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00910</span> | Reference, identification | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 DP`</span><span className="hbs-nr">00920</span> | Supply address | — | X | — |
| <span className="hbs-f hbs-e1">`3124`</span><span className="hbs-nr">00930</span> | Additional information for identification | — | — | — |
| <span className="hbs-f hbs-e1">`3042`</span><span className="hbs-nr">00940</span> | Street and house number or PO box | — | — | S <span className="hbs-marke">[22]</span> M <span className="hbs-marke">[23]</span> |
| <span className="hbs-f hbs-e1">`3164`</span><span className="hbs-nr">00950</span> | City | — | — | — |
| <span className="hbs-f hbs-e1">`3251`</span><span className="hbs-nr">00960</span> | Postal code, code | — | X | — |
| <span className="hbs-f hbs-e1">`3207`</span><span className="hbs-nr">00970</span> | Country name, code | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.LOC**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3227 172`</span><span className="hbs-nr">00980</span> | Reporting point | — | X | — |
| <span className="hbs-f hbs-e1">`3225`</span><span className="hbs-nr">00990</span> | Location, number | — | X | <span className="hbs-marke">[950]</span> <span className="hbs-marke">[509]</span> |
| <span className="hbs-g hbs-e0">**SG7.CUX**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`6347 2`</span><span className="hbs-nr">01000</span> | Reference currency | — | X | — |
| <span className="hbs-f hbs-e1">`6345 EUR`</span><span className="hbs-nr">01010</span> | Euro | — | X | — |
| <span className="hbs-f hbs-e1">`6343 4`</span><span className="hbs-nr">01020</span> | Currency of the invoice | — | X | — |
| <span className="hbs-g hbs-e0">**SG8.PYT**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`4279 3`</span><span className="hbs-nr">01030</span> | Fixed date | — | X | — |
| <span className="hbs-g hbs-e0">**SG8.DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 265`</span><span className="hbs-nr">01040</span> | Due date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">01050</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB1]</span> ∧ ((<span className="hbs-marke">[493]</span> ∧ <span className="hbs-marke">[20]</span> ∧ <span className="hbs-marke">[24]</span>) ⊻ (<span className="hbs-marke">[493]</span> ∧ <span className="hbs-marke">[21]</span> ∧ <span className="hbs-marke">[25]</span>) ⊻ <span className="hbs-marke">[492]</span>) |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">01060</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**SG26.LIN**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1082`</span><span className="hbs-nr">01070</span> | Line item number | — | X | <span className="hbs-marke">[911]</span> |
| <span className="hbs-f hbs-e1">`7140`</span><span className="hbs-nr">01080</span> | Product/service number | — | X | (<span className="hbs-marke">[50]</span> ∧ (<span className="hbs-marke">[67]</span> ⊻ <span className="hbs-marke">[68]</span>)) ⊻ (<span className="hbs-marke">[41]</span> ∧ (<span className="hbs-marke">[67]</span> ⊻ <span className="hbs-marke">[68]</span> ⊻ <span className="hbs-marke">[69]</span>)) |
| <span className="hbs-f hbs-e1">`7143 Z01`</span><span className="hbs-nr">01090</span> | Article number | — | X | <span className="hbs-marke">[493]</span> ⊻ (<span className="hbs-marke">[492]</span> ∧ <span className="hbs-marke">[51]</span>) |
| <span className="hbs-f hbs-e1">`7143 Z09`</span><span className="hbs-nr">01100</span> | Article ID | — | X | <span className="hbs-marke">[492]</span> ∧ <span className="hbs-marke">[59]</span> |
| <span className="hbs-g hbs-e0">**SG26.QTY**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`6063 47`</span><span className="hbs-nr">01110</span> | Calculated (invoiced) quantity | — | X | — |
| <span className="hbs-f hbs-e1">`6060`</span><span className="hbs-nr">01120</span> | Quantity | — | X | <span className="hbs-marke">[910]</span> ∧ <span className="hbs-marke">[906]</span> |
| <span className="hbs-f hbs-e1">`6411 KWH`</span><span className="hbs-nr">01130</span> | Kilowatt hour | — | X | — |
| <span className="hbs-f hbs-e1">`6411 KWT`</span><span className="hbs-nr">01140</span> | Kilowatt | — | X | — |
| <span className="hbs-f hbs-e1">`6411 KVR`</span><span className="hbs-nr">01150</span> | kilovar | — | X | <span className="hbs-marke">[492]</span> ∧ <span className="hbs-marke">[51]</span> |
| <span className="hbs-f hbs-e1">`6411 K3`</span><span className="hbs-nr">01160</span> | kilovolt ampere reactive hour | — | X | <span className="hbs-marke">[492]</span> ∧ <span className="hbs-marke">[51]</span> |
| <span className="hbs-f hbs-e1">`6411 H87`</span><span className="hbs-nr">01170</span> | Piece | — | X | — |
| <span className="hbs-g hbs-e0">**SG26.QTY**</span> | — | — | Should | <span className="hbs-marke">[8]</span> |
| <span className="hbs-f hbs-e1">`6063 136`</span><span className="hbs-nr">01180</span> | Quantity reached in the time interval | — | X | — |
| <span className="hbs-f hbs-e1">`6060`</span><span className="hbs-nr">01190</span> | Quantity | — | X | <span className="hbs-marke">[908]</span> <span className="hbs-marke">[85]</span> ⊻ <span className="hbs-marke">[914]</span> <span className="hbs-marke">[86]</span> |
| <span className="hbs-f hbs-e1">`6411 DAY`</span><span className="hbs-nr">01200</span> | Day | — | X | — |
| <span className="hbs-f hbs-e1">`6411 MON`</span><span className="hbs-nr">01210</span> | Month | — | X | <span className="hbs-marke">[51]</span> ∨ <span className="hbs-marke">[493]</span> |
| <span className="hbs-f hbs-e1">`6411 ANN`</span><span className="hbs-nr">01220</span> | Year | — | X | <span className="hbs-marke">[51]</span> ∨ <span className="hbs-marke">[493]</span> |
| <span className="hbs-g hbs-e0">**SG26.DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 155`</span><span className="hbs-nr">01230</span> | Invoicing period, start date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">01240</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB3]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">01250</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**SG26.DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 156`</span><span className="hbs-nr">01260</span> | Invoicing period, end date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">01270</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB3]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">01280</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**SG27.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 203`</span><span className="hbs-nr">01290</span> | Line item amount (excluding VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01300</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG27.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 131`</span><span className="hbs-nr">01310</span> | Total surcharge or discount amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01320</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG29.PRI**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5125 CAL`</span><span className="hbs-nr">01330</span> | Calculation price | — | X | — |
| <span className="hbs-f hbs-e1">`5118`</span><span className="hbs-nr">01340</span> | Price, amount | — | X | <span className="hbs-marke">[946]</span> |
| <span className="hbs-f hbs-e1">`6411 DAY`</span><span className="hbs-nr">01350</span> | Day | — | X | <span className="hbs-marke">[12]</span> |
| <span className="hbs-f hbs-e1">`6411 MON`</span><span className="hbs-nr">01360</span> | Month | — | X | <span className="hbs-marke">[12]</span> ∧ (<span className="hbs-marke">[51]</span> ∨ <span className="hbs-marke">[493]</span>) |
| <span className="hbs-f hbs-e1">`6411 ANN`</span><span className="hbs-nr">01370</span> | Year | — | X | <span className="hbs-marke">[12]</span> ∧ (<span className="hbs-marke">[51]</span> ∨ <span className="hbs-marke">[493]</span>) |
| <span className="hbs-g hbs-e0">**SG34.TAX**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5283 7`</span><span className="hbs-nr">01380</span> | Tax | — | X | — |
| <span className="hbs-f hbs-e1">`5153 VAT`</span><span className="hbs-nr">01390</span> | Value added tax | — | X | — |
| <span className="hbs-f hbs-e1">`5278`</span><span className="hbs-nr">01400</span> | Duty/tax/fee rate | — | X | <span className="hbs-marke">[902]</span> ∧ <span className="hbs-marke">[930]</span> |
| <span className="hbs-f hbs-e1">`5305 S`</span><span className="hbs-nr">01410</span> | Standard rate (standard) | — | X | — |
| <span className="hbs-f hbs-e1">`5305 O`</span><span className="hbs-nr">01420</span> | not controllable | — | X | — |
| <span className="hbs-f hbs-e1">`5305 AE`</span><span className="hbs-nr">01430</span> | Reverse Charge / tax liability of the service recipient | — | X | — |
| <span className="hbs-g hbs-e0">**SG39.ALC**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5463 A`</span><span className="hbs-nr">01440</span> | Instalment payment | — | X | — |
| <span className="hbs-f hbs-e1">`5189 Z01`</span><span className="hbs-nr">01450</span> | Municipal discount under the Concession Levy Ordinance | — | X | — |
| <span className="hbs-f hbs-e1">`5189 Z04`</span><span className="hbs-nr">01460</span> | Adjustment under § 19, paragraph 2 Stromnetzentgeltver ordnung | — | X | — |
| <span className="hbs-g hbs-e0">**SG41.PCD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5245 3`</span><span className="hbs-nr">01470</span> | Surcharge or discount | — | X | — |
| <span className="hbs-f hbs-e1">`5482`</span><span className="hbs-nr">01480</span> | Percentage | — | X | <span className="hbs-marke">[914]</span> ∧ <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG42.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 25`</span><span className="hbs-nr">01490</span> | Surcharge/discount basis | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01500</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> <span className="hbs-marke">[512]</span> |
| <span className="hbs-g hbs-e0">**SG42.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 Z01`</span><span className="hbs-nr">01510</span> | Municipal discount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01520</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> <span className="hbs-marke">[513]</span> |
| <span className="hbs-g hbs-e0">**SG39.ALC**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5463 C`</span><span className="hbs-nr">01530</span> | Surcharge | — | X | — |
| <span className="hbs-f hbs-e1">`5189 Z02`</span><span className="hbs-nr">01540</span> | Transformation surcharge | — | X | <span className="hbs-marke">[29]</span> |
| <span className="hbs-f hbs-e1">`5189 Z03`</span><span className="hbs-nr">01550</span> | equipment used exclusively pursuant to § 19, paragraph 3 Stromnetzentgeltverordnung | — | X | — |
| <span className="hbs-f hbs-e1">`5189 Z04`</span><span className="hbs-nr">01560</span> | Adjustment under § 19, paragraph 2 Stromnetzentgeltver ordnung | — | X | — |
| <span className="hbs-f hbs-e1">`5189 Z05`</span><span className="hbs-nr">01570</span> | Adjustment of the flat-rate grid fee reduction under § 14a EnWG to the level of the NNE | — | X | <span className="hbs-marke">[525]</span> |
| <span className="hbs-g hbs-e0">**SG41.PCD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5245 3`</span><span className="hbs-nr">01580</span> | Surcharge or discount | — | X | — |
| <span className="hbs-f hbs-e1">`5482`</span><span className="hbs-nr">01590</span> | Percentage | — | X | <span className="hbs-marke">[914]</span> ∧ <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**UNS**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0081 S`</span><span className="hbs-nr">01600</span> | Separation of detail and summary section | — | X | — |
| <span className="hbs-g hbs-e0">**SG50.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 77`</span><span className="hbs-nr">01610</span> | Invoice amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01620</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG50.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 113`</span><span className="hbs-nr">01630</span> | Prepaid amount (incl. VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01640</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> ∧ <span className="hbs-marke">[526]</span> |
| <span className="hbs-g hbs-e0">**SG51.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 AFL`</span><span className="hbs-nr">01650</span> | Associated invoices | — | X | — |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">01660</span> | Reference, identification | — | X | — |
| <span className="hbs-g hbs-e0">**SG51.DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 3`</span><span className="hbs-nr">01670</span> | Invoice date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">01680</span> | Date or time or time span, value | — | X | — |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">01690</span> | CCYYMMDDHHMMZ ZZ | — | X | — |
| <span className="hbs-g hbs-e0">**SG50.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 Z01`</span><span className="hbs-nr">01700</span> | Municipal discount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01710</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG50.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 9`</span><span className="hbs-nr">01720</span> | Amount due (incl. VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01730</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG52.TAX**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5283 7`</span><span className="hbs-nr">01740</span> | Tax | — | X | — |
| <span className="hbs-f hbs-e1">`5153 VAT`</span><span className="hbs-nr">01750</span> | Value added tax | — | X | — |
| <span className="hbs-f hbs-e1">`5278`</span><span className="hbs-nr">01760</span> | Duty/tax/fee rate | — | X | <span className="hbs-marke">[902]</span> ∧ <span className="hbs-marke">[930]</span> |
| <span className="hbs-f hbs-e1">`5305 S`</span><span className="hbs-nr">01770</span> | Standard rate (standard) | — | X | — |
| <span className="hbs-f hbs-e1">`5305 O`</span><span className="hbs-nr">01780</span> | not controllable | — | X | — |
| <span className="hbs-f hbs-e1">`5305 AE`</span><span className="hbs-nr">01790</span> | Reverse Charge / tax liability of the service recipient | — | X | — |
| <span className="hbs-g hbs-e0">**SG52.MOA**</span> | — | — | Should | <span className="hbs-marke">[13]</span> |
| <span className="hbs-f hbs-e1">`5025 113`</span><span className="hbs-nr">01800</span> | Prepaid amount (incl. VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01810</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG52.MOA**</span> | — | — | Must | <span className="hbs-marke">[58]</span> |
| <span className="hbs-f hbs-e1">`5025 115`</span><span className="hbs-nr">01820</span> | Prepaid taxes (VAT share of the prepaid amount) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01830</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG52.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 125`</span><span className="hbs-nr">01840</span> | Taxable amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01850</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**SG52.MOA**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`5025 161`</span><span className="hbs-nr">01860</span> | Tax/fee/levy amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01870</span> | Monetary amount | — | X | <span className="hbs-marke">[930]</span> |
| <span className="hbs-g hbs-e0">**UNT**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0074`</span><span className="hbs-nr">01880</span> | Number of segments in a message | — | X | — |
| <span className="hbs-f hbs-e1">`0062`</span><span className="hbs-nr">01890</span> | Message reference number | — | X | — |

</div>

</Handbuchsatz>

### Conditions of this table

The free text of the 57 conditions referenced by the rows above. All conditions of the message type are listed in the [condition index INVOIC](/en/referenz/202604/ahb-bedingungen/INVOIC).

<div className="maco-tabellenrahmen">

| Marker | Condition |
|---|---|
| **[4]** | If the tax liability of the service recipient applies |
| **[6]** | If NAD+MR DE3207 = „DE“ |
| **[7]** | Provided that no large-customer postcode is used |
| **[8]** | For time-dependent prices |
| **[12]** | If SG26 QTY+136 is present |
| **[13]** | If a prepaid amount exists |
| **[20]** | If amount due (SG50 MOA+9) ≥ 0 |
| **[21]** | If amount due (SG50 MOA+9) &lt; 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 |
| **[29]** | [If DTM+155 (billing period start) not greater than 31.12.2015 |
| **[41]** | If IMD++SOR 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 |
| **[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 |
| **[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. |
| **[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 |
| **[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 |
| **[85]** | If in this segment DE6411 = DAY |
| **[86]** | If in this segment DE6411 = MON/ANN |
| **[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 |
| **[509]** | Note: Use of the ID of the market 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 |
| **[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: &lt; 0 or ≥ 0 |
| **[911]** | Format: Possible values: 1 to n, starting at 1 for each message or segment group and ascending consecutively |
| **[914]** | Format: Possible value: &gt; 0 |
| **[930]** | Format: max. 2 decimal places |
| **[931]** | Format: ZZZ = +00 |
| **[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 |
| **[UB3]** | ([931] ∧ [932] [492] ∧ [490]) ⊻ ([931] ∧ [933] [492] ∧ [491]) ⊻ ([931] ∧ [934] [493] ∧ [490]) ⊻ ([931] ∧ [935] [493] ∧ [491]) |
| **[1P0..1]** | Note: This is the standard package if no condition applies, e.g. in the COM segment. |
| **[UB1]** | ([931] ∧ [932] [490]) ⊻ ([931] ∧ [933] [491]) |

</div>

## Example message

### Example 1

<div data-maco="beispielfall" className="maco-beispielfall">

<Beispielnachricht>

```text title="EDIFACT"
UNA:+.? '
UNB+UNOC:3+9900321000005:500+9903790000002:500+{{date}}:{{time}}+152012'
UNH+806158+INVOIC:D:06A:UN:2.8e'
BGM+380+806158BGM+9'
DTM+137:202506050648?+00:303'
DTM+9:202305160648?+00:303'
DTM+155:202302282300?+00:303'
DTM+156:202303312200?+00:303'
IMD++ABR'
RFF+Z13:31002'
RFF+ACE:REF12345678910'
NAD+MS+9900321000005::293++Stadtwerke:::::Z02+Str.::9+Ort++11111+DE'
RFF+FC:12345678910'
CTA+IC+:Max Mustermann'
COM+max@mustermann.de:EM'
COM+?+02345678930:AJ'
COM+?+02345678910:FX'
COM+?+02345678920:TE'
COM+?+02345678940:AL'
NAD+MR+9903790000002::293++Lieferant:::::Z02+Str.::1+Ort++33333+DE'
NAD+DP++++Str.::1+Ort++12345+DE'
LOC+172+50074561188'
CUX+2:EUR:4'
PYT+3'
DTM+265:202306052200?+00:303'
LIN+1++1-02-0-001:Z09'
QTY+47:1:H87'
QTY+136:30:DAY'
DTM+155:202302282300?+00:303'
DTM+156:202303312200?+00:303'
MOA+203:1000'
PRI+CAL:30::::DAY'
TAX+7+VAT+++:::19+S'
LIN+2++1-02-0-001:Z09'
QTY+47:1:H87'
DTM+155:202302282300?+00:303'
DTM+156:202303312200?+00:303'
MOA+203:1000'
PRI+CAL:30'
TAX+7+VAT+++:::19+S'
ALC+A+:Z01'
PCD+3:10'
MOA+25:1000'
MOA+Z01:100'
UNS+S'
MOA+77:2000'
MOA+Z01:10'
MOA+9:2400'
TAX+7+VAT+++:::19+S'
MOA+125:2000'
MOA+161:400'
UNT+50+806158'
UNZ+1+152012'
```

```json title="BO4E-JSON"
[
  {
    "businessKey": "<businessKey>",
    "processDate": null,
    "dataSource": "OUTBOUND",
    "version": 1,
    "edifactVersion": 202604,
    "data": {
      "stammdaten": {
        "MARKTLOKATION": [
          {
            "boTyp": "MARKTLOKATION",
            "versionStruktur": "1",
            "marktlokationsId": "50074561188",
            "sparte": "STROM",
            "lokationsadresse": {
              "postleitzahl": "12345",
              "ort": "Ort",
              "strasse": "Str.",
              "hausnummer": "1",
              "landescode": "DE"
            }
          }
        ],
        "RECHNUNG": [
          {
            "boTyp": "RECHNUNG",
            "versionStruktur": "1",
            "rechnungsstatus": "ORIGINAL",
            "storno": false,
            "rechnungsdatum": "2025-06-05T06:48:00Z",
            "istSelbstausgestellt": false,
            "bearbeitungsdatum": "2023-05-16T06:48:00Z",
            "referenzDokumentennummer": "REF12345678910",
            "rechnungsperiode": {
              "startdatum": "2023-02-28T23:00:00Z",
              "enddatum": "2023-03-31T22:00:00Z"
            },
            "faelligkeitsdatum": "2023-06-05T22:00:00Z",
            "rechnungspositionen": [
              {
                "positionsnummer": 1,
                "artikelnummer": "1-02-0-001",
                "positionsMenge": {
                  "wert": 1,
                  "einheit": "STUECK"
                },
                "zeitbezogeneMenge": {
                  "wert": 30,
                  "einheit": "TAG"
                },
                "lieferungVon": "2023-02-28T23:00:00Z",
                "lieferungBis": "2023-03-31T22:00:00Z",
                "teilsummeNetto": {
                  "wert": 1000,
                  "waehrung": "EUR"
                },
                "einzelpreis": {
                  "wert": 30,
                  "waehrung": "EUR",
                  "bezugswert": "TAG"
                },
                "teilsummeSteuer": {
                  "steuerkennzeichen": "UST_19"
                }
              },
              {
                "positionsnummer": 2,
                "artikelnummer": "1-02-0-001",
                "positionsMenge": {
                  "wert": 1,
                  "einheit": "STUECK"
                },
                "lieferungVon": "2023-02-28T23:00:00Z",
                "lieferungBis": "2023-03-31T22:00:00Z",
                "teilsummeNetto": {
                  "wert": 1000,
                  "waehrung": "EUR"
                },
                "einzelpreis": {
                  "wert": 30,
                  "waehrung": "EUR",
                  "bezugswert": "TAG"
                },
                "teilsummeSteuer": {
                  "steuerkennzeichen": "UST_19"
                },
                "abschlag": {
                  "typ": "GEMEINDERABATT_KAV",
                  "prozent": 10
                },
                "gemeinderabatt": {
                  "wert": 100,
                  "bemessungsgrundlage": 1000
                }
              }
            ],
            "zuZahlen": {
              "wert": 2400,
              "waehrung": "EUR"
            },
            "steuerbetraege": [
              {
                "steuerkennzeichen": "UST_19",
                "basiswert": 2000,
                "steuerwert": 400,
                "waehrung": "EUR"
              }
            ],
            "gesamtbrutto": {
              "wert": 2000,
              "waehrung": "EUR"
            },
            "rechnungstyp": "ABSCHLUSSRECHNUNG",
            "gemeinderabatt": {
              "wert": 10
            }
          }
        ]
      },
      "transaktionsdaten": {
        "datenaustauschreferenz": "152012",
        "sparte": "STROM",
        "pruefidentifikator": "31002",
        "absender": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "gewerbekennzeichnung": true,
          "rollencodenummer": "9900321000005",
          "rollencodetyp": "BDEW",
          "name1": "Stadtwerke",
          "steuernummer": "12345678910",
          "partneradresse": {
            "postleitzahl": "11111",
            "ort": "Ort",
            "strasse": "Str.",
            "hausnummer": "9",
            "landescode": "DE"
          },
          "ansprechpartner": {
            "boTyp": "ANSPRECHPARTNER",
            "versionStruktur": "1",
            "nachname": "Max Mustermann",
            "eMailAdresse": "max@mustermann.de",
            "rufnummern": [
              {
                "nummerntyp": "RUF_ZENTRALE",
                "rufnummer": "+02345678930"
              },
              {
                "nummerntyp": "FAX_DURCHWAHL",
                "rufnummer": "+02345678910"
              },
              {
                "nummerntyp": "RUF_DURCHWAHL",
                "rufnummer": "+02345678920"
              },
              {
                "nummerntyp": "MOBIL_NUMMER",
                "rufnummer": "+02345678940"
              }
            ]
          }
        },
        "empfaenger": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "gewerbekennzeichnung": true,
          "rollencodenummer": "9903790000002",
          "rollencodetyp": "BDEW",
          "name1": "Lieferant",
          "partneradresse": {
            "postleitzahl": "33333",
            "ort": "Ort",
            "strasse": "Str.",
            "hausnummer": "1",
            "landescode": "DE"
          }
        },
        "dokumentennummer": "806158BGM",
        "kategorie": "380",
        "nachrichtenreferenznummer": "806158"
      },
      "zusatzdaten": {}
    }
  }
]
```

</Beispielnachricht>

*Source: [`1.edi`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/inbound/v202604/invoic/31002/1.edi) · [`1.json`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/outbound/v202604/invoic/31002/1.json)*

<Testdateien edi="/testdaten/202604/invoic/31002/1.edi" json="/testdaten/202604/invoic/31002/1.json" />

</div>

### Example 2

<div data-maco="beispielfall" className="maco-beispielfall">

<Beispielnachricht>

```text title="EDIFACT"
UNA:+.? '
UNB+UNOC:3+9900321000005:500+9903790000002:500+{{date}}:{{time}}+156260'
UNH+332496+INVOIC:D:06A:UN:2.8e'
BGM+380+332496BGM+9'
DTM+137:202506051157?+00:303'
DTM+9:202402070648?+00:303'
DTM+155:202302282300?+00:303'
DTM+156:202303312200?+00:303'
IMD++SOR'
GEI+Z01+Z01'
RFF+Z13:31002'
RFF+OI:ABC12345678910'
DTM+171:202401012300?+00:303'
NAD+MS+9900321000005::293++Stadtwerke:::::Z02+Str::1+Ort++12345+DE'
RFF+FC:12345678910'
CTA+IC+:Max Mustermann'
COM+max@mustermann.de:EM'
COM+?+02345678930:FX'
NAD+MR+9903790000002::293++Lieferant:::::Z02+Str::1+Ort++12345+DE'
NAD+DP++Mustermann++Str::1+Ort++55555+DE'
LOC+172+50074561188'
CUX+2:EUR:4'
PYT+3'
DTM+265:202404042200?+00:303'
LIN+1++1-10-1-002:Z09'
QTY+47:1:H87'
QTY+136:30:DAY'
DTM+155:202302282300?+00:303'
DTM+156:202303312200?+00:303'
MOA+203:1000'
MOA+131:10'
PRI+CAL:1000::::DAY'
TAX+7+VAT+++:::19+S'
ALC+A+:Z01'
PCD+3:10'
MOA+25:1000'
MOA+Z01:10'
ALC+C+:Z05'
UNS+S'
MOA+77:1000'
MOA+Z01:10'
MOA+9:1000'
TAX+7+VAT+++:::19+S'
MOA+113:1000'
MOA+115:1000'
MOA+125:1000'
MOA+161:1000'
UNT+46+332496'
UNZ+1+156260'
```

```json title="BO4E-JSON"
[
  {
    "businessKey": "<businessKey>",
    "processDate": null,
    "dataSource": "OUTBOUND",
    "version": 1,
    "edifactVersion": 202604,
    "data": {
      "stammdaten": {
        "MARKTLOKATION": [
          {
            "boTyp": "MARKTLOKATION",
            "versionStruktur": "1",
            "marktlokationsId": "50074561188",
            "sparte": "STROM",
            "lokationsadresse": {
              "postleitzahl": "55555",
              "ort": "Ort",
              "strasse": "Str",
              "hausnummer": "1",
              "landescode": "DE",
              "zusatzInformation": {
                "zusatz1": "Mustermann"
              }
            }
          }
        ],
        "RECHNUNG": [
          {
            "boTyp": "RECHNUNG",
            "versionStruktur": "1",
            "rechnungsstatus": "ORIGINAL",
            "storno": false,
            "rechnungsdatum": "2025-06-05T11:57:00Z",
            "faelligkeitsdatum": "2024-04-04T22:00:00Z",
            "bearbeitungsdatum": "2024-02-07T06:48:00Z",
            "originalRechnungsnummer": "ABC12345678910",
            "referenzNachrichtendatum": "2024-01-01T23:00:00Z",
            "rechnungsperiode": {
              "startdatum": "2023-02-28T23:00:00Z",
              "enddatum": "2023-03-31T22:00:00Z"
            },
            "gesamtbrutto": {
              "wert": 1000,
              "waehrung": "EUR"
            },
            "zuZahlen": {
              "wert": 1000,
              "waehrung": "EUR"
            },
            "steuerbetraege": [
              {
                "steuerkennzeichen": "UST_19",
                "basiswert": 1000,
                "steuerwert": 1000,
                "waehrung": "EUR",
                "basiswertVorausbezahlt": 1000,
                "steuerwertVorausbezahlt": 1000
              }
            ],
            "sonderrechnungsarten": [
              "KONZESSIONSABGABE_TESTAT"
            ],
            "rechnungspositionen": [
              {
                "positionsnummer": 1,
                "artikelnummer": "1-10-1-002",
                "lieferungVon": "2023-02-28T23:00:00Z",
                "lieferungBis": "2023-03-31T22:00:00Z",
                "positionsMenge": {
                  "wert": 1,
                  "einheit": "STUECK"
                },
                "zeitbezogeneMenge": {
                  "wert": 30,
                  "einheit": "TAG"
                },
                "einzelpreis": {
                  "wert": 1000,
                  "waehrung": "EUR",
                  "bezugswert": "TAG"
                },
                "teilsummeNetto": {
                  "wert": 1000,
                  "waehrung": "EUR"
                },
                "teilsummeSteuer": {
                  "steuerkennzeichen": "UST_19"
                },
                "gesamtZuAbschlagsbetrag": 10,
                "abschlag": {
                  "typ": "GEMEINDERABATT_KAV",
                  "prozent": 10
                },
                "zuschlag": {
                  "typ": "ANPASSUNG_PAUSCHALE_NETZENTGELTREDUZIERUNG_NACH_P14A_ENWG_AUF_HOEHE_DER_NNE"
                },
                "gemeinderabatt": {
                  "wert": 10,
                  "bemessungsgrundlage": 1000
                }
              }
            ],
            "istSelbstausgestellt": false,
            "rechnungstyp": "SONDERRECHNUNG",
            "vorauszahlungen": {
              "betrag": {
                "wert": 1000,
                "waehrung": "EUR"
              }
            },
            "gemeinderabatt": {
              "wert": 10
            }
          }
        ]
      },
      "transaktionsdaten": {
        "datenaustauschreferenz": "156260",
        "sparte": "STROM",
        "pruefidentifikator": "31002",
        "absender": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "rollencodenummer": "9900321000005",
          "rollencodetyp": "BDEW",
          "name1": "Stadtwerke",
          "gewerbekennzeichnung": true,
          "steuernummer": "12345678910",
          "partneradresse": {
            "postleitzahl": "12345",
            "ort": "Ort",
            "strasse": "Str",
            "hausnummer": "1",
            "landescode": "DE"
          },
          "ansprechpartner": {
            "boTyp": "ANSPRECHPARTNER",
            "versionStruktur": "1",
            "nachname": "Max Mustermann",
            "eMailAdresse": "max@mustermann.de",
            "rufnummern": [
              {
                "nummerntyp": "FAX_DURCHWAHL",
                "rufnummer": "+02345678930"
              }
            ]
          }
        },
        "empfaenger": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "rollencodenummer": "9903790000002",
          "rollencodetyp": "BDEW",
          "name1": "Lieferant",
          "gewerbekennzeichnung": true,
          "partneradresse": {
            "postleitzahl": "12345",
            "ort": "Ort",
            "strasse": "Str",
            "hausnummer": "1",
            "landescode": "DE"
          }
        },
        "dokumentennummer": "332496BGM",
        "kategorie": "380",
        "nachrichtenfunktion": "9",
        "nachrichtenreferenznummer": "332496"
      },
      "zusatzdaten": {}
    }
  }
]
```

</Beispielnachricht>

*Source: [`2.edi`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/inbound/v202604/invoic/31002/2.edi) · [`2.json`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/outbound/v202604/invoic/31002/2.json)*

<Testdateien edi="/testdaten/202604/invoic/31002/2.edi" json="/testdaten/202604/invoic/31002/2.json" />

</div>

### Example 3

<div data-maco="beispielfall" className="maco-beispielfall">

<Beispielnachricht>

```text title="EDIFACT"
UNA:+.? '
UNB+UNOC:3+9900683000008:500+9979052000006:500+{{date}}:{{time}}+ML8O8CII'
UNH+UNHMLKD41XU+INVOIC:D:06A:UN:2.8e'
BGM+380+BGMMLPQOZ7X+9'
DTM+137:202510010357?+00:303'
DTM+9:202506051157?+00:303'
DTM+155:202602282300?+00:303'
DTM+156:202603312200?+00:303'
IMD++SOR'
GEI+Z01+Z10'
GEI+Z01+Z02'
RFF+Z13:31002'
RFF+OI:ABC12345678910'
DTM+171:202401012300?+00:303'
RFF+Z56:9907165000001'
NAD+MS+9900683000008::293++Stadtwerke:::::Z02+Str::1+Ort++12345+DE'
RFF+FC:12345678910'
CTA+IC+:Max Mustermann'
COM+max@mustermann.de:EM'
NAD+MR+9979052000006::293++Lieferant:::::Z02+Str::1+Ort++12345+DE'
NAD+DP++Mustermann++Str::1+Ort++55555+DE'
LOC+172+50074561188'
CUX+2:EUR:4'
PYT+3'
DTM+265:202404042200?+00:303'
LIN+1++1-10-1-002:Z09'
QTY+47:1:H87'
QTY+136:30:DAY'
DTM+155:202602282300?+00:303'
DTM+156:202603312200?+00:303'
MOA+203:1000'
MOA+131:10'
PRI+CAL:1000::::DAY'
TAX+7+VAT+++:::19+S'
ALC+A+:Z01'
PCD+3:10'
MOA+25:1000'
MOA+Z01:10'
ALC+C+:Z05'
UNS+S'
MOA+77:1000'
MOA+Z01:10'
MOA+9:1000'
TAX+7+VAT+++:::19+S'
MOA+113:1000'
MOA+115:1000'
MOA+125:1000'
MOA+161:1000'
UNT+47+UNHMLKD41XU'
UNZ+1+ML8O8CII'
```

```json title="BO4E-JSON"
[
  {
    "businessKey": "<businessKey>",
    "processDate": null,
    "dataSource": "OUTBOUND",
    "version": 1,
    "edifactVersion": 202604,
    "data": {
      "stammdaten": {
        "MARKTLOKATION": [
          {
            "boTyp": "MARKTLOKATION",
            "versionStruktur": "1",
            "marktlokationsId": "50074561188",
            "marktlokationsTyp": [
              {
                "typ": "STANDARD_MARKTLOKATION"
              }
            ],
            "sparte": "STROM",
            "lokationsadresse": {
              "postleitzahl": "55555",
              "ort": "Ort",
              "strasse": "Str",
              "hausnummer": "1",
              "landescode": "DE",
              "zusatzInformation": {
                "zusatz1": "Mustermann"
              }
            }
          }
        ],
        "RECHNUNG": [
          {
            "boTyp": "RECHNUNG",
            "versionStruktur": "1",
            "rechnungsstatus": "ORIGINAL",
            "storno": false,
            "rechnungsdatum": "2025-10-01T03:57:00Z",
            "faelligkeitsdatum": "2024-04-04T22:00:00Z",
            "bearbeitungsdatum": "2025-06-05T11:57:00Z",
            "originalRechnungsnummer": "ABC12345678910",
            "referenzNachrichtendatum": "2024-01-01T23:00:00Z",
            "rechnungsperiode": {
              "startdatum": "2026-02-28T23:00:00Z",
              "enddatum": "2026-03-31T22:00:00Z"
            },
            "gesamtbrutto": {
              "wert": 1000,
              "waehrung": "EUR"
            },
            "zuZahlen": {
              "wert": 1000,
              "waehrung": "EUR"
            },
            "steuerbetraege": [
              {
                "steuerkennzeichen": "UST_19",
                "basiswert": 1000,
                "steuerwert": 1000,
                "waehrung": "EUR",
                "basiswertVorausbezahlt": 1000,
                "steuerwertVorausbezahlt": 1000
              }
            ],
            "sonderrechnungsarten": [
              "KONZESSIONSABGABE_WEITERGELEITETE_MENGEN",
              "INDIVIDUELL_ATYPISCH"
            ],
            "rechnungspositionen": [
              {
                "positionsnummer": 1,
                "artikelnummer": "1-10-1-002",
                "lieferungVon": "2026-02-28T23:00:00Z",
                "lieferungBis": "2026-03-31T22:00:00Z",
                "positionsMenge": {
                  "wert": 1,
                  "einheit": "STUECK"
                },
                "zeitbezogeneMenge": {
                  "wert": 30,
                  "einheit": "TAG"
                },
                "einzelpreis": {
                  "wert": 1000,
                  "waehrung": "EUR",
                  "bezugswert": "TAG"
                },
                "teilsummeNetto": {
                  "wert": 1000,
                  "waehrung": "EUR"
                },
                "teilsummeSteuer": {
                  "steuerkennzeichen": "UST_19"
                },
                "gesamtZuAbschlagsbetrag": 10,
                "abschlag": {
                  "typ": "GEMEINDERABATT_KAV",
                  "prozent": 10
                },
                "zuschlag": {
                  "typ": "ANPASSUNG_PAUSCHALE_NETZENTGELTREDUZIERUNG_NACH_P14A_ENWG_AUF_HOEHE_DER_NNE"
                },
                "gemeinderabatt": {
                  "wert": 10,
                  "bemessungsgrundlage": 1000
                }
              }
            ],
            "istSelbstausgestellt": false,
            "rechnungstyp": "SONDERRECHNUNG",
            "vorauszahlungen": {
              "betrag": {
                "wert": 1000,
                "waehrung": "EUR"
              }
            },
            "gemeinderabatt": {
              "wert": 10
            },
            "preisNetzbetreiberCodenummer": "9907165000001"
          }
        ]
      },
      "transaktionsdaten": {
        "datenaustauschreferenz": "ML8O8CII",
        "sparte": "STROM",
        "pruefidentifikator": "31002",
        "absender": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "gewerbekennzeichnung": true,
          "rollencodenummer": "9900683000008",
          "rollencodetyp": "BDEW",
          "name1": "Stadtwerke",
          "steuernummer": "12345678910",
          "partneradresse": {
            "postleitzahl": "12345",
            "ort": "Ort",
            "strasse": "Str",
            "hausnummer": "1",
            "landescode": "DE"
          },
          "ansprechpartner": {
            "boTyp": "ANSPRECHPARTNER",
            "versionStruktur": "1",
            "nachname": "Max Mustermann",
            "eMailAdresse": "max@mustermann.de"
          }
        },
        "empfaenger": {
          "boTyp": "MARKTTEILNEHMER",
          "versionStruktur": "1",
          "gewerbekennzeichnung": true,
          "rollencodenummer": "9979052000006",
          "rollencodetyp": "BDEW",
          "name1": "Lieferant",
          "partneradresse": {
            "postleitzahl": "12345",
            "ort": "Ort",
            "strasse": "Str",
            "hausnummer": "1",
            "landescode": "DE"
          }
        },
        "dokumentennummer": "BGMMLPQOZ7X",
        "kategorie": "380",
        "nachrichtenfunktion": "9",
        "nachrichtendatum": "2025-10-01T03:57:00Z",
        "nachrichtenreferenznummer": "UNHMLKD41XU"
      },
      "zusatzdaten": {}
    }
  }
]
```

</Beispielnachricht>

*Source: [`3.edi`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/inbound/v202604/invoic/31002/3.edi) · [`3.json`](https://github.com/conuti-gmbh/maco-edi-testfiles/blob/main/outbound/v202604/invoic/31002/3.json)*

<Testdateien edi="/testdaten/202604/invoic/31002/3.edi" json="/testdaten/202604/invoic/31002/3.json" />

</div>

## Belongs to these role views

The check identifier itself carries no market role. This assignment is derived back from the role views in whose process steps it occurs — affected are **LF** and **NB**.

<div className="maco-tabellenrahmen">

| Role | Party involved | Process | Rulebook | Division | Step |
|---|---|---|---|---|---|
| LF | LF | [Grid usage settlement](/en/prozessdoku/202604/LF/GPKE-Teil2-netznutzungsabrechnung) | GPKE part 2 | Electricity | Step 1 |
| LF | LF | [Billing of grid usage](/en/prozessdoku/202604/LF/geli-gas-2-0-abrechnung-der-netznutzung) | GeLi Gas 2.0 | Gas | Step 2 |
| NB | NB | [Grid usage settlement](/en/prozessdoku/202604/NB/GPKE-Teil2-netznutzungsabrechnung) | GPKE part 2 | Electricity | Step 1 |
| NB | NB | [Billing of grid usage](/en/prozessdoku/202604/NB/geli-gas-2-0-abrechnung-der-netznutzung) | GeLi Gas 2.0 | Gas | Step 2 |

</div>

## Business classification

<div className="maco-tabellenrahmen">

| Attribute | Value |
|---|---|
| Use case (AHB) | NN invoice |
| AHB | INVOIC AHB |
| Transmission channel | AS4 |

</div>

:::caution{title="This check identifier is used in 3 contexts"}

Regulatory determination and communication direction depend on the process in which the message is sent. A single entry would be misleading — all placements are therefore listed here.

:::

<div className="maco-tabellenrahmen">

| Process description / rulebook | Process step | Communication | Action |
|---|---|---|---|
| GPKE part 2 | Grid usage settlement | NB → LF | Grid usage invoice |
| GeLi Gas 2.0 | Billing of grid usage | NB → LF | Grid usage invoice |
| GeLi Gas | Ch. D 4.3 No. 2 | NB → LF | Billing of grid usage |

</div>

## Transaction and responses

**Role of this check identifier: request.** Basis: the transaction data carry neither `antwortstatus` nor `antwortstatusCodeliste`, and neither the title nor the action of the Prüfi table begins with “response” or “response message”.

### Which messages respond to this

<div className="maco-tabellenrahmen">

| Role | Check identifier | Use case | Message type | Origin of supply |
|---|---|---|---|---|
| Response | [33001](/schnittstellen/202604/pruefi/REMADV/PI_33001) | Confirmation | REMADV | from the step sequence |
| Response | [33002](/schnittstellen/202604/pruefi/REMADV/PI_33002) | Refusal | REMADV | from the step sequence |
| Response | [33003](/schnittstellen/202604/pruefi/REMADV/PI_33003) | Electricity refusal header and total | REMADV | from the step sequence |
| Response | [33004](/schnittstellen/202604/pruefi/REMADV/PI_33004) | Electricity refusal line item | REMADV | from the step sequence |

</div>

This column is the **inverse** of the assignment on the response pages — not the next step of a list. The process source says of its own steps that they are »possible messages, not a sequence«.

**Check identifiers of the same AHB table:** No other check identifier of message type INVOIC has the same row structure in this version.

:::note{title="Editorial — not derived from a source"}

**How an invoice names earlier documents.** A correcting invoice cites the original one via `RFF+OI` (original invoice number), in the JSON `originalRechnungsnummer` (`SG1.RFF+OI`); its date is in `referenzNachrichtendatum` (`SG1.RFF+OI.DTM+171`). The number of a related document is in `referenzDokumentennummer` (`SG1.RFF+ACE`); earlier invoices whose prepaid amounts the invoice offsets are in `referenzVorgaengerrechnung` (`SG50.MOA+113.SG51.RFF+AFL`). Examples from the test set: `RFF+ACE:REF12345678910` (31002, test case 1), `RFF+OI:ABC12345678910` with `MOA+113:1000` (31002, test case 2). The cancellation invoice (31004) names the cancelled invoice the same way: in the test case `31004_eingehend_Testfall1` there is `RFF+OI:REF12345678910`, in the JSON `storno` is set to `true` and `originalRechnungsnummer` to `REF12345678910`.

**Source:** INVOIC AHB (Knowledge Collection ahb/202604/INVOIC/31002.json, SG1 RFF+OI, SG1 RFF+ACE and SG51 RFF+AFL); specification PI_31002; test set maco-edi-testfiles, inbound/v202404/INVOIC: 31002_eingehend_Testfall1.edi and Testfall2.edi, 31004_eingehend_Testfall1.edi and .json · **As of:** 2026-09-23 · **Applies to format version:** 202604 · **To be reviewed by:** 2027-04-01

:::

<Hinweisbereich>

An **\*** after a field or group name marks a **mandatory field** or a mandatory group. The type is beside it; where the value ends up in the EDIFACT segment is shown by the info icon next to the field name.

The status column carries two vocabularies because the manual answers two questions: on a **group row**, *Muss*, *Soll* or *Kann* states whether the EDIFACT segment must be present; on a **field row**, *X* states that this qualifier is used in this check identifier. Both are kept exactly as the source records them.

For this check identifier, the application handbook lists **242 rows**. They appear in the order of the handbook, indented by segment: a row without a data element opens a segment, the rows below it are its data elements.

The **Condition** column names the markers under which the handbook ties a row to a prerequisite; their free text is below the table.

The test data contains 3 transactions for this check identifier under the message type `invoic`. Each is stored twice — as a EDIFACT message and as a BO4E JSON. That both representations show the same transaction has been recalculated, not assumed: interchange control reference, message reference number, document number, message date, sender and recipient match in all 517 pairs of the format version; check identifier, transaction number and location ID wherever both representations carry them. Not a single attribute contradicts.

:::note{title="Placeholder from the test data set"}

The test data set carries placeholders instead of valid values: `{{date}}` and `{{time}}` in the UNB interchange envelope of every EDIFACT file. **The page replaces these on call with the current date and the current time** — in the format that applies at the respective position: in the envelope year, month and day as well as hour and minute, two digits each.

`<businessKey>` stays in place. It is not a time value, and an invented key would look like a valid one.

:::

</Hinweisbereich>
