Walmart
/
Transportation Carrier Shipment Status Message
  • Specification
  • EDI Inspector
Import guide into your account
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 214 Transportation Carrier Shipment Status Message

X12 Release 5010

This X12 Transaction Set contains the format and establishes the data contents of the Transportation Carrier Shipment Status Message Transaction Set (214) for use within the context of an Electronic Data Interchange (EDI) environment.
This transaction set can be used by a transportation carrier to provide shippers, consignees, and their agents with the status of shipments in terms of dates, times, locations, route, identifying numbers, and conveyance.

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/transportation-carrier-shipment-status-message/01GRKM6VG49NBKQKFXX8ZQHCSK
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
detail
1000 Loop
LX
0100
Transaction Set Line Number
Max use 1
Required
L11
0200
Business Instructions and Reference Number - BOL
Max use 999
Optional
L11
0200
Business Instructions and Reference Number - Payment Category
Max use 999
Required
L11
0200
Business Instructions and Reference Number - Stop Sequence Number
Max use 999
Optional
Loop Shipment Status Details - Appointment Date/Time
SE
2100
Transaction Set Trailer
Max use 1
Required
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

QM
Transportation Carrier Shipment Status Message (214)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

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

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

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

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

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

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

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

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

Assigned number originated and maintained by the sender

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

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

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

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

005010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1

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

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

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
214
Transportation Carrier Shipment Status Message
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

B10
0200
Heading > B10

Beginning Segment for Transportation Carrier Shipment Status Message

RequiredMax use 1

To transmit identifying numbers and other basic data relating to the transaction set

Example
B10-01
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

  • B1001 is the carrier assigned reference number.
  • B1001 is the carrier's PRO (invoice number) that identifies the shipment.
Usage notes

Walmart Note: This should be a reference identification number assigned by the carrier that will uniquely identify this shipment status.

B10-02
145
Shipment Identification Number
Optional
String (AN)
Min 1Max 30

Identification number assigned to the shipment by the shipper that uniquely identifies the shipment from origin to ultimate destination and is not subject to modification; (Does not contain blanks or special characters)

Usage notes

Walmart Note: This is the Walmart Load ID. This must match the Walmart Load ID sent in the B204 of the EDI 204 Load Tender.

B10-03
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • B1003 is required when used in Transaction Set 214.
Usage notes

Walmart Note: This is the Walmart Carrier Code. This must match the Walmart Carrier sent in the B202 of the EDI 204 Load Tender.

Heading end

Detail

1000 Loop
RequiredMax 999999
LX
0100
Detail > 1000 Loop > LX

Transaction Set Line Number

RequiredMax use 1

To reference a line number in a transaction set

Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6

Number assigned for differentiation within a transaction set

L11
0200
Detail > 1000 Loop > L11

Business Instructions and Reference Number - BOL

OptionalMax use 999

To specify instructions in this business relationship or a reference number

Example
Variants (all may be used)
L11Business Instructions and Reference Number - Payment CategoryL11Business Instructions and Reference Number - Stop Sequence Number
L11-01
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

BM
Bill of Lading Number
UCB
EAN.UCC Bill of Lading Number (17 Digits)
L11
0200
Detail > 1000 Loop > L11

Business Instructions and Reference Number - Payment Category

RequiredMax use 999

To specify instructions in this business relationship or a reference number

Usage notes

Walmart Note: Walmart Required for all status updates.

Example
L11-01
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

Usage notes

Walmart Note: 'CC' for Collect Loads.

L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

9V
Payment Category
L11
0200
Detail > 1000 Loop > L11

Business Instructions and Reference Number - Stop Sequence Number

OptionalMax use 999

To specify instructions in this business relationship or a reference number

Usage notes

Walmart Note: Walmart Required for Pickup and Delivery statuses.

Example
L11-01
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

QN
Stop Sequence Number
1100 Loop Shipment Status Details - Appointment Date/Time
OptionalMax 10

To specify the status of a shipment, the reason for that status, the date and time of the status and the date and time of any appointments scheduled.

AT7
0800
Detail > 1000 Loop > Loop Shipment Status Details - Appointment Date/Time > AT7

Shipment Status Details - Appointment Date/Time

RequiredMax use 1

To specify the status of a shipment, the reason for that status, the date and time of the status and the date and time of any appointments scheduled.

Usage notes

Walmart Note: Walmart is requesting our carriers to provide Appointment Information for Origin and Destination no later than 1 day prior to the original tendered Carrier Pick Up Date.

Example
If Time (AT7-06) is present, then Date (AT7-05) is required
If Time Code (AT7-07) is present, then Time (AT7-06) is required
AT7-03
1652
Shipment Appointment Status Code
Required
Identifier (ID)

Code indicating the status of an appointment to pickup or deliver a shipment

AA
Pickup Appointment Date and/or Time

Walmart Note:
Scheduled Pickup

AB
Delivery Appointment Date and/or Time

Walmart Note:
Scheduled Delivery

AT7-04
1651
Shipment Status or Appointment Reason Code
Optional
Identifier (ID)

