Procter & Gamble
/
Transportation Carrier Shipment Status Message
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from Procter & Gamble. Contact Procter & Gamble for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Procter & Gamble 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 sample
  • Sample 1
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/procter-gamble/transportation-carrier-shipment-status-message/01HW3656YZZ2TRXMC22A59A649
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
Max use 999
Optional
MAN
0300
Marks and Numbers Information
Max use 9999
Optional
Q7
0400
Lading Exception Status
Max use 10
Optional
K1
0500
Remarks
Max use 10
Optional
AT5
0600
Bill of Lading Handling Requirements
Max use 10
Optional
AT8
0700
Shipment Weight, Packaging and Quantity Data
Max use 10
Optional
1200 Loop
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
Required
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

Carrier's invoice/Pro number

B10-02
145
Shipment Identification Number
Required
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

Load ID #

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.
Heading end

Detail

1000 Loop
RequiredMax >1
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

OptionalMax use 999

To specify instructions in this business relationship or a reference number

Example
L11-01
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

Usage notes

Stop Sequence number as specified in respective 204 in the S5-01 element. Cannot have leading zeros.

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

Code qualifying the Reference Identification

QN
Stop Sequence Number
L11-04
373
Date
Optional
Date (DT)
CCYYMMDD format

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

  • L1104 contains data relating to the qualifier cited in L1102.
L11-05
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating a Yes or No condition or response

  • L1105 indicates if the reference numbers included in this transmission were transmitted to the carrier in electronic format or key entered by the carrier.
    A "Y" indicates the carrier utilized the electronic shipper supplied reference information to create this document. A "N" indicates the carrier key entered the reference information from a shipper supplied document.
MAN
0300
Detail > 1000 Loop > MAN

Marks and Numbers Information

OptionalMax use 9999

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

Q7
0400
Detail > 1000 Loop > Q7

Lading Exception Status

OptionalMax use 10

To specify the status of the shipment in terms of lading exception information

Example
If Packaging Form Code (Q7-02) is present, then Lading Quantity (Q7-03) is required
Q7-01
33
Lading Exception Code
Required
Identifier (ID)
Min 1Max 1

Code indicating the condition of the shipment

Q7-02
211
Packaging Form Code
Optional
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

Q7-03
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

K1
0500
Detail > 1000 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-form Information
Required
String (AN)
Min 1Max 30

Free-form information

K1-02
61
Free-form Information
Optional
String (AN)
Min 1Max 30

Free-form information

AT5
0600
Detail > 1000 Loop > AT5

Bill of Lading Handling Requirements

OptionalMax use 10

To identify Bill of Lading handling and service requirements

Example
Only one of Special Handling Code (AT5-01) or Special Handling Description (AT5-03) may be present
Only one of Special Services Code (AT5-02) or Special Handling Description (AT5-03) may be present
If Temperature (AT5-05) is present, then Unit or Basis for Measurement Code (AT5-04) is required
If Temperature (AT5-06) is present, then Unit or Basis for Measurement Code (AT5-04) is required
If Unit or Basis for Measurement Code (AT5-04) is present, then at least one of Temperature (AT5-05) or Temperature (AT5-06) is required
AT5-01
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

AT5-02
560
Special Services Code
Optional
Identifier (ID)
Min 2Max 10

Code identifying the special service

AT5-03
153
Special Handling Description
Optional
String (AN)
Min 2Max 30

Free-form additional description of special handling instructions to appear on printed bill if special handling code is not adequate

AT5-04
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

AT5-05
408
Temperature
Optional
Decimal number (R)
Min 1Max 4

Temperature

  • AT505 is the minimum temperature.
AT5-06
408
Temperature
Optional
Decimal number (R)
Min 1Max 4

Temperature

  • AT506 is the maximum temperature.
AT8
0700
Detail > 1000 Loop > AT8

Shipment Weight, Packaging and Quantity Data

OptionalMax use 10

