Last reviewed October 6, 2026 by Effective Data's EDI specialists.
When the 856 is used, and which way it travels
The ASN typically originates from suppliers or third-party logistics providers and is destined for retailers and distributors. It is what lets a receiving dock know what is coming before the truck arrives.
For cross-dock shipments it carries mark-for locations and GS1-128 numbers aligned with the physical barcodes, so product can flow through a distribution center without put-away operations.
For direct-to-store and warehouse delivery it enables automated receiving: carton packing validation, faster identification of unshipped items, and automatic capture of GTIN and batch or lot numbers for track-and-trace.
For dropship it confirms items shipped to end customers, carrying the customer order identification and the small-package tracking number, without requiring GS1 labeling. It is what triggers 'goods received' in the retailer's ERP and, from there, payment collection.
Also called the Advance Ship Notice, the ASN. Same document, same number.
The segments, and what each one carries
The published X12 structure, minus the segments most partners never use. Each partner's implementation guide narrows this further: which qualifiers, which identifiers, how many decimals. That guide, not the standard, is what your file is validated against.
| Segment | Name | Part | What it carries |
|---|---|---|---|
| ST | Transaction Set Header | Header | Identifies the document as an 856 and opens the control number the trailer must match. |
| BSN | Beginning Segment for Ship Notice | Header | Shipment identification number, date and time, and the hierarchy structure code. |
| HL | Hierarchical Level | Detail | The packing structure: shipment, then order, then pack, then item. This hierarchy is the document. |
| TD1 | Carrier Details, Quantity and Weight | Detail | Packaging type, lading quantity and weight. |
| TD5 | Carrier Details, Routing | Detail | Carrier identification and routing sequence. |
| PRF | Purchase Order Reference | Detail | Which PO this shipment answers. One order level per PO. |
| N1 | Party Identification | Detail | Ship-from and ship-to, usually with DUNS or a partner-assigned location code. |
| MAN | Marks and Numbers | Detail | The serialized container codes on the physical cartons and pallets. These must match the labels. |
| LIN | Item Identification | Detail | The product, by UPC, EAN, GTIN or vendor part number. |
| SN1 | Item Detail, Shipment | Detail | Units shipped per item at this level of the hierarchy. |
| CTT | Transaction Totals | Summary | The count of HL loops, as an integrity check. |
| SE | Transaction Set Trailer | Summary | Closes the set. Segment count and control number must match the ST. |
- ST Transaction Set Header Header
- Identifies the document as an 856 and opens the control number the trailer must match.
- BSN Beginning Segment for Ship Notice Header
- Shipment identification number, date and time, and the hierarchy structure code.
- HL Hierarchical Level Detail
- The packing structure: shipment, then order, then pack, then item. This hierarchy is the document.
- TD1 Carrier Details, Quantity and Weight Detail
- Packaging type, lading quantity and weight.
- TD5 Carrier Details, Routing Detail
- Carrier identification and routing sequence.
- PRF Purchase Order Reference Detail
- Which PO this shipment answers. One order level per PO.
- N1 Party Identification Detail
- Ship-from and ship-to, usually with DUNS or a partner-assigned location code.
- MAN Marks and Numbers Detail
- The serialized container codes on the physical cartons and pallets. These must match the labels.
- LIN Item Identification Detail
- The product, by UPC, EAN, GTIN or vendor part number.
- SN1 Item Detail, Shipment Detail
- Units shipped per item at this level of the hierarchy.
- CTT Transaction Totals Summary
- The count of HL loops, as an integrity check.
- SE Transaction Set Trailer Summary
- Closes the set. Segment count and control number must match the ST.
Why yours is being rejected
Every EDI provider publishes what an 856 is. What matters in production is why one fails, and these are the failure modes we can put a source against today:
-
Barcode label discrepancies. When the GS1-128 numbers in the ASN do not align with the physical barcodes on the cartons, the receiver falls back to manual sorting, and the supplier pays for it in labor costs and penalties.
-
Incomplete or inaccurate data. Missing mark-for locations, wrong packaging hierarchy, quantities that disagree with what was shipped: these cause delays and service failures at receiving.
-
Timeliness. Partners set requirements for when the ASN must arrive relative to the shipment, and an ASN that lands after the truck is a service failure even when its content is perfect.
-
A broken hierarchy. The HL structure must describe shipment, order, pack and item levels that nest correctly and match the CTT count; a pack level that does not add up to its order level fails validation.
If one of these is happening to you right now, skip to the bottom of the page and describe it. Diagnosing rejected documents is most of what we do.
The documents the 856 travels with
Frequently asked
+ What is an EDI 856?
The advance ship notice, or ASN. It conveys comprehensive shipment details, including contents, carrier information, shipment size, ship date and estimated delivery date, before the delivery arrives.
+ What data does an 856 carry?
The destination, a notice identification number, shipment and delivery dates, origin and supplier information, the purchase order reference, and product identifiers such as UPC, EAN or GTIN with their quantities.
+ Why do retailers penalize ASN errors?
Because receiving is planned around the ASN. Label discrepancies force manual sorting, and incomplete or late data causes delays and service failures. The penalties price that labor back to the supplier.
+ What is the ASN's role in dropshipping?
It confirms items shipped to end customers, provides shipment status and tracking, indicates goods received in the ERP, drives the shipment notification to the end customer, and triggers payment collection from the retailer.
+ What is the difference between an 856 and an 846?
The 856 describes a specific shipment on its way; the 846 describes inventory position, what is on hand and what will be available. One is a delivery, the other is a stock report.
Is your 856 failing, or being mandated by a partner?
Describe the situation and a named EDI specialist will tell you what it takes, including when the answer is that you do not need us.
Or call 847.969.9300Answered by a named EDI specialist on the same business day. If we are not the right answer we will say so on the first call.