Code indicating the reason a shipment status or appointment reason was transmitted

Usage notes

Walmart Note: Walmart expects this to be left blank if there is no problem. It should only be populated with a value if there is a problem, as the possible field values indicate. However, be advised that [as of March 2023] the Walmart portal's EDI validator will not validate a 214 that is missing a value here. The workaround to pass validation is to use test data that indicates a problem, for instance, to send AF in this field.

A1
Missed Delivery
AF
Accident
AG
Consignee Related

Walmart Note:
Refers to Delivery Location

AI
Mechanical Breakdown
AJ
Other Carrier Related
AL
Previous Stop
AM
Shipper Related

Walmart Note:
Refers to Pickup Location

AO
Weather or Natural Disaster Related
AV
Exceeds Service Limitations
AY
Missed Pickup
BB
Held per Shipper
AT7-05
373
Date
Optional
Date (DT)
CCYYMMDD format

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

AT7-06
337
Time
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)

Usage notes

Walmart Note: This element is Required by Walmart.

AT7-07
623
Time Code
Optional
Identifier (ID)

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

  • If AT707 is not present then AT706 represents local time of the status.
CT
Central Time
ET
Eastern Time
MT
Mountain Time
PT
Pacific Time
MS1
0900
Detail > 1000 Loop > Loop Shipment Status Details - Appointment Date/Time > MS1

Equipment, Shipment, or Real Property Location

OptionalMax use 1

To specify the location of a piece of equipment, a shipment, or real property in terms of city and state or longitude and latitude or postal code

Usage notes

Walmart Note:
This segment is Required by Walmart for all Pickup & Delivery Appointments

Example
If State or Province Code (MS1-02) is present, then City Name (MS1-01) is required
If City Name (MS1-01) is present, then at least one of State or Province Code (MS1-02) or Country Code (MS1-03) is required
If Country Code (MS1-03) is present, then City Name (MS1-01) is required
If Postal Code (MS1-08) is present, then City Name (MS1-01) is required
MS1-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

MS1-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

MS1-03
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

MS1-08
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

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

Usage notes

Walmart Note: This element is Required by Walmart.

1100 Loop Shipment Status Details - Appointment Date/Time end
1100 Loop Shipment Status Details - Shipment Status
OptionalMax >1

Purpose: To specify the status of a shipment, the reason for that status, the date and time of the status and the date and time of any appointments scheduled.

AT7
0800
Detail > 1000 Loop > Loop Shipment Status Details - Shipment Status > AT7

Shipment Status Details - Shipment Status

RequiredMax use 1

To specify the status of a shipment, the reason for that status, the date and time of the status and the date and time of any appointments scheduled.

Usage notes

Walmart Note:
This segment is Required by Walmart

Example
AT7-01
1650
Shipment Status Indicator
Required
Identifier (ID)

Code indicating the status of a shipment

  • If AT701 is present, AT705 is the date the status occurred. If AT703 is present, AT705 is a date related to an appointment.
  • If AT701 is present, AT706 is the time of the status. If AT703 is present, AT706 is the time of the appointment.
AF
Carrier Departed Pickup Location with Shipment

Walmart Note:
Actual Pickup
Send within 60 minutes after receiving all paperwork and departing pickup location.

D1
Completed Unloading at Delivery Location

Walmart Note:
Send within 60 minutes after receiving all paperwork and departing delivery location.

X1
Arrived at Delivery Location

Walmart Note:
Actual Delivery
Send within 60 minutes of check-in at the delivery location.

X3
Arrived at Pickup Location

Walmart Note:
Send within 60 minutes of check-in at the pickup location.

X6
En Route to Delivery Location

Walmart Note:
Send every 60 minutes after initial pickup and/or delivery, until load is completed.

AT7-02
1651
Shipment Status or Appointment Reason Code
Optional
Identifier (ID)

Code indicating the reason a shipment status or appointment reason was transmitted

Usage notes

Walmart Note: Walmart expects this to be left blank if there is no problem. It should only be populated with a value if there is a problem, as the possible field values indicate. However, be advised that [as of March 2023] the Walmart portal's EDI validator will not validate a 214 that is missing a value here. The workaround to pass validation is to use test data that indicates a problem, for instance, to send AF in this field.

A1
Missed Delivery
AF
Accident
AG
Consignee Related

Walmart Note:
Refers to Delivery Location

AI
Mechanical Breakdown
AJ
Other Carrier Related
AL
Previous Stop
AM
Shipper Related

Walmart Note:
Refers to Pickup Location

AO
Weather or Natural Disaster Related
AY
Missed Pickup
BB
Held per Shipper
AT7-05
373
Date
Optional
Date (DT)
CCYYMMDD format

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

AT7-06
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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

Usage notes

Walmart Note: This element is Required by Walmart.

AT7-07
623
Time Code
Required
Identifier (ID)

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

  • If AT707 is not present then AT706 represents local time of the status.
