Brian's first account
/
Warehouse Shipping Order V2
  • Specification
  • EDI Inspector
Brian's first account

X12 940 Warehouse Shipping Order V2

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Warehouse Shipping Order Transaction Set (940) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set can be used to enable the depositor to advise a warehouse to make a shipment, confirm a shipment, or modify or cancel a previously transmitted shipping order.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/brians-first-account/warehouse-shipping-order-v2/01GNF8WH72MTJ8XAYFJNCZK5FA
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
010
Transaction Set Header
Max use 1
Required
W05
020
Shipping Order Identification
Max use 1
Required
0100 Loop
N9
090
Reference Identification
Max use 10
Optional
G61
100
Contact
Max use 3
Optional
G62
110
Date/Time
Max use 10
Optional
NTE
120
Note/Special Instruction
Max use 1
Optional
W09
130
Equipment and Temperature
Max use 1
Optional
W66
140
Warehouse Carrier Information
Max use 1
Optional
W6
150
Special Handling Information
Max use 1
Optional
R2
153
Route Information
Max use 13
Optional
BNX
156
Rail Shipment Information
Max use 1
Optional
detail
0300 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 to identify 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 to identify 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

Qualifier to designate 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

Qualifier to designate 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
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
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 sent by the sender to request an interchange acknowledgment (TA1)

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

Code to indicate 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

OW
Warehouse Shipping Order (940)
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

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 used in conjunction with Data Element 480 to identify the issuer of the standard

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

004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
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) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
940
Warehouse Shipping 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

W05
020
Heading > W05

Shipping Order Identification

RequiredMax use 1

To transmit identifying numbers and other basic data for this transaction set

Example
If either Link Sequence Number (W05-04) or Master Reference (Link) Number (W05-05) is present, then the other is required
W05-01
473
Order Status Code
Required
Identifier (ID)
Min 1Max 1

Code identifying purpose of transaction set

W05-02
285
Depositor Order Number
Required
String (AN)
Min 1Max 22

Identifying number for warehouse shipping order assigned by the depositor

W05-03
324
Purchase Order Number
Optional
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

W05-04
472
Link Sequence Number
Optional
Numeric (N0)
Min 6Max 6

A two-part number in the form "SSSTTT" where "SSS" is a sequentially assigned number and "TTT" equals the highest sequential number being used within the associated (linked) group (Leading zeros are required for both "SSS" and "TTT")

W05-05
474
Master Reference (Link) Number
Optional
String (AN)
Min 1Max 22

Reference number assigned by the sender to relate a transaction set to a master transaction (When associating a group of purchase orders, invoices or other transaction sets, use the master reference (link) number to identify the group and the link sequence number to identify individual transaction sets within the group)

W05-06
640
Transaction Type Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying the type of transaction

W05-07
306
Action Code
Optional
Identifier (ID)
Min 1Max 2

Code indicating type of action

0100 Loop
OptionalMax >1
N1
040
Heading > 0100 Loop > N1

Name

RequiredMax use 1

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

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
Optional
Identifier (ID)
Min 2Max 3

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

Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

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

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.
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

N2
050
Heading > 0100 Loop > N2

Additional Name Information

OptionalMax use 2

To specify additional names or those longer than 35 characters in length

Example
Optional
String (AN)
Min 1Max 60

Free-form name

Optional
String (AN)
Min 1Max 60

Free-form name

N3
060
Heading > 0100 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

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

Address information

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

Address information

N4
070
Heading > 0100 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
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

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

PER
080
Heading > 0100 Loop > PER

Administrative Communications Contact

OptionalMax use 5

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

Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
PER-01
366
Contact Function Code
Optional
Identifier (ID)
Min 2Max 2

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

Optional
String (AN)
Min 1Max 60

Free-form name

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of communication number

PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of communication number

PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of communication number

PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

PER-09
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

0100 Loop end
N9
090
Heading > N9

Reference Identification

OptionalMax use 10

To transmit identifying information as specified by the Reference Identification Qualifier

Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
N9-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

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

Free-form descriptive text

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

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)

N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

  • N906 reflects the time zone which the time reflects.
