Skip to content
EDI 875 — EDI TransactionPublished May 8, 2026 · Updated Nov 4, 2026

EDI 875 Grocery Purchase Order: Segments and Example

EDI 875 explained: the G50 header, G68 lines, catch-weight pricing, G72 allowances, G76 totals, 875 vs 850, and the errors that ship the wrong order.

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:

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:

  1. Order the item in pounds. G6801 is a quantity of pounds, G6802 is LB, and G6803 is the cost per pound.
  2. Order in cases and price by the pound. G6801/G6802 give the cases, and G6810/G6811 give a cost in a different unit, here per LB. The standard defines G6810 as the cost per unit in G6811 when 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*N marks it as an original order, dated May 9
  • G62*02 gives 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
  • G76 totals 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.

Live exampleGrocery WholesalerEDI 875

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)

1
ISA*00* *00* *ZZ*WHOLESALER *ZZ*VENDOR789 *260509*1300*U*00401*000000023*0*P*:~
2
GS*OG*WHOLESALER*VENDOR789*20260509*1300*23*X*004010UCS~
3
ST*875*0023~
4
G50*N*20260509*GRO-456789~
5
G61*BD*J PARKER*TE*7755550142~
6
G62*02*20260516~
7
NTE*GEN*CHEDDAR IS CATCH WEIGHT. INVOICE ACTUAL POUNDS SHIPPED~
8
N1*ST*ACME GROCERY DC #001*92*001~
9
N3*123 DISTRIBUTION WAY~
10
N4*RENO*NV*89501~
11
N1*VN*VALLEY CREST FOODS*92*VENDOR789~
12
G68*5*CA*14.99*001234567895*VN*BREAD-WW-24*UP*012345678905~
13
G69*WHOLE WHEAT BREAD 24OZ~
14
G70*12*24*OZ~
15
G68*40*LB*6.49*009876543215*VN*CHEESE-CHED-DELI*UP*098765432105~
16
G69*SHARP CHEDDAR DELI BLOCK~
17
G70*4*10*LB~
18
G76*45*UN*130*LB****33455~
19
SE*17*0023~
20
GE*1*23~
21
IEA*1*000000023~

Human-Readable

Interchange

Sender ID(ZZ)WHOLESALER
Receiver ID(ZZ)VENDOR789
Date260509
Time1300
Standards IDU
Version00401
Control Number000000023
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDOGOG
SenderWHOLESALER
ReceiverVENDOR789
Date20260509
Time1300
Control Number23
Agency CodeX
Version004010UCS
Transactions1
Reported Transaction Count (GE01)1

Transaction 875

Grocery Products Purchase Order
Transaction Type875
Control Number0023
Segments, ST to SE17
Count in SE0117 (matches)

Segment Detail

G50Purchase Order Identification
G5001Order Status CodeN
G5002Purchase Order Date20260509
G5003Purchase Order NumberGRO-456789
G61Contact
G6101Contact Function CodeBD
G6102NameJ PARKER
G6103Communication Number QualifierTE
G6104Communication Number7755550142
G62Date/Time
G6201Date Qualifier02
G6202Date20260516
NTENote/Special Instruction
NTE01Note TypeGEN
NTE02NoteCHEDDAR IS CATCH WEIGHT. INVOICE ACTUAL POUNDS SHIPPED
N1Party Identification
N101Entity CodeST
N102NameACME GROCERY DC #001
N103ID Qualifier92
N104ID Code001
N3Party Location
N301Address123 DISTRIBUTION WAY
N4Geographic Location
N401CityRENO
N402State/ProvinceNV
N403Postal Code89501
N1Party Identification
N101Entity CodeVN
N102NameVALLEY CREST FOODS
N103ID Qualifier92
N104ID CodeVENDOR789
G68Line Item Detail (Product)
G6801Quantity Ordered5
G6802Unit of MeasureCA
G6803Item List Cost14.99
G6804UPC Case Code001234567895
G6805Product ID QualifierVN
G6806Product IDBREAD-WW-24
G6807Product ID QualifierUP
G6808Product ID012345678905
G69Line Item Detail (Description)
G6901Item DescriptionWHOLE WHEAT BREAD 24OZ
G70Line Item Detail (Miscellaneous)
G7001Pack12
G7002Size24
G7003Size Unit of MeasureOZ
G68Line Item Detail (Product)
G6801Quantity Ordered40
G6802Unit of MeasureLB
G6803Item List Cost6.49
G6804UPC Case Code009876543215
G6805Product ID QualifierVN
G6806Product IDCHEESE-CHED-DELI
G6807Product ID QualifierUP
G6808Product ID098765432105
G69Line Item Detail (Description)
G6901Item DescriptionSHARP CHEDDAR DELI BLOCK
G70Line Item Detail (Miscellaneous)
G7001Pack4
G7002Size10
G7003Size Unit of MeasureLB
G76Total Purchase Order
G7601Total Quantity Ordered45
G7602Unit of MeasureUN
G7603Weight130
G7604Weight Unit of MeasureLB
G7608Total Amount (implied 2 decimals)33455
1 functional group1 transactionControl #000000023Valid

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.

