EDI
API DocsTerminal

BSN Beginning Segment for Ship Notice

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

Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
353
Transaction Set Purpose Code
Identifier (ID)
Mandatory
2
2
1
Code identifying purpose of transaction set
Codes (76)
02
Shipment Identification
String (AN)
Mandatory
2
30
1
A unique control number assigned by the original shipper to identify a specific shipment
03
Date
Date (DT)
Mandatory
8
8
1
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.
04
Time
Time (TM)
Mandatory
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)
BSN04 is the time the shipment transaction set is created.
05
Hierarchical Structure Code
Identifier (ID)
Optional
4
4
1
Code indicating the hierarchical application structure of a transaction set that utilizes the HL segment to define the structure of the transaction set
Codes (85)
06
Transaction Type Code
Identifier (ID)
Conditional
2
2
1
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.
Codes (551)
07
Status Reason Code
Identifier (ID)
Optional
3
3
1
Code indicating the status reason
C0706: If BSN-07 is present, then BSN-06 is required
Codes (438)

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.