To specify shipment details in terms of weight, and quantity of handling units

Example
If either Weight Qualifier (AT8-01), Weight Unit Code (AT8-02) or Weight (AT8-03) are present, then the others are required
If either Volume Unit Qualifier (AT8-06) or Volume (AT8-07) is present, then the other is required
AT8-01
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code defining the type of weight

AT8-02
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1

Code specifying the weight unit

AT8-03
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

AT8-04
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • AT804 is the quantity of handling units that are not unitized (for example a carton). When added to the quantity in AT805, it is the total quantity of handling units in the shipment.
AT8-05
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • AT805 is the quantity of handling units that are unitized (for example on a pallet or slip sheet). When added to the quantity in AT804 it is the total quantity of handling units for the shipment.
AT8-06
184
Volume Unit Qualifier
Optional
Identifier (ID)
Min 1Max 1

Code identifying the volume unit

AT8-07
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

1100 Loop
RequiredMax >1
AT7
0800
Detail > 1000 Loop > 1100 Loop > AT7

Shipment Status Details

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.

Example
If Shipment Status or Appointment Reason Code (AT7-02) is present, then Shipment Status Indicator (AT7-01) is required
Only one of Shipment Status Indicator (AT7-01) or Shipment Appointment Status Code (AT7-03) may be present
If Shipment Status or Appointment Reason Code (AT7-04) is present, then Shipment Appointment Status Code (AT7-03) is required
AT7-01
1650
Shipment Status Indicator
Optional
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.
Usage notes

Mandatory:
X1 = Arrived at Delivery Location
CD = Carrier Departed Delivery Location

If Applicable:
SD = Shipment Delayed

Mandatory only for Carriers doing Trans-Border Crossings:
K1 = Arrived at Customs
K2 = Released from Customs

Additional Status Codes for LTL Carriers Only:
AV = Available for Delivery
X9 = Delivery Appointment Secured on this dateand/or time
A9 = Shipment Damaged"

A9
Shipment Damaged
AV
Available for Delivery
CD
Carrier Departed Delivery Location
K1
Arrived at Customs
K2
Customs Released
SD
Shipment Delayed
X1
Arrived at Delivery Location
X9
Delivery Appointment Secured on this date and/or time
XB
Shipment Acknowledged
AT7-02
1651
Shipment Status or Appointment Reason Code
Optional
Identifier (ID)
Min 2Max 2

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

AT7-03
1652
Shipment Appointment Status Code
Optional
Identifier (ID)

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

AB
Delivery Appointment Date and/or Time
AC
Estimated Delivery Appointment Date and/or Time
AT7-04
1651
Shipment Status or Appointment Reason Code
Optional
Identifier (ID)
Min 2Max 2

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

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

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

Usage notes

Date of reported status

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

Time of reported status

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.
LT
Local Time
MS1
0900
Detail > 1000 Loop > 1100 Loop > 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

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

Free-form text for city name

MS1-02
156
State or Province Code
Required
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

MS2
1000
Detail > 1000 Loop > 1100 Loop > 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)

MS2-03
40
Equipment Description Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying type of equipment used for shipment

  • MS203 identifies the type for the equipment specified in MS202.
K1
1100
Detail > 1000 Loop > 1100 Loop > K1

Remarks

OptionalMax use 1

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

Example
K1-01
61
Free-form Information
Required
String (AN)
Min 1Max 30

Free-form information

K1-02
61
Free-form Information
Optional
String (AN)
Min 1Max 30

Free-form information

M7
1200
Detail > 1000 Loop > 1100 Loop > 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

M7-02
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-03
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-04
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-05
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

  • M705 indicates the name of the organization which applied the seal(s).
1100 Loop end
1200 Loop
OptionalMax >1
N1
1300
Detail > 1000 Loop > 1200 Loop > N1

Party Identification

RequiredMax use 1

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

Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Min 2Max 3

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

