Walmart
/
[5010] Purchase Order
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from Walmart. Contact Walmart for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Walmart logo

X12 850 [5010] 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 samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/walmart-edi/5010-purchase-order/01H2GBA56GCHE05YZEQZKVPGD1
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
CUR
0400
Currency
Max use 1
Optional
REF
0500
Reference Information
Max use 1
Optional
FOB
0800
F.O.B. Related Instructions
Max use 1
Optional
SAC Loop
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
1500
Date/Time Reference
Max use 10
Optional
PID
1900
Product/Item Description
Max use 200
Optional
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
Max use 1
Optional
detail
PO1 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

Required
Date (DT)
CCYYMMDD format

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

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

005010VICS

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

If BEG02 contains code RL, then BEG04 is required. BEG03 contains the purchase order number which is being released against and BEG04 contains the release number.

Examples:
Stand Alone Order: BEG00SA9705910015**20170113
Booking Order: BEG
00BE0001475891*20050202
Release/Allocation Order: BEG
00RL0001475891000156879120170202

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

Code identifying purpose of transaction set

00
Original
22
Information Copy

VICS Note: This code is used to notify anyone other than the seller about this order.

Walmart Note: This qualifier is used to notify anyone other than the seller about this order.

38
No Financial Value

This qualifier is used to identify POs issue for free goods.

BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)

Code specifying the type of Purchase Order

BE
Blanket Order/Estimated Quantities (Not firm Commitment)

This qualifier indicates a 'Booking Order' for manufacturing or production of goods. When sent, the Purchase Order Number (BEG04) will contain a Booking Order number. When it is time to ship one or more Release Orders will be sent referencing the Booking Order.

The Purchase Order Number (BEG03) will contain the Booking Order number, do not invoice using Booking Order number.

RL
Release or Delivery Order

An order for goods and services placed against a preexisting contract or blanket order

VICS Note: This qualifier indicates a 'Release Order' for a prior Booking Order is being sent. When sent, the Purchase Order Number (BEG03) will contain a Booking Order number and the Release Number (BEG04) will contain the Release Order number which is the order number that should be used for invoicing once shipped.

Walmart Note: The Purchase Order Number (BEG03) will contain the Booking Order number and the Release Number (BEG04) will contain the Release Order number, invoices should reference the Release Order number and not the Booking Order number.

SA
Stand-alone Order

The Purchase Order Number (BEG03) will contain the Purchase Order number.

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

Identifying number for Purchase Order assigned by the orderer/purchaser

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

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

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.
CUR
0400
Heading > CUR

Currency

OptionalMax use 1

To specify the currency (dollars, pounds, francs, etc.) used in a transaction

Usage notes

Example: CURBYUSD

Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)

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

BY
Buying Party (Purchaser)

This qualifier indicates that the order is being denominated in the currency of the buying company as specified using the Currency Code (CUR02).

CUR-02
100
Currency Code
Required
Identifier (ID)

Code (Standard ISO) for country in whose currency the charges are specified

CAD
Canadian Dollar
MXN
Mexican Peso
USD
US Dollar
REF
0500
Heading > REF

Reference Information

OptionalMax use >1

To specify identifying information

Usage notes

When REF01 contains code PG, REF02 is used to specify the alphanumeric description of the product group or selling zone required on the shipping label. The maximum length is 18 characters. See UCC6 Application Standard for Shipping Container Codes for specific guidance.

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

Code qualifying the Reference Identification

19
Division Identifier

When sent, the Reference Identification (REF02) will contain the Walmart Division number (e.g. 18 - Sams; 01 - Walmart).

Example: REF1918

AN
Associated Purchase Orders

VICS Note: Ship with purchase order.

Walmart Note: When sent, the Reference Identification (REF02) will contain the truck and vendor pool information. This is sent on Walmart Priority Assembly Distribution (PAD) & 2-Tier purchase orders.

Examples:
REFAN01-003
REFAN01-123456080

AO
Appointment Number

When sent, the Reference Identification (REF02) will contain the Walmart assigned Appointment Number. This is accompanied by the Appointment date provided in the Date/Time Reference (DTM) segment with an Delivery Appointment Date and Time (704) qualifier in the Date/Time Qualifier.

