EDI

API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 008010

Q5 Status Details

To specify the status of the shipment in terms of dates, time, reference numbers, and location
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
157
Shipment Status Code
Identifier (ID)
Optional
1
2
1
Code indicating the status of a shipment
Codes (207)
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.
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
Q503 is the time of the status reported in Q501.
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
Codes (56)
05
Status Reason Code
Identifier (ID)
Optional
3
3
1
Code indicating the status reason
Codes (438)
06
City Name
String (AN)
Conditional
2
30
1
Free-form text for city name
07
State or Province Code
Identifier (ID)
Optional
2
2
1
Code specifying the Standard State/Province as defined by appropriate government agency
C0706
08
Country Code
Identifier (ID)
Optional
2
3
1
Code identifying the country
09
Equipment Initial
String (AN)
Optional
1
4
1
Prefix or alphabetic part of an equipment unit's identifying number
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)
11
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code identifying the Reference Identification
P1112
Codes (1904)
12
Reference Identification
String (AN)
Conditional
1
80
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
13
Direction Identifier Code
Identifier (ID)
Optional
1
1
1
Code identifying geographic direction
C1312
Q513 is the direction (north or south) of the equator for the latitude given in Q512.
If Q513 is not used, north is assumed.
Codes (16)
14
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code identifying the Reference Identification
P1415
Codes (1904)
15
Reference Identification
String (AN)
Conditional
1
80
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
16
Direction Identifier Code
Identifier (ID)
Optional
1
1
1
Code identifying geographic direction
C1615
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.
Codes (16)
17
Percentage as Decimal
Decimal number (R)
Optional
1
10
1
Percentage expressed as a decimal (e.g., 0.0 through 1.0 represents 0% through 100%)
Q517 is the percent of the capacity of the trailer utilized as identified in Q510.
18
Pickup or Delivery Code
Identifier (ID)
Optional
1
2
1
Code specifying the location or type of pickup or delivery
Codes (32)
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.