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.
IFTSTA D.21B

IFTSTA — EDIFACT Multimodal Transport Status Message (D.21B)

The IFTSTA message conveys multimodal-shipment statuses from a carrier or 3PL to the trade parties: key events (departure, arrival, hub, customs), geolocation and exceptions. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The IFTSTA message conveys multimodal-shipment statuses from a carrier or 3PL to the trade parties: key events (departure, arrival, hub, customs), geolocation and exceptions.

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 iftsta_c.htm hosted on service.unece.org.

Segment structure

The IFTSTA D.21B message has 118 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
00040TSRTransport service requirementsC1
00050LOCPlace/location identificationC×9
00060FTXFree textC×9
00070CNTControl totalC×9
00080  SG1Group (×9)C×9
00090  RFFReferenceM1
00100  DTMDate/time/periodC1
00110    SG2Group (×9)C×9
00120    NADName and addressM1
00130      SG3Group (×9)C×9
00140      RFFReferenceM1
00150      DTMDate/time/periodC×9
00160        SG4Group (×9)C×9
00170        CTAContact informationM1
00180        COMCommunication contactC×9
00190          SG5Group (×99999)C×99999
00200          EQDEquipment detailsM1
00210          MEAMeasurementsC×9
00220          DIMDimensionsC×9
00230          SELSeal numberC×9
00240          RFFReferenceC×9
00250          TPLTransport placementC×9
00260          TMDTransport movement detailsC1
00270            SG6Group (×9)C×9
00280            DGSDangerous goodsM1
00290            FTXFree textC×9
00300              SG7Group (×9)C×9
00310              LOCPlace/location identificationM1
00320              DTMDate/time/periodC×9
00330                SG8Group (×9)C×9
00340                STSStatusM1
00350                LOCPlace/location identificationC1
00360                DTMDate/time/periodC×9
00370                  SG9Group (×99)C×99
00380                  EQAAttached equipmentM1
00390                  SELSeal numberC×9
00400                    SG10Group (×9)C×9
00410                    LOCPlace/location identificationM1
00420                    DTMDate/time/periodC×9
00430                      SG11Group (×99)C×99
00440                      TDTTransport informationM1
00450                      DTMDate/time/periodC×9
00460                      RFFReferenceC×9
00470                        SG12Group (×9)C×9
00480                        LOCPlace/location identificationM1
00490                        DTMDate/time/periodC×9
00500                          SG13Group (×1)C1
00510                          TMPTemperatureM1
00520                          RNGRange detailsC1
00530                            SG14Group (×9)C×9
00540                            DAMDamageM1
00550                            CODComponent detailsC×9
00560                              SG15Group (×9999)C×9999
00570                              CNIConsignment informationM1
00580                              LOCPlace/location identificationC×9
00590                              CNTControl totalC×9
00600                                SG16Group (×99)M×99
00610                                STSStatusM1
00620                                RFFReferenceC×999
00630                                DTMDate/time/periodC×9
00640                                DOCDocument/message detailsC1
00650                                FTXFree textC×9
00660                                  SG17Group (×9)C×9
00670                                  NADName and addressM1
00680                                    SG18Group (×9)C×9
00690                                    CTAContact informationM1
00700                                    COMCommunication contactC×9
00710                                    LOCPlace/location identificationC1
00720                                    PCIPackage identificationC×99
00730                                      SG19Group (×99)C×99
00740                                      TDTTransport informationM1
00750                                      DTMDate/time/periodC×9
00760                                      RFFReferenceC×9
00770                                        SG20Group (×9)C×9
00780                                        LOCPlace/location identificationM1
00790                                        DTMDate/time/periodC×9
00800                                          SG21Group (×99)C×99
00810                                          EQDEquipment detailsM1
00820                                          MEAMeasurementsC×9
00830                                          DIMDimensionsC×9
00840                                          SELSeal numberC×9
00850                                          RFFReferenceC×9
00860                                          TPLTransport placementC×9
00870                                          TMDTransport movement detailsC1
00880                                            SG22Group (×9)C×9
00890                                            LOCPlace/location identificationM1
00900                                            DTMDate/time/periodC×9
00910                                              SG23Group (×99)C×99
00920                                              EQAAttached equipmentM1
00930                                              SELSeal numberC×9
00940                                                SG24Group (×9)C×9
00950                                                LOCPlace/location identificationM1
00960                                                DTMDate/time/periodC×9
00970                                                  SG25Group (×99)C×99
00980                                                  GIDGoods item detailsM1
00990                                                  HANHandling instructionsC×9
01000                                                  SGPSplit goods placementC×99
01010                                                  DGSDangerous goodsC×9
01020                                                  FTXFree textC×9
01030                                                  GDSNature of cargoC×9
01040                                                  LOCPlace/location identificationC×9
01050                                                  QTYQuantityC×9
01060                                                    SG26Group (×99)C×99
01070                                                    MEAMeasurementsM1
01080                                                    EQNNumber of unitsC1
01090                                                      SG27Group (×99)C×99
01100                                                      DIMDimensionsM1
01110                                                      EQNNumber of unitsC1
01120                                                        SG28Group (×99)C×99
01130                                                        PCIPackage identificationM1
01140                                                        GINGoods identity numberC×9999
01150                                                          SG29Group (×9)C×9
01160                                                          RFFReferenceM1
01170                                                          DTMDate/time/periodC×9
01180UNTMessage 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 IFTSTA 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

  • TPL in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • TMD in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • DGS in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • TMP in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • RNG in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • DAM in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • COD in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • SGP in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • GDS in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • QTY in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.

Max-repeat changes

  • GIN (header): repeat ×9 in D.96A → ×9999 in D.21B.

Structural example

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

edifact iftsta-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+IFTSTA:D:21B:UN'
BGM+77+STA-2026-1042+9'
DTM+137:202605141430:203'
NAD+CA+5410000000123::9'
CNI+1'
STS+1++1'
RFF+CN:CMR-9981'
DTM+334:202605141000:203'
LOC+175+FRPAR::6'
UNT+10+1'
UNZ+1+CTRL021001'

Common errors

  • Misaligned UNH tokens — The UNH+...+IFTSTA: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: IFTSTA D.96A, IFTSTA D.01B, IFTSTA D.10A, IFTSTA D.16B, IFTSTA D.24A, IFTSTA D.97A, IFTSTA D.99B, IFTSTA D.00B, IFTSTA D.02B, IFTSTA D.05A, IFTSTA D.08A, IFTSTA D.13B, IFTSTA D.18B, IFTSTA D.20B.

X12 functional equivalent: X12 214.

← All EDIFACT versions