X12 transaction guide · Shipping and logistics

EDI 856 Advance Ship Notice

Official X12 name: Ship Notice/Manifest

The X12 document a supplier sends before delivery to describe exactly what is in a shipment, down to cartons and items.

Sent by
Supplier, manufacturer or 3PL
Received by
Buyer or receiving location
Standard
ANSI ASC X12
EDIFACT equivalent
DESADV

What is an EDI 856?

The EDI 856 Ship Notice/Manifest, commonly called the advance ship notice or ASN, is the ANSI X12 transaction set a supplier sends to describe a shipment before it arrives. It lists the carrier and shipment references, the orders included, how goods are packed into pallets and cartons, and the items and quantities in each package.

The 856 uses a hierarchical structure built from HL segments. A typical retail ASN follows a shipment, order, pack and item hierarchy, which lets the receiving location scan a carton label and know exactly what is inside. Because receiving, inventory and payment often depend on it, the 856 is one of the most compliance-sensitive EDI documents.

How the EDI 856 worksDiagram of the EDI 856 Advance Ship Notice. Supplier, manufacturer or 3PL sends it to buyer or receiving location. It usually follows 850 and 862. It is usually followed by 810. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: BSN (Beginning Segment for Ship Notice) and detail: the required HL loop with HL (Hierarchical Level). 6 optional loops are listed by their first segment.How the EDI 856 worksAdvance Ship Notice: who sends it, where it fits and what the standard marks required1 WHERE IT FITSUSUALLY FOLLOWS850Purchase Order862Shipping ScheduleEDI 856SENDERSupplier, manufactureror 3PLRECEIVERBuyer or receivinglocation997 or 999 acknowledgment back, if the partners agreeUSUALLY FOLLOWED BY810Invoice2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDsISA … IEAFunctional group, ID code SHGS … GETransaction set 856ST … SEHEADINGBSNBeginning Segment for Ship NoticeDETAILRequired loop HL · repeats up to 200,000HLHierarchical Level+ 6 optional loops, starting with:LH1CLDN1SACLMV1Blue box: required loop. Optional loops are listed by the segment that starts them; when a loop is used, that first segment is required. Optional segmentsoutside loops are not drawn.Structure: required segments and loops in the X12 004010 listing for the 856. Your trading partner's implementation guide adds its own requirements.
How the EDI 856 worksDiagram of the EDI 856 Advance Ship Notice. Supplier, manufacturer or 3PL sends it to buyer or receiving location. It usually follows 850 and 862. It is usually followed by 810. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: BSN (Beginning Segment for Ship Notice) and detail: the required HL loop with HL (Hierarchical Level). 6 optional loops are listed by their first segment.How the EDI 856 worksAdvance Ship Notice: who sends it, where it fitsand what the standard marks required1 WHERE IT FITSUSUALLY FOLLOWS850Purchase Order862Shipping ScheduleEDI 856SENDERSupplier,manufacturer or3PLRECEIVERBuyer orreceivinglocation997 or 999 acknowledgment back, if the partnersagreeUSUALLY FOLLOWED BY810Invoice2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDs (ISA… IEA)Functional group, ID code SH (GS … GE)Transaction set 856 (ST … SE)HEADINGBSNBeginning Segment for ShipNoticeDETAILRequired loop HL · repeats up to200,000HLHierarchical Level+ 6 optional loops, starting with:LH1CLDN1SACLMV1Blue box: required loop. Optional loops are listedby the segment that starts them; when a loop isused, that first segment is required. Optionalsegments outside loops are not drawn.Structure: required segments and loops in the X12004010 listing for the 856. Your trading partner'simplementation guide adds its own requirements.

How to read this diagram: the top row shows who sends the 856, to whom, and which documents usually come before and after it. The lower part shows what X12 release 004010 itself requires: the envelopes around the 856 and the segments and loops the standard marks as required, area by area. Optional loops are listed by the segment that starts them rather than drawn in full. This is the standard's minimum, not a trading partner's requirement: each partner's implementation guide usually makes some optional loops mandatory, restricts the codes and may use a different release.

