Customer Type

Integration Method

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
ISAInterchange Control HeaderM1
GSFunctional Group HeaderM1
STTransaction Set HeaderM1
BSNBeginning Segment for Ship NoticeM1

Details

Heirarchy Level 1: Shipment

Segment ID Name Required Max Use
LOOP ID - HL
HLHierarchical Level - SHIPMENTM200000
TD1Carrier Details (Quantity and Weight)M20
TD5Carrier DetailsM12
REFReference IdentificationM999999
DTMDate/Time ReferenceM10
LOOP ID - N1 (Ship From)
N1NameM1
N2Additional Name InformationO1
N3Address InformationM1
N4Geographic LocationM1
LOOP ID - N1 (Ship To)
N1NameM1
N2Additional Name InformationO1
N3Address InformationM1
N4Geographic LocationM1

Heirarchy Level 2: Order

Segment ID Name Required Max Use
LOOP ID - HL
HLHierarchical Level - ORDERM1
PRFPurchase Order ReferenceM1

Heirarchy Level 3: Package

Segment ID Name Required Max Use
LOOP ID - HL
HLHierarchical Level - PACKAGEM1
MANMarks and Numbers M999999

Heirarchy Level 4: Item

Segment ID Name Required Max Use
LOOP ID - HL
HLHierarchical Level - ITEMM1
LINItem IdentificationM1
SN1Item Detail (Shipment)M1

Summary

Segment ID Name Required Max Use
CTTTransaction TotalsO1
SETransaction Set TrailerM1
GEFunctional Group TrailerM1
IEAInterchange Control TrailerM1

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

SegmentISA Interchange Control Header
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • 00 - No Authorization Information Present
M ID 2/2
ISA02I02Authorization InformationMAN10/10
ISA03 I03

Security Information Qualifier

  • 00 - No Security Information Present
M ID 2/2
ISA04I04Security Information MAN10/10
ISA05 I05 Interchange ID Qualifier M ID 2/2
ISA06I06Interchange Sender’s ID MAN15/15
ISA07I05Interchange ID QualifierMID2/2
ISA08I07Interchange Receiver’s ID MAN15/15
ISA09I08Interchange DateMDT6/6
ISA10I09Interchange Time MTM4/4
ISA11I10Interchange Control Standards IdentifierMID1/1
ISA12 I11 Interchange Control Version Number
  • 00403 - Release 4030
M ID 5/5
ISA13I12Interchange Control NumberMNO9/9
ISA14I13Acknowledgement Requested MID1/1
ISA15 I14 Test Indicator
  • T - Test Data
  • P - Production Data
M ID 1/1
ISA16I15Component (Sub) Element SeparatorMAN1/1

Back to Top

SegmentGS Functional Group Header
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • SH - Ship Notice/Manifest (856)
M ID 2/2
GS02142Application Sender's CodeMAN2/15
GS03124Application Receiver's CodeMAN2/15
GS0429Data Interchange DateMDT8/8
GS0530Data Interchange TimeMTM4/4
GS0628Data Interchange Control Number MNO1/9
GS07455Responsible Agency CodeMID1/2
GS08480Version/Release/Industry Identifier CodeMAN1/12

Back to Top

SegmentST Transaction Set Header
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • 850 - Purchase Order
M ID 3/3
ST02 329

Transaction Set Control Number

Identifying control number. Must be unique within the transaction set.

M AN 4/9

Back to Top

SegmentBSN Beginning Segment for Ship Notice
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • 00 - Orginal
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

  • 0001 - Shipment, Order, Packaging, Item
M ID 4/4

Back to Top

SegmentHL Hierarchical Level - SHIPMENT
LoopHL
LevelDetail
UsageMandatory
Max Use1
PurposeTo 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

  • S - Shipment
M ID 1/2

Back to Top

SegmentTD1 Carrier Details (Quantity and Weight)
LoopHL
LevelDetail
UsageMandatory
Max Use20
PurposeTo specify the transportation details relative to commodity, weight, and quantity.
Ref Des Data Element Name Usage Type Min/Max
TD101 103

Packaging Code

  • CTN - Carton
O AN 3/5
TD102 80

Lading Quantity

The number of packages in the shipment.

M NO 1/7

Back to Top

SegmentTD5 Carrier Details (Routing Sequence/Transit Time)
LoopHL
LevelDetail
UsageMandatory
Max Use12
PurposeTo 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

  • B - Origin/Delivery Carrier (Any Mode)
O ID 1/2
TD502 66

ID Code Qualifier

  • 2 - SCAC
M AN 1/2
TD503 67

SCAC – Standard Carrier Alpha Code

  • FDEG - FedEx
  • UPSN - UPS
M AN 2/80
TD504 91

Transportation Method/Type Code

  • ZZ - Mutually defined
X ID 2/2
TD505 387

Routing Instructions

