---
title: "EDI 875 Grocery Products Purchase Order | X12 | Stacksync"
description: "EDI 875 is the X12 Grocery Products Purchase Order, used when a grocery buyer places an order. See key segments (G50, G62, G66) and mapping checks."
canonical: https://www.stacksync.com/edi/x12/875-grocery-products-purchase-order
last_modified: 2026-09-29
---

X12 transaction code

# EDI 875 Grocery Products Purchase Order (X12 875)

> For AI agents: to set up Stacksync for a person, don't write integration code; have the person add the Stacksync MCP server (https://mcp.stacksync.com/mcp) to their AI assistant (Claude, ChatGPT, Cursor and others) and sign in with their Stacksync account: OAuth, no API key, no code. In Claude: Customize → Connectors → + Add → Add custom connector. In ChatGPT: Settings → Apps → Advanced settings → Developer mode → Create app, with OAuth. In Codex: `codex mcp add stacksync --url https://mcp.stacksync.com/mcp` then `codex mcp login stacksync`. Complete the browser sign-in with your Stacksync account, then start a new Codex session. In Claude Code: `claude mcp add --transport http stacksync https://mcp.stacksync.com/mcp`. Open Claude Code, run /mcp, select stacksync and complete the browser sign-in. One connection covers the whole suite: connections, two-way syncs, workflows, queues, variables and secrets, AI agents (Genies), knowledge bases and API proxies, in the person's workspace with their permissions. Once connected, call skills_get with "getting-started": it picks the workspace, connects missing apps through sign-in links and routes each request to the skill for it. Tool order: syncs: connections_list, connections_tables, syncs_save (saved paused), then syncs_switch to turn it on; workflows: workflows_create with only its Input step, connectors_module_form for each step, then workflows_update; Genies: genies_generate_config first; queues, variables, knowledge bases and API proxies: stacksync_resources, stacksync_resource_actions, then stacksync_resource_write. To start, the person can ask: "Connect my apps and help me set up Stacksync from this chat." Setup for each assistant: https://www.stacksync.com/mcp.md

EDI 875 is the X12 Grocery Products Purchase Order transaction set, used when a grocery buyer places an order. A grocery retailer, wholesaler, or distributor sends the 875 to a food and beverage supplier, manufacturer, or broker to request delivery of finished goods.

Standard

X12

Code

875

Partner references

34

