The EDI 875 is the purchase order of the grocery supply chain. It does the same job as the 850 Purchase Order, but with its own segments: G50 instead of BEG, G68 instead of PO1, G76 instead of CTT. A supplier that maps it like an 850 gets an empty order, or one with every line in the wrong place.
This guide covers what the 875 carries, how grocery buyers order fixed-weight and by-the-pound items, every segment you will map, three live examples, how it compares to the 850, and the errors that ship the wrong product.
What Is an EDI 875?
An EDI 875 is the Grocery Products Purchase Order transaction set defined by the ASC X12 standards body, used by a retailer or wholesaler to request delivery of finished grocery goods from a supplier or broker. It belongs to the grocery family of X12 documents that grew out of the Uniform Communication Standard (UCS). That is why its segments carry a "G" prefix and why grocery buyers often label the version 004010UCS in GS08.
Authoritative references for 875 work:
- The X12 transaction set catalog defines the 875 and its segment order. Stedi's 004010 875 reference shows the full structure in a readable form
- GS1 US governs the UPC and GTIN identifiers on every 875 line
- Buyers publish their own 875 guides. C&S Wholesale Grocers' 4010 875 specification and the Harris Teeter 875 guide on Kroger's EDI portal are two public examples
Who sends it? The buyer: a grocery chain, a wholesaler, or a distributor ordering from a manufacturer.
Who receives it? The supplier, or the broker acting for it.
When is it sent? Whenever the buyer replenishes. Warehouse buyers often order on a fixed weekly cycle per supplier.
Why does it matter? The 875 is the source of everything that follows: the pick, the ASN, the 880 invoice, and the buyer's payment. A line that is misread here ships wrong, invoices wrong and comes back as a deduction.
How Grocery Buyers Order on the 875
Grocery orders look simple, cases of product to a DC on a date, but three things set them apart from general merchandise.
Items are identified by case code. The G68 line carries a 12-digit U.P.C. case code in G6804, built from the grocery system digits (00, 06 or 07), a 5-digit manufacturer code and a 5-digit case code. Many buyers now send the 14-digit GTIN instead, with qualifier UK in G6805; the Harris Teeter guide's sample does exactly that. Most add their own item code too. There is no line number, so lines are matched by these identifiers.
Some items are priced by weight. Cheese wheels, cuts of meat and some produce are "catch-weight": the case weight varies, so the buyer pays for actual pounds shipped. The 875 handles this in two ways:
- Order the item in pounds.
G6801is a quantity of pounds,G6802isLB, andG6803is the cost per pound. - Order in cases and price by the pound.
G6801/G6802give the cases, andG6810/G6811give a cost in a different unit, here perLB. The standard definesG6810as the cost per unit inG6811when that unit differs from the ordered unit.
Either way, the order amount is an estimate. The invoice bills the weight that actually shipped. Which method a buyer uses, and how much over or under the ordered weight it accepts, is in its guide and vendor agreement.
Deals ride on the order. Grocery runs on trade promotions. The buyer can put an allowance on the order with G72, at order level or under a line, so the order cost already reflects the deal the supplier agreed. The supplier is expected to bill the same deal on the invoice.
What the 875 does not carry is a date per line. In 4010 the only date segment, G62, sits in the header. Freshness rules such as minimum days of shelf life on arrival are usually set in the buyer's vendor agreement and item setup, not sent on each order. Lot and traceability data for FSMA 204 moves on the shipment records, such as the 856, after the supplier picks.
Interactive Example: Wholesaler Order With a Catch-Weight Line
This is order GRO-456789, the same order our 876 guide later changes. A grocery wholesaler orders from a supplier for delivery to its Reno DC on May 16:
G50*Nmarks it as an original order, dated May 9G62*02gives the requested delivery date- Line 1 is 5 cases of whole wheat bread at $14.99 a case, packed 12 x 24 oz
- Line 2 is 40 lb of sharp cheddar at $6.49 a pound, a catch-weight item ordered in pounds
G76totals the order: 45 as a hash of the line quantities, 130 lb, and $334.55
Use the Plain English tab for a readable summary, or click any segment to break it down element by element.
Wholesaler 875 Grocery Purchase Order
Wholesaler PO GRO-456789: a fixed-weight bread case line and a sharp cheddar line ordered and priced by the pound, with G50 header, G62 delivery date and G76 hash totals
- Document
- 875 Grocery Products Purchase Order
- From / to
- WHOLESALER → VENDOR789
- Segments
- 21
- Ship To
- ACME GROCERY DC #001
- 123 DISTRIBUTION WAY, RENO, NV, 89501
- Vendor
- VALLEY CREST FOODS
- Interchange date
- May 9, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 875
Grocery Products Purchase OrderSegment Detail
The G76 amount is $74.95 for the bread plus $259.60 for the cheddar. If the supplier ships 41.2 lb of cheddar, the invoice bills 41.2 lb, not 40.
Interactive Example: Catch-Weight Cases Priced by the Pound
A natural foods distributor orders three refrigerated catch-weight items. Here the lines are in cases, and the cost per pound sits in G6810 with LB in G6811. G6810 has four implied decimals, so 124900 is $12.49 a pound. G70 gives the nominal pack, such as 2 wheels of about 7 lb, which is how the buyer estimates the order amount in G76.
Natural Foods Distributor 875 Catch-Weight Order
Refrigerated 875 for three catch-weight cheese and charcuterie items ordered in cases and priced per pound through G6810/G6811, with ship and delivery dates and an estimated G76 amount
- Document
- 875 Grocery Products Purchase Order
- From / to
- NORTHFIELDNAT → VENDOR789
- Segments
- 25
- Ship To
- NORTHFIELD NATURAL DC 14
- 450 COLD CHAIN DRIVE, EDISON, NJ, 08817
- Vendor
- VALLEY CREST FOODS
- Interchange date
- May 9, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 875
Grocery Products Purchase OrderSegment Detail
The $3,532.20 in G76 is built on 260 nominal pounds. The 880 catch-weight invoice for this order bills 261.4 actual pounds.
Interactive Example: Fixed-Weight Order With an Allowance
A regional grocery chain orders four lines of shelf-stable organic product by the case. The marinara line carries a promotional allowance: G72*47*02 is a price and marketing allowance (code 47), taken off invoice (method 02), at $1.50 a case on 30 cases. G73 describes the deal, and N9*PD in the header gives the promotion number.
Grocery Chain 875 Fixed-Weight Order with Allowance
Dry grocery 875 with four fixed-weight case lines, a promotion reference in N9, an off-invoice G72 allowance on one line, and a G76 amount net of the allowance
- Document
- 875 Grocery Products Purchase Order
- From / to
- CEDARRIDGEGRO → VENDOR789
- Segments
- 28
- Ship To
- CEDAR RIDGE GROCERS DC 58
- 1500 COMMERCE PARKWAY, ATLANTA, GA, 30318
- Vendor
- VALLEY CREST FOODS
- Interchange date
- May 9, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 875
Grocery Products Purchase OrderSegment Detail
The lines extend to $3,449.60. The G76 amount of $3,404.60 is that figure less the $45.00 allowance. The Harris Teeter guide's sample works the same way: its G7608 equals the line extensions less its allowances.
875 Structure at a Glance
In the version 4010 standard:
| Area | Segment | Name | Usage | Notes |
|---|---|---|---|---|
| Header | ST | Transaction Set Header | Mandatory | ST01 = 875 |
| Header | G50 | Purchase Order Identification | Mandatory | Order status, PO date, PO number |
| Header | N9 | Reference Identification | Optional | Promotion, contract or related PO numbers |
| Header | G61 | Contact | Optional | Buyer name and phone |
| Header | G62 | Date/Time | Optional, up to 10 | Delivery, ship and cancel dates |
| Header | NTE | Note/Special Instruction | Optional | Free text |
| Header | G66 | Transportation Instructions | Optional | Delivered, collect or pick-up |
| Header | G23 | Terms of Sale | Optional | Header or detail, not both |
| Header loop | N1 to N4 | Name and address | Mandatory, up to 10 | Ship-to, bill-to, vendor |
| Header loop | G72 / G73 | Allowance or Charge | Optional | Order-level allowances and charges |
| Detail loop | G68 | Line Item Detail (Product) | Mandatory, repeats | Quantity, unit, cost, case UPC, item IDs |
| Detail loop | G69 | Line Item Detail (Description) | Optional | Item description |
| Detail loop | G70 | Line Item Detail (Miscellaneous) | Optional | Pack, size, pallet tie and tier |
| Detail loop | N9, G23 | References, terms | Optional | Line-level references and terms |
| Detail loop | G72 / G73 | Allowance or Charge | Optional | Line-level allowances and charges |
| Detail loop | N1 / QTY / N9 | Store or location quantity | Optional | Splits a line across stores or DCs |
| Detail loop | SLN / G72 | Subline Item Detail | Optional | Components of an assortment or display |
| Summary | G76 | Total Purchase Order | Mandatory | Total quantity, weight, volume and amount |
| Summary | SE | Transaction Set Trailer | Mandatory | Segment count and control number |
The functional group code in GS01 is OG, shared with the 876. Buyers' guides narrow these rules, and many use only a handful of the optional segments.
Key Segments Explained
G50: Purchase Order Identification
G50*N*20260509*GRO-456789~
| Element | Name | Example | What it means |
|---|---|---|---|
| G5001 | Order Status Code | N | N = original. Other codes exist in the standard, but buyers' guides usually allow only N |
| G5002 | Date | 20260509 | The date the buyer assigned to the PO |
| G5003 | Purchase Order Number | GRO-456789 | Your match key for every document that follows |
| G5004 | Tax Exempt Code | Rarely used | |
| G5005 / G5006 | Link number, link sequence | Group related orders. Sent together or not at all | |
| G5007 | Purchase Order Type Code | For example NE for a new order, if the buyer sends it |
G50 replaces the 850's BEG. Note what is missing: there is no purpose code like BEG01. Changes to an order come on an 876, not on a second 875. Grocery buyers' guides state this outright, so a repeated PO number on a new 875 is a duplicate to investigate, not an update.
G62: Date/Time
G62*02*20260516~
G6201 qualifies the date and G6202 holds it. Common grocery qualifiers:
| Code | Meaning |
|---|---|
02 | Delivery requested on this date |
10 | Requested ship or pick-up date |
01 | Cancel after this date |
53 / 54 | Deliver not before / no later than |
37 / 38 | Ship not before / no later than |
G6203 and G6204 can add a time. A buyer that books dock appointments may send a delivery window rather than one date, so map every G62 the guide lists, not just the first.
N1 Loop: Parties
N1*ST*ACME GROCERY DC #001*92*001~
N101 gives the role (ST ship-to, BT bill-to, VN vendor, BY buyer), N102 the name, and N103/N104 the ID qualifier and code. Grocery buyers often use a GLN (qualifier UL) or their own DC number (92). The ship-to code is what routes the order to the right warehouse, so map it to your ship-to master, not by name.
G68: Line Item Detail (Product)
G68*5*CA*14.99*001234567895*VN*BREAD-WW-24*UP*012345678905~
| Element | Name | Example | What it means |
|---|---|---|---|
| G6801 | Quantity Ordered | 5 | Quantity in the unit in G6802 |
| G6802 | Unit of Measure | CA | CA case, LB pound, EA each, and others the buyer allows |
| G6803 | Item List Cost | 14.99 | Cost per unit of G6802 |
| G6804 | U.P.C. Case Code | 001234567895 | 12-digit case code. G6804 or G6805 must be present |
| G6805 / G6806 | ID qualifier, ID | VN, BREAD-WW-24 | VN vendor item, IN buyer item, UK GTIN-14, UP consumer UPC |
| G6807 / G6808 | ID qualifier, ID | UP, 012345678905 | A second identifier |
| G6809 | Price Bracket Identifier | Which price bracket applies | |
| G6810 / G6811 | Quantity Cost, unit | 124900, LB | Cost in a different unit, four implied decimals |
| G6812 / G6813 | Price list number, issue | Which price list the cost comes from | |
| G6814 / G6815 | Pre-price quantity, retail pre-price | For pre-priced packs |
Two checks matter more than the rest. Validate the cost against your price file in the same unit: $14.99 a case and $14.99 a pound are very different orders. And confirm which identifier the buyer treats as the key. C&S's guide, for example, sends its own product code with qualifier IN.
G69 and G70: Description, Pack and Size
G69*WHOLE WHEAT BREAD 24OZ~
G70*12*24*OZ~
G6901 is a free-text description of up to 45 characters. G70 carries the pack (G7001, units per case), the size (G7002 and G7003, here 24 ounces) and optional codes. G7009 is the pallet tie and tier as six digits: the first three are cases per layer, the last three are layers per pallet. A pack on the order that differs from your item file usually means the buyer's item setup is out of date. Fix it through item maintenance before you ship.
G72 and G73: Allowances and Charges
G72*47*02***1.50*30*CA~
G73*SPRING ITALIAN PROMOTION~
| Element | Name | Example | What it means |
|---|---|---|---|
| G7201 | Allowance or Charge Code | 47 | Price and marketing allowance. 97 cents off, 66 slotting, 504 freight |
| G7202 | Method of Handling | 02 | 02 off invoice, 01 bill back |
| G7205 | Rate | 1.50 | Per unit. Only one of rate, total amount or percent is sent |
| G7206 / G7207 | Quantity, unit | 30, CA | The quantity the rate applies to |
| G7208 | Total Amount | Two implied decimals | |
| G7209 | Percent | A percentage allowance |
Sign conventions differ. The Harris Teeter guide's sample sends allowance rates and amounts as negative numbers; others send them positive and let the code say it is an allowance. Follow the buyer's guide, and make sure the same deal reaches the 880.
G76: Total Purchase Order
G76*45*UN*130*LB****33455~
| Element | Name | Example | What it means |
|---|---|---|---|
| G7601 | Quantity Ordered | 45 | Total quantity |
| G7602 | Unit of Measure | UN | Unit of the total |
| G7603 / G7604 | Weight, unit | 130, LB | Total weight |
| G7605 / G7606 | Volume, unit | Total cube | |
| G7608 | Amount | 33455 | Total order amount as the buyer calculates it, two implied decimals: $334.55 |
Guides define G7601 differently. The Harris Teeter guide says it is the hash total of every G6801, so a mixed order adds cases and pounds together. C&S's guide calls it the total cases. Recompute the total from the lines when the 875 arrives and stop the order if it does not match. A mismatch usually means a line was dropped in translation.
EDI 875 vs EDI 850
| 850 Purchase Order | 875 Grocery Products PO | |
|---|---|---|
| Header segment | BEG | G50 |
| Purpose code | BEG01 (original, replace, cancel and so on) | None. Changes go on an 876 |
| Dates | DTM | G62, header only |
| Line segment | PO1 | G68 |
| Line number | PO101 | None. Match on identifiers |
| Description | PID | G69 |
| Pack and size | PO4 | G70 |
| Allowances and charges | SAC | G72 / G73 |
| Totals | CTT (optional) | G76 (mandatory) |
| Change document | 860 | 876 |
| Invoice usually paired with it | 810 | 880 or 810, per the buyer |
Functional group (GS01) | PO | OG |
Which one a grocery buyer sends is its choice, not yours. Many grocery chains and wholesalers send the 875 for warehouse orders, while others use the 850 even for food. If you sell into both, you need both maps.
Where the 875 Sits in the Grocery Order Flow
- 888 Item Maintenance and 889 Promotion Announcement. Items and deals are set up before anyone orders.
- 875 Grocery Products Purchase Order. The buyer orders.
- 997 Functional Acknowledgment. The supplier confirms the 875 arrived and parsed.
- 855 PO Acknowledgment, if the buyer asks for one.
- 876 Grocery PO Change. The buyer changes or cancels the order.
- 856 Ship Notice. The supplier describes the shipment.
- 880 Grocery Products Invoice or an 810. The supplier bills, at actual weight for catch-weight items.
- 820 Payment Order/Remittance Advice. The buyer pays and reports deductions.
For direct store delivery the flow is different: the delivery is recorded on an 894 at the store, and some buyers send a DSD version of the 875 to the route ahead of time. For the wider picture, see our guide to grocery EDI requirements.
Common 875 Errors and How to Prevent Them
| Error | What happens | Prevention |
|---|---|---|
| 875 mapped like an 850 | Order loads empty or partial | Build a separate map: G50, G68, G76, not BEG, PO1, CTT |
| Lines matched by position | Items swapped between lines | Match on case UPC, GTIN or buyer item code |
| Pound quantity read as cases | Ships 40 cases instead of 40 lb | Always read G6801 with G6802 |
G6810 read without implied decimals | Cost off by a factor of 10,000 | Divide G6810 by 10,000; it is an N4 field |
G7608 read as dollars | Totals off by a factor of 100 | Two implied decimals: 33455 is $334.55 |
| Allowance dropped | Invoice bills the full cost, buyer deducts the deal | Carry G72 from the 875 through to the 880 |
| Second 875 with the same PO number treated as a change | Order shipped twice, or the change lost | Changes come on the 876; flag duplicate PO numbers |
| Unknown case code | Order held or rejected | Keep the buyer's item file in step with yours |
G76 not checked | Dropped lines go unnoticed | Recompute totals on receipt |
Paste any 875 you are unsure about into the free EDI inspector to see each line's quantity, unit, cost and identifiers, with the totals checked.
875 Implementation Checklist
Before your first live 875 with a grocery buyer:
- Get the buyer's 875 guide and confirm
GS01OGand theGS08version (often004010UCS) - List the
G62qualifiers it sends and map each one - Confirm which identifier it uses as the line key: 12-digit case code, GTIN-14 or its own item code
- Find out how it orders catch-weight items: pounds in
G6801, or cases with a per-pound cost inG6810 - Load its allowance codes and handling methods for
G72 - Confirm how it calculates
G7601andG7608 - Confirm whether it expects an 855, and whether it sends changes on an 876
- Make sure your 856 and invoice are built from the order, including deals
- Test with fixed-weight, catch-weight and allowance lines, and a multi-store split if the buyer uses one
- Watch 997s and early invoices for mismatches in the first weeks
The EDI document types reference shows how the 875 fits with the rest of the grocery family, and our page on EDI for grocery suppliers covers the wider requirements.
Handling Grocery Orders With OrderSync
Your EDI buyers send 875s and 850s. Your independent stores and foodservice accounts send PDFs, emails and spreadsheets, and someone keys them in. Either way, the same problems come up: case codes that do not match your item master, pounds read as cases, and deals that never reach the invoice.
OrderSync reads inbound orders in any format, including EDI 875s and 850s, PDFs, emails and spreadsheets. It matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP. Paste any 875 into the free EDI inspector for a plain-English summary, read more about purchase order automation, or book a 15-minute walkthrough to see your own grocery orders processed.
Frequently Asked Questions
What is an EDI 875 used for?
A grocery retailer, wholesaler or foodservice distributor sends the EDI 875 to order products from a supplier. It names the order in G50, gives delivery dates in G62, lists each item in G68 with quantity, unit, cost and case UPC, and totals the order in G76.
What is the difference between EDI 875 and EDI 850?
Both are purchase orders. The 850 uses BEG, PO1 and CTT, and is used across retail and manufacturing. The 875 uses the grocery G-segments: G50 for the header, G68 for lines with no line number, G72 for allowances and a mandatory G76 total. It travels in functional group OG, not PO.
How does an EDI 875 handle catch-weight items?
The buyer either orders the item in pounds, with LB in G6802 and a cost per pound in G6803, or orders cases and gives a per-pound cost in G6810 with LB in G6811. Either way the order amount is an estimate, and the invoice bills the actual weight shipped.
Does the EDI 875 carry sell-by dates or lot numbers?
Not per line. In version 4010 the only date segment, G62, is in the header. Shelf-life requirements are usually set in the buyer's vendor agreement and item setup, and lot numbers for traceability travel on the shipment records the supplier sends after picking.
What does G50 mean in an EDI 875?
G50 is the 875 header. G5001 is the order status code, usually N for an original order, G5002 is the purchase order date, and G5003 is the purchase order number. Optional elements add a tax exempt code, link numbers for related orders, and a purchase order type.
What functional group code does an EDI 875 use?
GS01 is OG, the grocery order group code shared with the 876 change. Grocery buyers commonly put 004010UCS, or a later UCS version named in their guide, in GS08.
How do grocery buyers change an EDI 875?
With an EDI 876 Grocery Products Purchase Order Change, not a second 875. The 876 names the original PO in G92 and restates the new values, with a zero quantity deleting a line and change type CF cancelling the order.
What invoice pairs with the EDI 875?
The EDI 880 Grocery Products Invoice is the grocery invoice built on the same G-segments, but some buyers that order on the 875 want an 810 instead. The buyer's guide says which one it accepts.