Example: REFAO1076054

DP
Department Number

When sent, the Reference Identification (REF02) will contain a 5-digit Walmart Department Number.

Example: REFDP00026

IA
Internal Vendor Number

When sent, the Reference Identification (REF02) will contain a 9-digit Walmart assigned Supplier Number made up of a 6-digit supplier number, 2-digit department number, and 1-digit contract/sub- sequence number.

Example: REFIA123456260

MR
Merchandise Type Code

When sent, the Reference Identification (REF02) will contain a 4-digit Walmart Order Type.

Example: REFMR0010

PD
Promotion/Deal Number

When sent, the Reference Identification (REF02) will contain a Walmart assigned Promotion/Deal Code.

Example: REFPDINITST

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

FOB
0800
Heading > FOB

F.O.B. Related Instructions

OptionalMax use >1

To specify transportation instructions relating to shipment

Usage notes

Examples:
FOBCCOREAST GREENWICH RI
FOB
PPORMEMPHIS TN

Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) 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
PP
Prepaid (by Seller)
FOB-02
309
Location Qualifier
Optional
Identifier (ID)

Code identifying type of location

  • FOB02 is the code specifying transportation responsibility location.
DE
Destination (Shipping)
OR
Origin (Shipping Point)

When sent, the Description (FOB03) will contain a free-form description of the ship point.

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

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

Usage notes

Free-form name of transportation responsibility location.

SAC Loop
OptionalMax 25
SAC
1200
Heading > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax 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

Usage notes

Examples:
SACAC000*1125006*.5*02
SAC
A*I570
2250006*1*****02

Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent, Decimal Format (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
A
Allowance
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)

Code identifying the service, promotion, allowance, or charge

A260
Advertising Allowance
B000
Central Buy
B320
Competitive Allowance
B720
Cooperative Advertising/Merchandising Allowance (Performance)
B860
Customs Broker Fee
B872
Customs Duty
B880
Customs Entry
C000
Defective Allowance
C220
Development Charge

Network Allowance

C310
Discount
C320
Display Allowance
C510
Dry Ice

Ice Charge

C540
Early Buy Allowance
D140
Forwarding Charge
D170
Free Goods
D240
Freight
D260
Fuel Charge

Gross Receipts Tax

D270
Fuel Surcharge
D500
Handling
D750
Inbound Freight Charges
D800
Inland Transportation
E160
Label Allowance
E280
Late Payment Charge
E720
New Distribution Allowance
E740
New Store Allowance
E750
New Store Discount
E770
New Warehouse
F050
Other (See related description)
F180
Pallet
F330
Pickup and Delivery
F340
Pick/Up
F670
Price and Marketing Allowance
F680
Price Deviation
F800
Promotional Allowance
F910
Quantity Discount
F920
Quantity Surcharge
F970
Rebate
G220
Refrigeration
H000
Special Allowance
H910
Temperature Protection
I070
Tobacco Products Report Charge
I310
Truckload Discount
I390
Unloading
I410
Unsaleable Merchandise Allowance
I530
Volume Discount
I570
Warehouse
SAC-05
610
Amount
Required
Numeric (N2)
Min 1Max 15

Monetary amount

  • SAC05 is the total amount for the service, promotion, allowance, or charge.
  • If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
SAC-06
378
Allowance/Charge Percent Qualifier
Optional
Identifier (ID)

Code indicating on what basis allowance or charge percent is calculated

6
Base Price Amount
SAC-07
332
Percent, Decimal Format
Optional
Decimal number (R)
Min 1Max 6

Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)

Usage notes

The percent is sent with a decimal point only when needed, e.g., 10.5% is sent as ‘‘10.5’’, and 2% is sent as ‘‘2’’.

Optional
Decimal number (R)
Min 1Max 9

Rate expressed in the standard monetary denomination for the currency specified

  • SAC08 is the allowance or charge rate per unit.
SAC-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