Expand diagram Download SVG

When it is used

  • Notifying a retailer or distributor of an outbound shipment before it arrives
  • Linking carton and pallet labels (SSCC numbers) to their contents
  • Confirming drop-ship shipments with carrier and tracking details
  • Sending automotive ship notices in response to shipping schedules

Where it fits in the document flow

This document 856 Advance Ship Notice
Usually followed by 810 Invoice

Structure

Key segments in the 856

The segments most implementations use, described in plain language. The last column shows what X12 release 004010 itself requires: "Required" marks a segment the standard requires in every 856; "Optional, common" marks a segment the standard leaves optional, or that sits in an optional loop, but that implementations often use. This is the standard's requirement, not your trading partner's: each partner's implementation guide names the release it uses, makes some optional segments mandatory and restricts the values, and requirements can differ between releases. The requirement status comes from one published X12 reference listing and has not been checked against a second source.

SegmentNameWhat it carriesIn X12 004010
BSNBeginning Segment for Ship NoticePurpose code, shipment identification number, and the date and time the notice was created.Required
HLHierarchical LevelBuilds the shipment, order, pack and item hierarchy that structures the whole document.Required
TD5 / TD1Carrier DetailsCarrier SCAC, transportation method, and package counts and weights at the shipment level.Optional, common
REFReference IdentificationReferences such as bill of lading number or carrier PRO number.Optional, common
PRFPurchase Order ReferenceThe purchase order number for the order level of the hierarchy.Optional, common
MANMarks and NumbersPackage identifiers, usually the SSCC printed on the GS1-128 carton or pallet label.Optional, common
LIN / SN1Item Identification and DetailItem identifiers such as UPC and the quantity shipped in the package.Optional, common

Example

Sample EDI 856

One shipment (HL S) for one purchase order (HL O) containing one carton (HL P) with its SSCC in the MAN segment, holding 24 units of one item (HL I). TD5 identifies the carrier and REF the bill of lading.

Illustrative data only, not tied to one X12 release or trading partner. The interchange (ISA/IEA) and functional group (GS/GE) envelopes are omitted for readability.

ST*856*0001~
BSN*00*SHP0001*20261020*1430~
HL*1**S~
TD5*B*2*ABCD*M~
REF*BM*BOL123456~
DTM*011*20261020~
N1*ST*Example DC*92*0042~
HL*2*1*O~
PRF*PO123456~
HL*3*2*P~
MAN*GM*00000123450000000017~
HL*4*3*I~
LIN**UP*012345678905~
SN1**24*EA~
CTT*4~
SE*16*0001~
Reading a sample EDI 856, line by lineAnnotated sample EDI 856 with 16 lines. Notes explain the ST, BSN, HL, TD5, REF, PRF, MAN, LIN and SE segments.Reading a sample EDI 856, line by lineEach numbered note explains the segment on that line. The data is illustrative.ST*856*0001~11Transaction Set Header. Opens the 856 and gives it a controlnumber, which SE repeats.BSN*00*SHP0001*20261020*1430~22Beginning Segment for Ship Notice. Purpose code, shipmentidentification number, and the date and time the notice wascreated.HL*1**S~33Hierarchical Level. Builds the shipment, order, pack and itemhierarchy that structures the whole document.TD5*B*2*ABCD*M~44Carrier Details. Carrier SCAC, transportation method, andpackage counts and weights at the shipment level.REF*BM*BOL123456~55Reference Identification. References such as bill of ladingnumber or carrier PRO number.DTM*011*20261020~N1*ST*Example DC*92*0042~HL*2*1*O~PRF*PO123456~66Purchase Order Reference. The purchase order number for theorder level of the hierarchy.HL*3*2*P~MAN*GM*00000123450000000017~77Marks and Numbers. Package identifiers, usually the SSCCprinted on the GS1-128 carton or pallet label.HL*4*3*I~LIN**UP*012345678905~88Item Identification and Detail. Item identifiers such as UPC andthe quantity shipped in the package.SN1**24*EA~CTT*4~SE*16*0001~99Transaction Set Trailer. Closes the set with the number ofsegments, including ST and SE, and the same control number.Illustrative data only, not tied to one trading partner. Envelopes (ISA/GS) are omitted for readability.
Reading a sample EDI 856, line by lineAnnotated sample EDI 856 with 16 lines. Notes explain the ST, BSN, HL, TD5, REF, PRF, MAN, LIN and SE segments.Reading a sample EDI 856, lineby lineEach numbered note explains the segment onthat line. The data is illustrative.ST*856*0001~Transaction Set Header. Opens the 856 andgives it a control number, which SE repeats.BSN*00*SHP0001*20261020*1430~Beginning Segment for Ship Notice. Purposecode, shipment identification number, and thedate and time the notice was created.HL*1**S~Hierarchical Level. Builds the shipment, order,pack and item hierarchy that structures thewhole document.TD5*B*2*ABCD*M~Carrier Details. Carrier SCAC, transportationmethod, and package counts and weights atthe shipment level.REF*BM*BOL123456~Reference Identification. References such asbill of lading number or carrier PRO number.DTM*011*20261020~N1*ST*Example DC*92*0042~HL*2*1*O~PRF*PO123456~Purchase Order Reference. The purchase ordernumber for the order level of the hierarchy.HL*3*2*P~MAN*GM*00000123450000000017~Marks and Numbers. Package identifiers,usually the SSCC printed on the GS1-128carton or pallet label.HL*4*3*I~LIN**UP*012345678905~Item Identification and Detail. Itemidentifiers such as UPC and the quantityshipped in the package.SN1**24*EA~CTT*4~SE*16*0001~Transaction Set Trailer. Closes the set withthe number of segments, including ST and SE,and the same control number.Illustrative data only, not tied to one trading partner.Envelopes (ISA/GS) are omitted for readability.