Live exampleNatural Foods DistributorEDI 875

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)

1
ISA*00* *00* *ZZ*NORTHFIELDNAT *ZZ*VENDOR789 *260509*1330*U*00401*000000030*0*P*:~
2
GS*OG*NORTHFIELDNAT*VENDOR789*20260509*1330*30*X*004010UCS~
3
ST*875*0030~
4
G50*N*20260509*NFD-7894521~
5
G61*BD*R OKAFOR*TE*7325550187~
6
G62*10*20260512~
7
G62*02*20260514~
8
NTE*GEN*REFRIGERATED 34-38F. CATCH WEIGHT ITEMS BILLED AT ACTUAL WEIGHT~
9
N1*ST*NORTHFIELD NATURAL DC 14*92*014~
10
N3*450 COLD CHAIN DRIVE~
11
N4*EDISON*NJ*08817~
12
N1*VN*VALLEY CREST FOODS*92*VENDOR789~
13
G68*6*CA**006112200218*VN*CHEESE-MNCH-RAW*UP*061122002103**124900*LB~
14
G69*RAW MANCHEGO WHEEL AGED 6MO~
15
G70*2*7*LB~
16
G68*3*CA**006112200225*VN*PROSC-BONELESS*UP*061122002257**189900*LB~
17
G69*PROSCIUTTO BONELESS 18MO~
18
G70*2*16*LB~
19
G68*4*CA**006112200232*VN*CHEESE-GOUDA-WHL*UP*061122002325**82500*LB~
20
G69*AGED GOUDA WHEEL~
21
G70*2*10*LB~
22
G76*13*CA*260*LB****353220~
23
SE*21*0030~
24
GE*1*30~
25
IEA*1*000000030~

Human-Readable

Interchange

Sender ID(ZZ)NORTHFIELDNAT
Receiver ID(ZZ)VENDOR789
Date260509
Time1330
Standards IDU
Version00401
Control Number000000030
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDOGOG
SenderNORTHFIELDNAT
ReceiverVENDOR789
Date20260509
Time1330
Control Number30
Agency CodeX
Version004010UCS
Transactions1
Reported Transaction Count (GE01)1

Transaction 875

Grocery Products Purchase Order
Transaction Type875
Control Number0030
Segments, ST to SE21
Count in SE0121 (matches)

Segment Detail

G50Purchase Order Identification
G5001Order Status CodeN
G5002Purchase Order Date20260509
G5003Purchase Order NumberNFD-7894521
G61Contact
G6101Contact Function CodeBD
G6102NameR OKAFOR
G6103Communication Number QualifierTE
G6104Communication Number7325550187
G62Date/Time
G6201Date Qualifier10
G6202Date20260512
G62Date/Time
G6201Date Qualifier02
G6202Date20260514
NTENote/Special Instruction
NTE01Note TypeGEN
NTE02NoteREFRIGERATED 34-38F. CATCH WEIGHT ITEMS BILLED AT ACTUAL WEIGHT
N1Party Identification
N101Entity CodeST
N102NameNORTHFIELD NATURAL DC 14
N103ID Qualifier92
N104ID Code014
N3Party Location
N301Address450 COLD CHAIN DRIVE
N4Geographic Location
N401CityEDISON
N402State/ProvinceNJ
N403Postal Code08817
N1Party Identification
N101Entity CodeVN
N102NameVALLEY CREST FOODS
N103ID Qualifier92
N104ID CodeVENDOR789
G68Line Item Detail (Product)
G6801Quantity Ordered6
G6802Unit of MeasureCA
G6804UPC Case Code006112200218
G6805Product ID QualifierVN
G6806Product IDCHEESE-MNCH-RAW
G6807Product ID QualifierUP
G6808Product ID061122002103
G6810Quantity Cost124900
G6811Unit of Measure (Quantity Cost)LB
G69Line Item Detail (Description)
G6901Item DescriptionRAW MANCHEGO WHEEL AGED 6MO
G70Line Item Detail (Miscellaneous)
G7001Pack2
G7002Size7
G7003Size Unit of MeasureLB
G68Line Item Detail (Product)
G6801Quantity Ordered3
G6802Unit of MeasureCA
G6804UPC Case Code006112200225
G6805Product ID QualifierVN
G6806Product IDPROSC-BONELESS
G6807Product ID QualifierUP
G6808Product ID061122002257
G6810Quantity Cost189900
G6811Unit of Measure (Quantity Cost)LB
G69Line Item Detail (Description)
G6901Item DescriptionPROSCIUTTO BONELESS 18MO
G70Line Item Detail (Miscellaneous)
G7001Pack2
G7002Size16
G7003Size Unit of MeasureLB
G68Line Item Detail (Product)
G6801Quantity Ordered4
G6802Unit of MeasureCA
G6804UPC Case Code006112200232
G6805Product ID QualifierVN
G6806Product IDCHEESE-GOUDA-WHL
G6807Product ID QualifierUP
G6808Product ID061122002325
G6810Quantity Cost82500
G6811Unit of Measure (Quantity Cost)LB
G69Line Item Detail (Description)
G6901Item DescriptionAGED GOUDA WHEEL
G70Line Item Detail (Miscellaneous)
G7001Pack2
G7002Size10
G7003Size Unit of MeasureLB
G76Total Purchase Order
G7601Total Quantity Ordered13
G7602Unit of MeasureCA
G7603Weight260
G7604Weight Unit of MeasureLB
G7608Total Amount (implied 2 decimals)353220
1 functional group1 transactionControl #000000030Valid

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.

