X12
Inbound

Walgreens X12 820 Payment Order/Remittance Advice

Walgreens DC (Domestic Distribution Centers, Import, Direct to store, Corporate)
The EDI 820 provides payment remittance details from Walgreens to suppliers. It includes invoice references, payment amounts, deductions for chargebacks or promotions, and settlement details for accounts receivable reconciliation.
15segments
3loops
5mandatory

Schema Reference

15 segments · X12 820 Payment Order/Remittance Advice

ISA ISA Interchange Control Header
Mandatory Max: 1
ISA01 Authorization Information Qualifier
M ID 2-2
ISA02 Authorization Information
M AN 10-10
ISA03 Security Information Qualifier
M ID 2-2
ISA04 Security Information
M AN 10-10
ISA05 Interchange ID Qualifier
M ID 2-2
ISA06 Interchange Sender ID
M AN 15-15
ISA07 Interchange ID Qualifier
M ID 2-2
ISA08 Interchange Receiver ID
M AN 15-15
ISA09 Interchange Date
M DT 6-6
ISA10 Interchange Time
M TM 4-4
ISA11 Interchange Control Standards Identifier
M ID 1-1
ISA12 Interchange Control Version Number
M ID 5-5
ISA13 Interchange Control Number
M N0 9-9
ISA14 Acknowledgment Requested
M ID 1-1
ISA15 Usage Indicator
M ID 1-1
GS GS Functional Group Header
Mandatory Max: 1
GS01 Functional Identifier Code
M ID 2-2
GS02 Application Sender's Code
M AN 2-15
GS03 Application Receiver's Code
M AN 2-15
GS04 Date
M DT 8-8
GS05 Time
M TM 4-8
GS06 Group Control Number
M N0 1-9
GS07 Responsible Agency Code
M ID 1-2
GS08 Version / Release / Industry Identifier Code
M AN 1-12
ST Transaction Set Header
Mandatory Max: 1
ST01 Transaction Set Identifier Code
M ID 3-3
ST02 Transaction Set Control Number
M AN 4-9
BPR Beginning Segment for Payment Order/Remittance Advice
Mandatory Max: 1
BPR01 Transaction Handling Code
M ID 1-2
BPR02 Monetary Amount
M R 1-18
BPR03 Credit/Debit Flag Code
M ID 1-1
BPR04 Payment Method Code
M ID 3-3
BPR05 Payment Format Code
O ID 1-10
BPR06 (DFI) ID Number Qualifier
C ID 2-2
BPR07 (DFI) Identification Number
C AN 3-12
BPR08 Account Number Qualifier
O ID 1-3
BPR09 Account Number
C AN 1-35
BPR10 Originating Company Identifier
O AN 10-10
BPR12 (DFI) ID Number Qualifier
C ID 2-2
BPR13 (DFI) Identification Number
C AN 3-12
BPR14 Account Number Qualifier
O ID 1-3
BPR15 Account Number
C AN 1-35
BPR16 Date
O DT 8-8
TRN Trace
Optional Max: 1
TRN01 Trace Type Code
M ID 1-2
TRN02 Reference Identification
M AN 1-30
DTM Date/Time Reference
DTM01 Date/Time Qualifier
M ID 3-3
DTM02 Date
C DT 8-8
DTM03 Time
C TM 4-8
N1 Loop
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N2 Additional Name Information
N201 Name
M AN 1-60
N3 Address Information
N301 Address Information
M AN 1-55
N302 Address Information
O AN 1-55
N4 Geographic Location
Optional Max: 1
N401 City Name
O AN 2-30
N402 State or Province Code
O ID 2-2
N403 Postal Code
O ID 3-15
N404 Country Code
O ID 2-3
ENT Loop
ENT Entity
Optional Max: 1
ENT01 Assigned Number
O N0 1-6
RMR Loop
RMR Remittance Advice Accounts Receivable Open Item Reference
Optional Max: 1
RMR01 Reference Identification Qualifier
C ID 2-3
RMR02 Reference Identification
C AN 1-30
RMR03 Payment Action Code
O ID 2-2
RMR04 Monetary Amount
O R 1-18
RMR05 Monetary Amount
O R 1-18
RMR06 Monetary Amount
O R 1-18
REF Reference Identification
REF01 Reference Identification Qualifier
M ID 2-3
REF02 Reference Identification
C AN 1-30
DTM Date/Time Reference
DTM01 Date/Time Qualifier
M ID 3-3
DTM02 Date
C DT 8-8
DTM03 Time
C TM 4-8
SE Transaction Set Trailer
Mandatory Max: 1
SE01 Number of Included Segments
M N0 1-10
SE02 Transaction Set Control Number
M AN 4-9
How It Works

Automating Walgreens EDI 820

Stacksync validates, transforms, and delivers your 820 transactions automatically — so your team can focus on operations, not EDI compliance.

Validate
Transform
Route
Monitor
Stacksync syncs incoming 820 Payment Remittances to your accounting system automatically. Payment amounts, deduction breakdowns, and invoice references are mapped to your AR records — making reconciliation fast and accurate.

Walgreens EDI 820 FAQ

Common questions about 820 Payment Order/Remittance Advice transactions with Walgreens.

How long does it take to set up Walgreens EDI with Stacksync?

Most suppliers are fully connected and processing live Walgreens EDI transactions within 3–5 business days. Stacksync's no-code setup means you don't need developers or EDI consultants — configure your field mappings through our visual interface, run a test cycle, and go live.

Do I need an existing VAN or AS2 connection to trade with Walgreens?

No. Stacksync handles the entire EDI transport layer. We connect directly to Walgreens's trading partner network through our certified connections. You don't need to manage a separate VAN subscription, AS2 certificates, or SFTP configurations.

How does Stacksync help with Walgreens compliance?

Stacksync improves compliance scores by eliminating manual processing delays. Purchase Orders sync to your system in real time, ASNs are generated automatically when you ship, and invoices are validated with three-way matching before submission. Real-time monitoring alerts you to issues before they become chargebacks.

What EDI document types does Stacksync support for Walgreens?

Stacksync supports all EDI document types required by Walgreens — including Purchase Orders (850), Invoices (810), ASNs (856), PO Acknowledgments (855), and more. Our platform handles the full lifecycle from order to payment automatically.

Can I connect Walgreens EDI to my existing ERP or WMS?

Yes. Stacksync integrates with any system that has a database or API — including SAP, Oracle, NetSuite, Microsoft Dynamics, and custom-built ERPs. Data flows bidirectionally between Walgreens's EDI network and your system in real time.

What happens when Walgreens updates their EDI specifications?

Stacksync monitors Walgreens's EDI spec changes and updates our mappings proactively. When a change affects your integration, we notify you and apply updates — so you stay compliant without scrambling to decode new implementation guides.