Big Lots
/
Purchase Order
  • Specification
  • EDI Inspector
Import guide into your account
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

This X12 Transaction Set contains the format and establishes the data contents of the Purchase Order Transaction Set (850) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to the placement of purchase orders for goods and services. This transaction set should not be used to convey purchase order changes or purchase order acknowledgment information.

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

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code identifying the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code identifying the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

Code specifying the version number of the interchange control segments

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

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code indicating sender's request for an interchange acknowledgment

0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code indicating whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

PO
Purchase Order (850)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission; codes agreed to by trading partners

GS-04
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

GS-05
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

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

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
850
Purchase Order
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BEG
0200
Heading > BEG

Beginning Segment for Purchase Order

RequiredMax use 1

To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates

Usage notes

EXAMPLE: BEG\00\SA\0000221631\4\19990113~

Example
BEG-01
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

00
Original
05
Replace
BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)

Code specifying the type of Purchase Order

SA
Stand-alone Order
BEG-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

Biglots - assigned Purchase Order number (numeric only, no additional characters)

BEG-04
328
Release Number
Required
String (AN)
Min 1Max 30

Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction

BEG-05
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

  • BEG05 is the date assigned by the purchaser to purchase order.
REF
0500
Heading > REF

Reference Information

RequiredMax use >1

To specify identifying information

Usage notes

EXAMPLE:
REF\LU\04152\S~
REF\IA\1234567890~
REF\NB\C123456~
REF\PK\Y~
REF\ZZ\Y~
REF\FJ\125~

Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

FJ
Total Units
IA
Internal Vendor Number

Number assigned by BLI

LU
Location Number

maximum of 5 digits

NB
Letter of Credit Number
PK
Packing List Number
ZZ
Pre-Ticket
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

REF-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

When ‘LU’ - Location Number:
‘S’ – Store
‘W’ - Warehouse

PER
0600
Heading > PER

Administrative Communications Contact

OptionalMax use 3

To identify a person or office to whom administrative communications should be directed

Usage notes

EXAMPLE: PER\BD\JILL JONES~

Example
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

BD
Buyer Name or Department
PER-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

FOB
0800
Heading > FOB

Destination Shipping

RequiredMax use >1

To specify transportation instructions relating to shipment

Usage notes

EXAMPLE: FOB\PP\DE\Port \\OR\Ship Point\D~

Example
Variants (all may be used)
FOBOn Vessel
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)

Code identifying payment terms for transportation charges

  • FOB01 indicates which party will pay the carrier.
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)

Code identifying type of location

  • FOB02 is the code specifying transportation responsibility location.
DE
Destination (Shipping)
FOB-03
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

FOB-06
309
Location Qualifier
Required
Identifier (ID)

Code identifying type of location

  • FOB06 is the code specifying the title passage location.
OR
Origin (Shipping Point)
FOB-07
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

FOB-09
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

FOB Point - Indicates place where legal ownership of merchandise is transferred:
‘O’ – Origin - at the vendor's warehouse
‘D’ – Destination - at our warehouse or store

FOB
0800
Heading > FOB

On Vessel

RequiredMax use >1

To specify transportation instructions relating to shipment

Usage notes

EXAMPLE: FOB\PP\OV\FOB Cntry\\CA\Origin\Prepaid By Seller~

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)

Code identifying payment terms for transportation charges

  • FOB01 indicates which party will pay the carrier.
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)

Code identifying type of location

  • FOB02 is the code specifying transportation responsibility location.
Usage notes

Free On Board (FOB) point - IMPORTS

OV
On Vessel (Free On Board [FOB] point)
FOB-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

FOB-06
309
Location Qualifier
Optional
Identifier (ID)

Code identifying type of location

  • FOB06 is the code specifying the title passage location.
CA
Country of Origin
FOB-07
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

‘US’ – Will indicate a Domestic PO

FOB-09
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

ITD
1300
Heading > ITD

Terms of Sale/Deferred Terms of Sale

RequiredMax use >1

To specify terms of sale

Usage notes

EXAMPLE: ITD\01\3\2\10\30\\\2%-10/NET 30~

Example
ITD-01
336
Terms Type Code
Required
Identifier (ID)

Code identifying type of payment terms

  • If the code in ITD01 is "04", then ITD07 or ITD09 is required and either ITD10 or ITD11 is required; if the code in ITD01 is "05", then ITD06 or ITD07 is required.