CT
Central Time
ET
Eastern Time
MT
Mountain Time
PT
Pacific Time
MS1
0900
Detail > 1000 Loop > Loop Shipment Status Details - Shipment Status > MS1

Equipment, Shipment, or Real Property Location

OptionalMax use 1

To specify the location of a piece of equipment, a shipment, or real property in terms of city and state or longitude and latitude or postal code

Usage notes

Walmart Note:
This segment is Required by Walmart, for all statuses following the appointments:

  • Arrived at Pickup
  • Departed Pickup
  • Arrived at Delivery
  • Completed Unload
  • EnRoute to Delivery

Send MS104-MS107 At time of Event or Service Issue.

Example
If either Longitude Code (MS1-04) or Latitude Code (MS1-05) is present, then the other is required
If Direction Identifier Code (MS1-06) is present, then Longitude Code (MS1-04) is required
If Direction Identifier Code (MS1-07) is present, then Latitude Code (MS1-05) is required
MS1-04
1654
Longitude Code
Optional
Identifier (ID)
Min 7Max 7

Code indicating the longitude in degrees (3 positions), minutes (2 positions), and seconds (2 positions)

  • MS104 is the longitude expressed in Degrees, Minutes, and Seconds.
Usage notes

Walmart Note: Send this element at time of Event or Service Issue.

MS1-05
1655
Latitude Code
Optional
Identifier (ID)
Min 7Max 7

Code indicating the latitude in degrees (3 positions), minutes (2 positions), seconds (2 positions)

  • MS105 is the latitude expressed in Degrees, Minutes, and Seconds.
Usage notes

Walmart Note: Send this element at time of Event or Service Issue.

MS1-06
1280
Direction Identifier Code
Optional
Identifier (ID)

Code identifying geographic direction

  • MS106 may only be 'E' or 'W'.
Usage notes

Walmart Note: Send this element at time of Event or Service Issue.

E
East
W
West
MS1-07
1280
Direction Identifier Code
Optional
Identifier (ID)

Code identifying geographic direction

  • MS107 may only be 'N' or 'S'.
Usage notes

Walmart Note: Send this element at time of Event or Service Issue.

N
North
S
South
MS2
1000
Detail > 1000 Loop > Loop Shipment Status Details - Shipment Status > MS2

Equipment or Container Owner and Type

OptionalMax use 2

To specify the owner, the identification number assigned by that owner, and the type of equipment

Example
If either Standard Carrier Alpha Code (MS2-01) or Equipment Number (MS2-02) is present, then the other is required
MS2-01
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

MS2-02
207
Equipment Number
Optional
String (AN)
Min 1Max 15

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

M7
1200
Detail > 1000 Loop > Loop Shipment Status Details - Shipment Status > M7

Seal Numbers

OptionalMax use 1

To record seal numbers used and the organization that applied the seals

Example
M7-01
225
Seal Number
Required
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

1100 Loop Shipment Status Details - Shipment Status end
1200 Loop
OptionalMax 5
N1
1300
Detail > 1000 Loop > 1200 Loop > N1

Party Identification

RequiredMax use 1

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

Usage notes

Walmart Note:

This segment is Required by Walmart.
The N103 & N104 should match what is sent in the 204 Outbound N103.

The Walmart GLN is required when referencing Walmart Facilities.

When using a Walmart GLN, use the UL qualifier in N103. Address information is not needed when using the GLN.

Use a 92 or FA qualifier when referencing a Walmart assigned Vendor Ship-Point Number. Address information is not needed when using the Walmart assigned Vendor Ship-Point Number.

If referencing a location that is not a Walmart Facility or a Walmart defined Vendor Ship-Point, use a 93 qualifier in N103 with the Facility Identification Code in N104. Address information of the location will be needed in the N3 and N4 segments.

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

SF
Ship From
ST
Ship To
N1-02
93
Name
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)

92
Assigned by Buyer or Buyer's Agent
93
Code assigned by the organization originating the transaction set
FA
Facility Identification
UL
Global Location Number (GLN)

A globally unique 13 digit code for the identification of a legal, functional or physical location within the Uniform Code Council (UCC) and International Article Number Association (EAN) numbering system

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

Walmart Note: This will be either the Walmart 13-digit GLN, the Walmart assigned Vendor
Ship-Point Number, or the Facility Identification Number.

N3
1500
Detail > 1000 Loop > 1200 Loop > N3

Party Location

OptionalMax use 2

To specify the location of the named party

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
1600
Detail > 1000 Loop > 1200 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

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

1200 Loop end
1300 Loop
OptionalMax >1
OID
1900
Detail > 1000 Loop > 1300 Loop > OID

Order Information Detail

RequiredMax use 1

To specify order information detail

Usage notes

Walmart Note:
This segment is Required by Walmart for Pick-up and Delivery status.

Example
OID-02
324
Purchase Order Number
Optional
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

Walmart Note: This is the Walmart Purchase Order.

1300 Loop end
1000 Loop end
SE
2100
Detail > 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

Usage notes

Walmart Note: This must match/be the same number as in the ST-02 for the transaction
set.

Detail 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.