856 ASN
This Standard contains the format and establishes the data contents of the Ship Notice/Manifest Transaction Set (856) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to list the contents of a shipment of goods as well as additional information relating to the shipment, such as order information, product description, physical characteristics, type of packaging, marking, carrier information, and configuration of goods within the transportation equipment.
Document Structure
Heading
Segment ID | Name | Required | Max Use |
---|---|---|---|
ISA | Interchange Control Header | M | 1 |
GS | Functional Group Header | M | 1 |
ST | Transaction Set Header | M | 1 |
BSN | Beginning Segment for Ship Notice | M | 1 |
Details
Heirarchy Level 1: Shipment
Segment ID | Name | Required | Max Use | |
---|---|---|---|---|
LOOP ID - HL | ||||
HL | Hierarchical Level - SHIPMENT | M | 200000 | |
TD1 | Carrier Details (Quantity and Weight) | M | 20 | |
TD5 | Carrier Details | M | 12 | |
REF | Reference Identification | M | 999999 | |
DTM | Date/Time Reference | M | 10 | |
LOOP ID - N1 (Ship From) | ||||
N1 | Name | M | 1 | |
N2 | Additional Name Information | O | 1 | |
N3 | Address Information | M | 1 | |
N4 | Geographic Location | M | 1 | |
LOOP ID - N1 (Ship To) | ||||
N1 | Name | M | 1 | |
N2 | Additional Name Information | O | 1 | |
N3 | Address Information | M | 1 | |
N4 | Geographic Location | M | 1 |
Heirarchy Level 2: Order
Segment ID | Name | Required | Max Use | |
---|---|---|---|---|
LOOP ID - HL | ||||
HL | Hierarchical Level - ORDER | M | 1 | |
PRF | Purchase Order Reference | M | 1 |
Datamap
Required fields are green, constants are black, and optional fields are grey.
BSN*00*Shipment ID*Ship Date*Ship Time*0001~ HL*1**S~ TD1*CTN*Number of Cartons~ TD5*B*2*SCAC*ZZ*Shipping Method~ REF*BM*Bill of Lading Number~ DTM*011*Ship Date~ N1*SF*Name Line 1*12*3108675309~ N2*SF*Name Line 2~ N3*SF*Street Line 1*Street Line 2~ N4*SF*City*State*Postal Code*Country Code~ N1*ST*Name Line 1*12*3108675309~ N2*ST*Name Line 2~ N3*ST*Street Line 1*Street Line 2~ N4*ST*City*State*Postal Code*Country Code~ HL*2*1*O~ PRF*PO Number***PO Date~ HL*3*2*P~ MAN*CP*Carrier Tracking Number~ HL*4*3*I~ LIN*1*IN*Retailer Item Number*VN*Vendor Item Number*UP*UPC~ SN1*1*Units Shipped*EA~ CTT*Total Number of Line Items~
Segment Details
Segment | ISA Interchange Control Header |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To start and identify an interchange of one or more functional groups and interchange related control segments. |
Notes: |
Data Element Separator: *
Sub Element Separator: > Segment Terminator: ~ |
RefDes | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
ISA01 | I01 |
Authorization Information Qualifier
|
M | ID | 2/2 |
ISA02 | I02 | Authorization Information | M | AN | 10/10 |
ISA03 | I03 |
Security Information Qualifier
|
M | ID | 2/2 |
ISA04 | I04 | Security Information | M | AN | 10/10 |
ISA05 | I05 | Interchange ID Qualifier | M | ID | 2/2 |
ISA06 | I06 | Interchange Sender’s ID | M | AN | 15/15 |
ISA07 | I05 | Interchange ID Qualifier | M | ID | 2/2 |
ISA08 | I07 | Interchange Receiver’s ID | M | AN | 15/15 |
ISA09 | I08 | Interchange Date | M | DT | 6/6 |
ISA10 | I09 | Interchange Time | M | TM | 4/4 |
ISA11 | I10 | Interchange Control Standards Identifier | M | ID | 1/1 |
ISA12 | I11 |
Interchange Control Version Number
|
M | ID | 5/5 |
ISA13 | I12 | Interchange Control Number | M | NO | 9/9 |
ISA14 | I13 | Acknowledgement Requested | M | ID | 1/1 |
ISA15 | I14 |
Test Indicator
|
M | ID | 1/1 |
ISA16 | I15 | Component (Sub) Element Separator | M | AN | 1/1 |
Segment | GS Functional Group Header |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the beginning of a functional group and to provide control information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
GS01 | 479 |
Functional Identifier Code
|
M | ID | 2/2 |
GS02 | 142 | Application Sender's Code | M | AN | 2/15 |
GS03 | 124 | Application Receiver's Code | M | AN | 2/15 |
GS04 | 29 | Data Interchange Date | M | DT | 8/8 |
GS05 | 30 | Data Interchange Time | M | TM | 4/4 |
GS06 | 28 | Data Interchange Control Number | M | NO | 1/9 |
GS07 | 455 | Responsible Agency Code | M | ID | 1/2 |
GS08 | 480 | Version/Release/Industry Identifier Code | M | AN | 1/12 |
Segment | ST Transaction Set Header |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the start of a transaction set and to assign a control number. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
ST01 | 143 |
Transaction Set Identifier Code
|
M | ID | 3/3 |
ST02 | 329 |
Transaction Set Control Number Identifying control number. Must be unique within the transaction set. |
M | AN | 4/9 |
Segment | BSN Beginning Segment for Ship Notice |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To transmit identifying numbers, dates, and other basic data relating to the transaction set. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
BSN01 | 353 |
Transaction Set Purpose Code Code identifying purpose of transaction set
|
M | ID | 2/2 |
BSN02 | 396 |
Shipment Identification A unique control number assigned by the original shipper to identify a specific shipment |
M | AN | 2/30 |
BSN03 | 373 |
Date Date expressed as CCYYMMDD |
M | DT | 8/8 |
BSN04 | 337 |
Time Time expressed in 24-hour clock time as follows: HHMM |
M | TM | 4/4 |
BSN05 | 1005 |
Hierarchical Structure Code
|
M | ID | 4/4 |
Segment | HL Hierarchical Level - SHIPMENT |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To identify dependencies among and the content of hierarchically related groups of data segments. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
HL01 | 628 |
Hierarchical ID Number A unique number assigned by the sender to identify a particular data segment in a hierarchical structure. |
M | AN | 1/12 |
HL02 | 734 | Hierarchical Parent ID Number | M | AN | 1/12 |
HL03 | 735 |
Hierarchical Level Code
|
M | ID | 1/2 |
Segment | TD1 Carrier Details (Quantity and Weight) |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 20 |
Purpose | To specify the transportation details relative to commodity, weight, and quantity. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
TD101 | 103 |
Packaging Code
|
O | AN | 3/5 |
TD102 | 80 |
Lading Quantity The number of packages in the shipment. |
M | NO | 1/7 |
Segment | TD5 Carrier Details (Routing Sequence/Transit Time) |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 12 |
Purpose | To specify the carrier and sequence of routing and provide transit time information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
TD501 | 133 |
Routing Sequence Code
|
O | ID | 1/2 |
TD502 | 66 |
ID Code Qualifier
|
M | AN | 1/2 |
TD503 | 67 |
SCAC – Standard Carrier Alpha Code
|
M | AN | 2/80 |
TD504 | 91 |
Transportation Method/Type Code
|
X | ID | 2/2 |
TD505 | 387 |
Routing Instructions Provide the carrier code for you shipping method:
|
M | AN | 1/35 |
Segment | REF Reference Identification |
---|---|
Loop | HL |
Level | Detail |
Usage | Optional |
Max Use | 999999 |
Purpose | To specify identifying information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
REF01 | 128 |
Reference Identification Qualifier
|
M | ID | 2/3 |
REF02 | 127 | Reference Identification Description | X | AN | 1/30 |
Segment | DTM Date / Time Reference |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 10 |
Purpose | To specify pertinent dates and times. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
DTM01 | 374 |
Date/Time Qualifier
|
M | ID | 3/3 |
DTM02 | 373 | Date (Expressed as CCYYMMDD) | M | DT | 8/8 |
Segment | N1 Name |
---|---|
Loop | N1 |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To identify a party by type of organization, name, and code. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N101 | 98 |
Entity Identifier Code Code identifying an organization, a location, property, or an individual.
|
M | ID | 2/3 |
N102 | 93 | Name (Free Form) | M | AN | 1/60 |
N103 | 66 |
Identification Code Qualifier
|
O | ID | 1/2 |
N104 | 67 | Identification Code | O | AN | 2/80 |
Segment | N2 Additional Name Information |
---|---|
Loop | N1 |
Level | Heading |
Usage | Optional |
Max Use | 2 |
Purpose | To specify additional names. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N201 | 93 | Name | M | AN | 1/60 |
Segment | N3 Address Information |
---|---|
Loop | N1 |
Level | Heading |
Usage | Mandatory |
Max Use | 2 |
Purpose | To specify the location of the named party. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N301 | 166 | Address Information | M | AN | 1/55 |
N302 | 166 | Address Information | O | AN | 1/55 |
Segment | N4 Geographic Location |
---|---|
Loop | N1 |
Level | Heading |
Usage | Mandatory |
Max Use | >1 |
Purpose | To specify the geographic place of the named party. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N401 | 19 | City Name | M | AN | 2/30 |
N402 | 156 | State | M | ID | 2/2 |
N403 | 116 | Postal Code | M | ID | 3/15 |
N404 | 26 | Country Code | M | AN | 2/3 |
Segment | HL Hierarchical Level - ORDER |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To identify dependencies among and the content of hierarchically related groups of data segments. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
HL01 | 628 |
Hierarchical ID Number A unique number assigned by the sender to identify a particular data segment in a hierarchical structure. |
M | AN | 1/12 |
HL02 | 734 | Hierarchical Parent ID Number | O | AN | 1/12 |
HL03 | 735 |
Hierarchical Level Code
|
M | ID | 1/2 |
Segment | PRF Purchase Order Reference |
---|---|
Loop | HL |
Level | Detail |
Usage | Optional |
Max Use | 1 |
Purpose | To provide reference to a specific purchase order. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
PRF01 | 324 | Purchase Order Number | M | AN | 1/22 |
PRF04 | 373 | Date (expressed as CCYYMMDD) | M | DT | 8/8 |
Segment | HL Hierarchical Level - PACKAGE |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To identify dependencies among and the content of hierarchically related groups of data segments. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
HL01 | 628 |
Hierarchical ID Number A unique number assigned by the sender to identify a particular data segment in a hierarchical structure. |
M | AN | 1/12 |
HL02 | 734 | Hierarchical Parent ID Number | O | AN | 1/12 |
HL03 | 735 |
Hierarchical Level Code
|
M | ID | 1/2 |
Segment | MAN Marks and Numbers |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 999999 |
Purpose | To indicate identifying marks and numbers for shipping containers. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
MAN01 | 88 |
Marks and Numbers Qualifier
|
M | ID | 1/2 |
MAN02 | 87 | Marks and Numbers (i.e. Tracking Number) | M | AN | 1/48 |
Segment | HL Hierarchical Level - ITEM |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To identify dependencies among and the content of hierarchically related groups of data segments. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
HL01 | 628 |
Hierarchical ID Number A unique number assigned by the sender to identify a particular data segment in a hierarchical structure. |
M | AN | 1/12 |
HL02 | 734 | Hierarchical Parent ID Number | O | AN | 1/12 |
HL03 | 735 |
Hierarchical Level Code
|
M | ID | 1/2 |
Segment | LIN Item Identification |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To specify basic item identification data. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
LIN01 | 350 | Assigned Identification | O | AN | 1/20 |
LIN02 | 235 |
Item ID Qualifier
|
O | ID | 2/2 |
LIN03 | 234 | Item ID | O | AN | 1/48 |
LIN04 | 235 |
Item ID Qualifier
|
M | ID | 2/2 |
LIN05 | 234 | Item ID | M | AN | 1/48 |
LIN06 | 235 |
Item ID Qualifier
|
O | ID | 2/2 |
LIN07 | 234 | Item ID | O | AN | 1/48 |
Segment | SN1 Item Detail (Shipment) |
---|---|
Loop | HL |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To specify line-item detail relative to shipment. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
SN101 | 350 | Assigned Identification | O | AN | 1/20 |
SN102 | 382 | Number of Units Shipped | M | NO | 1/10 |
SN103 | 355 | Unit or Basis for Measurement Code | M | ID | 2/2 |
Segment | CTT Transaction Totals |
---|---|
Loop | |
Level | Summary |
Usage | Optional |
Max Use | 1 |
Purpose | To transmit a hash total for a specific element in the transaction set. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
CTT01 | 354 | Number of Line Items | O | NO | 1/6 |
Segment | SE Transaction Set Trailer |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments). |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
SE01 | 96 |
Number of Included Segments Total number of segments included in a transaction set including ST and SE segments. |
M | NO | 1/10 |
SE02 | 329 |
Transaction Set Control Number Identifying control number. Must be unique within the transaction set. |
M | AN | 4/9 |
Segment | GE Functional Group Trailer |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the end of a functional group and to provide control information. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
GE01 | 97 | Number of Transaction Sets Included | M | NO | 1/6 |
GE02 | 28 |
Group Control Number This value must be identical to the data element value in GS06 in the associated functional group header. |
M | NO | 1/9 |
Segment | IEA Interchange Control Trailer |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To define the end of one or more functional groups and interchange-related control segments. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
IEA01 | I16 |
Functional Identifier Code A count of the number of functional groups included in an interchange. |
M | NO | 1/5 |
IEA02 | I12 |
Interchange Control Number This value must be identical to the data element value in ISA13 in the associated interchange control header. |
M | NO | 1/9 |