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
Shipment Status Code
Identifier (ID)
Optional
1
2
1
Code indicating the status of a shipment
Q5-02
Date
Date (DT)
Optional
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
Q502 is the date of the status reported in Q501.
Q5-03
Time
Time (TM)
Conditional
4
8
1
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
P0304: If either Q5-03 or Q5-04 is present, then the other is required
Q503 is the time of the status reported in Q501.
Q5-04
Time Code
Identifier (ID)
Conditional
2
2
1
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
1
Code indicating the status reason
Q5-06
City Name
String (AN)
Conditional
2
30
1
Free-form text for city name
Q5-07
State or Province Code
Identifier (ID)
Optional
2
2
1
Code (Standard State/Province) as defined by appropriate government agency
C0706: If Q5-07 is present, then Q5-06 is required
Q5-08
Country Code
Identifier (ID)
Optional
2
3
1
Code identifying the country
Q5-09
Equipment Initial
String (AN)
Optional
1
4
1
Prefix or alphabetic part of an equipment unit's identifying number
Q5-10
Equipment Number
String (AN)
Optional
1
15
1
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
Q5-11
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code qualifying the Reference Identification
P1112: If either Q5-11 or Q5-12 is present, then the other is required
Q5-12
Reference Identification
String (AN)
Conditional
1
50
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Q5-13
Direction Identifier Code
Identifier (ID)
Optional
1
1
1
Code identifying geographic direction
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 Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code qualifying the Reference Identification
P1415: If either Q5-14 or Q5-15 is present, then the other is required
Q5-15
Reference Identification
String (AN)
Conditional
1
50
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Q5-16
Direction Identifier Code
Identifier (ID)
Optional
1
1
1
Code identifying geographic direction
C1615: If Q5-16 is present, then Q5-15 is required
If Q516 is not used, west is assumed.
Q516 is the direction (east or west) of the Greenwich Meridian for the longitude given in Q515.
Q5-17
Percent
Decimal number (R)
Optional
1
10
1
Percentage expressed as a decimal
Q517 is the percent of the capacity of the trailer utilized as identified in Q510.
Q5-18
Pick-up or Delivery Code
Identifier (ID)
Optional
1
2
1
Specifies the location or type of pickup or delivery

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.