CA
Case
CW
Hundred Pounds (CWT)
EA
Each
SAC-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • SAC10 and SAC11 is the quantity basis when the allowance or charge quantity is different from the purchase order or invoice quantity.
  • SAC10 and SAC11 used together indicate a quantity range, which could be a dollar amount, that is applicable to service, promotion, allowance, or charge.
  • In some business applications, it is necessary to advise the trading partner of the actual dollar amount that a particular allowance, charge, or promotion was based on to reduce ambiguity. This amount is commonly referred to as "Dollar Basis Amount". It is represented in the SAC segment in SAC10 using the qualifier "DO" - Dollars in SAC09.
Usage notes

When SAC02 contains code D170, this data element is required and will contain the quantity of free goods. The unit of measure is in SAC09. SAC10 alone is used to indicate a specific quantity which could be a dollar amount, that is applicable to the service, promotion, allowance, or charge.

SAC-12
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)

Code indicating method of handling for an allowance or charge

01
Bill Back

The allowance or charge amount will be adjudicated as a separate item, i.e., a debit/credit memo or a separate invoice. The amount will not be reflected in the invoice total amount.

02
Off Invoice

The allowance or charge amount will be reflected in the total transaction amount, e.g., Total Invoice Amount = Merchandise Price + Charges - Allowances.

03
Vendor Check to Customer

The vendor will issue a check directly to the customer of the retailer, or end consumer, for the allowance or charge amount. The amount is not reflected in the total invoice amount.

04
Credit Customer Account

The retailer’s account will be credited for the amount of the allowance or charge. The amount is not reflected in the total invoice amount.

SAC Loop end
ITD
1300
Heading > ITD

Terms of Sale/Deferred Terms of Sale

OptionalMax use >1

To specify terms of sale

Usage notes

Examples:
Basic Discount Terms: ITD081524055
Net Payable Terms: ITD
05*15*****65

Example
ITD-01
336
Terms Type Code
Optional
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.
02
End of Month (EOM)
05
Discount Not Applicable
08
Basic Discount Offered
ITD-02
333
Terms Basis Date Code
Optional
Identifier (ID)

Code identifying the beginning of the terms period

3
Invoice Date
7
Effective Date

The date is specified in the DTM segment in the header area using code 007 in DTM01.

15
Receipt of Goods
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

The percent is sent with a decimal point only when needed, e.g., 10.5% is sent as ‘‘10.5’’, and 2% is sent as ‘‘2’’.

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

The end of the term period is derived by adding this value to the beginning of the term period, as qualified by ITD02.

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

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

Usage notes

The end of the term period is derived by adding this value to the beginning of the term period, as qualified by ITD02.

ITD-08
362
Terms Discount Amount
Optional
Numeric (N2)
Min 1Max 10

Total amount of terms discount

DTM
1500
Heading > DTM

Date/Time Reference

OptionalMax use 10

To specify pertinent dates and times

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

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

Usage notes

The Requested Ship (010), Ship Not Before (037), Ship No Later (038), and Do Not Deliver After (063) qualifiers in combination set the Walmart "Must Arrive by Date" (MABD).

001
Cancel After

This qualifier is being phased out in favor of "Must Arrive by Date" (MABD).

Example: DTM00120170530

002
Delivery Requested

Only sent on US Grocery orders.

Example: DTM00220170203

007
Effective

For terms.

Only sent when the Terms Basis Date Code (ITD02) contains an Effective (7) qualifier.

010
Requested Ship

This qualifier is being phased out in favor of "Must Arrive By Date" (MABD).

Example: DTM01020170601

037
Ship Not Before

Example: DTM03720170528

038
Ship No Later

Example: DTM03820170530

063
Do Not Deliver After

Example: DTM06320170601

704
Delivery Appointment Date and Time

When sent, the Date (DTM02) and Time (DTM03) will contain the Appointment Date/Time associated with the Appointment Number send in the Reference Information (REF) segment with Appointment Number (AO) qualifier.

Example: DTM70420170528*0900

Optional
Date (DT)
CCYYMMDD format

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

Optional
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)

PID
1900
Heading > PID

Product/Item Description

OptionalMax use 200

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

Usage notes

Used when Walmart needs to indicate an Order is compliance with the "Fair Labor Standards Act" with:

  • Item Description Type (PID01) with Structured (S) qualifier.
  • Product/Process Characteristic Code (PID02) with Product (08) qualifier.
  • Agency Qualifier Code (PID03) with Voluntary Inter-Industry Commerce Standard (VICS) EDI (VI) qualifier.
  • Product Description Code (PID04) with Compliant with Fair Labor Standards Act (FL) qualifier.

