X12 875 — Grocery Products Purchase Order
The 875 is the grocery-specialized purchase order: structural variations on the standard 850 to absorb UPC, deposit, slotting specifics.
Purpose
The 875 documents a grocery retailer's purchase order (Kroger, Albertsons, Publix) to a grocery supplier: standard elements (parties, lines, dates) plus grocery extensions — UPC mandatory as the leading ID, deposit codes for returnable containers, slotting fees, promotion codes attached at line.
Established in North American grocery as a complement to the 850 when grocery specifics (deposits, case + each packs, FMI code list) overflowed the generic 850. Acknowledged by 997, it triggers a 876 (Grocery PO Change) or an 880 (Grocery Invoice).
Envelope structure
The 875 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group SG, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*ACMEGROCERY *ZZ*ACMEFOODS *260514*0930*U*00401*000000875*0*P*>~
GS*SG*ACMEGROCERY*ACMEFOODS*20260514*0930*1*X*004010~
ST*875*0001~
BCH*00*SA*PO-GR-78901*SP*20260514**20260520~
N1*BY*ACME GROCERY CO*92*0001~
N1*ST*ACME WAREHOUSE 8*92*W-8~
N1*VN*ACME FOODS INC*92*V-0042~
LIN*1*UP*004900000123*UN*CS-0123~
PO1*1*30*CA*18.00**UP*004900000123~
SLN*1*1*A*240*EA**UP*004900000777~
PID*F****GRANOLA BARS CASE OF 24~
REF*DC*DEP-NJ-0.05~
LIN*2*UP*004900000456*UN*CS-0456~
PO1*2*15*CA*22.50**UP*004900000456~
PID*F****JUICE CASE OF 12~
CTT*2~
SE*15*0001~
GE*1*1~
IEA*1*000000875~ Common segments
- Header —
ST,BCH(Beginning Segment for Grocery PO),DTM. - Parties —
N1(BY, ST, VN). - Lines —
LINloop (UPC inUPmandatory) withPO1,SLN(Subline Detail for inner pack),PID,REF*DC(Deposit Code). - Promotion —
SAC(Service / Allowance / Charge) at line level. - Summary —
CTT,SE.
Common pitfalls
- UPC vs GTIN: US grocery sticks to UPC-A (12 digits); encoding GTIN-14 in
LIN*UKorLIN*ENcan break decoding if the partner does not support the qualifier shift. - Case pack vs each:
PO1carries the order at case level;SLNmust describe each-level content for slotting and pack-break at store. WithoutSLN, inventory loses granularity. - Promotion codes: the FMI (Food Marketing Institute) list dominates generic codes; a free
SACcode may be refused in retail compliance.
Related transactions
Documentation
The code 875 and the name Grocery Products Purchase Order are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.