01
Basic
ITD-02
333
Terms Basis Date Code
Required
Identifier (ID)

Code identifying the beginning of the terms period

3
Invoice Date
ITD-03
338
Terms Discount Percent
Optional
Decimal number (R)
Min 1Max 6

Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date

Usage notes

Note for Net Terms this element will default

ITD-05
351
Terms Discount Days Due
Optional
Numeric (N0)
Min 1Max 3

Number of days in the terms discount period by which payment is due if terms discount is earned

Usage notes

Note for Net Terms this element will default

ITD-07
386
Terms Net Days
Required
Numeric (N0)
Min 1Max 3

Number of days until total invoice amount is due (discount not applicable)

ITD-12
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

DTM
1500
Heading > DTM

Date/Time Reference

RequiredMax use 10

To specify pertinent dates and times

Usage notes

EXAMPLE:
DTM\073\20120101~
DTM\037\20120113~
DTM\002\20120123~
DTM\001\20120213~

Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

001
Cancel After
002
Delivery Week
037
Ship Not Before
073
Must Route By
DTM-02
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

N9 Loop
OptionalMax >1
N9
2950
Heading > N9 Loop > N9

Extended Reference Information

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

EXAMPLE: N9\L1\Header Comments~

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)

Code qualifying the Reference Identification

L1
Letters or Notes
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45

Free-form descriptive text

MTX
3000
Heading > N9 Loop > MTX

Text

OptionalMax use >1

To specify textual data

Usage notes

EXAMPLE: MTX\Header Comments~

This segment may occur multiple times for a single N9 loop.

Example
MTX-02
1551
Textual Data
Required
String (AN)
Min 1Max 4096

To transmit large volumes of message text

Usage notes

Currently 80 characters but it is subject to change

N9 Loop end
N1 Loop
RequiredMax >1
N1
3100
Heading > N1 Loop > N1

Party Identification

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes

Required :
‘ST’ - Ship To
‘VN’ – Vendor
‘BT’ - Bill To
Optional:
‘SF’ - Ship From
‘RI’ - Remit To

EXAMPLE:
N1\ST\STORE 4150\92\4150~
N1\BT\BIG LOTS STORES INC~
N1\SF\ABC CO~
N1\VN\ABC CO~
N1\RI\ABC CO~

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)

Code identifying an organizational entity, a physical location, property or an individual

BT
Bill-to-Party

N1-03 and N1-04 are optional

RI
Remit To

N1-03 and N1-04 are optional

SF
Ship From

N1-03 and N1-04 are optional

ST
Ship To
VN
Vendor

N1-03 and N1-04 are optional

N1-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
N3
3300
Heading > N1 Loop > N3

Party Location

RequiredMax use 2

To specify the location of the named party

Usage notes

EXAMPLE: N3\1417 N BELT HWY~

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
3400
Heading > N1 Loop > N4

Geographic Location

RequiredMax use >1

To specify the geographic place of the named party

Usage notes

EXAMPLE: N4\SAINT JOSEPH\MO\645062415~

Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

PER
3600
Heading > N1 Loop > PER

Administrative Communications Contact

RequiredMax use >1

To identify a person or office to whom administrative communications should be directed

Usage notes

EXAMPLE: PER\IC\JILL JONES\TE\6142786800\FX\6142786676~

Example
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

IC
Information Contact
PER-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

PER-03
365
Communication Number Qualifier
Required
Identifier (ID)

Code identifying the type of communication number

TE
Telephone
PER-04
364
Communication Number
Required
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

PER-05
365
Communication Number Qualifier
Required
Identifier (ID)

Code identifying the type of communication number

FX
Fax
PER-06
364
Communication Number
Required
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

N1 Loop end
Heading end

Detail

PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1

To specify basic and most frequently used line item data

  • PO102 is required.
Usage notes

EXAMPLE: PO1\1\1920\EA\1.8500\SK\110121927\MG\005100002797\UP\051000027979\SZ\48OZ\BL\PREGO\\KM\20101110\SC\O\JP\N\ZZ\Y~

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

Alphanumeric characters assigned for differentiation within a transaction set

  • PO101 is the line item identification.
PO1-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • PO102 is quantity ordered.
PO1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

AS
Assortment
EA
Each
PO1-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

Usage notes

(2) Decimals

PO1-06
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • PO106 through PO125 provide for ten different product/service IDs per each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
SK
Stock Keeping Unit (SKU)

10 Digits Max

PO1-07
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-08
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