N9-07
C040
Reference Identifier
OptionalMax use 1
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
If either Reference Identification Qualifier (C040-03) or Reference Identification (C040-04) is present, then the other is required
If either Reference Identification Qualifier (C040-05) or Reference Identification (C040-06) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

C040-05
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-06
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

G61
100
Heading > G61

Contact

OptionalMax use 3

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

Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Optional
Identifier (ID)
Min 2Max 2

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

Optional
String (AN)
Min 1Max 60

Free-form name

G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of communication number

  • G6103 qualifies G6104.
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

G61-05
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

G62
110
Heading > G62

Date/Time

OptionalMax use 10

To specify pertinent dates and times

Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code specifying type of date

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

G62-03
176
Time Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the reported 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)

G62-05
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

NTE
120
Heading > NTE

Note/Special Instruction

OptionalMax use >1

To transmit information in a free-form format, if necessary, for comment or special instruction

Example
NTE-01
363
Note Reference Code
Optional
Identifier (ID)
Min 3Max 3

Code identifying the functional area or purpose for which the note applies

NTE-02
352
Description
Optional
String (AN)
Min 1Max 80

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

W09
130
Heading > W09

Equipment and Temperature

OptionalMax use 1

To relate equipment type and required temperatures

Example
If either Temperature (W09-02) or Unit or Basis for Measurement Code (W09-03) is present, then the other is required
If either Temperature (W09-04) or Unit or Basis for Measurement Code (W09-05) is present, then the other is required
W09-01
40
Equipment Description Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying type of equipment used for shipment

W09-02
408
Temperature
Optional
Decimal number (R)
Min 1Max 4

Temperature

  • W0902 is the minimum allowable temperature condition for shipment; (the qualifying temperature scale is specified in W0903).
W09-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

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

W09-04
408
Temperature
Optional
Decimal number (R)
Min 1Max 4

Temperature

  • W0904 is the maximum allowable temperature condition for shipment; (the qualifying temperature scale is specified in W0905).
W09-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

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

W09-06
3
Free Form Message
Optional
String (AN)
Min 1Max 60

Free-form text

  • W0906 is used to describe the environment required within an ocean-type, refrigerated container when other than normal air is required.
W09-07
1122
Vent Setting Code
Optional
Identifier (ID)
Min 1Max 1

Code describing the setting on the air vents on ocean-type containers

W09-08
488
Percent
Optional
Numeric (N0)
Min 1Max 3

Percent expressed as 0 to 100

  • W0908 is the humidity percentage.
W09-09
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • W0909 is the number of air exchanges per hour.
W66
140
Heading > W66

Warehouse Carrier Information

OptionalMax use 1

To specify transportation instructions relating to shipment

Example
If either COD Method of Payment Code (W66-08) or Amount (W66-09) is present, then the other is required
W66-01
146
Shipment Method of Payment
Optional
Identifier (ID)
Min 2Max 2

Code identifying payment terms for transportation charges

W66-02
91
Transportation Method/Type Code
Optional
Identifier (ID)
Min 1Max 2

Code specifying the method or type of transportation for the shipment

W66-03
399
Pallet Exchange Code
Optional
Identifier (ID)
Min 1Max 1

Code specifying pallet exchange instructions

W66-04
400
Unit Load Option Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying loading or unloading a shipment

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

W66-06
433
F.O.B. Point Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying type of F.O.B. point

W66-07
434
F.O.B. Point
Optional
String (AN)
Min 1Max 30

Descriptive name of F.O.B. point

W66-08
625
COD Method of Payment Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating method of payment acceptable for C.O.D. charge collection

W66-09
610
Amount
Optional
Numeric (N2)
Min 1Max 15

Monetary amount

  • W6609 is the monetary amount of the charges to be collected on delivery of order.
W66-10
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

W6
150
Heading > W6

Special Handling Information

OptionalMax use 1

To provide special handling information that may be necessary for safe handling of shipment

Example
W6-01
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

W6-02
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

W6-03
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

W6-04
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

R2
153
Heading > R2

Route Information

OptionalMax use 13

To specify carrier and routing sequences and details

Example
If Intermediate Switch Carrier (R2-08) is present, then Intermediate Switch Carrier (R2-07) is required
R2-01
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

