Skip to content

EDI 856 Sample File: Advance Ship Notice

3 cartons with SSCC labels, one line short. Valid X12 004010, explained segment by segment, free to download.

A synthetic file: made-up companies, IDs and amounts, safe to load into a test system.

An EDI 856 is the advance ship notice a supplier sends before the goods arrive. This sample ships PO 4500123456 in three cartons. HL segments nest Shipment, Order, Pack and Item, each carton carries an SSCC-18 in MAN*GM, and SN1 shows line 2 shipping 45 of 50 ordered.

Standard
X12 856
Version
004010
Sent by
Supplier to buyer
Segments
37

sample-856-ship-notice.edi

From VENDOR123 to WALMART. Click a line to jump to its explanation.

Open in EDI Inspector
ISA*00*          *00*          *ZZ*VENDOR123      *ZZ*WALMART        *231122*0800*U*00401*000000103*0*P*>~GS*SH*VENDOR123*WALMART*20231122*0800*103*X*004010~ST*856*0001~BSN*00*ASN-4500123456*20231122*0800*0001~HL*1**S~TD1*CTN25*3****G*312*LB~TD5**2*FXFE*M~REF*BM*BOLWMT9988776~DTM*011*20231122~N1*SF*VENDOR COMPANY LLC*92*VENDOR123~N3*321 INDUSTRIAL WAY~N4*DALLAS*TX*75201~N1*ST*WALMART STORE 001*92*001~N3*123 MAIN STREET~N4*BENTONVILLE*AR*72712~HL*2*1*O~PRF*4500123456***20231120~REF*DP*001~HL*3*2*P~MAN*GM*000123456000000012~HL*4*3*I~LIN*001*VN*PROD-12345*UP*012345678905~SN1*001*100*EA**100*EA~HL*5*2*P~MAN*GM*000123456000000029~HL*6*5*I~LIN*002*VN*PROD-67890*UP*012345678912~SN1*002*45*EA**50*EA~HL*7*2*P~MAN*GM*000123456000000036~HL*8*7*I~LIN*003*VN*PROD-11111*UP*012345678929~SN1*003*200*EA**200*EA~CTT*8~SE*33*0001~GE*1*103~IEA*1*000000103~

856 Sample, Segment by Segment

Every segment and element, with what each code means. The 9 segments with a note are open; open any other to see its elements.

The Same File as a Document

What a person reads once the codes are translated. Download it as a PDF from the menu above.

Ship Notice

ASN-4500123456

Nov 22, 2023 08:00

PO number
4500123456
PO date
Nov 20, 2023
Shipped
Nov 22, 2023
Bill of lading
BOLWMT9988776
Carrier
FXFE, Motor (common carrier)
Packages
3 cartons
Gross weight
312 lb
Packing structure
Shipment, Order, Packaging, Item

Ship from

VENDOR COMPANY LLC

321 INDUSTRIAL WAY

DALLAS, TX 75201

Assigned by buyer: VENDOR123

Ship to

WALMART STORE 001

123 MAIN STREET

BENTONVILLE, AR 72712

Assigned by buyer: 001

Carton SSCCLineItem / UPCOrderedShippedUnit
000123456000000012001PROD-12345012345678905100100Each
000123456000000029002PROD-678900123456789125045Each
000123456000000036003PROD-11111012345678929200200Each
Cartons
3
PO lines
3
Total quantity
345

Print the SSCC labels for these cartons

The SSCC label generator makes GS1-128 carton labels and numbers, and maps them to the 856.

Open the free tool

About This 856 Sample

The 856 is the document retailers fine most often. The receiving dock scans each carton's SSCC label and looks it up in the ASN, so the ASN has to arrive before the truck and match what is on it, carton by carton.

The HL loop is the hard part. HL01 is each level's ID, HL02 points to its parent and HL03 says what the level is. This file uses the pick and pack structure (BSN05 0001): one shipment, one order, a pack level per carton and an item level inside each.

For every segment the standard allows and how retailers use them, read the EDI 856 guide. To check a file of your own, paste it into the EDI Inspector, or browse all 22 EDI sample files.

Related Sample Files

Frequently Asked Questions

What is an EDI 856?

An EDI 856 is the advance ship notice a supplier sends before the goods arrive. This sample ships PO 4500123456 in three cartons. HL segments nest Shipment, Order, Pack and Item, each carton carries an SSCC-18 in MAN*GM, and SN1 shows line 2 shipping 45 of 50 ordered.

Can I use this EDI 856 sample to test my system?

Yes. It is a complete, valid X12 file of 37 segments with made-up companies, IDs and amounts. Download it as .edi or .txt, load it into your translator or ERP test environment, and change the sender and receiver IDs to your test IDs if your system routes by them.

How do I check my own EDI 856 file?

Paste it into the free OrderSync EDI Inspector. It names every segment and element, checks the envelope counts and control numbers, tests GS1 check digits, and points at the exact segment a trading partner would reject. Nothing is uploaded: the file is read in your browser.