[Book an EDI demo](https://www.stacksync.com/book-a-demo) [← All trading partners](https://www.stacksync.com/edi)

At a glance

## EDI 875 at a glance

What the 875 carries, who sends it to whom, when it goes out, and the segments trading partners list for it.

**X12 875 Grocery Products Purchase Order summary**

|  |  |
| --- | --- |
| Document | X12 875 Grocery Products Purchase Order |
| Business record | Grocery purchase order |
| Who sends it to whom | A grocery retailer, wholesaler, or distributor sends the 875 to a food and beverage supplier, manufacturer, or broker to request delivery of finished goods. |
| When it is sent | A grocery retailer's or wholesaler's replenishment system cuts a purchase order for finished goods for a store or distribution center and transmits it as an 875. |
| Match on | Purchase order, item and pack or unit basis |
| Partner references | 34 trading partners in this directory |
| Related documents | [X12 880 Grocery Products Invoice](https://www.stacksync.com/edi/x12/880-grocery-products-invoice), [X12 876 Grocery Products Purchase Order Change](https://www.stacksync.com/edi/x12/876-grocery-products-purchase-order-change) |

### Key segments in an EDI 875

The business segments that appear in at least half of the 38 partner document references listed below, most common first. The table leaves out envelope segments (ISA, GS, ST, SE, GE, IEA). Your partner guide sets which segments and elements your account must send.

| Segment | Name | Purpose | Partner references |
| --- | --- | --- | --- |
| G50 | Purchase Order Identification | To transmit identifying dates and numbers for this transaction set. | 38 of 38 |
| G62 | Date/Time | To specify pertinent dates and times. | 38 of 38 |
| G66 | Transportation Instructions | To specify transportation instructions relating to the shipment. | 38 of 38 |
| N1 | Party Identification | To identify a party by type of organization, name, and code. | 38 of 38 |
| G68 | Line Item Detail - Product | To specify basic and most frequently used purchase order line item data. | 38 of 38 |
| G76 | Total Purchase Order | To specify summary details of total items shipped in terms of quantity, weight, and volume, and to specify payment method. | 38 of 38 |
| G69 | Line Item Detail - Description | To describe an item in free-form format. | 37 of 38 |
| N4 | Geographic Location | To specify the geographic place of the named party. | 36 of 38 |
| N3 | Party Location | To specify the location of the named party. | 35 of 38 |
| G72 | Allowance or Charge | To specify allowances, charges, or services. | 34 of 38 |

Stacksync connects EDI documents such as the X12 875 to your ERP, CRM and databases with two-way sync. Read the [EDI overview](https://www.stacksync.com/edi), check [pricing](https://www.stacksync.com/pricing) and [security](https://www.stacksync.com/security), or [book a demo](https://www.stacksync.com/book-a-demo) to walk through your partner guide.

Implementation guide

## X12 875 mapping and validation

X12 875 Grocery Products Purchase Order is used when a grocery buyer places an order. Preserve purchase order, item and pack or unit basis so the grocery purchase order in your business system stays connected to the original document.

Use the version and implementation guide agreed with your trading partner to confirm required fields and responses.

**Map records and test the business result**

| Document or decision | Record and matching IDs | What to test |
| --- | --- | --- |
| Match the business record | **grocery purchase order** purchase order, item and pack or unit basis | Define which combination of purchase order, item and pack or unit basis identifies one business record, its lines and any later revision. |
| Update the receiving system | **Processing the grocery purchase order** ID assigned by the receiving system and processing result | Test catch-weight or variable-quantity items using the units agreed in the partner guide. Separate case quantities from each quantities during sales-order creation. |
| Check the processing result | **Processing status for the grocery purchase order** Original document reference and matching response | Reconcile the grocery purchase order with the source after a timeout before sending it again. A lost response can occur after the destination has already processed the document. |

### How the related documents differ

Each message represents a different business event. Use shared references to connect the records while tracking each message’s outcome separately.

- [X12 880 Grocery Products Invoice](https://www.stacksync.com/edi/x12/880-grocery-products-invoice)

  **grocery invoice:** grocery goods are ready for detail billing.
- [X12 876 Grocery Products Purchase Order Change](https://www.stacksync.com/edi/x12/876-grocery-products-purchase-order-change)

  **grocery order change:** a grocery buyer revises an order.

### Implementation steps

1. #### Choose the starting event and owner

   Decide which application acts when a grocery buyer places an order. Name the operational owner of the grocery purchase order and the team that resolves rejected or ambiguous messages.
2. #### Keep record IDs connected

   Map purchase order, item and pack or unit basis. Confirm qualifiers, code lists, units and date/time meaning against the agreed X12 version and partner guide. Preserve the source reference alongside any new destination identifier.
3. #### Test failures before launch

   Run the failure cases in the mapping table against realistic grocery purchase order data. Check how the receiving system reports a rejection and how your team corrects it without creating a duplicate.
4. #### Track every document to completion

   Record transport delivery and document validation separately from successful grocery purchase order processing. Give unresolved errors an owner and check the receiving system before approving retries.

### Go-live checklist

- An approved 875 sample and the agreed version and partner guide are available.
- The mapping tests pass with realistic grocery purchase order data.
- Each submitted document can be traced through delivery, validation and processing in the receiving system.
- Your team knows how to investigate and recover a rejected or timed-out grocery purchase order without processing it twice.

### Related documents and resources

- [X12 880 Grocery Products Invoice](https://www.stacksync.com/edi/x12/880-grocery-products-invoice)
- [X12 876 Grocery Products Purchase Order Change](https://www.stacksync.com/edi/x12/876-grocery-products-purchase-order-change)
- [Field mapping workbook](https://www.stacksync.com/blog/two-way-sync-field-mapping-workbook)
- [Production readiness checklist](https://www.stacksync.com/blog/two-way-sync-production-readiness-checklist)

**Sources.** Sources reviewed 2026-09-15.

- [X12 transaction-set directory](https://x12.org/products/transaction-sets)
- [RFC 4130: AS2 and message receipts](https://www.rfc-editor.org/info/rfc4130/)

Document structure

## X12 875 Grocery Products Purchase Order at the element level

The X12 875 reference contains 36 segment entries and 210 data elements; 60 are marked mandatory in this reference. Use the version and partner guide agreed for your account to confirm required fields.

Segments

36

Data elements

210

Mandatory elements

60

**Segments with elements marked mandatory in this reference**

| Segment | Elements | Mandatory |
| --- | --- | --- |
| G50 | 5 | 3 |
| N9 | 5 | 1 |
| G61 | 5 | 2 |
| NTE | 2 | 1 |
| G23 | 13 | 2 |
| N1 | 4 | 1 |
| N2 | 2 | 1 |
| N3 | 2 | 1 |
| G72 | 11 | 2 |
| G73 | 1 | 1 |
| G68 | 15 | 2 |
| G69 | 1 | 1 |

Key identifiers in 875

- Order Status Code
- Date
- Purchase Order Number
- Reference Identification Qualifier
- Contact Function Code
- Name
- Description
- Terms Type Code

## Find your trading partner for X12 875

34 partners, 38 channels. Choose a channel to inspect its listed document reference and implementation context.

- [Affiliated Foods Inc.](https://www.stacksync.com/edi/affiliated-foods)

  [Affiliated Foods Inc. (Amarillo Texas)](https://www.stacksync.com/edi/affiliated-foods/affiliated-foods-inc-amarillo-texas/x12-875-grocery-products-purchase-order)
- [Albertsons (Safeway)](https://www.stacksync.com/edi/albertsons-safeway)

  [Safeway](https://www.stacksync.com/edi/albertsons-safeway/safeway/x12-875-grocery-products-purchase-order)
- [Associated Food Stores (AFS)](https://www.stacksync.com/edi/afs-associated-food-stores)

  [Associated Food Stores (via Edict Systems)](https://www.stacksync.com/edi/afs-associated-food-stores/associated-food-stores-via-edict-systems/x12-875-grocery-products-purchase-order)
- [Associated Wholesale Grocers (AWG)](https://www.stacksync.com/edi/associated-wholesale-grocers-9272590000)

  [Associated Wholesale Grocers (Edict Systems)](https://www.stacksync.com/edi/associated-wholesale-grocers-9272590000/associated-wholesale-grocers-edict-systems/x12-875-grocery-products-purchase-order)
- [Bashas' Supermarkets](https://www.stacksync.com/edi/bashas)

  [Bashas' Supermarkets](https://www.stacksync.com/edi/bashas/bashas-supermarkets/x12-875-grocery-products-purchase-order)
- [Bozzuto’s Inc.](https://www.stacksync.com/edi/bozzutos-inc)

  [Bozzuto's Inc.](https://www.stacksync.com/edi/bozzutos-inc/bozzuto-s-inc/x12-875-grocery-products-purchase-order)
- [C&S Wholesale Grocers Inc](https://www.stacksync.com/edi/cs-wholesale-grocers-inc)

  [C&S Wholesale Grocers Inc](https://www.stacksync.com/edi/cs-wholesale-grocers-inc/c-s-wholesale-grocers-inc/x12-875-grocery-products-purchase-order)
- [CA Carlin](https://www.stacksync.com/edi/ca-carlin)

  [CA Carlin](https://www.stacksync.com/edi/ca-carlin/ca-carlin/x12-875-grocery-products-purchase-order)
- [Certco Inc.](https://www.stacksync.com/edi/certco)

  [Certco Inc. (via Edict Systems)](https://www.stacksync.com/edi/certco/certco-inc-via-edict-systems/x12-875-grocery-products-purchase-order)
- [Core-Mark (via SPS Commerce)](https://www.stacksync.com/edi/coremark-pfgcoremark)

  [Core-Mark (via SPS Commerce)](https://www.stacksync.com/edi/coremark-pfgcoremark/core-mark-via-sps-commerce/x12-875-grocery-products-purchase-order)
- [DeMoulas Super Markets, Inc](https://www.stacksync.com/edi/demoulas-super-markets-inc)

  [Market Basket](https://www.stacksync.com/edi/demoulas-super-markets-inc/market-basket/x12-875-grocery-products-purchase-order)
- [Harris Teeter](https://www.stacksync.com/edi/harris-teeter)

  [Harris Teeter](https://www.stacksync.com/edi/harris-teeter/harris-teeter/x12-875-grocery-products-purchase-order)
- [HEB (Here Everything's Better)](https://www.stacksync.com/edi/heb-here-everythings-better)

  [HEB (Here Everything's Better) (Standard)](https://www.stacksync.com/edi/heb-here-everythings-better/heb-here-everything-s-better-standard/x12-875-grocery-products-purchase-order)
- [Heinens](https://www.stacksync.com/edi/heinens)

  [Heinens](https://www.stacksync.com/edi/heinens/heinens/x12-875-grocery-products-purchase-order)
- [Ingles Markets Inc](https://www.stacksync.com/edi/ingles-markets-inc)

  [Ingles Markets](https://www.stacksync.com/edi/ingles-markets-inc/ingles-markets/x12-875-grocery-products-purchase-order)
- [Kroger](https://www.stacksync.com/edi/kroger)

  [Kroger Ship To Home Group](https://www.stacksync.com/edi/kroger/kroger-ship-to-home-group/x12-875-grocery-products-purchase-order) [Peyton's Group (a Kroger Division)](https://www.stacksync.com/edi/kroger/peyton-s-group-a-kroger-division/x12-875-grocery-products-purchase-order)
- [Kroger Modernized Systems](https://www.stacksync.com/edi/kroger-modernized-systems)

  [Kroger Modernized Systems](https://www.stacksync.com/edi/kroger-modernized-systems/kroger-modernized-systems/x12-875-grocery-products-purchase-order)
- [Labatt Food Service](https://www.stacksync.com/edi/labatt-food-service)

  [Labatt Food Service (via Edict Systems)](https://www.stacksync.com/edi/labatt-food-service/labatt-food-service-via-edict-systems/x12-875-grocery-products-purchase-order)
- [McLane Company, Inc.](https://www.stacksync.com/edi/mclane)

  [McLane Grocery](https://www.stacksync.com/edi/mclane/mclane-grocery/x12-875-grocery-products-purchase-order)
- [Meijer](https://www.stacksync.com/edi/meijer)

  [Meijer (Grocery)](https://www.stacksync.com/edi/meijer/meijer-grocery/x12-875-grocery-products-purchase-order)
- [Merchant Distributors](https://www.stacksync.com/edi/mdi)

  [MDI](https://www.stacksync.com/edi/mdi/mdi/x12-875-grocery-products-purchase-order)
- [Piggly Wiggly](https://www.stacksync.com/edi/piggly-wiggly)

  [Piggly Wiggly Midwest (via Edict Systems)](https://www.stacksync.com/edi/piggly-wiggly/piggly-wiggly-midwest-via-edict-systems/x12-875-grocery-products-purchase-order) [Piggly Wiggly Alabama DC (via Edict Systems)](https://www.stacksync.com/edi/piggly-wiggly/piggly-wiggly-alabama-dc-via-edict-systems/x12-875-grocery-products-purchase-order)
- [Publix](https://www.stacksync.com/edi/publix)

  [Publix Super Markets](https://www.stacksync.com/edi/publix/publix-super-markets/x12-875-grocery-products-purchase-order)
- [Schnucks](https://www.stacksync.com/edi/schnucks)

  [Schnucks](https://www.stacksync.com/edi/schnucks/schnucks/x12-875-grocery-products-purchase-order)
- [Spartan Nash (dba Nash Finch)](https://www.stacksync.com/edi/nash-finch)

  [Nash Finch](https://www.stacksync.com/edi/nash-finch/nash-finch/x12-875-grocery-products-purchase-order)
- [SpartanNash](https://www.stacksync.com/edi/spartan-nash)

  [SpartanNash](https://www.stacksync.com/edi/spartan-nash/spartannash/x12-875-grocery-products-purchase-order)
- [Sprouts Farmers Market](https://www.stacksync.com/edi/sprouts-farmers-market)

  [Sprouts Farmers Market (Produce) (via SPS Commerce)](https://www.stacksync.com/edi/sprouts-farmers-market/sprouts-farmers-market-produce-via-sps-commerce/x12-875-grocery-products-purchase-order) [Sprouts Farmers Market (via SPS Commerce)](https://www.stacksync.com/edi/sprouts-farmers-market/sprouts-farmers-market-via-sps-commerce/x12-875-grocery-products-purchase-order)
- [Stater Bros. Markets](https://www.stacksync.com/edi/stater-brothers)

  [Stater Bros. Markets](https://www.stacksync.com/edi/stater-brothers/stater-bros-markets/x12-875-grocery-products-purchase-order)
- [Super Store Industries](https://www.stacksync.com/edi/super-store-industries)

  [Super Store Industries](https://www.stacksync.com/edi/super-store-industries/super-store-industries/x12-875-grocery-products-purchase-order)
- [United Supermarkets](https://www.stacksync.com/edi/united-super-markets)

  [United Supermarkets LLC](https://www.stacksync.com/edi/united-super-markets/united-supermarkets-llc/x12-875-grocery-products-purchase-order)
- [URM Stores](https://www.stacksync.com/edi/urm-stores)

  [URM Stores](https://www.stacksync.com/edi/urm-stores/urm-stores/x12-875-grocery-products-purchase-order)
- [Wakefern](https://www.stacksync.com/edi/wakefern)

  [Wakefern Warehouse & DSD](https://www.stacksync.com/edi/wakefern/wakefern-warehouse-dsd/x12-875-grocery-products-purchase-order) [Wakefern Warehouse & DSD (UCS)](https://www.stacksync.com/edi/wakefern/wakefern-warehouse-dsd-ucs/x12-875-grocery-products-purchase-order)
- [Wegmans Food Markets, Inc.](https://www.stacksync.com/edi/wegmans)

  [Wegmans](https://www.stacksync.com/edi/wegmans/wegmans/x12-875-grocery-products-purchase-order)
- [WinCo](https://www.stacksync.com/edi/winco)

  [WinCo Foods](https://www.stacksync.com/edi/winco/winco-foods/x12-875-grocery-products-purchase-order)

Catalog breakdown

## Where X12 875 Grocery Products Purchase Order appears in this catalog

The largest groups of classified 875 catalog entries are in grocery & food and consumer goods.

### By industry

- grocery & food 37 channels
- consumer goods 1 channel

### By network

- Edict Systems 5 channels
- SPS Commerce 3 channels

Partner entries with the most listed channels

- [Kroger](https://www.stacksync.com/edi/kroger)
- [Piggly Wiggly](https://www.stacksync.com/edi/piggly-wiggly)
- [Sprouts Farmers Market](https://www.stacksync.com/edi/sprouts-farmers-market)
- [Wakefern](https://www.stacksync.com/edi/wakefern)
- [Affiliated Foods Inc.](https://www.stacksync.com/edi/affiliated-foods)
- [Albertsons (Safeway)](https://www.stacksync.com/edi/albertsons-safeway)
- [Associated Food Stores (AFS)](https://www.stacksync.com/edi/afs-associated-food-stores)
- [Associated Wholesale Grocers (AWG)](https://www.stacksync.com/edi/associated-wholesale-grocers-9272590000)

FAQ

## EDI 875 questions

### What is an EDI 875?

EDI 875 is the X12 Grocery Products Purchase Order transaction set. Trading partners use it when a grocery buyer places an order. It carries the data for the grocery purchase order, and your system matches it on purchase order, item and pack or unit basis.

### Who sends an EDI 875 and who receives it?

A grocery retailer, wholesaler, or distributor sends the 875 to a food and beverage supplier, manufacturer, or broker to request delivery of finished goods. Your trading partner agreement confirms the direction and version for your account.

### When is an EDI 875 sent?

A grocery retailer's or wholesaler's replenishment system cuts a purchase order for finished goods for a store or distribution center and transmits it as an 875. Your partner guide sets any deadline or schedule for the document.

### What are the key segments in an EDI 875?

Across 38 partner document references listed here, the business segments that appear most often include G50 (Purchase Order Identification), G62 (Date/Time), G66 (Transportation Instructions), N1 (Party Identification), G68 (Line Item Detail - Product), G76 (Total Purchase Order). Each partner guide sets which segments and elements your account must send.

### What is the difference between EDI 875 and EDI 880?

The 875 carries the grocery purchase order and is used when a grocery buyer places an order. The 880 carries the grocery invoice and is used when grocery goods are ready for detail billing.

### What should I map for X12 875?

Start with purchase order, item and pack or unit basis and the target grocery purchase order. Define duplicate detection, allowed updates and response correlation before mapping individual fields. Use the partner guide to check required fields and their formats.

### How should I test 875 error handling?

Test catch-weight or variable-quantity items using the units agreed in the partner guide. Separate case quantities from each quantities during sales-order creation. Also test a lost response after destination processing so that a retry cannot create an unintended duplicate or repeated adjustment.

### Which partners list X12 875?

The directory on this page links 34 partner entries that list this message. Choose your partner and channel, then confirm which messages and versions your account requires.

## Connect EDI to your business systems

See how Stacksync can fit your enterprise EDI workflow. Bring one partner guide and a sample exchange to plan the system mapping, exception handling and production rollout.

[Book an EDI demo](https://www.stacksync.com/book-a-demo) [Explore the EDI platform](https://www.stacksync.com/edi)