Live exampleRegional Grocery ChainEDI 875

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)

1
ISA*00* *00* *ZZ*CEDARRIDGEGRO *ZZ*VENDOR789 *260509*1400*U*00401*000000031*0*P*:~
2
GS*OG*CEDARRIDGEGRO*VENDOR789*20260509*1400*31*X*004010UCS~
3
ST*875*0031~
4
G50*N*20260509*CRG-225588~
5
N9*PD*SPRING26-ITAL~
6
G62*02*20260515~
7
N1*ST*CEDAR RIDGE GROCERS DC 58*92*058~
8
N3*1500 COMMERCE PARKWAY~
9
N4*ATLANTA*GA*30318~
10
N1*VN*VALLEY CREST FOODS*92*VENDOR789~
11
G68*40*CA*24.99*003344556601*VN*PASTA-ORG-PENNE*UP*033445566770~
12
G69*ORGANIC PENNE PASTA 16OZ~
13
G70*12*16*OZ~
14
G68*30*CA*36.50*003344556618*VN*SAUCE-MAR-ORG*UP*033445566787~
15
G69*ORGANIC MARINARA SAUCE 24OZ~
16
G70*6*24*OZ~
17
G72*47*02***1.50*30*CA~
18
G73*SPRING ITALIAN PROMOTION~
19
G68*15*CA*52.00*003344556625*VN*OIL-OLIVE-EXV-ORG*UP*033445566794~
20
G69*ORGANIC EXTRA VIRGIN OLIVE OIL 500ML~
21
G70*6*500*ML~
22
G68*20*CA*28.75*003344556632*VN*VINEGAR-BAL-ORG*UP*033445566800~
23
G69*ORGANIC BALSAMIC VINEGAR 500ML~
24
G70*6*500*ML~
25
G76*105*CA******340460~
26
SE*24*0031~
27
GE*1*31~
28
IEA*1*000000031~

Human-Readable

Interchange

Sender ID(ZZ)CEDARRIDGEGRO
Receiver ID(ZZ)VENDOR789
Date260509
Time1400
Standards IDU
Version00401
Control Number000000031
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDOGOG
SenderCEDARRIDGEGRO
ReceiverVENDOR789
Date20260509
Time1400
Control Number31
Agency CodeX
Version004010UCS
Transactions1
Reported Transaction Count (GE01)1

Transaction 875

Grocery Products Purchase Order
Transaction Type875
Control Number0031
Segments, ST to SE24
Count in SE0124 (matches)

Segment Detail