Example: PIDS08VIFL

Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
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.
S
Structured (From Industry Code List)
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)

Code identifying the general class of a product or process characteristic

08
Product
PID-03
559
Agency Qualifier Code
Optional
Identifier (ID)

Code identifying the agency assigning the code values

  • Use PID03 to indicate the organization that publishes the code list being referred to.
VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
PID-04
751
Product Description Code
Optional
String (AN)

A code from an industry code list which provides specific data about a product characteristic

  • PID04 should be used for industry-specific product description codes.
FL
Compliant with Fair Labor Standards Act
TD5
2400
Heading > TD5

Carrier Details (Routing Sequence/Transit Time)

OptionalMax use >1

To specify the carrier and sequence of routing and provide transit time information

Usage notes

This segment will not be used for Division 01 remix orders.

Examples:
TD5OSAIA
TD5
O
*CALL 4792736359
TD5
***M

Example
TD5-01
133
Routing Sequence Code
Optional
Identifier (ID)

Code describing the relationship of a carrier to a specific shipment movement

O
Origin Carrier (Air, Motor, or Ocean)
TD5-04
91
Transportation Method/Type Code
Optional
Identifier (ID)

Code specifying the method or type of transportation for the shipment

H
Customer Pickup
K
Backhaul
M
Motor (Common Carrier)
TD5-05
387
Routing
Optional
String (AN)
Min 1Max 35

Free-form description of the routing or requested routing for shipment, or the originating carrier's identity

N9 Loop
OptionalMax 1000
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: N9L1SPECIAL INSTRUCTIONS

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

Code qualifying the Reference Identification

L1
Letters or Notes

When set, Reference Identification (N902) will always be set to 'SPECIAL INSTRUCTIONS'.

N9-02
127
Reference Identification
Required
String (AN)

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

SPECIAL INSTRUCTIONS
Special Instructions
MTX
3000
Heading > N9 Loop > MTX

Text

OptionalMax use >1

To specify textual data

Usage notes

This segment will contain any text clauses for the agreement referenced in the previous N9 segment.

Examples:
MTXNO PRETICKET
MTX
SUPPLIER TO PRINT TICKETS THIS ORDER WILL BE SPLIT

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

To transmit large volumes of message text

N9 Loop end
N1 Loop
OptionalMax 200
N1
3100
Heading > N1 Loop > N1

Party Identification

RequiredMax use 1

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

Usage notes

Examples:
Booking, Allocation or Standard order for DC or Club location: N1BYWAL-MART STORESUL0078742034157
Multiship/Spreadsheet order: N1FRWAL-MART STORES
Supplier Name: N1SUSUPPLIER NAME
New Store Identification: N1SNWAL-MART SUPERCENTER 1062UL0078742010359
Crossdock/DSDC order: N1STWAL-MART DC 6009RREGULARUL0078742028477N1BTWAL-MART WAREHOUSE
#6009UL0078742028477

Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
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

The Ship to (ST) and Bill-To-Party (BT) qualifiers indicate goods are to be shipped to a single Walmart location, typically a distribution center, but merchandise is labeled and packaged for particular store locations as listed in the Destination Quantity (SDQ) segment.
When sent, the Name (N102) will contain a description of the location followed by an Identification Code Qualifier (N103) with a Global Location Code (UL) qualifier and Identification Code containing a unique Walmart Global Location Number GLN which should be used for any corresponding ASNs (not Invoices) that are based on the Order.

BY
Buying Party (Purchaser)

This qualifier indicates goods are to be shipped to a single Walmart location, typically a distribution center or club.
When sent, the Name (N102) will contain a description of the location followed by an Identification Code Qualifier (N103) with a Global Location Code (UL) qualifier and Identification Code containing a unique Walmart Global Location Number GLN which should be used for any corresponding Invoices, ASNs, etc. that are based on the Order. This qualifier will typically also include Party Location (N3) and Geographic Location (N4) segments with the physical address of the location but the GLN should still be the primary look-up for a location's address as occasionally addresses change.

DZ
Delivery Zone

