X12 Release 5010
Delimiters: ~ Segment * Element > Component
Certified May 3, 2024
Walmart

X12 850 Purchase Order

This Draft Standard for Trial Use 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.

ISA
Interchange Control Header
Required
Max Use 1
To start and identify an interchange of zero or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Required
ID
Min 2 Max 2
Code identifying the type of information in the Authorization Information
ISA02
I02
Authorization Information
Required
alphanumeric (AN)
Min 10 Max 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)
ISA03
I03
Security Information Qualifier
Required
ID
Min 2 Max 2
Code identifying the type of information in the Security Information
ISA04
I04
Security Information
Required
alphanumeric (AN)
Min 10 Max 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)
ISA05
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
ISA06
I06
Interchange Sender ID
Required
alphanumeric (AN)
Min 15 Max 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
ISA07
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
ISA08
I07
Interchange Receiver ID
Required
alphanumeric (AN)
Min 15 Max 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
ISA09
I08
Interchange Date
Required
date (DT)
Min 6 Max 6
Date of the interchange
ISA10
I09
Interchange Time
Required
time (TM)
Min 4 Max 4
Time of the interchange
ISA11
I65
Repetition Separator
Required
undefined ()
Min 1 Max 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
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
Code specifying the version number of the interchange control segments
ISA13
I12
Interchange Control Number
Required
numeric (N0)
Min 9 Max 9
A control number assigned by the interchange sender
ISA14
I13
Acknowledgment Requested
Required
ID
Min 1 Max 1
Code indicating sender's request for an interchange acknowledgment
ISA15
I14
Interchange Usage Indicator
Required
ID
Min 1 Max 1
Code indicating whether data enclosed by this interchange envelope is test, production or information
ISA16
I15
Component Element Separator
Required
undefined ()
Min 1 Max 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
GS
Functional Group Header
Required
Max Use 1
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Required
ID
Min 2 Max 2
Code identifying a group of application related transaction sets
GS02
142
Application Sender's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission; codes agreed to by trading partners
GS03
124
Application Receiver's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission; codes agreed to by trading partners
GS04
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
GS05
337
Time
Required
time (TM)
Min 4 Max 8
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)
GS06
28
Group Control Number
Required
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
GS07
455
Responsible Agency Code
Required
ID
Min 1 Max 2
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
GS08
480
Version / Release / Industry Identifier Code
Required
alphanumeric (AN)
Min 1 Max 12
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
ST
Transaction Set Header
Required
Max Use 1
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
850
Purchase Order
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
BEG
Beginning Segment for Purchase Order
Required
Max Use 1
To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates
BEG01
353
Transaction Set Purpose Code
Required
ID
Min 2 Max 2
Code identifying purpose of transaction set
00
Original
22
Information Copy
38
No Financial Value
BEG02
92
Purchase Order Type Code
Required
ID
Min 2 Max 2
Code specifying the type of Purchase Order
BE
Blanket Order/Estimated Quantities (Not firm Commitment)
RL
Release or Delivery Order
SA
Stand-alone Order
BEG03
324
Purchase Order Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser
BEG04
328
Release Number
Optional
alphanumeric (AN)
Min 1 Max 30
Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction
BEG05
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
CUR
Currency
Optional
Max Use 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Syntax Notes
If CUR08 is present, then and CUR07 is required.
If CUR09 is present, then and CUR07 is required.
If CUR10 is present, then at least one of CUR11 or CUR12 is required.
If CUR11 is present, then and CUR10 is required.
If CUR12 is present, then and CUR10 is required.
If CUR13 is present, then at least one of CUR14 or CUR15 is required.
If CUR14 is present, then and CUR13 is required.
If CUR15 is present, then and CUR13 is required.
If CUR16 is present, then at least one of CUR17 or CUR18 is required.
If CUR17 is present, then and CUR16 is required.
If CUR18 is present, then and CUR16 is required.
If CUR19 is present, then at least one of CUR20 or CUR21 is required.
If CUR20 is present, then and CUR19 is required.
If CUR21 is present, then and CUR19 is required.
CUR01
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
BY
Buying Party (Purchaser)
CUR02
100
Currency Code
Required
ID
Min 3 Max 3
Code (Standard ISO) for country in whose currency the charges are specified
CAD
Canadian Dollar
MXN
Mexico Peso
USD
United States Dollar
REF
Reference Information
Optional
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
19
Division Identifier
AN
Associated Purchase Orders
AO
Appointment Number
DP
Department Number
IA
Internal Vendor Number
MR
Merchandise Type Code
PD
Promotion/Deal Number
REF02
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
FOB
F.O.B. Related Instructions
Optional
To specify transportation instructions relating to shipment
Syntax Notes
If FOB03 is present, then and FOB02 is required.
If FOB04 is present, then and FOB05 is required.
If FOB07 is present, then and FOB06 is required.
If FOB08 is present, then and FOB09 is required.
FOB01
146
Shipment Method of Payment
Required
ID
Min 2 Max 2
Code identifying payment terms for transportation charges
CC
Collect
PP
Prepaid (by Seller)
FOB02
309
Location Qualifier
Optional
ID
Min 1 Max 2
Code identifying type of location
DE
Destination (Shipping)
OR
Origin (Shipping Point)
FOB03
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content

