Stedi maintains this guide based on public documentation from Big Lots. Contact Big Lots for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
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
0100
Transaction Set Header
Max use 1
Required
BEG
0200
Beginning Segment for Purchase Order
Max use 1
Required
REF
0500
Reference Information
Max use 1
Required
PER
0600
Administrative Communications Contact
Max use 3
Optional
FOB
0800
Destination Shipping
Max use 1
Required
FOB
0800
On Vessel
Max use 1
Required
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
Required
DTM
1500
Date/Time Reference
Max use 10
Required
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)
—
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- FJ
- Total Units
- IA
- Internal Vendor Number—
- LU
- Location Number—
- NB
- Letter of Credit Number
- PK
- Packing List Number
- ZZ
- Pre-Ticket
FOB
0800
Heading > FOB
Destination Shipping
RequiredMax use >1
—
Usage notes
—
Example
Variants (all may be used)
FOBOn Vessel—
- CC
- Collect
- DE
- Delivery Duty Unpaid
- DF
- Defined by Buyer and Seller
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- PS
- Paid by Seller
FOB
0800
Heading > FOB
On Vessel
RequiredMax use >1
—
Usage notes
—
Example
Variants (all may be used)
FOBDestination ShippingIf Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
—
- CC
- Collect
- DE
- Delivery Duty Unpaid
- DF
- Defined by Buyer and Seller
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- PS
- Paid by Seller
—
Usage notes
—
- OV
- On Vessel (Free On Board [FOB] point)
N9 Loop
OptionalMax >1
N9
2950
Heading > N9 Loop > N9
Extended Reference Information
RequiredMax use 1
—
Usage notes
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9 Loop end
N1 Loop
RequiredMax >1
N1
3100
Heading > N1 Loop > N1
Party Identification
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- BT
- Bill-to-Party—
- RI
- Remit To—
- SF
- Ship From—
- ST
- Ship To
- VN
- Vendor—
PER
3600
Heading > N1 Loop > PER
Administrative Communications Contact
RequiredMax use >1
—
Usage notes
—
Example
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) is present, then the other is required
If either Product/Service ID Qualifier (PO1-16) or Product/Service ID (PO1-17) is present, then the other is required
If either Product/Service ID Qualifier (PO1-18) or Product/Service ID (PO1-19) is present, then the other is required
If either Product/Service ID Qualifier (PO1-20) or Product/Service ID (PO1-21) is present, then the other is required
If either Product/Service ID Qualifier (PO1-22) or Product/Service ID (PO1-23) is present, then the other is required
If either Product/Service ID Qualifier (PO1-24) or Product/Service ID (PO1-25) is present, then the other is required
PID Loop
RequiredMax >1
PID
0500
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
PO4
0900
Detail > PO1 Loop > PO4
Item Physical Details
RequiredMax use >1
—
Usage notes
—
Example
If either Gross Volume per Pack (PO4-08) or Unit or Basis for Measurement Code (PO4-09) is present, then the other is required
SDQ
1900
Detail > PO1 Loop > SDQ
Destination Quantity
OptionalMax use 500
—
Usage notes
—
Example
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-21) or Quantity (SDQ-22) is present, then the other is required
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0029*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231117*002956*000000001*X*005010~
ST*850*000101504~
BEG*00*SA*000221631*4*19990113~
REF*LU*04150*S~
REF*IA*1234567890~
REF*NB*C123456~
REF*PK*Y~
REF*ZZ*Y~
REF*FJ*125~
PER*BD*JILL JONES~
FOB*PP*OV*FOB Cntry***CA*Origin**Prepaid By Seller~
FOB*PP*DE*Port ***OR*Ship Point**D~
ITD*01*3*2**10**30*****2%-10/NET 30~
DTM*073*19990101~
DTM*037*19990113~
DTM*002*19990123~
DTM*001*19990213~
N9*L1*Header Comments~
MTX**Header Comments~
N1*BT*BIGLOTS INC CORP~
N3*300 PHILLIPI RD~
N4*COLUMBUS*OH*432281310~
PER*IC*JOHN JONES*TE*6142786800*FX*6142786676~
N1*ST*STORE 4150*92*4150~
N3*1417 N BELT HWY~
N4*SAINT JOSEPH*MO*645062415~
PER*IC*JILL JONES*TE*6142786800*FX*6142786676~
N1*VN*ABC CO~
N3*12 EAST HWY~
N4*JACKSON *MO*12345~
PER*IC*RODGER*TE*6142781234*FX*6142781235~
PO1*1*1*EA*89**SK*610000014*MG*D44-40T*UP*012300319861~
PO3*QO*****1*CT~
PID*F**** Extension Table ~
PO4*1*******1*CF*****1~
MTX**Detail Comments~
PO1*1*1920*AS*1.85**SK*110121927*MG*005100002797*UP*051000027979*SZ*48OZ*BL*PREGO***KM*20101110*SC*O*JP*N*ZZ*Y~
PO3*QO*****1*CT~
PID*F**** Extension Table ~
PO4*1*******1*CF*****1~
MTX**Detail Comments~
CTT*2~
AMT*TT*287.20~
SE*43*000101504~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20231117*002956*000000001*X*005010~
ST*850*000101504~
BEG*00*SA*000221631*4*19990113~
REF*LU*04150*S~
REF*IA*1234567890~
REF*NB*C123456~
REF*PK*Y~
REF*ZZ*Y~
REF*FJ*125~
PER*BD*JILL JONES~
FOB*PP*OV*FOB Cntry***CA*Origin**Prepaid By Seller~
FOB*PP*DE*Port ***OR*Ship Point**D~
ITD*01*3*2**10**30*****2%-10/NET 30~
DTM*073*19990101~
DTM*037*19990113~
DTM*002*19990123~
DTM*001*19990213~
N9*L1*Header Comments~
MTX**Header Comments~
N1*BT*BIGLOTS INC CORP~
N3*300 PHILLIPI RD~
N4*COLUMBUS*OH*432281310~
PER*IC*JOHN JONES*TE*6142786800*FX*6142786676~
N1*ST*STORE 4150*92*4150~
N3*1417 N BELT HWY~
N4*SAINT JOSEPH*MO*645062415~
PER*IC*JILL JONES*TE*6142786800*FX*6142786676~
N1*VN*ABC CO~
N3*12 EAST HWY~
N4*JACKSON *MO*12345~
PER*IC*RODGER*TE*6142781234*FX*6142781235~
PO1*1*1*EA*89**SK*610000014*MG*D44-40T*UP*012300319861~
PO3*QO*****1*CT~
PID*F**** Extension Table ~
PO4*1*******1*CF*****1~
MTX**Detail Comments~
PO1*1*1920*AS*1.85**SK*110121927*MG*005100002797*UP*051000027979*SZ*48OZ*BL*PREGO***KM*20101110*SC*O*JP*N*ZZ*Y~
PO3*QO*****1*CT~
PID*F**** Extension Table ~
PO4*1*******1*CF*****1~
MTX**Detail Comments~
CTT*2~
AMT*TT*287.20~
SE*43*000101504~
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.