The sample is the same one shown above, with a note beside each segment the first time it appears. Segment IDs are highlighted at the start of each line; the fields after them are separated by asterisks, and each segment ends with a tilde.

Expand diagram Download SVG

Avoid problems

Common 856 errors and how to prevent them

ASN does not match the physical shipment

Quantities, items or carton contents that differ from what arrives cause receiving problems and often retailer chargebacks. Build the ASN from actual pick and pack data.

Label and ASN mismatch

The SSCC on each carton label must match the MAN segment in the 856. Generate labels and ASN data from the same source.

Late transmission

Many partners require the ASN before the shipment arrives or within a set time after it leaves. Trigger it automatically at shipment confirmation.

Wrong hierarchy

Partners specify pick-and-pack or standard-pack structures. Using the wrong hierarchy can get the whole document rejected.

Trading partners

Integration guides that include the 856

  • Amazon EDI integration
  • AT&T EDI integration
  • Cardinal Health EDI integration
  • Caterpillar EDI integration
  • Cencora EDI integration
  • Costco EDI integration
  • Dollar General EDI integration
  • Ford EDI integration
  • General Motors EDI integration
  • Honda EDI integration
  • John Deere EDI integration
  • Kroger EDI integration
  • Lowe's EDI integration
  • Marriott Bonvoy Boutiques EDI integration
  • McKesson EDI integration
  • Starbucks EDI integration
  • Target EDI integration
  • The Home Depot EDI integration
  • Toyota EDI integration
  • Verizon EDI integration
  • Walgreens EDI integration
  • Walmart EDI integration
  • Wayfair EDI integration

EDI 856 FAQs

What does ASN stand for in EDI?

ASN stands for advance ship notice. In X12 it is the 856 Ship Notice/Manifest, which describes a shipment before it arrives.

What is the HL hierarchy in an 856?

HL segments nest shipment, order, pack (tare or carton) and item levels so the receiver knows what each package contains. Partners define the exact structure they require.

When should an 856 be sent?

Usually when the shipment leaves, and before it arrives at the receiving location. Exact timing rules come from each trading partner.

What is the EDIFACT equivalent of the 856?

The UN/EDIFACT equivalent is the DESADV despatch advice message.

Need help with the EDI 856?

ECOM maps, tests and monitors X12 documents for your trading partners and integrates them with your ERP.