SAC loop

Min Items
Max Loop 25
SAC
Service, Promotion, Allowance, or Charge Information
Optional
Max Use 1
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Syntax Notes
At least one of SAC02 or SAC03 is required.
If any of SAC03 or SAC04 are present, then all are required.
If any of SAC06 or SAC07 are present, then all are required.
If any of SAC09 or SAC10 are present, then all are required.
If SAC11 is present, then and SAC10 is required.
If SAC14 is present, then and SAC13 is required.
If SAC16 is present, then and SAC15 is required.
SAC01
248
Allowance or Charge Indicator
Required
ID
Min 1 Max 1
Code which indicates an allowance or charge for the service specified
A
Allowance
C
Charge
SAC02
1300
Service, Promotion, Allowance, or Charge Code
Optional
ID
Min 4 Max 4
Code identifying the service, promotion, allowance, or charge
E740
New Store Allowance
F800
Promotional Allowance
SAC05
610
Amount
Required
numeric2 (N2)
Min 1 Max 15
Monetary amount
SAC06
378
Allowance/Charge Percent Qualifier
Optional
ID
Min 1 Max 1
Code indicating on what basis allowance or charge percent is calculated
6
Base Price Amount
SAC07
332
Percent, Decimal Format
Optional
decimal (R)
Min 1 Max 6
Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)
SAC08
118
Rate
Optional
decimal (R)
Min 1 Max 9
Rate expressed in the standard monetary denomination for the currency specified
SAC09
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
EA
Each
SAC10
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SAC12
331
Allowance or Charge Method of Handling Code
Optional
ID
Min 2 Max 2
Code indicating method of handling for an allowance or charge
01
Bill Back
02
Off Invoice
03
Vendor Check to Customer
04
Credit Customer Account
ITD
Terms of Sale/Deferred Terms of Sale
Optional
To specify terms of sale
Syntax Notes
If ITD03 is present, then at least one of ITD04, ITD05 or ITD13 is required.
If ITD08 is present, then at least one of ITD04, ITD05 or ITD13 is required.
If ITD09 is present, then at least one of ITD10 or ITD11 is required.
ITD01
336
Terms Type Code
Optional
ID
Min 2 Max 2
Code identifying type of payment terms
02
End of Month (EOM)
05
Discount Not Applicable
08
Basic Discount Offered
ITD02
333
Terms Basis Date Code
Optional
ID
Min 1 Max 2
Code identifying the beginning of the terms period
3
Invoice Date
7
Effective Date
15
Receipt of Goods
ITD03
338
Terms Discount Percent
Optional
decimal (R)
Min 1 Max 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
ITD05
351
Terms Discount Days Due
Optional
numeric (N0)
Min 1 Max 3
Number of days in the terms discount period by which payment is due if terms discount is earned
ITD07
386
Terms Net Days
Optional
numeric (N0)
Min 1 Max 3
Number of days until total invoice amount is due (discount not applicable)
ITD08
362
Terms Discount Amount
Optional
numeric2 (N2)
Min 1 Max 10
Total amount of terms discount
DTM
Date/Time Reference
Optional
Max Use 10
To specify pertinent dates and times
Syntax Notes
At least one of DTM02, DTM03 or DTM05 is required.
If DTM04 is present, then and DTM03 is required.
If any of DTM05 or DTM06 are present, then all are required.
DTM01
374
Date/Time Qualifier
Required
ID
Min 3 Max 3
Code specifying type of date or time, or both date and time
001
Cancel After
002
Delivery Requested
007
Effective
010
Requested Ship
037
Ship Not Before
038
Ship No Later
063
Do Not Deliver After
704
Delivery Appointment Date and Time
DTM02
373
Date
Optional
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
DTM03
337
Time
Optional
time (TM)
Min 4 Max 8
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)
PID
Product/Item Description
Optional
Max Use 200
To describe a product or process in coded or free-form format
Syntax Notes
If PID04 is present, then and PID03 is required.
At least one of PID04 or PID05 is required.
If PID07 is present, then and PID03 is required.
If PID08 is present, then and PID04 is required.
If PID09 is present, then and PID05 is required.
PID01
349
Item Description Type
Required
ID
Min 1 Max 1
Code indicating the format of a description
S
Structured (From Industry Code List)
PID02
750
Product/Process Characteristic Code
Optional
ID
Min 2 Max 3
Code identifying the general class of a product or process characteristic
08
Product
PID03
559
Agency Qualifier Code
Required
ID
Min 2 Max 2
Code identifying the agency assigning the code values
VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
PID04
751
Product Description Code
Required
id (AN)
Min 2 Max 2
A code from an industry code list which provides specific data about a product characteristic
FL
Compliant with Fair Labor Standards Act
TD5
Carrier Details (Routing Sequence/Transit Time)
Optional
To specify the carrier and sequence of routing and provide transit time information
Syntax Notes
At least one of TD502, TD504, TD505, TD506 or TD512 is required.
If TD502 is present, then and TD503 is required.
If TD507 is present, then and TD508 is required.
If TD510 is present, then and TD511 is required.
If TD513 is present, then and TD512 is required.
If TD514 is present, then and TD513 is required.
If TD515 is present, then and TD512 is required.
TD501
133
Routing Sequence Code
Optional
ID
Min 1 Max 2
Code describing the relationship of a carrier to a specific shipment movement
O
Origin Carrier (Air, Motor, or Ocean)
TD504
91
Transportation Method/Type Code
Optional
ID
Min 1 Max 2
Code specifying the method or type of transportation for the shipment
H
Customer Pickup
K
Backhaul
M
Motor (Common Carrier)
TD505
387
Routing
Optional
alphanumeric (AN)
Min 1 Max 35
Free-form description of the routing or requested routing for shipment, or the originating carrier's identity

