B4 Beginning Segment for Inquiry or Reply

To transmit identifying numbers, dates and other basic data relating to the transaction set

Position
Element
Name
Type
Requirement
Min
Max
Repeat
B4-01
Special Handling Code
Identifier (ID)
Optional
2
3
-
Code specifying special transportation handling instructions.
B4-02
Inquiry Request Number
Numeric (N0)
Optional
1
3
-
Identifying number assigned by inquirer.
B4-03
Status Code
Identifier (ID)
Optional
1
2
-
Code indicating the status of a shipment
B4-04
Date
Date (DT)
Optional
6
6
-
Date (YYMMDD).
B404 is the date of last reported status of cargo.
B4-05
Status Time
Time (TM)
Optional
4
4
-
Time (HHMM) of last reported status of cargo.
B4-06
Status Location
String (AN)
Optional
3
5
-
Air shipment: Airport code for last reported status for a shipment. (Note: If the shipment is in-flight, the status location is the origin airport for this flight.) Ground transportation: Code of carrier's terminal.
B4-07
Equipment Initial
String (AN)
Conditional
1
4
-
Prefix or alphabetic part of an equipment unit's identifying number.
P0708: If either B4-07 or B4-08 is present, then the other is required
B4-08
Equipment Number
String (AN)
Conditional
1
10
-
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred).
B4-09
Equipment Status Code
Identifier (ID)
Optional
1
2
-
Code indicating status of equipment.
B4-10
Equipment Type
Identifier (ID)
Optional
4
4
-
Code identifying equipment type
B4-11
Location Identifier
String (AN)
Conditional
1
30
-
Code which identifies a specific location.
P1112: If either B4-11 or B4-12 is present, then the other is required
B4-12
Location Qualifier
Identifier (ID)
Conditional
1
2
-
Code identifying type of location.

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.