Stedi maintains this guide based on public documentation from C&S Wholesale Grocers. Contact C&S Wholesale Grocers for official EDI specifications. To report any errors in this guide, please contact us.
X12 875 Grocery Products Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
G50
020
Purchase Order Identification
Max use 1
Required
G61
040
Contact
Max use 3
Optional
G62
050
Date/Time Delivery Requested on This Date
Max use 10
Optional
G62
050
Date/Time Requested Ship Date/Pick-up Date
Max use 1
Optional
NTE
060
Note/Special Instruction
Max use 20
Optional
G66
070
Transportation Instructions
Max use 1
Optional
G23
080
Terms of Sale
Max use 20
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
G61
040
Heading > G61
Contact
OptionalMax use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G62
050
Heading > G62
Date/Time Delivery Requested on This Date
OptionalMax use 10
—
Usage notes
—
Example
Variants (all may be used)
G62Date/Time Requested Ship Date/Pick-up DateG62
050
Heading > G62
Date/Time Requested Ship Date/Pick-up Date
OptionalMax use 1
—
Example
Variants (all may be used)
G62Date/Time Delivery Requested on This DateG23
080
Heading > G23
Terms of Sale
OptionalMax use 20
—
Usage notes
—
Example
At least one of Terms Net Due Date (G23-08) or Terms Net Days (G23-09) is required
0100 Loop
RequiredMax >1
N1
090
Heading > 0100 Loop > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
0100 Loop end
0200 Loop
OptionalMax >1
—
- 47
- Price and Marketing Allowance
- 499
- Other Allowance
- 504
- Freight Charge
—
- 02
- Off Invoice (Credit to C&S)
- 06
- Charge to be Paid by Customer
G73
140
Heading > 0200 Loop > G73
Allowance or Charge Description
OptionalMax use 10
—
Usage notes
—
Example
0200 Loop end
Heading end
Detail
0300 Loop
RequiredMax >1
G68
010
Detail > 0300 Loop > G68
Line Item Detail - Product
RequiredMax use 1
—
Usage notes
—
Example
At least one of U.P.C. Case Code (G68-04) or Product/Service ID Qualifier (G68-05) is required
If either Product/Service ID Qualifier (G68-05) or Product/Service ID (G68-06) is present, then the other is required
—
- CA
- Case
- EA
- Each (Number of retail selling units)
- LB
- Pound
- PL
- Pallet/Unit Load
G70
030
Detail > 0300 Loop > G70
Line Item Detail - Miscellaneous
OptionalMax use 2
—
Usage notes
—
Example
If either Size (G70-02) or Unit or Basis for Measurement Code (G70-03) is present, then the other is required
0310 Loop
OptionalMax >1
G72
060
Detail > 0300 Loop > 0310 Loop > G72
Allowance or Charge
RequiredMax use 1
—
Usage notes
—
Example
If either Allowance or Charge Quantity (G72-06) or Unit or Basis for Measurement Code (G72-07) is present, then the other is required
—
- 47
- Price and Marketing Allowance
- 499
- Other Allowance
- 504
- Freight Charge
—
- 02
- Off Invoice
- 06
- Charge to be Paid by Customer
G73
070
Detail > 0300 Loop > 0310 Loop > G73
Allowance or Charge Description
OptionalMax use 10
—
Usage notes
—
Example
0310 Loop end
0300 Loop end
Detail end
Summary
G76
010
Summary > G76
Total Purchase Order
RequiredMax use 1
—
Usage notes
—
Example
If either Weight (G76-03) or Unit or Basis for Measurement Code (G76-04) is present, then the other is required
If either Volume (G76-05) or Unit or Basis for Measurement Code (G76-06) is present, then the other is required
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231201*1530*U*00401*000000001*0*T*>~
GS*OG*SENDERGS*RECEIVERGS*20231201*153001*000000001*X*004010UCS~
ST*875*66537~
G50*N*20110117*432329~
G61*IC*JOHN PHELAN*TE*18022574371~
G62*02*20110118~
NTE*ORI*S/W 432327-9~
NTE*SPH*S/W 432327-9~
NTE*GEN*THIS PURCHASE ORDER INCORPORATES BY REFERENCE THE C&S VENDOR CONDITIONS OF SALE~
G66**T*****NONE~
G23*01*2**01*0.02**15**16~
N1*BT*C&S WHOLESALE GROCERS*9*0018424670001~
N2*BETHLEMEN PO'S 0504707~
N3*OLD FERRY ROAD~
N4*BRATTLEBORO*VT*05301~
N1*ST*C&S WHOLESALE GROCERS*9*0018424670076~
N2*BETHLEMEN PO'S 432~
N3*4820 HANOVERVILLE RD~
N4*BETHLEHEM*PA*18017~
N1*VN*CONAGRA FOOD*9*0062809110000~
N2*88 HASTINGS DRIVE~
N4*WHITINSVILLE**01588~
G68*210*CA*18.12*007615020203*IN*993937~
G69*ACTII BTR 94% FF 3PK~
G70*12*9*OZ******021005~
G76*210*CA*1818.6*LB*98.7*CU**380520~
SE*25*66537~
GE*1*000000001~
IEA*1*000000001~
GS*OG*SENDERGS*RECEIVERGS*20231201*153001*000000001*X*004010UCS~
ST*875*66537~
G50*N*20110117*432329~
G61*IC*JOHN PHELAN*TE*18022574371~
G62*02*20110118~
NTE*ORI*S/W 432327-9~
NTE*SPH*S/W 432327-9~
NTE*GEN*THIS PURCHASE ORDER INCORPORATES BY REFERENCE THE C&S VENDOR CONDITIONS OF SALE~
G66**T*****NONE~
G23*01*2**01*0.02**15**16~
N1*BT*C&S WHOLESALE GROCERS*9*0018424670001~
N2*BETHLEMEN PO'S 0504707~
N3*OLD FERRY ROAD~
N4*BRATTLEBORO*VT*05301~
N1*ST*C&S WHOLESALE GROCERS*9*0018424670076~
N2*BETHLEMEN PO'S 432~
N3*4820 HANOVERVILLE RD~
N4*BETHLEHEM*PA*18017~
N1*VN*CONAGRA FOOD*9*0062809110000~
N2*88 HASTINGS DRIVE~
N4*WHITINSVILLE**01588~
G68*210*CA*18.12*007615020203*IN*993937~
G69*ACTII BTR 94% FF 3PK~
G70*12*9*OZ******021005~
G76*210*CA*1818.6*LB*98.7*CU**380520~
SE*25*66537~
GE*1*000000001~
IEA*1*000000001~
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.