N9 loop

Min Items
Max Loop 1000
N9
Extended Reference Information
Required
Max Use 1
To transmit identifying information as specified by the Reference Identification Qualifier
Syntax Notes
At least one of N902 or N903 is required.
If N906 is present, then and N905 is required.
N901
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
L1
Letters or Notes
N902
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
MTX
Text
Optional
To specify textual data
Syntax Notes
If MTX01 is present, then and MTX02 is required.
If MTX03 is present, then and MTX02 is required.
If MTX05 is present, then and MTX04 is required.
MTX02
1551
Textual Data
Required
alphanumeric (AN)
Min 1 Max 4096
To transmit large volumes of message text

N1 loop

Min Items
Max Loop 200
N1
Party Identification
Required
Max Use 1
To identify a party by type of organization, name, and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
BT
Bill-to-Party
BY
Buying Party (Purchaser)
FR
Message From
SN
Store
ST
Ship To
SU
Supplier/Manufacturer
N102
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
N103
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
UL
Global Location Number (GLN)
N104
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
N3
Party Location
Optional
Max Use 2
To specify the location of the named party
N301
166
Address Information
Required
alphanumeric (AN)
Min 1 Max 55
Address information
N302
166
Address Information
Optional
alphanumeric (AN)
Min 1 Max 55
Address information
N4
Geographic Location
Optional
To specify the geographic place of the named party
Syntax Notes
oneOrNone
If N406 is present, then and N405 is required.
If N407 is present, then and N404 is required.
N401
19
City Name
Optional
alphanumeric (AN)
Min 2 Max 30
Free-form text for city name
N402
156
State or Province Code
Optional
ID
Min 2 Max 2
Code (Standard State/Province) as defined by appropriate government agency
N403
116
Postal Code
Optional
ID
Min 3 Max 15
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
N404
26
Country Code
Optional
ID
Min 2 Max 3
Code identifying the country