MG
Manufacturer's Part Number

30 Characters

PO1-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

UP
UCC - 12
  • Format 1-5-5-1
PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

SZ
Vendor Alphanumeric Size Code
PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

BL
Brand/Label
PO1-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

CL
Color
PO1-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

KM
Shelf-Life Code
PO1-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Expiration Date Required for Consumables

PO1-20
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

SC
Seller's Date Code
PO1-21
234
Product/Service ID
Optional
String (AN)

Identifying number for a product or service

Usage notes

Seller’s Open/Close Date Code Required for Consumables

C
Closed Date Code
O
Open Date Code
PO1-22
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

JP
Package Type Code
PO1-23
234
Product/Service ID
Optional
String (AN)

Identifying number for a product or service

F
Flat
G
Garments on hangers
H
Hang
N
None
PO1-24
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ZZ
Electronic Article Surveillance Tag
PO1-25
234
Product/Service ID
Optional
String (AN)

Identifying number for a product or service

Y
Required when requested
PO3
0300
Detail > PO1 Loop > PO3

Additional Item Detail

RequiredMax use 25

To specify additional item-related data involving variations in normal price/quantity structure

Usage notes

EXAMPLE: P03\QO\\\1\CT~

Example
PO3-01
371
Change Reason Code
Required
Identifier (ID)

Code specifying the reason for price or quantity change

QO
Quantity Ordered
PO3-06
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

PO3-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • PO307 defines the unit of measure for PO306.
CT
Carton
PID Loop
RequiredMax >1
PID
0500
Detail > PO1 Loop > PID Loop > PID

Product/Item Description

RequiredMax use 1

To describe a product or process in coded or free-form format

Usage notes

EXAMPLE: PID\F\\ Extension Table ~

Example
PID-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form
PID-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

PID Loop end
PO4
0900
Detail > PO1 Loop > PO4

Item Physical Details

RequiredMax use >1

To specify the physical qualities, packaging, weights, and dimensions relating to the item

Usage notes

EXAMPLE: PO4\1\\\\1\CF\\\1~

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
PO4-01
356
Pack
Required
Numeric (N0)
Min 1Max 6

The number of inner containers, or number of eaches if there are no inner containers, per outer container

PO4-08
385
Gross Volume per Pack
Optional
Decimal number (R)
Min 1Max 9

Numeric value of gross volume per pack

Usage notes

(2) Decimals

PO4-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6

The number of eaches per inner container

SDQ
1900
Detail > PO1 Loop > SDQ

Destination Quantity

OptionalMax use 500

To specify destination and quantity detail

Usage notes

EXAMPLE: SDQ\EA\92\0001\10\0002\20~

Segment will be used for palletized store quantity.

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)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

AS
Assortment
EA
Each
SDQ-02
66
Identification Code Qualifier
Required
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

  • SDQ02 is used only if different than previously defined in the transaction set.
92
Assigned by Buyer or Buyer's Agent
SDQ-03
67
Identification Code
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

  • SDQ03 is the store number.
SDQ-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-05
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-06
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-07
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-08
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-09
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-11
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-12
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-13
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-14
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-15
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-16
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-17
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-18
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-19
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-20
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-21
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-22
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

MTX
2890
Detail > PO1 Loop > MTX

Text

OptionalMax use >1

To specify textual data

Usage notes

EXAMPLE: MTX\Detail Comments~

Example
MTX-02
1551
Textual Data
Required
String (AN)
Min 1Max 4096

To transmit large volumes of message text

Usage notes

Currently 80 characters but it is subject to change.

PO1 Loop end
Detail end

Summary

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

Transaction Totals

RequiredMax use 1

To transmit a hash total for a specific element in the transaction set

  • The number of line items (CTT01) is the accumulation of the number of PO1 segments. If used, hash total (CTT02) is the sum of the value of quantities ordered (PO102) for each PO1 segment.
Usage notes

EXAMPLE: CTT\2~

Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6

Total number of line items in the transaction set

AMT
0200
Summary > CTT Loop > AMT

Monetary Amount Information

RequiredMax use 1

To indicate the total monetary amount

  • If AMT is used in the summary area, then AMT01 will = TT and AMT02 will indicate total transaction amount as calculated by the sender.
Usage notes

EXAMPLE: AMT\TT\287.200~

Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)

Code to qualify amount

TT
Total Transaction Amount
AMT-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15

Monetary amount

CTT Loop end
SE
0300
Summary > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

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.