R2-02
133
Routing Sequence Code
Optional
Identifier (ID)
Min 1Max 2

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

R2-03
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • R203 is the station or city name at which carriers interchange shipments.
R2-04
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 9

Code (Standard Point Location) defined by NMFTA point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

R2-05
177
Intermodal Service Code
Optional
Identifier (ID)
Min 1Max 2

Code identifying the Intermodal Service Plan

R2-06
91
Transportation Method/Type Code
Optional
Identifier (ID)
Min 1Max 2

Code specifying the method or type of transportation for the shipment

R2-07
296
Intermediate Switch Carrier
Optional
Identifier (ID)
Min 2Max 4

Code defining a road which neither originates nor terminates the shipment but provides a switching service between two roadhaul rail carriers (SCAC code for rail switch carrier)

R2-08
296
Intermediate Switch Carrier
Optional
Identifier (ID)
Min 2Max 4

Code defining a road which neither originates nor terminates the shipment but provides a switching service between two roadhaul rail carriers (SCAC code for rail switch carrier)

R2-09
76
Invoice Number
Optional
String (AN)
Min 1Max 22

Identifying number assigned by issuer

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • R210 is the billing date.
R2-11
369
Free-form Description
Optional
String (AN)
Min 1Max 45

Free-form descriptive text

R2-12
56
Type of Service Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying extent of transportation service requested

R2-13
742
Route Description
Optional
String (AN)
Min 1Max 35

Point to point routing description

BNX
156
Heading > BNX

Rail Shipment Information

OptionalMax use 1

To transmit rail-specific shipment data

Example
0200 Loop
OptionalMax >1
LM
160
Heading > 0200 Loop > LM

Code Source Information

RequiredMax use 1

To transmit standard code list identification information

Example
LM-01
559
Agency Qualifier Code
Required
Identifier (ID)
Min 2Max 2

Code identifying the agency assigning the code values

LQ
170
Heading > 0200 Loop > LQ

Industry Code

RequiredMax use 100

Code to transmit standard industry codes

Example
0200 Loop end
Heading end

Detail

0300 Loop
RequiredMax >1
LX
005
Detail > 0300 Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

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

Number assigned for differentiation within a transaction set

MAN
010
Detail > 0300 Loop > MAN

Marks and Numbers

OptionalMax use >1

To indicate identifying marks and numbers for shipping containers

Example
If either Marks and Numbers Qualifier (MAN-04) or Marks and Numbers (MAN-05) is present, then the other is required
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
MAN-01
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the application or source of Marks and Numbers (87)

  • MAN01/MAN02 and MAN04/MAN05 may be used to identify two different marks and numbers assigned to the same physical container.
  • When MAN01 contains code "UC" (U.P.C. Shipping Container Code) and MAN05/MAN06 contain a range of ID numbers, MAN03 is not used. The reason for this is that the U.P.C. Shipping Container code is the same on every carton that is represented in the range in MAN05/MAN06.
MAN-02
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48

Marks and numbers used to identify a shipment or parts of a shipment

  • When both MAN02 and MAN03 are used, MAN02 is the starting number of a sequential range and MAN03 is the ending number of that range.
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48

Marks and numbers used to identify a shipment or parts of a shipment

  • MAN03 and/or MAN06 are only used when sending a range(s) of ID numbers.
  • When both MAN02/MAN03 and MAN05/MAN06 are used to send ranges of ID numbers, the integrity of the two ID numbers must be maintained.
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the application or source of Marks and Numbers (87)

MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48

Marks and numbers used to identify a shipment or parts of a shipment

  • When both MAN05 and MAN06 are used, MAN05 is the starting number of a sequential range, and MAN06 is the ending number of that range.
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48

Marks and numbers used to identify a shipment or parts of a shipment

SDQ
015
Detail > 0300 Loop > SDQ

Destination Quantity

OptionalMax use >1

To specify destination and quantity detail

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
Optional
Identifier (ID)
Min 2Max 2

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

SDQ-02
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

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.
SDQ-03
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • SDQ03 is the store number.
SDQ-04
380
Quantity
Optional
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