G50Purchase Order Identification
G5001Order Status CodeN
G5002Purchase Order Date20260509
G5003Purchase Order NumberCRG-225588
N9Reference Identification
N901Reference Identification QualifierPD
N902Reference IdentificationSPRING26-ITAL
G62Date/Time
G6201Date Qualifier02
G6202Date20260515
N1Party Identification
N101Entity CodeST
N102NameCEDAR RIDGE GROCERS DC 58
N103ID Qualifier92
N104ID Code058
N3Party Location
N301Address1500 COMMERCE PARKWAY
N4Geographic Location
N401CityATLANTA
N402State/ProvinceGA
N403Postal Code30318
N1Party Identification
N101Entity CodeVN
N102NameVALLEY CREST FOODS
N103ID Qualifier92
N104ID CodeVENDOR789
G68Line Item Detail (Product)
G6801Quantity Ordered40
G6802Unit of MeasureCA
G6803Item List Cost24.99
G6804UPC Case Code003344556601
G6805Product ID QualifierVN
G6806Product IDPASTA-ORG-PENNE
G6807Product ID QualifierUP
G6808Product ID033445566770
G69Line Item Detail (Description)
G6901Item DescriptionORGANIC PENNE PASTA 16OZ
G70Line Item Detail (Miscellaneous)
G7001Pack12
G7002Size16
G7003Size Unit of MeasureOZ
G68Line Item Detail (Product)
G6801Quantity Ordered30
G6802Unit of MeasureCA
G6803Item List Cost36.50
G6804UPC Case Code003344556618
G6805Product ID QualifierVN
G6806Product IDSAUCE-MAR-ORG
G6807Product ID QualifierUP
G6808Product ID033445566787
G69Line Item Detail (Description)
G6901Item DescriptionORGANIC MARINARA SAUCE 24OZ
G70Line Item Detail (Miscellaneous)
G7001Pack6
G7002Size24
G7003Size Unit of MeasureOZ
G72Allowance or Charge
G7201Allowance or Charge Code47
G7202Handling Method02
G7205Rate1.50
G7206Quantity30
G7207Unit of MeasureCA
G73Allowance or Charge Description
G7301DescriptionSPRING ITALIAN PROMOTION
G68Line Item Detail (Product)
G6801Quantity Ordered15
G6802Unit of MeasureCA
G6803Item List Cost52.00
G6804UPC Case Code003344556625
G6805Product ID QualifierVN
G6806Product IDOIL-OLIVE-EXV-ORG
G6807Product ID QualifierUP
G6808Product ID033445566794
G69Line Item Detail (Description)
G6901Item DescriptionORGANIC EXTRA VIRGIN OLIVE OIL 500ML
G70Line Item Detail (Miscellaneous)
G7001Pack6
G7002Size500
G7003Size Unit of MeasureML
G68Line Item Detail (Product)
G6801Quantity Ordered20
G6802Unit of MeasureCA
G6803Item List Cost28.75
G6804UPC Case Code003344556632
G6805Product ID QualifierVN
G6806Product IDVINEGAR-BAL-ORG
G6807Product ID QualifierUP
G6808Product ID033445566800
G69Line Item Detail (Description)
G6901Item DescriptionORGANIC BALSAMIC VINEGAR 500ML
G70Line Item Detail (Miscellaneous)
G7001Pack6
G7002Size500
G7003Size Unit of MeasureML
G76Total Purchase Order
G7601Total Quantity Ordered105
G7602Unit of MeasureCA
G7608Total Amount (implied 2 decimals)340460
1 functional group1 transactionControl #000000031Valid

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:

AreaSegmentNameUsageNotes
HeaderSTTransaction Set HeaderMandatoryST01 = 875
HeaderG50Purchase Order IdentificationMandatoryOrder status, PO date, PO number
HeaderN9Reference IdentificationOptionalPromotion, contract or related PO numbers
HeaderG61ContactOptionalBuyer name and phone
HeaderG62Date/TimeOptional, up to 10Delivery, ship and cancel dates
HeaderNTENote/Special InstructionOptionalFree text
HeaderG66Transportation InstructionsOptionalDelivered, collect or pick-up
HeaderG23Terms of SaleOptionalHeader or detail, not both
Header loopN1 to N4Name and addressMandatory, up to 10Ship-to, bill-to, vendor
Header loopG72 / G73Allowance or ChargeOptionalOrder-level allowances and charges
Detail loopG68Line Item Detail (Product)Mandatory, repeatsQuantity, unit, cost, case UPC, item IDs
Detail loopG69Line Item Detail (Description)OptionalItem description
Detail loopG70Line Item Detail (Miscellaneous)OptionalPack, size, pallet tie and tier
Detail loopN9, G23References, termsOptionalLine-level references and terms
Detail loopG72 / G73Allowance or ChargeOptionalLine-level allowances and charges
Detail loopN1 / QTY / N9Store or location quantityOptionalSplits a line across stores or DCs
Detail loopSLN / G72Subline Item DetailOptionalComponents of an assortment or display
SummaryG76Total Purchase OrderMandatoryTotal quantity, weight, volume and amount
SummarySETransaction Set TrailerMandatorySegment 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~
ElementNameExampleWhat it means
G5001Order Status CodeNN = original. Other codes exist in the standard, but buyers' guides usually allow only N
G5002Date20260509The date the buyer assigned to the PO
G5003Purchase Order NumberGRO-456789Your match key for every document that follows
G5004Tax Exempt CodeRarely used
G5005 / G5006Link number, link sequenceGroup related orders. Sent together or not at all
G5007Purchase Order Type CodeFor 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:

CodeMeaning
02Delivery requested on this date
10Requested ship or pick-up date
01Cancel after this date
53 / 54Deliver not before / no later than
37 / 38Ship 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~
ElementNameExampleWhat it means
G6801Quantity Ordered5Quantity in the unit in G6802
G6802Unit of MeasureCACA case, LB pound, EA each, and others the buyer allows
G6803Item List Cost14.99Cost per unit of G6802
G6804U.P.C. Case Code00123456789512-digit case code. G6804 or G6805 must be present
G6805 / G6806ID qualifier, IDVN, BREAD-WW-24VN vendor item, IN buyer item, UK GTIN-14, UP consumer UPC
G6807 / G6808ID qualifier, IDUP, 012345678905A second identifier
G6809Price Bracket IdentifierWhich price bracket applies
G6810 / G6811Quantity Cost, unit124900, LBCost in a different unit, four implied decimals
G6812 / G6813Price list number, issueWhich price list the cost comes from
G6814 / G6815Pre-price quantity, retail pre-priceFor 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~
ElementNameExampleWhat it means
G7201Allowance or Charge Code47Price and marketing allowance. 97 cents off, 66 slotting, 504 freight
G7202Method of Handling0202 off invoice, 01 bill back
G7205Rate1.50Per unit. Only one of rate, total amount or percent is sent
G7206 / G7207Quantity, unit30, CAThe quantity the rate applies to
G7208Total AmountTwo implied decimals
G7209PercentA 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~
ElementNameExampleWhat it means
G7601Quantity Ordered45Total quantity
G7602Unit of MeasureUNUnit of the total
G7603 / G7604Weight, unit130, LBTotal weight
G7605 / G7606Volume, unitTotal cube
G7608Amount33455Total 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 Order875 Grocery Products PO
Header segmentBEGG50
Purpose codeBEG01 (original, replace, cancel and so on)None. Changes go on an 876
DatesDTMG62, header only
Line segmentPO1G68
Line numberPO101None. Match on identifiers
DescriptionPIDG69
Pack and sizePO4G70
Allowances and chargesSACG72 / G73
TotalsCTT (optional)G76 (mandatory)
Change document860876
Invoice usually paired with it810880 or 810, per the buyer
Functional group (GS01)POOG

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

  1. 888 Item Maintenance and 889 Promotion Announcement. Items and deals are set up before anyone orders.
  2. 875 Grocery Products Purchase Order. The buyer orders.
  3. 997 Functional Acknowledgment. The supplier confirms the 875 arrived and parsed.
  4. 855 PO Acknowledgment, if the buyer asks for one.
  5. 876 Grocery PO Change. The buyer changes or cancels the order.
  6. 856 Ship Notice. The supplier describes the shipment.
  7. 880 Grocery Products Invoice or an 810. The supplier bills, at actual weight for catch-weight items.
  8. 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

ErrorWhat happensPrevention
875 mapped like an 850Order loads empty or partialBuild a separate map: G50, G68, G76, not BEG, PO1, CTT
Lines matched by positionItems swapped between linesMatch on case UPC, GTIN or buyer item code
Pound quantity read as casesShips 40 cases instead of 40 lbAlways read G6801 with G6802
G6810 read without implied decimalsCost off by a factor of 10,000Divide G6810 by 10,000; it is an N4 field
G7608 read as dollarsTotals off by a factor of 100Two implied decimals: 33455 is $334.55
Allowance droppedInvoice bills the full cost, buyer deducts the dealCarry G72 from the 875 through to the 880
Second 875 with the same PO number treated as a changeOrder shipped twice, or the change lostChanges come on the 876; flag duplicate PO numbers
Unknown case codeOrder held or rejectedKeep the buyer's item file in step with yours
G76 not checkedDropped lines go unnoticedRecompute 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 GS01 OG and the GS08 version (often 004010UCS)
  • List the G62 qualifiers 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 in G6810
  • Load its allowance codes and handling methods for G72
  • Confirm how it calculates G7601 and G7608
  • 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.

James Darby
Last updated: 11/4/2026

Related Resources