N1-02
93
Name
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
1400
Detail > 1000 Loop > 1200 Loop > N2

Additional Name Information

OptionalMax use 1

To specify additional names

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N2-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

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
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
Only one of State or Province Code (N4-02) or Country Subdivision Code (N4-07) may be present
If Country Subdivision Code (N4-07) is present, then Country Code (N4-04) 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

N4-07
1715
Country Subdivision Code
Optional
Identifier (ID)
Min 1Max 3

Code identifying the country subdivision

G62
1700
Detail > 1000 Loop > 1200 Loop > G62

Date/Time

OptionalMax use 1

To specify pertinent dates and times

  • The G62 segment shall not be used to report shipment status dates and/or times.
Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
G62-01
432
Date Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code specifying type of date

G62-02
373
Date
Optional
Date (DT)
CCYYMMDD format

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

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

Code specifying the reported time

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

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

L11
1800
Detail > 1000 Loop > 1200 Loop > L11

Business Instructions and Reference Number

OptionalMax use 10

To specify instructions in this business relationship or a reference number

Example
L11-01
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

Usage notes

Appointment number assigned by Destination Location, (This L11 loop is desired if AT7-03 = AB and the above L11 refers to a "Drop" stop.)

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

Code qualifying the Reference Identification

AO
Appointment Number
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

Example
At least one of Reference Identification (OID-01) or Purchase Order Number (OID-02) is required
If Reference Identification (OID-03) is present, then Purchase Order Number (OID-02) is required
If either Packaging Form Code (OID-04) or Quantity (OID-05) is present, then the other is required
If either Weight Unit Code (OID-06) or Weight (OID-07) is present, then the other is required
If either Volume Unit Qualifier (OID-08) or Volume (OID-09) is present, then the other is required
OID-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

  • OID01 is the seller's order identification number.
Usage notes

Reference ID for shipper's individual order number

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

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

Identifying number for Purchase Order assigned by the orderer/purchaser

OID-03
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

  • OID03 is the number assigned by the consignee to further define the purchase order number.
OID-04
211
Packaging Form Code
Optional
Identifier (ID)

Code for packaging form of the lading quantity

CA
Cases
OID-05
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

Usage notes

Shipment quantity (cases)

OID-06
188
Weight Unit Code
Optional
Identifier (ID)

Code specifying the weight unit

L
Pounds
OID-07
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

Usage notes

Shipment weight

OID-08
184
Volume Unit Qualifier
Optional
Identifier (ID)

Code identifying the volume unit

E
Cubic Feet
OID-09
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

Usage notes

Shipment volume

OID-10
647
Application Error Condition Code
Optional
Identifier (ID)
Min 1Max 3

Code indicating application error condition

OID-11
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

  • OID11 specifies the sorting and/or segregating number for each receiving location (processing area).
SDQ
2000
Detail > 1000 Loop > 1300 Loop > SDQ

Destination Quantity

OptionalMax use 10

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

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

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

EDI Samples

Sample 1

ISA*00* *00* *02*SCAC *ZZ*FMXNSTA *120311*0018*:*00501*000203062*1*P*>~
GS*QM*SCAC*FMXNSTA*20120311*001806*203062*X*005010~
ST*214*030620001~
B10*PRO1343095*89561128*SCAC~
LX*1~
L11*2*QN~
AT7***AB**20120311*0800*LT~
MS1*LANSING*MI*USA~
MS2*SCAC*217660~
OID*8137632228*2015776219~
LX*2~
L11*2*QN~
AT7*X1*AM***20120311*0730*LT~
MS1*LANSING*MI*USA~
MS2*SCAC*217660~
OID*8137632228*2015776219~
LX*2~
L11*3*QN~
AT7*CD****20120311*1000*LT~
MS1*LANSING*MI*USA~
MS2*SCAC*217660~
OID*8137632228*2015776219~
SE*21*030620001~
GE*1*203062~
IEA*1*000203062~

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.