SDQ-23
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

  • SDQ23 identifies the area within the location identified in SDQ03, SDQ05, SDQ07, SDQ09, SDQ11, SDQ13, SDQ15, SDQ17, SDQ19, and SDQ21.
  • SDQ23 may be used to identify areas within a store, e.g., front room, back room, selling outpost, end aisle display, etc. The value is agreed to by trading partners or industry conventions.
N1
016
Detail > 0300 Loop > N1

Name

OptionalMax use 1

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

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
Optional
Identifier (ID)
Min 2Max 3

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

Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

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

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.
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

G62
017
Detail > 0300 Loop > G62

Date/Time

OptionalMax use 10

To specify pertinent dates and times

Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code specifying type of date

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

G62-03
176
Time Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the reported 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)

G62-05
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

0310 Loop
OptionalMax >1
W01
020
Detail > 0300 Loop > 0310 Loop > W01

Line Item Detail - Warehouse

RequiredMax use 1

To transmit basic and most frequent shipment-related line-item data elements

Example
At least one of U.P.C. Case Code (W01-03) or Product/Service ID Qualifier (W01-04) is required
If either Product/Service ID Qualifier (W01-04) or Product/Service ID (W01-05) is present, then the other is required
If either Product/Service ID Qualifier (W01-06) or Product/Service ID (W01-07) is present, then the other is required
If either Commodity Code Qualifier (W01-10) or Commodity Code (W01-11) is present, then the other is required
If either Product/Service ID Qualifier (W01-15) or Product/Service ID (W01-16) is present, then the other is required
W01-01
330
Quantity Ordered
Optional
Decimal number (R)
Min 1Max 15

Quantity ordered

W01-02
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

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

W01-03
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12

Code (Universal Product Code - U.P.C.) including two high order digits identifying the "system" (U.S. Grocery = 00, 06 or 07; U.S. Drug = 03); using the U.S. Grocery system, the next ten digits are: Manufacturer (5) Case Code (5)

W01-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

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

W01-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

W01-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

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

W01-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

W01-08
59
Freight Class Code
Optional
String (AN)
Min 2Max 5

Code indicating generalized classification that applies to one or more items in the shipment, i.e., class 70, 77.5, etc.

W01-09
121
Rate Class Code
Optional
Identifier (ID)
Min 1Max 3

Code identifying specifically designated class of goods; Note: For international air shipments, see IATA Resolution 600k

W01-10
23
Commodity Code Qualifier
Optional
Identifier (ID)
Min 1Max 1

Code identifying the commodity coding system used for Commodity Code

W01-11
22
Commodity Code
Optional
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

W01-12
416
Pallet Block and Tiers
Optional
Numeric (N0)
Min 6Max 6

Code indicating pallet and load structure; first three digits indicate the number of cases per layer, last three digits indicate the number of layers per pallet

W01-13
451
Warehouse Lot Number
Optional
String (AN)
Min 1Max 12

Reference number assigned by the warehouse

W01-14
286
Product/Service Condition Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying condition of product/service

W01-15
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

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

W01-16
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

N9
040
Detail > 0300 Loop > 0310 Loop > N9

Reference Identification

OptionalMax use 200

To transmit identifying information as specified by the Reference Identification Qualifier

Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
N9-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

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

Free-form descriptive text

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

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)

N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

  • N906 reflects the time zone which the time reflects.
N9-07
C040
Reference Identifier
OptionalMax use 1
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
If either Reference Identification Qualifier (C040-03) or Reference Identification (C040-04) is present, then the other is required
If either Reference Identification Qualifier (C040-05) or Reference Identification (C040-06) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

C040-05
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-06
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

G62
090
Detail > 0300 Loop > 0310 Loop > G62

Date/Time

OptionalMax use 10

To specify pertinent dates and times

Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code specifying type of date

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

G62-03
176
Time Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the reported 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)

G62-05
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

0310 Loop end
0300 Loop end
Detail end

Summary

W76
010
Summary > W76

Total Shipping Order

OptionalMax use 1

To specify summary details of total items shipped in terms of quantity, weight, and volume

Example
W76-01
330
Quantity Ordered
Optional
Decimal number (R)
Min 1Max 15

Quantity ordered

  • Quantity ordered (W7601) is a hash total and the unit of measure is not required.
SE
020
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.