Area where the product was delivered.
When sent, the Name (N102) will not be sent while the Identification Code Qualifier (N103) with a Door (DO) qualifier.

FR
Message From

This qualifier indicates goods are to be shipped to multiple Walmart locations which cannot be listed in the header look to the Destination Quantity (SDQ) segment for details.
When sent, the Name (N102) will contain a description of the location.

SN
Store

This qualifier indicates one or more Walmart location on this order has the potential for a New Store Discount (allowance) to be applied.
When sent, the Name (N102) will contain a description of the location followed by an Identification Code Qualifier (N103) with a Global Location Code (UL) qualifier and Identification Code containing a unique Walmart Global Location Number GLN which should be used for any corresponding Invoices, ASNs, etc. that are based on the Order. This qualifier will typically also include Party Location (N3) and Geographic Location (N4) segments with the physical address of the location but the GLN should still be the primary look-up for a location's address as occasionally addresses change.

ST
Ship To

The Ship to (ST) and Bill-To-Party (BT) qualifiers indicates goods are to be shipped to a single Walmart location, typically a distribution center, but merchandise is labeled and packaged for particular store locations as listed in the Destination Quantity (SDQ) segment.
When sent, the Name (N102) will contain a description of the location followed by an Identification Code Qualifier (N103) with a Global Location Code (UL) qualifier and Identification Code containing a unique Walmart Global Location Number GLN which should be used for any corresponding ASNs (not Invoices) that are based on the Order.
This qualifier will typically also include Party Location (N3) and Geographic Location (N4) segments with the physical address of the location but the GLN should still be the primary look-up for a location's address as occasionally addresses change.

SU
Supplier/Manufacturer

When sent, the Name (N102) will contain the name of the Supplier/Manufacturer.

Optional
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)

DO
Door

When sent, the Identification Code will contain the identifier for the receiving door at the store product delivery is expected at from the following list:
. "APD" - Automatic Pickup & Delivery

UL
Global Location Number (GLN)

A globally unique 13 digit code used for the identification of any physical or legal location that needs to be uniquely identified for use in the supply chain. A GS1 identification key.

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.
Usage notes

This is the location code as defined by N103. The location code may be a formal number, e.g., DUNS, or it may be assigned by either the buyer or seller. The location refers to a store, warehouse, distribution center, plant, etc. Location codes are used to alleviate the need to send complete names and addresses.

N3
3300
Heading > N1 Loop > N3

Party Location

OptionalMax use 2

To specify the location of the named party

Usage notes

This segment is commonly included when the Entity Identifier Code (N101) contains a Ship To (ST), Buying Party (BY), or Store (SN) qualifier.

Example: N3*1100 NORTH IRIS STREET

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

OptionalMax use >1

To specify the geographic place of the named party

Usage notes

This segment is commonly included when the Entity Identifier Code (N101) contains a Ship To (ST), Buying Party (BY), or Store (SN) qualifier.

Example: N4MOUNT PLEASANTIA*52641

Example
N4-01
19
City Name
Optional
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
Optional
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
Optional
Identifier (ID)
Min 3Max 15

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

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N1 Loop end
Heading end

Detail

PO1 Loop
RequiredMax 100000
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

Examples:
Standard PO line examples: PO10012000EA150IN002677881UP022108955228VN55555UK00022108955228
PO1
0141CA11.66LEIN631822444EN0086404253365VNTST55555BO44IZXXLUK00086404253365
Grocery Produce PO line example: PO100001521CA47.28
IN009053182EN0047261547882UA004726154788VNBANANAUK00004726154788P84011
Free Goods PO line example:
PO1
00152EA0NCIN000196535UP221089552208VN55555****UK00221089552208

Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity (PO1-02) is required
If Basis of Unit Price Code (PO1-05) is present, then Unit Price (PO1-04) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
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
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • PO101 is the line item identification.
Usage notes

Walmart assigned Purchase Order line number.

PO1-02
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • PO102 is quantity ordered.
PO1-03
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

CA
Case
EA
Each
PO1-04
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15

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

Usage notes

