DevToolCase
Sign in Sign in

EDIFACT IFTSTA: the transport status message

The EDIFACT IFTSTA status report: how a carrier reports the pickup, delivery or delay of a consignment, its segments, codes and a D96A example.

Where IFTSTA fits in the exchanges

What is the IFTSTA message for?

IFTSTA is the transport status report: the carrier tells the shipper, or any party following the consignment, what happened to it: collected, departed, delayed, delivered, damaged… with the date, the place and sometimes the name of the person who signed.

Each consignment (CNI) of the report carries one or more statuses (STS), each one an event code with its date (DTM) and place (LOC). The consignment is identified by the references of the transport instruction (IFTMIN) or of the transport document.

Sender: Carrier. Recipient: Shipper.

Structure of the IFTSTA message

Its main segments, in the order of the D.96A directory. M means mandatory and C conditional, followed by the maximum number of repetitions; for the first segment of a segment group (SG), they apply to the whole group. Rarely used segments are left out.

SegmentGroupStatusWhat it carries
UNH Message header—M 1Message header: the message reference and its type, IFTSTA:D:96A:UN.
BGM Beginning of message—M 1Document type (77 status report) and report number.
DTM Date/time/period—C 9Date of the report.
NAD Name and addressSG1C 9Parties: carrier, shipper.
RFF ReferenceSG3C 9References of the whole report.
CNI Consignment informationSG4C 999A consignment, by its number in the instruction or the transport document.
STS StatusSG4 › SG5M 99Status: its type and the event (collected, delivered…), with its reason.
RFF ReferenceSG4 › SG5C 9References of the consignment: shipper’s reference, waybill.
DTM Date/time/periodSG4 › SG5C 9When the event happened.
FTX Free textSG4 › SG5C 9Free text: remarks, name of the person who signed.
NAD Name and addressSG4 › SG5C 9Party involved in the event.
LOC Place/location identificationSG4 › SG5C 1Where the event happened.
TDT Details of transportSG4 › SG5 › SG6C 99Means of transport involved.
GID Goods item detailsSG4 › SG5 › SG9C 99Goods items concerned.
UNT Message trailer—M 1Message trailer: number of segments and message reference.

Codes worth knowing

SegmentData elementCodeMeaning
BGM100177Status report
STS90151Status of the transport
STS901113Collected
STS901124Departed
STS901120Delayed
STS901121Delivered
STS901118Damaged
DTM2005334Date and time of the status change
LOC32277Place of delivery
RFF1153CUConsignor’s reference

Example of IFTSTA message

UNA:+.? '
UNB+UNOC:3+4012345000009:14+8712345000011:14+261127:1630+STA0001'
UNH+1+IFTSTA:D:96A:UN'
BGM+77+STA445566+9'
DTM+137:202611271630:203'
NAD+CA+4012345000009::9'
NAD+CZ+8712345000011::9'
CNI+1+SHP2026112'
STS+1+21'
RFF+CU:REF77001'
DTM+334:202611271545:203'
FTX+AAI+++Signed for by J. Martin'
LOC+7+5412345000020::9'
UNT+12+1'
UNZ+1+STA0001'
Convert it to JSON

The example, segment by segment

SegmentMeaning
BGM+77+STA445566+9Status report (77) number STA445566.
CNI+1+SHP2026112Consignment 1 of the report: the one of instruction SHP2026112.
STS+1+21A transport status (1): delivered (21).
DTM+334:202611271545:203Delivered on 27 November 2026 at 15:45.
LOC+7+5412345000020::9At the place of delivery (7), identified by its GLN.
UNT+12+1End of the message: the number of segments from UNH to UNT included, then the reference given in UNH.

Related messages

In the ANSI X12 standard, used mostly in North America, the equivalent of IFTSTA is the 214 transaction set (Transportation Carrier Shipment Status Message), which you can read with the X12 viewer.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.