X12
Inbound

Associated Food Stores (AFS) X12 875 Grocery Products Purchase Order

Associated Food Stores (via Edict Systems)
The EDI 875 is a grocery-specific Purchase Order used by Associated Food Stores (AFS) for food and consumable products. It includes DSD (direct store delivery) requirements, shelf-life data, and UPC details specific to grocery supply chains.
23segments
4loops
8mandatory

Schema Reference

23 segments · X12 875 Grocery Products Purchase Order

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
G50 Purchase Order Identification
Mandatory Max: 1
G5001 Order Status Code
M ID 1-1
G5002 Date
M DT 8-8
G5003 Purchase Order Number
M AN 1-22
N9 Reference Identification
Optional Max: 50
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
N903 Free-form Description
C AN 1-45
G61 Contact
Optional Max: 3
G6101 Contact Function Code
M ID 2-2
G6102 Name
M AN 1-60
G6103 Communication Number Qualifier
C ID 2-2
G6104 Communication Number
C AN 1-80
G62 Date/Time
Optional Max: 10
G6201 Date Qualifier
C ID 2-2
G6202 Date
C DT 8-8
NTE Note/Special Instruction
Optional Max: 20
NTE01 Note Reference Code
O ID 3-3
NTE02 Description
M AN 1-80
G66 Transportation Instructions
Optional Max: 1
G6601 Shipment Method of Payment
O ID 2-2
G6602 Transportation Method/Type Code
O ID 1-2
G6606 F.O.B. Point Code
O ID 2-2
G23 Terms of Sale
Optional Max: 20
G2301 Terms Type Code
M ID 2-2
G2302 Terms Basis Date Code
M ID 1-2
G2305 Terms Discount Percent
O R 1-6
G2307 Terms Discount Days Due
O N0 1-3
G2309 Terms Net Days
C N0 1-3
G2310 Terms Discount Amount
O N2 1-10
N1 Loop Repeat: 10
N1 Name
Mandatory 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
Optional Max: 1
N201 Name
M AN 1-60
N3 Address Information
Optional Max: 2
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
G72 Loop Repeat: 100
G72 Allowance or Charge
Optional Max: 1
G7201 Allowance or Charge Code
M ID 1-3
G7202 Allowance or Charge Method of Handling Code
M ID 2-2
G7208 Allowance or Charge Total Amount
C N2 1-15
G73 Allowance or Charge Description
Optional Max: 10
G7301 Free-form Description
M AN 1-45
G68 Loop Repeat: 9,999
G68 Line Item Detail - Product
Mandatory Max: 1
G6801 Quantity Ordered
M R 1-15
G6802 Unit or Basis for Measurement Code
M ID 2-2
G6803 Item List Cost
O R 1-9
G6804 U.P.C. Case Code
C AN 12-12
G6805 Product/Service ID Qualifier
C ID 2-2
G6806 Product/Service ID
C AN 1-48
G6807 Product/Service ID Qualifier
C ID 2-2
G6808 Product/Service ID
C AN 1-48
G69 Line Item Detail - Description
Optional Max: 5
G6901 Free-form Description
M AN 1-45
G70 Line Item Detail - Miscellaneous
Optional Max: 2
G7001 Pack
O N0 1-6
G7002 Size
C R 1-8
G7003 Unit or Basis for Measurement Code
C ID 2-2
N9 Reference Identification
Optional Max: 50
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
N903 Free-form Description
C AN 1-45
G72 Loop Repeat: 100
G72 Allowance or Charge
Optional Max: 1
G7201 Allowance or Charge Code
M ID 1-3
G7202 Allowance or Charge Method of Handling Code
M ID 2-2
G7208 Allowance or Charge Total Amount
C N2 1-15
G76 Total Purchase Order
Mandatory Max: 1
G7601 Quantity Ordered
M R 1-15
G7602 Unit or Basis for Measurement Code
M ID 2-2
G7603 Weight
C R 1-10
G7604 Unit or Basis for Measurement Code
C ID 2-2
G7605 Volume
C R 1-8
G7606 Unit or Basis for Measurement Code
C ID 2-2
G7608 Amount
O N2 1-15
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 Associated Food Stores (AFS) EDI 875

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

Validate
Transform
Route
Monitor
Stacksync syncs Associated Food Stores (AFS) 875 Grocery POs to your system with DSD routing, shelf-life requirements, and grocery UPCs mapped automatically — purpose-built for food and consumable suppliers.

Associated Food Stores (AFS) EDI 875 FAQ

Common questions about 875 Grocery Products Purchase Order transactions with Associated Food Stores (AFS).

How long does it take to set up Associated Food Stores (AFS) EDI with Stacksync?

Most suppliers are fully connected and processing live Associated Food Stores (AFS) 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 Associated Food Stores (AFS)?

No. Stacksync handles the entire EDI transport layer. We connect directly to Associated Food Stores (AFS)'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 Associated Food Stores (AFS) 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 Associated Food Stores (AFS)?

Stacksync supports all EDI document types required by Associated Food Stores (AFS) — 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 Associated Food Stores (AFS) 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 Associated Food Stores (AFS)'s EDI network and your system in real time.

What happens when Associated Food Stores (AFS) updates their EDI specifications?

Stacksync monitors Associated Food Stores (AFS)'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.

Ready to automate Associated Food Stores (AFS) EDI?

a blue checkmark icon
14-day free trial
a blue checkmark icon
No-code EDI setup
a blue checkmark icon
Real-time compliance monitoring
a blue checkmark icon
White-glove onboarding