X12 transaction guide · Ordering

EDI 875 Grocery Products Purchase Order

The X12 purchase order grocery retailers and wholesalers send to suppliers and brokers, following grocery-industry (UCS) conventions.

Sent by
Grocery retailer or wholesaler
Received by
Supplier, manufacturer or broker
Standard
ANSI ASC X12
EDIFACT equivalent
ORDERS

What is an EDI 875?

The EDI 875 Grocery Products Purchase Order is the ANSI X12 transaction set a grocery retailer or wholesaler uses to order finished goods from a supplier or broker and request delivery. It follows grocery-industry practice from the Uniform Communication Standard (UCS) tradition, which is why it uses its own "G" segments, such as G50 and G68, rather than the segments of the general 850 purchase order.

The 875 is used only for new orders. Changes travel in their own grocery transaction set, the 876 purchase order change, and acknowledgments follow each partner's requirements. Items are typically identified by U.P.C. case codes, and order totals in quantity, weight and volume let the supplier plan loads.

How the EDI 875 worksDiagram of the EDI 875 Grocery Products Purchase Order. Grocery retailer or wholesaler sends it to supplier, manufacturer or broker. It usually starts the exchange. It is usually followed by 997, 856 and 880. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: G50 (Purchase Order Identification) and the required 0100 loop with N1 (Name), detail: the required 0300 loop with G68 (Line Item Detail - Product) and summary: G76 (Total Purchase Order). 4 optional loops are listed by their first segment.How the EDI 875 worksGrocery Products Purchase Order: who sends it, where it fits and what the standard marks required1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeEDI 875SENDERGrocery retailer orwholesalerRECEIVERSupplier, manufactureror broker997 or 999 acknowledgment back, if the partners agreeUSUALLY FOLLOWED BY997FunctionalAcknowledgment856Advance Ship Notice880Grocery Products Invoice2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDsISA … IEAFunctional group, ID code OGGS … GETransaction set 875ST … SEHEADINGG50Purchase Order IdentificationRequired loop 0100 · repeats up to10N1Name+ 1 optional loop, starting with:G72DETAILRequired loop 0300 · repeats up to9,999G68Line Item Detail - Product+ 3 optional loops, starting with:G72N1SLNSUMMARYG76Total Purchase OrderBlue box: required loop. Optional loops are listed by the segment that starts them; when a loop is used, that first segment is required. Optional segmentsoutside loops are not drawn.Structure: required segments and loops in the X12 004010 listing for the 875. Your trading partner's implementation guide adds its own requirements.
How the EDI 875 worksDiagram of the EDI 875 Grocery Products Purchase Order. Grocery retailer or wholesaler sends it to supplier, manufacturer or broker. It usually starts the exchange. It is usually followed by 997, 856 and 880. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: G50 (Purchase Order Identification) and the required 0100 loop with N1 (Name), detail: the required 0300 loop with G68 (Line Item Detail - Product) and summary: G76 (Total Purchase Order). 4 optional loops are listed by their first segment.How the EDI 875 worksGrocery Products Purchase Order: who sends it,where it fits and what the standard marksrequired1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeEDI 875SENDERGrocery retaileror wholesalerRECEIVERSupplier,manufacturer orbroker997 or 999 acknowledgment back, if the partnersagreeUSUALLY FOLLOWED BY997Functional Acknowledgment856Advance Ship Notice880Grocery Products Invoice2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDs (ISA… IEA)Functional group, ID code OG (GS … GE)Transaction set 875 (ST … SE)HEADINGG50Purchase Order IdentificationRequired loop 0100 · repeats upto 10N1Name+ 1 optional loop, starting with:G72DETAILRequired loop 0300 · repeats upto 9,999G68Line Item Detail - Product+ 3 optional loops, starting with:G72N1SLNSUMMARYG76Total Purchase OrderBlue box: required loop. Optional loops are listedby the segment that starts them; when a loop isused, that first segment is required. Optionalsegments outside loops are not drawn.Structure: required segments and loops in the X12004010 listing for the 875. Your trading partner'simplementation guide adds its own requirements.

How to read this diagram: the top row shows who sends the 875, to whom, and which documents usually come before and after it. The lower part shows what X12 release 004010 itself requires: the envelopes around the 875 and the segments and loops the standard marks as required, area by area. Optional loops are listed by the segment that starts them rather than drawn in full. This is the standard's minimum, not a trading partner's requirement: each partner's implementation guide usually makes some optional loops mandatory, restricts the codes and may use a different release.

Expand diagram Download SVG

When it is used

  • Grocery retailers ordering from manufacturers and brokers
  • Wholesale grocery distributors replenishing warehouse stock
  • Orders identified by U.P.C. case codes and case quantities

Where it fits in the document flow

This document 875 Grocery Products Purchase Order

Structure

Key segments in the 875

The segments most implementations use, described in plain language. The last column shows what X12 release 004010 itself requires: "Required" marks a segment the standard requires in every 875; "Optional, common" marks a segment the standard leaves optional, or that sits in an optional loop, but that implementations often use. This is the standard's requirement, not your trading partner's: each partner's implementation guide names the release it uses, makes some optional segments mandatory and restricts the values, and requirements can differ between releases. The requirement status comes from one published X12 reference listing and has not been checked against a second source.

