BSN Beginning Segment for Ship Notice
BSN Beginning Segment for Ship Notice
To transmit identifying numbers, dates, and other basic data relating to the transaction set
Position
Element
Name
Type
Requirement
Min
Max
Repeat
BSN-01
Transaction Set Purpose Code
Identifier (ID)
Mandatory
2
2
-
Code identifying purpose of transaction set
BSN-02
Shipment Identification
String (AN)
Mandatory
2
30
-
A unique control number assigned by the original shipper to identify a specific shipment
BSN-03
Date
Date (DT)
Mandatory
8
8
-
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
BSN03 is the date the shipment transaction set is created.
BSN-04
Time
Time (TM)
Mandatory
4
8
-
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)
BSN04 is the time the shipment transaction set is created.
BSN-05
Hierarchical Structure Code
Identifier (ID)
Optional
4
4
-
Code indicating the hierarchical application structure of a transaction set that utilizes the HL segment to define the structure of the transaction set
BSN-06
Transaction Type Code
Identifier (ID)
Conditional
2
2
-
Code specifying the type of transaction
BSN06 is limited to shipment related codes.
BSN06 and BSN07 differentiate the functionality of use for the transaction set.
BSN-07
Status Reason Code
Identifier (ID)
Optional
3
3
-
Code indicating the status reason