# Check identifier 31004 — Cancellation invoice

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

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

:::info{title="This page is derived from the application handbook"}

The MACO APP does not carry this check identifier. The complete Prüfi pages of this level are produced from the specifications of the application — one class in the templater per check identifier — and that is where the **assignment to the business objects (BO4E)** comes from: which object carries which field of the message.

The catalogue of the application handbook is the larger set. This page therefore shows what the handbook itself provides — use case, process context and the AHB field list with its conditions. A data structure according to BO4E is not shown, and not because there is none, but because the application does not form one for this check identifier.

All check identifiers in this situation — and the corresponding figures — are listed by [the overview of this version](/en/schnittstellen/202604/pruefi/nicht-gefuehrt).

:::

## Application handbook (AHB)

<Handbuchsatz>

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

| Structure (EDIFACT) | Description | Format | <span className="hbs-p" title="Stornorechnung">31004</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 457`</span><span className="hbs-nr">00070</span> | Cancellation of a debit. | — | X | — |
| <span className="hbs-f hbs-e1">`1001 Z25`</span><span className="hbs-nr">00080</span> | Cancellation of a self-issued invoice (credit note under the self-billing procedure) | — | X | — |
| <span className="hbs-f hbs-e1">`1004`</span><span className="hbs-nr">00090</span> | Document number | — | X | — |
| <span className="hbs-f hbs-e1">`1225 7`</span><span className="hbs-nr">00100</span> | Duplicate | — | X | — |
| <span className="hbs-f hbs-e1">`1225 9`</span><span className="hbs-nr">00110</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">00120</span> | Document-/ message date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00130</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">00140</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`2005 9`</span><span className="hbs-nr">00150</span> | Handling / processing date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00160</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">00170</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | <span className="hbs-marke">[18]</span> ∧ <span className="hbs-marke">[44]</span> ∧ <span className="hbs-marke">[49]</span> Should <span className="hbs-marke">[19]</span> ∧ <span className="hbs-marke">[1]</span> |
| <span className="hbs-f hbs-e1">`2005 155`</span><span className="hbs-nr">00180</span> | Invoicing period, start date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00190</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">00200</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | <span className="hbs-marke">[18]</span> ∧ <span className="hbs-marke">[44]</span> ∧ <span className="hbs-marke">[49]</span> Should <span className="hbs-marke">[19]</span> ∧ <span className="hbs-marke">[1]</span> |
| <span className="hbs-f hbs-e1">`2005 156`</span><span className="hbs-nr">00210</span> | Invoicing period, end date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00220</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">00230</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | <span className="hbs-marke">[55]</span> |
| <span className="hbs-f hbs-e1">`2005 Z42`</span><span className="hbs-nr">00240</span> | preliminary billing period start | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00250</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">00260</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | <span className="hbs-marke">[55]</span> |
| <span className="hbs-f hbs-e1">`2005 Z43`</span><span className="hbs-nr">00270</span> | preliminary billing period end | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00280</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">00290</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**DTM**</span> | — | — | Must | <span className="hbs-marke">[47]</span> Should <span className="hbs-marke">[19]</span> ∧ <span className="hbs-marke">[1]</span> |
| <span className="hbs-f hbs-e1">`2005 203`</span><span className="hbs-nr">00300</span> | Execution date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00310</span> | Date or time or time span, value | — | X | (<span className="hbs-marke">[931]</span><span className="hbs-marke">[60]</span>) ⊻ <span className="hbs-marke">[61]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">00320</span> | CCYYMMDDHHMMZZZ | — | X | <span className="hbs-marke">[19]</span> |
| <span className="hbs-f hbs-e1">`2379 102`</span><span className="hbs-nr">00330</span> | CCYYMMDD | — | X | <span className="hbs-marke">[47]</span> |
| <span className="hbs-g hbs-e0">**IMD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`7081 ABR`</span><span className="hbs-nr">00340</span> | Final invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 ABS`</span><span className="hbs-nr">00350</span> | Instalment invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 JVR`</span><span className="hbs-nr">00360</span> | Periodic invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 MVR`</span><span className="hbs-nr">00370</span> | Monthly invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 WIM`</span><span className="hbs-nr">00380</span> | Invoice for WiM | — | X | — |
| <span className="hbs-f hbs-e1">`7081 ZVR`</span><span className="hbs-nr">00390</span> | Interim invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 13I`</span><span className="hbs-nr">00400</span> | Integrated 13th invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 13R`</span><span className="hbs-nr">00410</span> | 13. Invoice | — | X | <span className="hbs-marke">[493]</span> ∨ <span className="hbs-marke">[57]</span> |
| <span className="hbs-f hbs-e1">`7081 MMM`</span><span className="hbs-nr">00420</span> | Excess/shortfall quantity settlement | — | X | — |
| <span className="hbs-f hbs-e1">`7081 MSB`</span><span className="hbs-nr">00430</span> | Invoice for metering point operation | — | X | <span className="hbs-marke">[72]</span> ∨ <span className="hbs-marke">[76]</span> |
| <span className="hbs-f hbs-e1">`7081 NAP`</span><span className="hbs-nr">00440</span> | Capacity invoice | — | X | <span className="hbs-marke">[493]</span> |
| <span className="hbs-f hbs-e1">`7081 Z43`</span><span className="hbs-nr">00450</span> | Invoice for disconnection and recommissioning | — | X | — |
| <span className="hbs-f hbs-e1">`7081 Z44`</span><span className="hbs-nr">00460</span> | Late payment cost invoice | — | X | — |
| <span className="hbs-f hbs-e1">`7081 Z45`</span><span className="hbs-nr">00470</span> | Reactive energy invoice | — | X | <span className="hbs-marke">[492]</span> |
| <span className="hbs-f hbs-e1">`7081 SOR`</span><span className="hbs-nr">00480</span> | Special invoice | — | X | <span className="hbs-marke">[492]</span> ∧ <span className="hbs-marke">[56]</span> |
| <span className="hbs-f hbs-e1">`7081 KON`</span><span className="hbs-nr">00490</span> | Billing of configurations (universal ordering process) | — | X | — |
| <span className="hbs-f hbs-e1">`7081 TEC`</span><span className="hbs-nr">00500</span> | Billing of technology | — | X | — |
| <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">00510</span> | Notification information | — | X | — |
| <span className="hbs-f hbs-e1">`4441 RCH`</span><span className="hbs-nr">00520</span> | Reverse Charge in accordance with §13b UStG / tax liability of the service recipient | — | X | — |
| <span className="hbs-g hbs-e0">**SG1.RFF**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`1153 Z13`</span><span className="hbs-nr">00530</span> | Check identifier | — | X | — |
| <span className="hbs-f hbs-e1">`1154 31004`</span><span className="hbs-nr">00540</span> | Cancellation 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">00550</span> | Original invoice number | — | X | <span className="hbs-marke">[515]</span> |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00560</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">00570</span> | Reference date/time | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">00580</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">00590</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 MS`</span><span className="hbs-nr">00600</span> | Document-/ message sender or sender | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00610</span> | MP-ID | — | X | — |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00620</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00630</span> | DE, BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.) | — | X | — |
| <span className="hbs-f hbs-e1">`3055 332`</span><span className="hbs-nr">00640</span> | DE, DVGW Service & Consult GmbH | — | X | — |
| <span className="hbs-f hbs-e1">`3036`</span><span className="hbs-nr">00650</span> | Party involved | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z01`</span><span className="hbs-nr">00660</span> | Structure of person names | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z02`</span><span className="hbs-nr">00670</span> | Structure of the company name | — | X | — |
| <span className="hbs-f hbs-e1">`3042`</span><span className="hbs-nr">00680</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">00690</span> | City | — | — | — |
| <span className="hbs-f hbs-e1">`3251`</span><span className="hbs-nr">00700</span> | Postal code, code | — | X | — |
| <span className="hbs-f hbs-e1">`3207`</span><span className="hbs-nr">00710</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">00720</span> | Value added tax number | — | X | — |
| <span className="hbs-f hbs-e1">`1153 FC`</span><span className="hbs-nr">00730</span> | Tax number | — | X | <span className="hbs-marke">[6]</span> |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00740</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">00750</span> | Information contact | — | X | — |
| <span className="hbs-f hbs-e1">`3412`</span><span className="hbs-nr">00760</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">00770</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">00780</span> | Electronic mail | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 FX`</span><span className="hbs-nr">00790</span> | Fax number | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 TE`</span><span className="hbs-nr">00800</span> | Telephone | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 AJ`</span><span className="hbs-nr">00810</span> | further telephone | — | X | <span className="hbs-marke">[1P0..1]</span> |
| <span className="hbs-f hbs-e1">`3155 AL`</span><span className="hbs-nr">00820</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">00830</span> | Message recipient | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">00840</span> | MP-ID | — | X | — |
| <span className="hbs-f hbs-e1">`3055 9`</span><span className="hbs-nr">00850</span> | GS1 | — | X | — |
| <span className="hbs-f hbs-e1">`3055 293`</span><span className="hbs-nr">00860</span> | DE, BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.) | — | X | — |
| <span className="hbs-f hbs-e1">`3055 332`</span><span className="hbs-nr">00870</span> | DE, DVGW Service & Consult GmbH | — | X | — |
| <span className="hbs-f hbs-e1">`3036`</span><span className="hbs-nr">00880</span> | Party involved | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z01`</span><span className="hbs-nr">00890</span> | Structure of person names | — | X | — |
| <span className="hbs-f hbs-e1">`3045 Z02`</span><span className="hbs-nr">00900</span> | Structure of the company name | — | X | — |
| <span className="hbs-f hbs-e1">`3042`</span><span className="hbs-nr">00910</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">00920</span> | City | — | — | — |
| <span className="hbs-f hbs-e1">`3251`</span><span className="hbs-nr">00930</span> | Postal code, code | — | X | — |
| <span className="hbs-f hbs-e1">`3207`</span><span className="hbs-nr">00940</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">00950</span> | Value added tax number | — | X | — |
| <span className="hbs-f hbs-e1">`1153 FC`</span><span className="hbs-nr">00960</span> | Tax number | — | X | <span className="hbs-marke">[6]</span> |
| <span className="hbs-f hbs-e1">`1154`</span><span className="hbs-nr">00970</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">00980</span> | Supply address | — | X | — |
| <span className="hbs-f hbs-e1">`3124`</span><span className="hbs-nr">00990</span> | Additional information for identification | — | — | — |
| <span className="hbs-f hbs-e1">`3042`</span><span className="hbs-nr">01000</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">01010</span> | City | — | — | — |
| <span className="hbs-f hbs-e1">`3251`</span><span className="hbs-nr">01020</span> | Postal code, code | — | X | — |
| <span className="hbs-f hbs-e1">`3207`</span><span className="hbs-nr">01030</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">01040</span> | Reporting point | — | X | — |
| <span className="hbs-f hbs-e1">`3225`</span><span className="hbs-nr">01050</span> | Location, number | — | X | (<span className="hbs-marke">[950]</span> <span className="hbs-marke">[509]</span>) ⊻ (<span className="hbs-marke">[951]</span> <span className="hbs-marke">[510]</span>) ⊻ (<span className="hbs-marke">[960]</span> <span className="hbs-marke">[522]</span>) ⊻ (<span className="hbs-marke">[961]</span> <span className="hbs-marke">[523]</span>) |
| <span className="hbs-g hbs-e0">**SG2.NAD**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`3035 ZSH`</span><span className="hbs-nr">01060</span> | Grid account | — | X | — |
| <span className="hbs-f hbs-e1">`3039`</span><span className="hbs-nr">01070</span> | Party involved, identification | — | X | — |
| <span className="hbs-g hbs-e0">**SG7.CUX**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`6347 2`</span><span className="hbs-nr">01080</span> | Reference currency | — | X | — |
| <span className="hbs-f hbs-e1">`6345 EUR`</span><span className="hbs-nr">01090</span> | Euro | — | X | — |
| <span className="hbs-f hbs-e1">`6343 4`</span><span className="hbs-nr">01100</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">01110</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">01120</span> | Due date | — | X | — |
| <span className="hbs-f hbs-e1">`2380`</span><span className="hbs-nr">01130</span> | Date or time or time span, value | — | X | <span className="hbs-marke">[UB1]</span> |
| <span className="hbs-f hbs-e1">`2379 303`</span><span className="hbs-nr">01140</span> | CCYYMMDDHHMMZZZ | — | X | — |
| <span className="hbs-g hbs-e0">**UNS**</span> | — | — | Must | — |
| <span className="hbs-f hbs-e1">`0081 S`</span><span className="hbs-nr">01150</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">01160</span> | Invoice amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01170</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">01180</span> | Prepaid amount (incl. VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01190</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 Z01`</span><span className="hbs-nr">01200</span> | Municipal discount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01210</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">01220</span> | Amount due (incl. VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01230</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">01240</span> | Tax | — | X | — |
| <span className="hbs-f hbs-e1">`5153 VAT`</span><span className="hbs-nr">01250</span> | Value added tax | — | X | — |
| <span className="hbs-f hbs-e1">`5278`</span><span className="hbs-nr">01260</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">01270</span> | Standard rate (standard) | — | X | — |
| <span className="hbs-f hbs-e1">`5305 O`</span><span className="hbs-nr">01280</span> | not controllable | — | X | — |
| <span className="hbs-f hbs-e1">`5305 AE`</span><span className="hbs-nr">01290</span> | Reverse Charge / tax liability of the service recipient | — | X | — |
| <span className="hbs-g hbs-e0">**SG52.MOA**</span> | — | — | Should | <span className="hbs-marke">[34]</span> |
| <span className="hbs-f hbs-e1">`5025 113`</span><span className="hbs-nr">01300</span> | Prepaid amount (incl. VAT) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01310</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">01320</span> | Prepaid taxes (VAT share of the prepaid amount) | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01330</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">01340</span> | Taxable amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01350</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">01360</span> | Tax/fee/levy amount | — | X | — |
| <span className="hbs-f hbs-e1">`5004`</span><span className="hbs-nr">01370</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">01380</span> | Number of segments in a message | — | X | — |
| <span className="hbs-f hbs-e1">`0062`</span><span className="hbs-nr">01390</span> | Message reference number | — | X | — |

</div>

</Handbuchsatz>

### Conditions of this table

The free text of the 42 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 |
|---|---|
| **[1]** | If filled in the invoice to be cancelled |
| **[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 |
| **[18]** | If IMD++WIM not present |
| **[19]** | If IMD++WIM present |
| **[22]** | If present |
| **[23]** | If DE3124 is not present in the same NAD |
| **[34]** | If present in the original invoice |
| **[44]** | If IMD++ABS not present |
| **[47]** | If IMD++Z43 present |
| **[49]** | If IMD++Z43 and IMD+Z44 not present |
| **[55]** | If IMD++ABS present |
| **[56]** | If DTM+137 (message date ≥ 1.1.2023 0: 00 German statutory time |
| **[57]** | If DTM+156 (billing period end) ≤ 1.1.2023 0:00 German statutory time |
| **[58]** | If MOA+113 is present in this SG52 |
| **[60]** | If DTM+203 DE2379 present in the same segment with value 303 |
| **[61]** | If DTM+203 DE2379 present in the same segment with value 102 |
| **[72]** | If MP-ID in NAD+MR in the role LF |
| **[74]** | if the code EM is present in DE3155 in the same COM |
| **[75]** | if the code TE / FX / AJ / AL is present in DE3155 in the same COM |
| **[76]** | If MP-ID in NAD+MR in the role NB |
| **[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 |
| **[510]** | Note: Use of the ID of the metering location |
| **[515]** | Note: BGM DE1004 from the INVOIC message that is to be canceled |
| **[522]** | Note: Use of the ID of the grid location |
| **[523]** | Note: Use of the ID of the controllable resource |
| **[524]** | Note: Only one piece of information may be transmitted in DE3148 |
| **[902]** | Format: Possible value: ≥ 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 |
| **[950]** | Format: market location ID |
| **[951]** | Format: Metering point identifier |
| **[960]** | Format: Grid location ID |
| **[961]** | Format: SR-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>

## 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**, **NB**, **MSB** and **ESA**.

<div className="maco-tabellenrahmen">

| Role | Party involved | Process | Rulebook | Division | Step |
|---|---|---|---|---|---|
| LF | LF | [Billing of services of price sheet B of the MSB between MSB and LF](/en/prozessdoku/202604/LF/awh-prozesse-zur-anderung-der-technik-an-lokationen-abrechnung-leistungen-des-preisblatts-b-des-msb-zwischen-msb-und-lf) | AWH processes for changing the technology at locations | Electricity | Step 5 |
| LF | LF | [Billing of another service](/en/prozessdoku/202604/LF/awh-sperrprozesse-gas-abrechnung-einer-sonstigen-leistung) | AWH disconnection processes gas | Gas | Step 5 |
| LF | LF | [Billing of another service](/en/prozessdoku/202604/LF/GPKE-Teil2-abrechnung-einer-sonstigen-leistung) | GPKE part 2 | Electricity | Step 5 |
| LF | LF | [Grid usage settlement](/en/prozessdoku/202604/LF/GPKE-Teil2-netznutzungsabrechnung) | GPKE part 2 | Electricity | Step 5 |
| LF | LF | [Billing of services of price sheet A of the MSB between MSB and LF](/en/prozessdoku/202604/LF/GPKE-Teil3-abrechnung-leistungen-des-preisblatts-a-des-msb-zwischen-msb-und-lf) | GPKE part 3 | Electricity | Step 5 |
| LF | LF | [Billing of grid usage](/en/prozessdoku/202604/LF/geli-gas-2-0-abrechnung-der-netznutzung) | GeLi Gas 2.0 | Gas | Step 6 |
| LF | LF | [Excess/shortfall quantity settlement between NB and LF](/en/prozessdoku/202604/LF/prozesse-zur-ermittlung-und-abrechnung-von-mehr-mindermengen-strom-und-gas-mehr-mindermengenabrechnung-zwischen-nb-und-lf) | Processes for the determination and billing of excess/shortfall volumes for electricity and gas | Electricity and gas | Step 6 |
| LF | LF | [Billing of metering point operation to the LF](/en/prozessdoku/202604/LF/WiM-Teil1-abrechnung-messstellenbetrieb-gegenueber-dem-lf) | WiM electricity part 1 | Electricity | Step 3 |
| NB | NB | [Billing of services of price sheet B of the MSB between MSB and NB](/en/prozessdoku/202604/NB/awh-prozesse-zur-anderung-der-technik-an-lokationen-abrechnung-leistungen-des-preisblatts-b-des-msb-zwischen-msb-und-nb) | AWH processes for changing the technology at locations | Electricity | Step 5 |
| NB | NB | [Billing of another service](/en/prozessdoku/202604/NB/awh-sperrprozesse-gas-abrechnung-einer-sonstigen-leistung) | AWH disconnection processes gas | Gas | Step 5 |
| NB | NB | [Billing of services in metering](/en/prozessdoku/202604/NB/awh-wim-gas-2-0-abrechnung-von-dienstleistungen-im-messwesen) | AWH WiM gas 2.0 | Gas | Step 7 |
| NB | NB | [Billing of services in metering](/en/prozessdoku/202604/NB/awh-wim-gas-2-0-abrechnung-von-dienstleistungen-im-messwesen) | AWH WiM gas 2.0 | Gas | Step 9 |
| NB | NB | [Billing of another service](/en/prozessdoku/202604/NB/GPKE-Teil2-abrechnung-einer-sonstigen-leistung) | GPKE part 2 | Electricity | Step 5 |
| NB | NB | [Grid usage settlement](/en/prozessdoku/202604/NB/GPKE-Teil2-netznutzungsabrechnung) | GPKE part 2 | Electricity | Step 5 |
| NB | NB | [Billing of services of price sheet A of the MSB between MSB and NB](/en/prozessdoku/202604/NB/GPKE-Teil3-abrechnung-leistungen-des-preisblatts-a-des-msb-zwischen-msb-und-nb) | GPKE part 3 | Electricity | Step 5 |
| NB | NB | [Billing of grid usage](/en/prozessdoku/202604/NB/geli-gas-2-0-abrechnung-der-netznutzung) | GeLi Gas 2.0 | Gas | Step 6 |
| NB | NB | [Capacity billing at exit points to final consumers](/en/prozessdoku/202604/NB/prozessbeschreibung-zur-kapazitatsabrechnung-an-ausspeisepunkten-zu-letztverbrauchern-kapazitatsabrechnung-an-ausspeisepunkten-zu-letztverbrauchern) | Process description for capacity billing at exit points to final consumers | Gas | Step 7b |
| NB | NB | [Excess/shortfall quantity settlement between NB and LF](/en/prozessdoku/202604/NB/prozesse-zur-ermittlung-und-abrechnung-von-mehr-mindermengen-strom-und-gas-mehr-mindermengenabrechnung-zwischen-nb-und-lf) | Processes for the determination and billing of excess/shortfall volumes for electricity and gas | Electricity and gas | Step 6 |
| NB | NB | [Excess/shortfall quantity settlement between NB and MGV](/en/prozessdoku/202604/NB/prozesse-zur-ermittlung-und-abrechnung-von-mehr-mindermengen-strom-und-gas-mehr-mindermengenabrechnung-zwischen-nb-und-mgv) | Processes for the determination and billing of excess/shortfall volumes for electricity and gas | Gas | Step 6 |
| NB | NB | [Billing of metering point operation with iMS to the NB](/en/prozessdoku/202604/NB/WiM-Teil1-abrechnung-messstellenbetrieb-mit-ims-gegenueber-dem-nb) | WiM electricity part 1 | Electricity | Step 5 |
| MSB | MSB | [Billing of services of price sheet B of the MSB between MSB and LF](/en/prozessdoku/202604/MSB/awh-prozesse-zur-anderung-der-technik-an-lokationen-abrechnung-leistungen-des-preisblatts-b-des-msb-zwischen-msb-und-lf) | AWH processes for changing the technology at locations | Electricity | Step 5 |
| MSB | MSB | [Billing of services of price sheet B of the MSB between MSB and NB](/en/prozessdoku/202604/MSB/awh-prozesse-zur-anderung-der-technik-an-lokationen-abrechnung-leistungen-des-preisblatts-b-des-msb-zwischen-msb-und-nb) | AWH processes for changing the technology at locations | Electricity | Step 5 |
| MSB | MSB | [Billing of services of price sheet A of the MSB between MSB and LF](/en/prozessdoku/202604/MSB/GPKE-Teil3-abrechnung-leistungen-des-preisblatts-a-des-msb-zwischen-msb-und-lf) | GPKE part 3 | Electricity | Step 5 |
| MSB | MSB | [Billing of services of price sheet A of the MSB between MSB and NB](/en/prozessdoku/202604/MSB/GPKE-Teil3-abrechnung-leistungen-des-preisblatts-a-des-msb-zwischen-msb-und-nb) | GPKE part 3 | Electricity | Step 5 |
| MSB | MSB | [Billing of a service rendered for the ESA](/en/prozessdoku/202604/MSB/WiM-Teil2-abrechnung-einer-fuer-den-esa-erbrachten-leistung) | WiM electricity part 2 | Electricity | Step 5 |
| MSB | MSB-MALO | [Billing of metering point operation to the LF](/en/prozessdoku/202604/MSB/WiM-Teil1-abrechnung-messstellenbetrieb-gegenueber-dem-lf) | WiM electricity part 1 | Electricity | Step 3 |
| MSB | MSB-MALO | [Billing of metering point operation with iMS to the NB](/en/prozessdoku/202604/MSB/WiM-Teil1-abrechnung-messstellenbetrieb-mit-ims-gegenueber-dem-nb) | WiM electricity part 1 | Electricity | Step 5 |
| MSB | MSBA | [Billing of services in metering](/en/prozessdoku/202604/MSB--MSBA/awh-wim-gas-2-0-abrechnung-von-dienstleistungen-im-messwesen) | AWH WiM gas 2.0 | Gas | Step 7 |
| MSB | MSBA | [Billing of services in metering](/en/prozessdoku/202604/MSB--MSBA/awh-wim-gas-2-0-abrechnung-von-dienstleistungen-im-messwesen) | AWH WiM gas 2.0 | Gas | Step 9 |
| MSB | MSBA | [Billing of services](/en/prozessdoku/202604/MSB--MSBA/WiM-Teil1-abrechnung-von-dienstleistungen) | WiM electricity part 1 | Electricity | Step 3 |
| MSB | MSBN | [Billing of services in metering](/en/prozessdoku/202604/MSB--MSBN/awh-wim-gas-2-0-abrechnung-von-dienstleistungen-im-messwesen) | AWH WiM gas 2.0 | Gas | Step 7 |
| MSB | MSBN | [Billing of services in metering](/en/prozessdoku/202604/MSB--MSBN/awh-wim-gas-2-0-abrechnung-von-dienstleistungen-im-messwesen) | AWH WiM gas 2.0 | Gas | Step 9 |
| MSB | MSBN | [Billing of services](/en/prozessdoku/202604/MSB--MSBN/WiM-Teil1-abrechnung-von-dienstleistungen) | WiM electricity part 1 | Electricity | Step 3 |
| ESA | ESA | [Billing of a service rendered for the ESA](/en/prozessdoku/202604/ESA/WiM-Teil2-abrechnung-einer-fuer-den-esa-erbrachten-leistung) | WiM electricity part 2 | Electricity | Step 5 |

</div>

## Business classification

<div className="maco-tabellenrahmen">

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

</div>

:::caution{title="This check identifier is used in 22 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 |
|---|---|---|---|
| WiM gas | Ch. D 3.4 No. 1a | MSBA → NB | Invoice (metering point operation) |
| WiM gas | Ch. D 3.4 No. 1b | MSBA → MSBN | Invoice (device takeover) |
| WiM gas | Ch. D 3.4 No. 1b | MSBA → NB | Invoice (device takeover) |
| Process description for capacity billing at exit points to final consumers | Capacity billing at exit points to final consumers | NB → TK (KN) | Capacity billing was incorrect. Where the capacity billing is rejected by TK (KN) (process step No. 3 on payment rejection) and the check result of the NB (process step No. 4) shows that the original capacity billing was not correct and/or b) where relevant changes occur subsequently (process steps No. 5 to 8): the NB sends a cancellation invoice to TK (KN) and sends a new capacity billing. |
| Processes for the determination and billing of excess/shortfall volumes for electricity and gas | Excess/shortfall quantity settlement between NB and LF | NB → LF | Cancellation |
| Processes for the determination and billing of excess/shortfall volumes for electricity and gas | Excess/shortfall quantity settlement between NB and MGV | NB → MGV | Cancellation |
| AWH disconnection processes gas | Billing of another service | NB → LF | Cancellation of the original invoice |
| GPKE part 2 | Grid usage settlement | NB → LF | Cancellation of the original invoice |
| GPKE part 2 | Billing of another service | NB → LF | Cancellation of the original invoice |
| GPKE part 3 | Billing of services of price sheet A of the MSB between MSB and NB | MSB → NB | Cancellation of the original invoice |
| GPKE part 3 | Billing of services of price sheet A of the MSB between MSB and LF | MSB → LF | Cancellation of the original invoice |
| WiM electricity part 1 | Billing of metering point operation to the LF | MSB (corresponds to MSB on the object market location) → LF | Cancellation of the original invoice |
| WiM electricity part 1 | Billing of services | MSB (corresponds to MSBA on the object metering location) → MSB (corresponds to MSBN on the object metering location or gMSB on the object metering location) | Cancellation of the original invoice |
| WiM electricity part 1 | Billing of metering point operation with iMS to the NB | MSB (corresponds to MSB on the object market location) → NB | Cancellation of the original invoice |
| WiM electricity part 2 | Billing of a service rendered for the ESA | MSB → ESA | Cancellation of the original invoice |
| AWH processes for changing the technology at locations | Billing of services of price sheet B of the MSB between MSB and NB | MSB → NB | Cancellation of the original invoice |
| AWH processes for changing the technology at locations | Billing of services of price sheet B of the MSB between MSB and LF | MSB → LF | Cancellation of the original invoice |
| GeLi Gas 2.0 | Billing of grid usage | NB → LF | Cancellation of the original invoice |
| AWH WiM gas 2.0 | Billing of services in metering | MSBA → NB | Cancellation of the original invoice |
| AWH WiM gas 2.0 | Billing of services in metering | MSBA → MSBN | Cancellation of the original invoice |
| GeLi Gas | Ch. D 4.3 No. 9 | NB → LF | Correction of the grid usage invoice |
| Application guide for gas disconnection processes | Billing of another service | NB → LF | Cancellation of the original invoice |

</div>

:::caution{title="Further relationships from format version 202610"}

Version 202610 also carries this check identifier in contexts that the table of version 202604 does not know; they are included in the list above. Everything else on this page — use case, rulebook and communication direction — comes from the page's own version. Before adopting it into an implementation specification, check whether what is stated applies to 202604.

:::

<Hinweisbereich>

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 **176 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.

</Hinweisbereich>