The price is sent with a decimal point only when needed, e.g., $15.95 would be sent as ‘‘15.95’’, and $29.00 would be sent as ‘‘29’’.
To indicate a no charge item or free goods, PO104 will contain a single zero (0) and PO105 will contains code NC.

PO1-05
639
Basis of Unit Price Code
Optional
Identifier (ID)

Code identifying the type of unit price for an item

Usage notes

This data element is used to clarify or alter the basis of unit price. The unit price expressed in PO104 is always in the same terms as the unit of measure in PO103, unless otherwise specified in PO105.

LE
Catalog Price per Each
NC
No Charge
PO1-06
235
Product/Service ID Qualifier
Optional
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.
BO
Buyers Color
EN
EAN/UCC - 13
IN
Buyer's Item Number

Walmart assigned 9-digit Item Number.

IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)

The UPC/EAN Case Code has reached its industry sunset date and is in the process of being phased out in favor of the GTIN.

UK
GTIN 14-digit Data Structure

A 14-digit GS1 Identification Key composed of an Indicator Digit, GS1 Company Prefix, Item Reference and Check Digit used to identify trade items.

UP
UCC - 12

Data structure for the 12 digit EAN.UCC (EAN
International Uniform Code Council) Global Trade Identification Number (GTIN). Also known as the Universal Product Code (U.P.C.).

VN
Vendor's (Seller's) Item Number
PO1-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

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

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

Usage notes

See notes in PO106.

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
PO1-09
234
Product/Service ID
Optional
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)

Usage notes

See notes in PO106.

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
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)

Usage notes

See notes in PO106.

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
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)

Usage notes

See notes in PO106.

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
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)

Usage notes

See notes in PO106.

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
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)

Usage notes

See notes in PO106.

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
PO1-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

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)

Usage notes

See notes in PO106.

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
PO1-21
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

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)

Usage notes

See notes in PO106.

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
PO1-23
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

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)

Usage notes

See notes in PO106.

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
PO1-25
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

CTP Loop
OptionalMax >1
CTP
0400
Detail > PO1 Loop > CTP Loop > CTP

Pricing Information

RequiredMax use 1

To specify pricing information

Example
CTP-02
236
Price Identifier Code
Optional
Identifier (ID)

Code identifying pricing specification

RES
Resale

A Retail Price is sent on a small number of POs for products with frequently varying retail costs (e.g. Commodity based products) or for product that require a pre-labeled suggested retail price tag. This field is not available to most suppliers.

CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15

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

  • See Figures Appendix for an example detailing the use of CTP03 and CTP04.
  • See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
Usage notes

The price is sent with a decimal point only when needed, e.g., $15.95 would be sent as ‘‘15.95’’, and $29.00 would be sent as ‘‘29’’.

CTP Loop end
PO4
0900
Detail > PO1 Loop > PO4

Item Physical Details

OptionalMax use >1

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

Usage notes

Examples:
PO412
PO4
8*************2

Example
If Inner Pack (PO4-14) is present, then Pack (PO4-01) is required
Optional
Numeric (N0)
Min 1Max 6

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

PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6

The number of eaches per inner container

Usage notes

The Inner Pack (PO414) will only be sent when a Pack (PO401) is present.

SAC Loop
OptionalMax 25
SAC
1300
Detail > PO1 Loop > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax 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

Usage notes

Example: SACAE740*4866*5****02

Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent, Decimal Format (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
A
Allowance
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)

Code identifying the service, promotion, allowance, or charge

E740
New Store Allowance
F800
Promotional Allowance
SAC-05
610
Amount
Required
Numeric (N2)
Min 1Max 15

Monetary amount

  • SAC05 is the total amount for the service, promotion, allowance, or charge.
  • If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
SAC-06
378
Allowance/Charge Percent Qualifier
Optional
Identifier (ID)

Code indicating on what basis allowance or charge percent is calculated

6
Base Price Amount
SAC-07
332
Percent, Decimal Format
Optional
Decimal number (R)
Min 1Max 6

Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)

Usage notes

The percent is sent with a decimal point only when needed, e.g., 10.5% is sent as ‘‘10.5’’, and 2% is sent as ‘‘2’’.

Optional
Decimal number (R)
Min 1Max 9

Rate expressed in the standard monetary denomination for the currency specified

  • SAC08 is the allowance or charge rate per unit.