PO1 loop

Required
Min Items
Max Loop 100000
PO1
Baseline Item Data
Required
Max Use 1
To specify basic and most frequently used line item data
Syntax Notes
If PO103 is present, then and PO102 is required.
If PO105 is present, then and PO104 is required.
If any of PO106 or PO107 are present, then all are required.
If any of PO108 or PO109 are present, then all are required.
If any of PO110 or PO111 are present, then all are required.
If any of PO112 or PO113 are present, then all are required.
If any of PO114 or PO115 are present, then all are required.
If any of PO116 or PO117 are present, then all are required.
If any of PO118 or PO119 are present, then all are required.
If any of PO120 or PO121 are present, then all are required.
If any of PO122 or PO123 are present, then all are required.
If any of PO124 or PO125 are present, then all are required.
PO101
350
Assigned Identification
Optional
alphanumeric (AN)
Min 1 Max 20
Alphanumeric characters assigned for differentiation within a transaction set
PO102
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
PO103
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
EA
Each
PO104
212
Unit Price
Optional
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
PO105
639
Basis of Unit Price Code
Optional
ID
Min 2 Max 2
Code identifying the type of unit price for an item
LE
Catalog Price per Each
NC
No Charge
PO106
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO107
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO108
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO109
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO110
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO111
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO112
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO113
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO114
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO115
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO116
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO117
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO118
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO119
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO120
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO121
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO122
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO123
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
PO124
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
PO125
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
CTP loop
Optional
CTP
Pricing Information
Required
Max Use 1
To specify pricing information
Syntax Notes
If any of CTP04 or CTP05 are present, then all are required.
If CTP06 is present, then and CTP07 is required.
If CTP09 is present, then and CTP02 is required.
If CTP10 is present, then and CTP02 is required.
If CTP11 is present, then and CTP03 is required.
CTP02
236
Price Identifier Code
Required
ID
Min 3 Max 3
Code identifying pricing specification
RES
Resale
CTP03
212
Unit Price
Required
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
PO4
Item Physical Details
Optional
To specify the physical qualities, packaging, weights, and dimensions relating to the item
Syntax Notes
If any of PO402 or PO403 are present, then all are required.
If PO405 is present, then and PO406 is required.
If any of PO406 or PO407 are present, then all are required.
If any of PO408 or PO409 are present, then all are required.
If PO410 is present, then and PO413 is required.
If PO411 is present, then and PO413 is required.
If PO412 is present, then and PO413 is required.
If PO413 is present, then at least one of PO410, PO411 or PO412 is required.
If PO417 is present, then and PO416 is required.
If PO418 is present, then and PO404 is required.
If any of PO401 or PO414 are present, then all are required.
PO401
356
Pack
Optional
numeric (N0)
Min 1 Max 6
The number of inner containers, or number of eaches if there are no inner containers, per outer container
PO414
810
Inner Pack
Optional
numeric (N0)
Min 1 Max 6
The number of eaches per inner container
SAC loop
Optional
Max Loop 25
SAC
Service, Promotion, Allowance, or Charge Information
Optional
Max Use 1
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Syntax Notes
At least one of SAC02 or SAC03 is required.
If any of SAC03 or SAC04 are present, then all are required.
If any of SAC06 or SAC07 are present, then all are required.
If any of SAC09 or SAC10 are present, then all are required.
If SAC11 is present, then and SAC10 is required.
If SAC14 is present, then and SAC13 is required.
If SAC16 is present, then and SAC15 is required.
SAC01
248
Allowance or Charge Indicator
Optional
ID
Min 1 Max 1
Code which indicates an allowance or charge for the service specified
A
Allowance
C
Charge
SAC02
1300
Service, Promotion, Allowance, or Charge Code
Optional
ID
Min 4 Max 4
Code identifying the service, promotion, allowance, or charge
E740
New Store Allowance
F800
Promotional Allowance
SAC05
610
Amount
Optional
numeric2 (N2)
Min 1 Max 15
Monetary amount
SAC06
378
Allowance/Charge Percent Qualifier
Optional
ID
Min 1 Max 1
Code indicating on what basis allowance or charge percent is calculated
6
Base Price Amount
SAC07
332
Percent, Decimal Format
Optional
decimal (R)
Min 1 Max 6
Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)
SAC08
118
Rate
Optional
decimal (R)
Min 1 Max 9
Rate expressed in the standard monetary denomination for the currency specified
SAC09
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
EA
Each
SAC10
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SAC12
331
Allowance or Charge Method of Handling Code
Optional
ID
Min 2 Max 2
Code indicating method of handling for an allowance or charge
01
Bill Back
02
Off Invoice
03
Vendor Check to Customer
04
Credit Customer Account
CTP
Pricing Information
Required
Max Use 1
To specify pricing information
Syntax Notes
If any of CTP04 or CTP05 are present, then all are required.
If CTP06 is present, then and CTP07 is required.
If CTP09 is present, then and CTP02 is required.
If CTP10 is present, then and CTP02 is required.
If CTP11 is present, then and CTP03 is required.
CTP02
236
Price Identifier Code
Required
ID
Min 3 Max 3
Code identifying pricing specification
RES
Resale
CTP03
212
Unit Price
Required
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
SDQ
Destination Quantity
Optional
Max Use 500
To specify destination and quantity detail
Syntax Notes
If any of SDQ05 or SDQ06 are present, then all are required.
If any of SDQ07 or SDQ08 are present, then all are required.
If any of SDQ09 or SDQ10 are present, then all are required.
If any of SDQ11 or SDQ12 are present, then all are required.
If any of SDQ13 or SDQ14 are present, then all are required.
If any of SDQ15 or SDQ16 are present, then all are required.
If any of SDQ17 or SDQ18 are present, then all are required.
If any of SDQ19 or SDQ20 are present, then all are required.
If any of SDQ21 or SDQ22 are present, then all are required.
SDQ01
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
EA
Each
SDQ02
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
UL
Global Location Number (GLN)
SDQ03
67
Identification Code
Required
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ04
380
Quantity
Required
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ05
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ06
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ07
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ08
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ09
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ10
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ11
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ12
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ13
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ14
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ15
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ16
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ17
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ18
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ19
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ20
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
SDQ21
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
SDQ22
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
N9 loop
Optional
Max Loop 1000
N9
Extended Reference Information
Required
Max Use 1
To transmit identifying information as specified by the Reference Identification Qualifier
Syntax Notes
At least one of N902 or N903 is required.
If N906 is present, then and N905 is required.
N901
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
L1
Letters or Notes
ST
Store Number
N902
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
MTX
Text
Optional
To specify textual data
Syntax Notes
If MTX01 is present, then and MTX02 is required.
If MTX03 is present, then and MTX02 is required.
If MTX05 is present, then and MTX04 is required.
MTX02
1551
Textual Data
Optional
alphanumeric (AN)
Min 1 Max 4096
To transmit large volumes of message text
SLN loop
Optional
Max Loop 1000
SLN
Subline Item Detail
Required
Max Use 1
To specify product subline detail item data
Syntax Notes
If any of SLN04 or SLN05 are present, then all are required.
If SLN07 is present, then and SLN06 is required.
If SLN08 is present, then and SLN06 is required.
If any of SLN09 or SLN10 are present, then all are required.
If any of SLN11 or SLN12 are present, then all are required.
If any of SLN13 or SLN14 are present, then all are required.
If any of SLN15 or SLN16 are present, then all are required.
If any of SLN17 or SLN18 are present, then all are required.
If any of SLN19 or SLN20 are present, then all are required.
If any of SLN21 or SLN22 are present, then all are required.
If any of SLN23 or SLN24 are present, then all are required.
If any of SLN25 or SLN26 are present, then all are required.
If any of SLN27 or SLN28 are present, then all are required.
SLN01
350
Assigned Identification
Required
alphanumeric (AN)
Min 1 Max 20
Alphanumeric characters assigned for differentiation within a transaction set
SLN03
662
Relationship Code
Required
ID
Min 1 Max 1
Code indicating the relationship between entities
I
Included
SLN04
380
Quantity
Required
decimal (R)
Min 1 Max 15
Numeric value of quantity
SLN0501
355
Unit or Basis for Measurement Code
Required
ID
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
EA
Each
SLN0502
1018
Exponent
Required
decimal (R)
Min 1 Max 15
Power to which a unit is raised
SLN0503
649
Multiplier
Required
decimal (R)
Min 1 Max 10
Value to be used as a multiplier to obtain a new value
SLN0505
1018
Exponent
Required
decimal (R)
Min 1 Max 15
Power to which a unit is raised
SLN0506
649
Multiplier
Required
decimal (R)
Min 1 Max 10
Value to be used as a multiplier to obtain a new value
SLN0508
1018
Exponent
Required
decimal (R)
Min 1 Max 15
Power to which a unit is raised
SLN0509
649
Multiplier
Required
decimal (R)
Min 1 Max 10
Value to be used as a multiplier to obtain a new value
SLN0511
1018
Exponent
Required
decimal (R)
Min 1 Max 15
Power to which a unit is raised
SLN0512
649
Multiplier
Required
decimal (R)
Min 1 Max 10
Value to be used as a multiplier to obtain a new value
SLN0514
1018
Exponent
Required
decimal (R)
Min 1 Max 15
Power to which a unit is raised
SLN0515
649
Multiplier
Required
decimal (R)
Min 1 Max 10
Value to be used as a multiplier to obtain a new value
SLN09
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN10
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN11
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN12
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN13
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN14
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN15
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN16
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN17
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN18
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN19
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN20
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN21
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN22
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN23
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN24
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN25
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN26
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
SLN27
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number
IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
SLN28
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
MTX
Text
Optional
To specify textual data
Syntax Notes
If MTX01 is present, then and MTX02 is required.
If MTX03 is present, then and MTX02 is required.
If MTX05 is present, then and MTX04 is required.
MTX02
1551
Textual Data
Optional
alphanumeric (AN)
Min 1 Max 4096
To transmit large volumes of message text
CTP
Pricing Information
Required
Max Use 1
To specify pricing information
Syntax Notes
If any of CTP04 or CTP05 are present, then all are required.
If CTP06 is present, then and CTP07 is required.
If CTP09 is present, then and CTP02 is required.
If CTP10 is present, then and CTP02 is required.
If CTP11 is present, then and CTP03 is required.
CTP02
236
Price Identifier Code
Required
ID
Min 3 Max 3
Code identifying pricing specification
RES
Resale
CTP03
212
Unit Price
Required
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
PO4
Item Physical Details
Optional
To specify the physical qualities, packaging, weights, and dimensions relating to the item
Syntax Notes
If any of PO402 or PO403 are present, then all are required.
If PO405 is present, then and PO406 is required.
If any of PO406 or PO407 are present, then all are required.
If any of PO408 or PO409 are present, then all are required.
If PO410 is present, then and PO413 is required.
If PO411 is present, then and PO413 is required.
If PO412 is present, then and PO413 is required.
If PO413 is present, then at least one of PO410, PO411 or PO412 is required.
If PO417 is present, then and PO416 is required.
If PO418 is present, then and PO404 is required.
If any of PO401 or PO414 are present, then all are required.
N9_loop
Optional
Max Loop 1000
SAC_loop
Optional
Max Loop 25
AMT loop
Optional
AMT
Monetary Amount Information
Required
Max Use 1
To indicate the total monetary amount
AMT01
522
Amount Qualifier Code
Required
ID
Min 1 Max 3
Code to qualify amount
1
Line Item Total
AMT02
782
Monetary Amount
Required
decimal (R)
Min 1 Max 18
Monetary amount

CTT loop

Min Items
Max Loop 1
CTT
Transaction Totals
Required
Max Use 1
To transmit a hash total for a specific element in the transaction set
Syntax Notes
If any of CTT03 or CTT04 are present, then all are required.
If any of CTT05 or CTT06 are present, then all are required.
CTT01
354
Number of Line Items
Required
numeric (N0)
Min 1 Max 6
Total number of line items in the transaction set
AMT
Monetary Amount Information
Required
Max Use 1
To indicate the total monetary amount
AMT01
522
Amount Qualifier Code
Required
ID
Min 1 Max 3
Code to qualify amount
GV
Gross Value
AMT02
782
Monetary Amount
Required
decimal (R)
Min 1 Max 18
Monetary amount
SE
Transaction Set Trailer
Required
Max 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)
SE01
96
Number of Included Segments
Required
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments
SE02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Schedule a Demo

Schedule a Demo

BOOK A DEMO