
Walgreens 861 Receiving/Invoice Variance Notification (Combined Guide) for Direct Store Delivery (DSD)
Walgreens · X12 004010
The Walgreens 861 is the receiving advice a customer sends to confirm what it received.
Walgreens’ published 861 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
15 of 15 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
BRA
Beginning Segment For Receiving Advice Or Acceptance Certificate BRA
pos 020
Required
max —
REF
Reference Identification Internal Vendor Numbervariant 1 of 2
pos 050
Required
max —
REF
Reference Identification Invoice Numbervariant 2 of 2
The invoice number should always be present on the Invoice Variance. For the Receiving Variance, though, the Invoice Number will only be sent if it was sent on the ASN, or if it was keyed in during the receiving process at the store
pos 050
Optional
max —
DTM
Date/Time Reference Invoice datevariant 1 of 2
pos 070
Optional
max —
DTM
Date/Time Reference Posted Datevariant 2 of 2
Current Walgreens implementation of the EDI-861 will only provide the Posted Date. In the future, Walgreens may also provide Receipt Date.
pos 070
Required
max —
PRF
Purchase Order Reference PRF
pos 080
Required
max 25
N1 Looprepeats 1required
N1
Name N1
pos 130
Required
max —
DETAIL
RCD Looprepeats 200000
RCD
Receiving Conditions RCD
Please refer to the addendum, which details examples for populating the data elements in the RCD (and associated SN1 segment for Receiving Variances and SAC segment for Invoice Variances.)
pos 010
Required
max —
SN1
Item Detail Shipment SN1
Please refer to the addendum, which details examples for populating the data elements in the RCD and SN1 segments.
----------------------------------------------------------------------------
The SN1 segment will only be sent when the BRA03 = *00* (Receiving Variance Only).
pos 020
Optional
max —
LIN
Item Identification LIN
pos 040
Required
max 100
SAC
Service Promotion Allowance Or Charge Information SAC
Invoice Variance - When the BRA03 = *5C*, the corresponding SAC01 will be *Q*.
pos 170
Optional
max 10
MAN
Marks And Numbers MAN
The values conveyed in this segment will be what was originally sent to Walgreens via the Advanced Shipment Notice (EDI-856).
pos 180
Required
max —
SUMMARY
CTT
Transaction Totals CTT
pos 010
Required
max —
SE
Transaction Set Trailer SE
pos 020
Optional
max —
Validate your 861
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’ 861 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.