SAC-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

CA
Case
EA
Each
SAC-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • SAC10 and SAC11 is the quantity basis when the allowance or charge quantity is different from the purchase order or invoice quantity.
  • SAC10 and SAC11 used together indicate a quantity range, which could be a dollar amount, that is applicable to service, promotion, allowance, or charge.
  • In some business applications, it is necessary to advise the trading partner of the actual dollar amount that a particular allowance, charge, or promotion was based on to reduce ambiguity. This amount is commonly referred to as "Dollar Basis Amount". It is represented in the SAC segment in SAC10 using the qualifier "DO" - Dollars in SAC09.
Usage notes

When SAC02 contains code D170, this data element is required and will contain the quantity of free goods. The unit of measure is in SAC09. SAC10 alone is used to indicate a specific quantity which could be a dollar amount, that is applicable to the service, promotion, allowance, or charge.

SAC-12
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)

Code indicating method of handling for an allowance or charge

01
Bill Back

The allowance or charge amount will be adjudicated as a separate item, i.e., a debit/credit memo or a separate invoice. The amount will not be reflected in the invoice total amount.

02
Off Invoice

The allowance or charge amount will be reflected in the total transaction amount, e.g., Total Invoice Amount = Merchandise Price + Charges - Allowances.

03
Vendor Check to Customer

The vendor will issue a check directly to the customer of the retailer, or end consumer, for the allowance or charge amount. The amount is not reflected in the total invoice amount.

04
Credit Customer Account

The retailer’s account will be credited for the amount of the allowance or charge. The amount is not reflected in the total invoice amount.

SAC Loop end
SDQ
1900
Detail > PO1 Loop > SDQ

Destination Quantity

OptionalMax use 500

To specify destination and quantity detail

Usage notes

When sent, this segment contains a list of one or more Walmart Store/Club locations and their requested ship quantity. Walmart uses the Global Location Number (GLN) standard to identify location so suppliers will need to maintain a list of GLN numbers for cross reference. These can be received from the X12 Organizational Relationship (816) document which will contain up-to-date location number and address details.

Example: SDQEAUL00787420046175000787420012723000 7874200136450007874200160950

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

CA
Case
EA
Each
SDQ-02
66
Identification Code Qualifier
Optional
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.
UL
Global Location Number (GLN)

This is the 13-digit Global Location Number (GLN).

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

N9 Loop Letters or Notes
OptionalMax 1000
Variants (all may be used)
N9 Loop Store Number
N9
3300
Detail > PO1 Loop > N9 Loop Letters or Notes > N9

Extended Reference Information

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

Example: N9L1SPECIAL INSTRUCTIONS

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

Code qualifying the Reference Identification

L1
Letters or Notes

When set, Reference Identification (N902) will always be set to 'SPECIAL INSTRUCTIONS'.

N9-02
127
Reference Identification
Required
String (AN)

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

SPECIAL INSTRUCTIONS
Special Instructions
MTX
3400
Detail > PO1 Loop > N9 Loop Letters or Notes > MTX

Text

OptionalMax use >1

To specify textual data

Usage notes

Only sent when Reference Identification Qualifier (N901) contains Letters or Notes (L1) qualifier. When sent, the Textual Data (MTX02) will contain the Product Description and/or special delivery instructions.

Examples:
MTXPRODUCT DESC LACE HOODIE SUB/FINE/SEASON 0/9867/0417
MTX
RETAIL 9.8800 FIBER CONTENT

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

To transmit large volumes of message text

N9 Loop Letters or Notes end
N9 Loop Store Number
OptionalMax 1
Variants (all may be used)
N9 Loop Letters or Notes
N9
3300
Detail > PO1 Loop > N9 Loop Store Number > N9

Extended Reference Information

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

Example: N9ST0078742010359

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

Code qualifying the Reference Identification

ST
Store Number

When sent, the Reference Identification (N902) will contain a Walmart assigned Global Location Number (GLN) for any locations that are new and may have new store allowances applied to them. These are sent for information purposes only.

N9-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

N9 Loop Store Number end
SLN Loop
OptionalMax 1000
SLN
4700
Detail > PO1 Loop > SLN Loop > SLN

