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.
Header
| Pos. | Tag | Name | S | Rep. |
|---|---|---|---|---|
00010 | UNH | Message header | M | 1 |
00020 | BGM | Beginning of message | M | 1 |
00030 | DTM | Date/time/period | C | ×9 |
00040 | TSR | Transport service requirements | C | 1 |
00050 | LOC | Place/location identification | C | ×9 |
00060 | FTX | Free text | C | ×9 |
00070 | CNT | Control total | C | ×9 |
00080 | SG1 | Group (×9) | C | ×9 |
00090 | RFF | Reference | M | 1 |
00100 | DTM | Date/time/period | C | 1 |
00110 | SG2 | Group (×9) | C | ×9 |
00120 | NAD | Name and address | M | 1 |
00130 | SG3 | Group (×9) | C | ×9 |
00140 | RFF | Reference | M | 1 |
00150 | DTM | Date/time/period | C | ×9 |
00160 | SG4 | Group (×9) | C | ×9 |
00170 | CTA | Contact information | M | 1 |
00180 | COM | Communication contact | C | ×9 |
00190 | SG5 | Group (×99999) | C | ×99999 |
00200 | EQD | Equipment details | M | 1 |
00210 | MEA | Measurements | C | ×9 |
00220 | DIM | Dimensions | C | ×9 |
00230 | SEL | Seal number | C | ×9 |
00240 | RFF | Reference | C | ×9 |
00250 | TPL | Transport placement | C | ×9 |
00260 | TMD | Transport movement details | C | 1 |
00270 | SG6 | Group (×9) | C | ×9 |
00280 | DGS | Dangerous goods | M | 1 |
00290 | FTX | Free text | C | ×9 |
00300 | SG7 | Group (×9) | C | ×9 |
00310 | LOC | Place/location identification | M | 1 |
00320 | DTM | Date/time/period | C | ×9 |
00330 | SG8 | Group (×9) | C | ×9 |
00340 | STS | Status | M | 1 |
00350 | LOC | Place/location identification | C | 1 |
00360 | DTM | Date/time/period | C | ×9 |
00370 | SG9 | Group (×99) | C | ×99 |
00380 | EQA | Attached equipment | M | 1 |
00390 | SEL | Seal number | C | ×9 |
00400 | SG10 | Group (×9) | C | ×9 |
00410 | LOC | Place/location identification | M | 1 |
00420 | DTM | Date/time/period | C | ×9 |
00430 | SG11 | Group (×99) | C | ×99 |
00440 | TDT | Transport information | M | 1 |
00450 | DTM | Date/time/period | C | ×9 |
00460 | RFF | Reference | C | ×9 |
00470 | SG12 | Group (×9) | C | ×9 |
00480 | LOC | Place/location identification | M | 1 |
00490 | DTM | Date/time/period | C | ×9 |
00500 | SG13 | Group (×1) | C | 1 |
00510 | TMP | Temperature | M | 1 |
00520 | RNG | Range details | C | 1 |
00530 | SG14 | Group (×9) | C | ×9 |
00540 | DAM | Damage | M | 1 |
00550 | COD | Component details | C | ×9 |
00560 | SG15 | Group (×9999) | C | ×9999 |
00570 | CNI | Consignment information | M | 1 |
00580 | LOC | Place/location identification | C | ×9 |
00590 | CNT | Control total | C | ×9 |
00600 | SG16 | Group (×99) | M | ×99 |
00610 | STS | Status | M | 1 |
00620 | RFF | Reference | C | ×999 |
00630 | DTM | Date/time/period | C | ×9 |
00640 | DOC | Document/message details | C | 1 |
00650 | FTX | Free text | C | ×9 |
00660 | SG17 | Group (×9) | C | ×9 |
00670 | NAD | Name and address | M | 1 |
00680 | SG18 | Group (×9) | C | ×9 |
00690 | CTA | Contact information | M | 1 |
00700 | COM | Communication contact | C | ×9 |
00710 | LOC | Place/location identification | C | 1 |
00720 | PCI | Package identification | C | ×99 |
00730 | SG19 | Group (×99) | C | ×99 |
00740 | TDT | Transport information | M | 1 |
00750 | DTM | Date/time/period | C | ×9 |
00760 | RFF | Reference | C | ×9 |
00770 | SG20 | Group (×9) | C | ×9 |
00780 | LOC | Place/location identification | M | 1 |
00790 | DTM | Date/time/period | C | ×9 |
00800 | SG21 | Group (×99) | C | ×99 |
00810 | EQD | Equipment details | M | 1 |
00820 | MEA | Measurements | C | ×9 |
00830 | DIM | Dimensions | C | ×9 |
00840 | SEL | Seal number | C | ×9 |
00850 | RFF | Reference | C | ×9 |
00860 | TPL | Transport placement | C | ×9 |
00870 | TMD | Transport movement details | C | 1 |
00880 | SG22 | Group (×9) | C | ×9 |
00890 | LOC | Place/location identification | M | 1 |
00900 | DTM | Date/time/period | C | ×9 |
00910 | SG23 | Group (×99) | C | ×99 |
00920 | EQA | Attached equipment | M | 1 |
00930 | SEL | Seal number | C | ×9 |
00940 | SG24 | Group (×9) | C | ×9 |
00950 | LOC | Place/location identification | M | 1 |
00960 | DTM | Date/time/period | C | ×9 |
00970 | SG25 | Group (×99) | C | ×99 |
00980 | GID | Goods item details | M | 1 |
00990 | HAN | Handling instructions | C | ×9 |
01000 | SGP | Split goods placement | C | ×99 |
01010 | DGS | Dangerous goods | C | ×9 |
01020 | FTX | Free text | C | ×9 |
01030 | GDS | Nature of cargo | C | ×9 |
01040 | LOC | Place/location identification | C | ×9 |
01050 | QTY | Quantity | C | ×9 |
01060 | SG26 | Group (×99) | C | ×99 |
01070 | MEA | Measurements | M | 1 |
01080 | EQN | Number of units | C | 1 |
01090 | SG27 | Group (×99) | C | ×99 |
01100 | DIM | Dimensions | M | 1 |
01110 | EQN | Number of units | C | 1 |
01120 | SG28 | Group (×99) | C | ×99 |
01130 | PCI | Package identification | M | 1 |
01140 | GIN | Goods identity number | C | ×9999 |
01150 | SG29 | Group (×9) | C | ×9 |
01160 | RFF | Reference | M | 1 |
01170 | DTM | Date/time/period | C | ×9 |
01180 | UNT | Message trailer | M | 1 |
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
TPLin the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.TMDin the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.DGSin the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.TMPin the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.RNGin the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.DAMin the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.CODin the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.SGPin the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.GDSin the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.QTYin 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).
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:UNtoken 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.
Related messages
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.