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
Transaction Set Identifier
Identifier (ID)
Optional
3
3
-
Code uniquely identifying a Transaction Set.
B4-02
Inquiry Request Code
Numeric (N0)
Conditional
1
3
-
Arbitrary identifying number assigned by inquirer.
B4-03
Status Code
Identifier (ID)
Mandatory
1
2
-
Code indicating last reported status for a shipment.
B4-04
Status Date
Date (DT)
Conditional
6
6
-
Date of last reported status of cargo.
B4-05
Status Time
Time (TM)
Conditional
4
4
-
Time (HHMM), expressed in 24-hour clock time, of last reported status of cargo. (Time range: 0000 - 2359).
B4-06
Status Location
String (AN)
Conditional
3
5
-
Air shipment: Airport code for last reported status for a shipment. (Note: If the shipment is inflight, 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 alpha part of an equipment unit's identifying number.
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).

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.