Big Lots
/
Purchase Order
  • Specification
  • EDI Inspector
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.
Go to Stedi Network
Big Lots logo

X12 850 Purchase Order

X12 Release 5010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/big-lots/purchase-order/01GZGXKHSCKJRCJ2FKQ0486PWJ
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
N9 Loop
N1 Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00501
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
PO
Purchase Order (850)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
005010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
850
Purchase Order
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BEG
0200
Heading > BEG

Beginning Segment for Purchase Order

RequiredMax use 1
Usage notes
Example
BEG-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
05
Replace
BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)
SA
Stand-alone Order
BEG-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
BEG-04
328
Release Number
Required
String (AN)
Min 1Max 30
Required
Date (DT)
CCYYMMDD format
REF
0500
Heading > REF

Reference Information

RequiredMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
FJ
Total Units
IA
Internal Vendor Number
LU
Location Number
NB
Letter of Credit Number
PK
Packing List Number
ZZ
Pre-Ticket
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
PER
0600
Heading > PER

Administrative Communications Contact

OptionalMax use 3
Usage notes
Example
PER-01
366
Contact Function Code
Required
Identifier (ID)
BD
Buyer Name or Department
Optional
String (AN)
Min 1Max 60
FOB
0800
Heading > FOB

Destination Shipping

RequiredMax use >1
Usage notes
Example
Variants (all may be used)
FOBOn Vessel
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
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-02
309
Location Qualifier
Required
Identifier (ID)
DE
Destination (Shipping)
FOB-03
352
Description
Required
String (AN)
Min 1Max 80
FOB-06
309
Location Qualifier
Required
Identifier (ID)
OR
Origin (Shipping Point)
FOB-07
352
Description
Required
String (AN)
Min 1Max 80
FOB-09
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
FOB
0800
Heading > FOB

On Vessel

RequiredMax use >1
Usage notes
Example
Variants (all may be used)
FOBDestination Shipping
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
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-02
309
Location Qualifier
Required
Identifier (ID)
Usage notes
OV
On Vessel (Free On Board [FOB] point)
FOB-03
352
Description
Optional
String (AN)
Min 1Max 80
FOB-06
309
Location Qualifier
Optional
Identifier (ID)
CA
Country of Origin
FOB-07
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
FOB-09
352
Description
Required
String (AN)
Min 1Max 80
ITD
1300
Heading > ITD

Terms of Sale/Deferred Terms of Sale

RequiredMax use >1
Usage notes
Example
ITD-01
336
Terms Type Code
Required
Identifier (ID)
01
Basic
ITD-02
333
Terms Basis Date Code
Required
Identifier (ID)
3
Invoice Date
ITD-03
338
Terms Discount Percent
Optional
Decimal number (R)
Min 1Max 6
Usage notes
ITD-05
351
Terms Discount Days Due
Optional
Numeric (N0)
Min 1Max 3
Usage notes
ITD-07
386
Terms Net Days
Required
Numeric (N0)
Min 1Max 3
ITD-12
352
Description
Required
String (AN)
Min 1Max 80
DTM
1500
Heading > DTM

Date/Time Reference

RequiredMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
001
Cancel After
002
Delivery Week
037
Ship Not Before
073
Must Route By
Required
Date (DT)
CCYYMMDD format
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-01
128
Reference Identification Qualifier
Required
Identifier (ID)
L1
Letters or Notes
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
MTX
3000
Heading > N9 Loop > MTX

Text

OptionalMax use >1
Usage notes
Example
MTX-02
1551
Textual Data
Required
String (AN)
Min 1Max 4096
Usage notes
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
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BT
Bill-to-Party
RI
Remit To
SF
Ship From
ST
Ship To
VN
Vendor
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
3300
Heading > N1 Loop > N3

Party Location

RequiredMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
3400
Heading > N1 Loop > N4

Geographic Location

RequiredMax use >1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
PER
3600
Heading > N1 Loop > PER

Administrative Communications Contact

RequiredMax use >1
Usage notes
Example
PER-01
366
Contact Function Code
Required
Identifier (ID)
IC
Information Contact
Required
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Required
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Required
String (AN)
Min 1Max 256
PER-05
365
Communication Number Qualifier
Required
Identifier (ID)
FX
Fax
PER-06
364
Communication Number
Required
String (AN)
Min 1Max 256
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
PO1-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20
PO1-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
PO1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
AS
Assortment
EA
Each
PO1-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15
Usage notes
PO1-06
235
Product/Service ID Qualifier
Required
Identifier (ID)
SK
Stock Keeping Unit (SKU)
PO1-07
234
Product/Service ID
Required
String (AN)
Min 1Max 48
PO1-08
235
Product/Service ID Qualifier
Required
Identifier (ID)
MG
Manufacturer's Part Number
PO1-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48
PO1-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UP
UCC - 12
PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
SZ
Vendor Alphanumeric Size Code
PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BL
Brand/Label
PO1-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CL
Color
PO1-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
KM
Shelf-Life Code
PO1-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-20
235
Product/Service ID Qualifier
Optional
Identifier (ID)
SC
Seller's Date Code
PO1-21
234
Product/Service ID
Optional
String (AN)
Usage notes
C
Closed Date Code
O
Open Date Code
PO1-22
235
Product/Service ID Qualifier
Optional
Identifier (ID)
JP
Package Type Code
PO1-23
234
Product/Service ID
Optional
String (AN)
F
Flat
G
Garments on hangers
H
Hang
N
None
PO1-24
235
Product/Service ID Qualifier
Optional
Identifier (ID)
ZZ
Electronic Article Surveillance Tag
PO1-25
234
Product/Service ID
Optional
String (AN)
Y
Required when requested
PO3
0300
Detail > PO1 Loop > PO3

Additional Item Detail

RequiredMax use 25
Usage notes
Example
PO3-01
371
Change Reason Code
Required
Identifier (ID)
QO
Quantity Ordered
PO3-06
380
Quantity
Required
Decimal number (R)
Min 1Max 15
PO3-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CT
Carton
PID Loop
RequiredMax >1
PID
0500
Detail > PO1 Loop > PID Loop > PID

Product/Item Description

RequiredMax use 1
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-05
352
Description
Required
String (AN)
Min 1Max 80
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
Required
Numeric (N0)
Min 1Max 6
PO4-08
385
Gross Volume per Pack
Optional
Decimal number (R)
Min 1Max 9
Usage notes
PO4-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
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
SDQ-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
AS
Assortment
EA
Each
SDQ-02
66
Identification Code Qualifier
Required
Identifier (ID)
92
Assigned by Buyer or Buyer's Agent
SDQ-03
67
Identification Code
Required
String (AN)
Min 2Max 80
SDQ-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15
SDQ-05
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-06
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-07
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-08
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-09
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-11
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-12
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-13
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-14
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-15
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-16
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-17
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-18
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-19
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-20
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SDQ-21
67
Identification Code
Optional
String (AN)
Min 2Max 80
SDQ-22
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
MTX
2890
Detail > PO1 Loop > MTX

Text

OptionalMax use >1
Usage notes
Example
MTX-02
1551
Textual Data
Required
String (AN)
Min 1Max 4096
Usage notes
PO1 Loop end
Detail end

Summary

CTT Loop
RequiredMax >1
CTT
0100
Summary > CTT Loop > CTT

Transaction Totals

RequiredMax use 1
Usage notes
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
AMT
0200
Summary > CTT Loop > AMT

Monetary Amount Information

RequiredMax use 1
Usage notes
Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)
TT
Total Transaction Amount
AMT-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
CTT Loop end
SE
0300
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
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~

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.