Subline Item Detail

RequiredMax use 1

To specify product subline detail item data

Usage notes

When sent, this segment will include details on the items contained within an assortment.

Examples:
SLN0001**I216EA*IN001719653*UP022108955228VNGT47BOBLUEIZLARGEUK00022108955228
SLN0001**I216EA*IN764479343*UP022108932428VNG121BOBLUEIZMEDIUMUK00022108954248

Example
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
If either Product/Service ID Qualifier (SLN-11) or Product/Service ID (SLN-12) is present, then the other is required
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
If either Product/Service ID Qualifier (SLN-15) or Product/Service ID (SLN-16) is present, then the other is required
If either Product/Service ID Qualifier (SLN-17) or Product/Service ID (SLN-18) is present, then the other is required
If either Product/Service ID Qualifier (SLN-19) or Product/Service ID (SLN-20) is present, then the other is required
If either Product/Service ID Qualifier (SLN-21) or Product/Service ID (SLN-22) is present, then the other is required
If either Product/Service ID Qualifier (SLN-23) or Product/Service ID (SLN-24) is present, then the other is required
If either Product/Service ID Qualifier (SLN-25) or Product/Service ID (SLN-26) is present, then the other is required
If either Product/Service ID Qualifier (SLN-27) or Product/Service ID (SLN-28) is present, then the other is required
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • SLN01 is the identifying number for the subline item.
  • SLN01 is related to (but not necessarily equivalent to) the baseline item number. Example: 1.1 or 1A might be used as a subline number to relate to baseline number 1.
SLN-03
662
Relationship Code
Required
Identifier (ID)

Code indicating the relationship between entities

  • SLN03 is the configuration code indicating the relationship of the subline item to the baseline item.
I
Included
SLN-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SLN-05
C001
Composite Unit of Measure
OptionalMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-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

EA
Each
SLN-09
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

  • SLN09 through SLN28 provide for ten different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
BO
Buyers Color
EN
EAN/UCC - 13

A 13-digit GS1 Identification Key composed of a GS1 Company Prefix, Item Reference and Check Digit used to identify trade items.

IN
Buyer's Item Number

Walmart assigned 9-digit Item Number.

IZ
Buyer's Size Code
P8
Retail Price Look Up Number (PLU)
UA
U.P.C./EAN Case Code (2-5-5)

The UPC/EAN Case Code has reached its industry sunset date and is in the process of being phased out in favor of the GTIN.

UK
GTIN 14-digit Data Structure

A 14-digit GS1 Identification Key composed of an Indicator Digit, GS1 Company Prefix, Item Reference and Check Digit used to identify trade items.

UP
UCC - 12

A 12-digit GS1 Identification Key composed of a GS1 Company Prefix, Item Reference, and Check Digit used to identify trade items.

VN
Vendor's (Seller's) Item Number
SLN-10
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-11
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-12
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-13
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-14
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-15
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-16
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-17
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-18
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-19
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-20
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-21
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-22
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-23
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-24
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-25
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-26
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN-27
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

Usage notes

Check SLN09 Notes

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
SLN-28
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN Loop end
AMT Loop
OptionalMax >1
AMT
6000
Detail > PO1 Loop > AMT Loop > AMT

Monetary Amount Information

RequiredMax use 1

To indicate the total monetary amount

Usage notes

Example: AMT13898.8

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

Code to qualify amount

1
Line Item Total

When sent, the Monetary Amount (AMT02) will contain the gross amount of the PO line, Quantity (PO102) * Unit Price (PO104), and does not include any allowance, charge, or other adjustments.

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

Monetary amount

AMT Loop end
PO1 Loop end
Detail end

Summary

CTT Loop
OptionalMax >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*1

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

OptionalMax 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

This segment is used only by the alcohol beverage industry.

Example: AMTGV11.66

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

Code to qualify amount

GV
Gross Value

When sent, the Monetary Amount (AMT02) will contain the gross amount of the PO or the Quantity (PO102) * Unit Price (PO104) of all PO lines totaled and does not include any allowance, charge, or other adjustments.

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

Monetary amount

Usage notes

This is the total amount of the purchase order (including charges, less allowances) before terms discount (if discount is applicable).

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

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.