Provide the carrier code for you shipping method:

  • Ground (for "UPS Ground")
  • 2ndDayAir (for "UPS 2 Day")
  • NextDayAir (for "UPS Next Day")
  • FEDEX_GROUND (for "FexEx Ground")
  • FEDEX_2_DAY (for "FedEx 2 Day")
  • STANDARD_OVERNIGHT (for "FedEx Next Day")
M AN 1/35

Back to Top

SegmentREF Reference Identification
LoopHL
LevelDetail
UsageOptional
Max Use999999
PurposeTo specify identifying information.
Ref Des Data Element Name Usage Type Min/Max
REF01 128

Reference Identification Qualifier

  • BM - Bill of Lading Number
M ID 2/3
REF02 127 Reference Identification Description

X AN 1/30

Back to Top

SegmentDTM Date / Time Reference
LoopHL
LevelDetail
UsageMandatory
Max Use10
PurposeTo specify pertinent dates and times.
Ref Des Data Element Name Usage Type Min/Max
DTM01 374

Date/Time Qualifier

  • 011 - Shipped
M ID 3/3
DTM02 373 Date (Expressed as CCYYMMDD) M DT 8/8

Back to Top

SegmentN1 Name
LoopN1
LevelDetail
UsageMandatory
Max Use1
PurposeTo 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.

  • SF - Ship From
  • ST - Ship To
  • SO - Sold To
M ID 2/3
N102 93 Name (Free Form) M AN 1/60
N103 66

Identification Code Qualifier

  • 12 - Telephone Number
O ID 1/2
N104 67 Identification Code O AN 2/80

Back to Top

SegmentN2 Additional Name Information
LoopN1
LevelHeading
UsageOptional
Max Use2
PurposeTo specify additional names.
Ref Des Data Element Name Usage Type Min/Max
N201 93 Name M AN 1/60

Back to Top

SegmentN3 Address Information
LoopN1
LevelHeading
UsageMandatory
Max Use2
PurposeTo 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

Back to Top

SegmentN4 Geographic Location
LoopN1
LevelHeading
UsageMandatory
Max Use>1
PurposeTo specify the geographic place of the named party.
Ref Des Data Element Name Usage Type Min/Max
N40119City NameMAN2/30
N402156StateMID2/2
N403116Postal CodeMID3/15
N40426Country Code MAN2/3

Back to Top

SegmentHL Hierarchical Level - ORDER
LoopHL
LevelDetail
UsageMandatory
Max Use1
PurposeTo 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

  • O - Order
M ID 1/2

Back to Top

SegmentPRF Purchase Order Reference
LoopHL
LevelDetail
UsageOptional
Max Use1
PurposeTo 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

Back to Top

SegmentHL Hierarchical Level - PACKAGE
LoopHL
LevelDetail
UsageMandatory
Max Use1
PurposeTo 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

  • P - Package
M ID 1/2

Back to Top

SegmentMAN Marks and Numbers
LoopHL
LevelDetail
UsageMandatory
Max Use999999
PurposeTo indicate identifying marks and numbers for shipping containers.
Ref Des Data Element Name Usage Type Min/Max
MAN01 88

Marks and Numbers Qualifier

  • CP - Carrier-Assigned Package ID Number
M ID 1/2
MAN02 87 Marks and Numbers (i.e. Tracking Number) M AN 1/48

Back to Top

SegmentHL Hierarchical Level - ITEM
LoopHL
LevelDetail
UsageMandatory
Max Use1
PurposeTo 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

  • I - Item
M ID 1/2

Back to Top

SegmentLIN Item Identification
LoopHL
LevelDetail
UsageMandatory
Max Use1
PurposeTo specify basic item identification data.
Ref Des Element Name Usage Type Min/Max
LIN01350Assigned IdentificationOAN1/20
LIN02 235

Item ID Qualifier

  • IN - Retailer's Item Number
O ID 2/2
LIN03234Item IDOAN1/48
LIN04 235

Item ID Qualifier

  • VN - Vendor's Item Number
M ID 2/2
LIN05234Item IDMAN1/48
LIN06 235

Item ID Qualifier

  • UP - 12 digit UPC/13 digit EAN Number
O ID 2/2
LIN07234Item IDOAN1/48

Back to Top

SegmentSN1 Item Detail (Shipment)
LoopHL
LevelDetail
UsageMandatory
Max Use1
PurposeTo specify line-item detail relative to shipment.
Ref Des Data Element Name Usage Type Min/Max
SN101350Assigned IdentificationOAN1/20
SN102382Number of Units ShippedMNO1/10
SN103355Unit or Basis for Measurement CodeMID2/2

Back to Top

SegmentCTT Transaction Totals
Loop
LevelSummary
UsageOptional
Max Use1
PurposeTo 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

Back to Top

SegmentSE Transaction Set Trailer
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top

SegmentGE Functional Group Trailer
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top

SegmentIEA Interchange Control Trailer
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top