
Walgreens 850 Purchase Orders for Direct Store Delivery (DSD)
Walgreens · X12 004010
The Walgreens 850 is the purchase order a customer sends to order goods from a supplier.
Walgreens’ published 850 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
12 of 12 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
BEG
Beginning Segment For Purchase Order BEG
pos 020
Required
max —
REF
Reference Identification REF Others
The REF segment is used for transmission of the Walgreens Marketing Vendor number on all Purchase Order types.
pos 050
Required
max —
ITD
Terms Of Sale Deferred Terms Of Sale ITD
This segment used on all DC Purchase Orders, but will also be sent on SAP-originated orders (not available on Legacy orders).
pos 130
Optional
max —
DTM
Date Time Reference DTM
DTM segment is used for all Purchase Order types.
pos 150
Required
max 4
N1 LoopN1 Loop Bill To and Ship Tovariant 1 of 2
N1
Name N1
pos 310
Required
max —
N1 LoopN1 Loop Othersvariant 2 of 2repeats 1required
N1
Name N1
pos 310
Required
max —
N3
Address Information N3
pos 330
Optional
max 1
N4
Geographic Location N4
pos 340
Optional
max 1
DETAIL
PO1 Looprepeats 100000required
PO1
Baseline Item Data PO1
The information in this segment should always be reflected in the appropriate segments for the Purchase Order Acknowledgement (EDI-855), Advance Ship Notice (EDI-856) and Invoice (EDI-810).
Additionally, our 340-B requirements mandate that the NDC be included on all return documents (Purchase Order Acknowledgement and Advance Ship Notice).
pos 010
Required
max —
SUMMARY
CTT Looprepeats 1required
CTT
Transaction Totals CTT
The CTT segment is used for all Purchase Order types. Distribution Center and Central Direct orders use all elements listed.
pos 010
Required
max —
SE
Transaction Set Trailer SE
pos 030
Optional
max —
Validate your 850
Paste or upload a document and check it against Walgreens’ published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Walgreens’ 850 in days, not months
Connect this guide to your accounting system and test with Walgreens yourself, or leave the mapping and the test cycle to us, at no extra charge.