Q5 Status Details

To specify the status of the shipment in terms of dates, time, reference numbers, and location

Position
Element
Name
Type
Requirement
Min
Max
Repeat
Q5-01
Status Code
Identifier (ID)
Optional
1
2
-
Code indicating last reported status for a shipment.
Q5-02
Status Date
Date (DT)
Optional
6
6
-
Date of last reported status of cargo.
Q5-03
Status Time
Time (TM)
Optional
4
4
-
Time (HHMM) of last reported status of cargo.
Q5-04
Time Code
Identifier (ID)
Optional
2
2
-
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time. Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
Q5-05
Status Reason Code
Identifier (ID)
Optional
3
3
-
Code indicating the status reason.
Q5-06
City Name
String (AN)
Conditional
2
30
-
Free-form text for city name.
P0607: If either Q5-06 or Q5-07 is present, then the other is required
Q5-07
State or Province Code
Identifier (ID)
Conditional
2
2
-
Code (Standard State/Province) as defined by appropriate government agency.
Q5-08
Country Code
Identifier (ID)
Optional
2
3
-
Code identifying the country.
Q5-09
Equipment Initial
String (AN)
Optional
1
4
-
Prefix or alphabetic part of an equipment unit's identifying number.
Q5-10
Equipment Number
String (AN)
Optional
1
10
-
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred).
Q5-11
Reference Number Qualifier
Identifier (ID)
Conditional
2
2
-
Code qualifying the Reference Number.
P1112: If either Q5-11 or Q5-12 is present, then the other is required
Q5-12
Reference Number
String (AN)
Conditional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Q5-13
Direction Identifier Code
Identifier (ID)
Optional
1
1
-
Code identifying the geographic direction in which the equipment is moving
C1312: If Q5-13 is present, then Q5-12 is required
Q513 is the direction (north or south) of the equator for the latitude given in Q512.
If Q513 is not used, north is assumed.
Q5-14
Reference Number Qualifier
Identifier (ID)
Conditional
2
2
-
Code qualifying the Reference Number.
P1415: If either Q5-14 or Q5-15 is present, then the other is required
Q514 is the direction (east or west) of the equator for the longitude given in Q515. If Q513 is blank, north is assumed; if Q516 is blank, west is assumed.
Q5-15
Reference Number
String (AN)
Conditional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Q5-16
Direction Identifier Code
Identifier (ID)
Optional
1
1
-
Code identifying the geographic direction in which the equipment is moving
C1615: If Q5-16 is present, then Q5-15 is required
If Q516 is not used, west is assumed.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.