ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.
IFTDGN D.21B

IFTDGN — EDIFACT Dangerous Goods Notification (D.21B)

The IFTDGN message is the dangerous-goods notification sent to the carrier or port/airport authorities: UN code, ADR/IMDG/IATA class, packaging, net/gross masses, flash point, emergency instructions. It hardens the supply chain against IMO, ADR and IATA-DGR requirements. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The IFTDGN message is the dangerous-goods notification sent to the carrier or port/airport authorities: UN code, ADR/IMDG/IATA class, packaging, net/gross masses, flash point, emergency instructions. It hardens the supply chain against IMO, ADR and IATA-DGR requirements.

This page focuses on the structure published by UN/CEFACT for directory D.21B. The segments listed, their status (M / C), position and repetition factor are extracted from the official file iftdgn_c.htm hosted on service.unece.org.

Segment structure

The IFTDGN D.21B message has 59 header entries, 0 detail entries and 0 summary entries (segments and groups combined). Groups are shown in bold and their members are indented by actual nesting depth.

Pos.TagNameSRep.
00010UNHMessage headerM1
00020BGMBeginning of messageM1
00030DTMDate/time/periodC×9
00040FTXFree textC×9
00050HANHandling instructionsC1
00060  SG1Group (×9)C×9
00070  RFFReferenceM1
00080  DTMDate/time/periodC×9
00090    SG2Group (×1)C1
00100    TDTTransport informationM1
00110    DTMDate/time/periodC×9
00120    RFFReferenceC×9
00130      SG3Group (×99)C×99
00140      LOCPlace/location identificationM1
00150      DTMDate/time/periodC×9
00160        SG4Group (×9)C×9
00170        NADName and addressM1
00180          SG5Group (×9)C×9
00190          CTAContact informationM1
00200          COMCommunication contactC×9
00210            SG6Group (×999)C×999
00220            EQDEquipment detailsM1
00230            MEAMeasurementsC×9
00240            SELSeal numberC×99
00250              SG7Group (×9999)M×9999
00260              CNIConsignment informationM1
00270              HANHandling instructionsC1
00280              DTMDate/time/periodC×4
00290              LOCPlace/location identificationC×4
00300                SG8Group (×1)C1
00310                TDTTransport informationM1
00320                RFFReferenceC×9
00330                  SG9Group (×9)C×9
00340                  LOCPlace/location identificationM1
00350                  DTMDate/time/periodC×9
00360                    SG10Group (×9)C×9
00370                    NADName and addressM1
00380                      SG11Group (×9)C×9
00390                      CTAContact informationM1
00400                      COMCommunication contactC×9
00410                      RFFReferenceC1
00420                        SG12Group (×9999)M×9999
00430                        GIDGoods item detailsM1
00440                        FTXFree textC×2
00450                        PCIPackage identificationC1
00460                          SG13Group (×99)C×99
00470                          SGPSplit goods placementM1
00480                          MEAMeasurementsC×9
00490                            SG14Group (×1)M1
00500                            DGSDangerous goodsM1
00510                            FTXFree textM×9
00520                            MEAMeasurementsM×9
00530                            LOCPlace/location identificationC×99
00540                            RFFReferenceC×9
00550                              SG15Group (×99)C×99
00560                              SGPSplit goods placementM1
00570                              LOCPlace/location identificationC1
00580                              MEAMeasurementsC×9
00590UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

Top-level differences between D.96A and D.21B for the IFTDGN message (segments directly inside header / detail / summary, ignoring nested groups). The comparison is indicative: a given tag may have evolved inside nested groups without showing up in this synthesis.

Segments added vs D.96A

  • SEL in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.

Status changes (M ↔ C)

  • LOC (header): status C in D.96A → M in D.21B.

Max-repeat changes

  • LOC (header): repeat ×10 in D.96A → ×1 in D.21B.

Structural example

Minimal example of an IFTDGN D.21B message with mandatory segments only. The goal is to show the exact version declared in UNH (IFTDGN:D:21B:UN) — not to replicate a full business case (see the IFTDGN D.96A page for an annotated example).

edifact iftdgn-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+IFTDGN:D:21B:UN'
BGM+266+IFTDGN-2026-DG-0042+9'
DTM+137:20260514:102'
FTX+AAI+++Dangerous goods notification - IMDG class 3 - flammable liquids'
HAN+L'
RFF+BM:BL-2026-7811'
UNT+7+1'
UNZ+1+CTRL021001'

Common errors

  • Misaligned UNH tokens — The UNH+...+IFTDGN:D:21B:UN token must reflect exactly the directory in use — a mismatch between the UNH release and the release agreed with the partner is rejected by every strict validator.
  • Wrong UNT segment count — The value after UNT+ must include UNH and UNT themselves. By far the most common sender-side error, regardless of the directory in use.
  • Stale code lists — Between D.96A and D.21B, several code lists received new qualifiers (DTM status, RFF qualifier, NAD codes…). Reusing an older directory’s code tables triggers warnings or even rejections depending on the partner’s strict-conformance mode.

Other versions of this message available on ediverse.io: IFTDGN D.96A, IFTDGN D.10A, IFTDGN D.16B, IFTDGN D.24A.

← All EDIFACT versions