SegmentNameWhat it carriesIn X12 004010
G50Purchase Order IdentificationOrder status code (such as original), order date and purchase order number.Required
N1 loopNameParties to the order. One N1 must identify the ship-to party.Required
G68Line Item Detail - ProductQuantity ordered and unit, list cost and the U.P.C. case code or other product identifier.Required
G69Line Item Detail - DescriptionFree-form description of the item.Optional, common
G76Total Purchase OrderTotal quantity ordered, with optional weight, volume and order amount.Required

Example

Sample EDI 875

An original order (G50 status N) GPO77812 for delivery to distribution center 12. Two lines order 50 and 30 cases (CA) by U.P.C. case code, and G76 totals 80 cases.

Illustrative data only, not tied to one X12 release or trading partner. The interchange (ISA/IEA) and functional group (GS/GE) envelopes are omitted for readability.

ST*875*0001~
G50*N*20261020*GPO77812~
N1*ST*Example Grocers DC 12~
G68*50*CA*18.40*001234567890~
G69*Example Brand Tomato Soup 12x10.5oz~
G68*30*CA*22.10*001234567906~
G76*80*CA~
SE*8*0001~
Reading a sample EDI 875, line by lineAnnotated sample EDI 875 with 8 lines. Notes explain the ST, G50, N1, G68, G69, G76 and SE segments.Reading a sample EDI 875, line by lineEach numbered note explains the segment on that line. The data is illustrative.ST*875*0001~11Transaction Set Header. Opens the 875 and gives it a controlnumber, which SE repeats.G50*N*20261020*GPO77812~22Purchase Order Identification. Order status code (such asoriginal), order date and purchase order number.N1*ST*Example Grocers DC 12~33Name. Parties to the order. One N1 must identify the ship-toparty.G68*50*CA*18.40*001234567890~44Line Item Detail - Product. Quantity ordered and unit, list costand the U.P.C. case code or other product identifier.G69*Example Brand Tomato Soup 12x10.5oz~55Line Item Detail - Description. Free-form description of the item.G68*30*CA*22.10*001234567906~G76*80*CA~66Total Purchase Order. Total quantity ordered, with optionalweight, volume and order amount.SE*8*0001~77Transaction Set Trailer. Closes the set with the number ofsegments, including ST and SE, and the same control number.Illustrative data only, not tied to one trading partner. Envelopes (ISA/GS) are omitted for readability.
Reading a sample EDI 875, line by lineAnnotated sample EDI 875 with 8 lines. Notes explain the ST, G50, N1, G68, G69, G76 and SE segments.Reading a sample EDI 875, lineby lineEach numbered note explains the segment onthat line. The data is illustrative.ST*875*0001~Transaction Set Header. Opens the 875 andgives it a control number, which SE repeats.G50*N*20261020*GPO77812~Purchase Order Identification. Order statuscode (such as original), order date andpurchase order number.N1*ST*Example Grocers DC 12~Name. Parties to the order. One N1 mustidentify the ship-to party.G68*50*CA*18.40*001234567890~Line Item Detail - Product. Quantity orderedand unit, list cost and the U.P.C. case code orother product identifier.G69*Example Brand Tomato Soup 12x10.5oz~Line Item Detail - Description. Free-formdescription of the item.G68*30*CA*22.10*001234567906~G76*80*CA~Total Purchase Order. Total quantity ordered,with optional weight, volume and orderamount.SE*8*0001~Transaction Set Trailer. Closes the set withthe number of segments, including ST and SE,and the same control number.Illustrative data only, not tied to one trading partner.Envelopes (ISA/GS) are omitted for readability.

The sample is the same one shown above, with a note beside each segment the first time it appears. Segment IDs are highlighted at the start of each line; the fields after them are separated by asterisks, and each segment ends with a tilde.

Expand diagram Download SVG

Avoid problems

Common 875 errors and how to prevent them

Treating the 875 like an 850

The 875 uses grocery G-segments with different element positions. Maps copied from an 850 will misread quantities, costs and item codes.

Case code and consumer code mixed up

Grocery orders identify items by U.P.C. case codes. Matching them against consumer unit codes in the item master causes failed lookups and wrong pack sizes.

Using the 875 for changes

The 875 is for new orders only. Order changes come in a separate transaction set, which must update the original order rather than create a new one.

Trading partners

Integration guides that include the 875

  • Kroger EDI integration

EDI 875 FAQs

What is the difference between an 850 and an 875?

Both are purchase orders. The 875 is the grocery-industry version, built from G-segments and grocery conventions such as U.P.C. case codes, while the 850 is used across most other industries.

What does UCS mean?

The Uniform Communication Standard is the grocery industry's EDI convention, now maintained within X12. Grocery transaction sets such as the 875 and 880 come from that tradition.

Do all grocery retailers still use the 875?

No. Many grocery retailers and wholesalers now send the 850 instead, so suppliers often support both. Each partner's requirements state which one applies.

Need help with the EDI 875?

ECOM maps, tests and monitors X12 documents for your trading partners and integrates them with your ERP.