Niagara Bottling
/
Transportation Carrier Shipment Status Message
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from Niagara Bottling. Contact Niagara Bottling for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Niagara Bottling logo

X12 214 Transportation Carrier Shipment Status Message

X12 Release 4010

This Draft Standard for Trial Use 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
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/niagara-bottling/transportation-carrier-shipment-status-message/01GYW5Y91A61JFVHCAN1Q93R8Y
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
B10
020
Beginning Segment for Transportation Carrier Shipment Status Message
Max use 1
Required
Ship From
MS3
120
Interline Information
Max use 12
Optional
0200 Loop
SE
610
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 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

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

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

Usage notes

Example: B10123456789987654*SCAC

Example
B10-01
127
Reference Identification
Required
String (AN)
Min 1Max 30

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

Carriers Invoice or 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

B2_04 value from 204

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.
0100 Ship From
OptionalMax >1
Variants (all may be used)
Ship To
N1
050
Heading > Ship From > N1

Name

RequiredMax use 1

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

Usage notes

N1SFShip From92warehouse code

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

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

SF
Ship From
N1-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Required
Identifier (ID)

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

92
Assigned by Buyer or Buyer's Agent
94
Code assigned by the organization that is the ultimate destination of the transaction set
N1-04
67
Identification Code
Required
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.
N3
070
Heading > Ship From > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

Example: N3*7561 Industrial Blvd

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

Address information

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

Address information

N4
080
Heading > Ship From > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Usage notes

Example: N4AllentownPA18106US

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

Code identifying the country

0100 Ship From end
0100 Ship To
OptionalMax >1
Variants (all may be used)
Ship From
N1
050
Heading > Ship To > N1

Name

RequiredMax use 1

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

Usage notes

N1STShip To92warehouse code

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

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

ST
Ship To
N1-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Required
Identifier (ID)

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

92
Assigned by Buyer or Buyer's Agent
94
Code assigned by the organization that is the ultimate destination of the transaction set
N1-04
67
Identification Code
Required
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.
N3
070
Heading > Ship To > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

Example: N3*7561 Industrial Blvd

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

Address information

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

Address information

N4
080
Heading > Ship To > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Usage notes

Example: N4AllentownPA18106US

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

Code identifying the country

0100 Ship To end
MS3
120
Heading > MS3

Interline Information

OptionalMax use 12

To identify the interline carrier and relevant data

Usage notes

Example: MS3SCACOAllentown PALT

Example
MS3-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • MS301 is the Standard Carrier Alpha Code (SCAC) of the interline carrier.
MS3-02
133
Routing Sequence Code
Required
Identifier (ID)

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

1
1st Carrier after Origin Carrier
O
Origin Carrier (Air, Motor, or Ocean)
MS3-03
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • MS303 is the city where the interline was performed.
Usage notes

Name of Interchange City

MS3-04
91
Transportation Method/Type Code
Optional
Identifier (ID)

Code specifying the method or type of transportation for the shipment

A
Air
C
Consolidation
J
Motor
LT
Less Than Trailer Load (LTL)
MP
Motor (Package Carrier)
S
Ocean
X
Intermodal (Piggyback)
0200 Loop
RequiredMax >1
LX
130
Heading > 0200 Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

Usage notes

Example: LX*1~

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

Number assigned for differentiation within a transaction set

0205 Loop
RequiredMax >1
AT7
140
Heading > 0200 Loop > 0205 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.

Usage notes

Example: AT7X3NS**201412211030*LT~

Example
Only one of Shipment Status Code (AT7-01) or Shipment Appointment Status Code (AT7-03) may be present
If either Shipment Appointment Status Code (AT7-03) or Shipment Status or Appointment Reason Code (AT7-04) is present, then the other is required
AT7-01
1650
Shipment Status Code
Required
Identifier (ID)
Min 2Max 2

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

All valid standard codes are used. Following are required:
AF - Carrier Departed Pick-up Location with Shipment
CD - Carrier Departed Delivery Location
X1 - Arrived at Delivery Location
X3 - Arrived at Pick-up Location
X6 - En Route to Delivery Location

AT7-02
1651
Shipment Status or Appointment Reason Code
Required
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 pick-up or deliver a shipment

Usage notes

Mandatory for carrier scheduled.

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

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

AD
Customer Requested Future Delivery
AO
Weather or Natural Disaster Related
BJ
Customer Wanted Earlier Delivery
D2
Driver Not Available
NS
Normal Status
AT7-05
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

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

HHMM

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.
LT
Local Time
MS1
143
Heading > 0200 Loop > 0205 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

Usage notes

Example: MS1BostonMAUSA12212170393931WN91320~

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
Only one of City Name (MS1-01) or Longitude Code (MS1-04) may be present
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-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-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

Used only with X6 status.

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

Used only with X6 status.

MS1-06
1280
Direction Identifier Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying geographic direction

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

Used only with X6 status.

MS1-07
1280
Direction Identifier Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying geographic direction

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

Used only with X6 status.

MS2
146
Heading > 0200 Loop > 0205 Loop > MS2

Equipment or Container Owner and Type

OptionalMax use 1

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

Usage notes

Example: MS2SCAC0987654~

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 10

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)

Code identifying type of equipment used for shipment

  • MS203 identifies the type for the equipment specified in MS202.
CN
Container
CV
Closed Van
FT
Flat Bed Trailer
0205 Loop end
L11
150
Heading > 0200 Loop > L11

Appointment Number

OptionalMax use 10

To specify instructions in this business relationship or a reference number

Usage notes

Example: L11999AO~

Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 30

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

AO
Appointment Number
L11
150
Heading > 0200 Loop > L11

Stop Sequence Number

RequiredMax use 10

To specify instructions in this business relationship or a reference number

Usage notes

Example: L111QN~

Example
Variants (all may be used)
L11 Appointment Number
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 30

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
Q7
160
Heading > 0200 Loop > Q7

Lading Exception Code

OptionalMax use 10

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

Usage notes

Example: Q7DPLT*1~

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)

Code indicating the condition of the shipment

A
All Short
D
Damaged
E
Entire Shipment Refused
O
Overage
P
Partial Shipment
W
Wrong Product
Q7-02
211
Packaging Form Code
Optional
Identifier (ID)

Code for packaging form of the lading quantity

BAG
Bag
CTN
Carton
PCS
Pieces
PLT
Pallet
Q7-03
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

K1
170
Heading > 0200 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 Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

Remarks or Notes

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

AT5
180
Heading > 0200 Loop > AT5

Bill of Lading Handling Requirements

OptionalMax use 10

To identify Bill of Lading handling and service requirements

Usage notes

Example: AT5**US~

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

Code specifying special transportation handling instructions

Usage notes

All valid standard codes are used.

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

Code identifying the special service

Usage notes

All valid standard codes are used.

AT8
200
Heading > 0200 Loop > AT8

Shipment Weight, Packaging and Quantity Data

RequiredMax use 10

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

Usage notes

Example: AT8GL500022E4400~

Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)

Code defining the type of weight

G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)

Code specifying the weight unit

L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10

Numeric value of weight

AT8-04
80
Lading Quantity
Required
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-06
184
Volume Unit Qualifier
Required
Identifier (ID)

Code identifying the volume unit

E
Cubic Feet
AT8-07
183
Volume
Required
Decimal number (R)
Min 1Max 8

Value of volumetric measure

0210 Loop
OptionalMax >1
CD3
210
Heading > 0200 Loop > 0210 Loop > CD3

Carton (Package) Detail

RequiredMax use 1

To transmit identifying codes, weights, and other related information related to an individual carton (package)

  • Loops 0210, 0215 and 0220 shall be used in conjunction with loop 0200 to convey status for small package carrier shipments.
Example
If either Weight Qualifier (CD3-01) or Weight (CD3-02) is present, then the other is required
CD3-01
187
Weight Qualifier
Optional
Identifier (ID)

Code defining the type of weight

G
Gross Weight
CD3-02
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

NM1
240
Heading > 0200 Loop > 0210 Loop > NM1

Individual or Organizational Name

OptionalMax use 1

To supply the full name of an individual or organizational entity

Usage notes

If NM1 is used to send Appointment name than NM103 is Mandatory.

Example: NM1**DOEJOHN*S~

Example
NM1-01
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

NM1-02
1065
Entity Type Qualifier
Optional
Identifier (ID)
Min 1Max 1

Code qualifying the type of entity

  • NM102 qualifies NM103.
NM1-03
1035
Name Last or Organization Name
Required
String (AN)
Min 1Max 35

Individual last name or organizational name

NM1-04
1036
Name First
Optional
String (AN)
Min 1Max 25

Individual first name

NM1-05
1037
Name Middle
Optional
String (AN)
Min 1Max 25

Individual middle name or initial

0220 Loop
RequiredMax >1
N1
270
Heading > 0200 Loop > 0210 Loop > 0220 Loop > N1

Name

RequiredMax use 1

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

Usage notes

Example: N1STStop Name92warehouse code

Example
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
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Required
Identifier (ID)

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

92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Required
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.
N3
290
Heading > 0200 Loop > 0210 Loop > 0220 Loop > N3

Address Information

OptionalMax use 3

To specify the location of the named party

Usage notes

Example: N3*7561 Industrial Blvd~

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
300
Heading > 0200 Loop > 0210 Loop > 0220 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Usage notes

Example: N4AllentownPA18106US

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

Code identifying the country

0220 Loop end
0210 Loop end
0230 Loop
OptionalMax >1
PRF
320
Heading > 0200 Loop > 0230 Loop > PRF

Purchase Order Reference

RequiredMax use 1

To provide reference to a specific purchase order

Usage notes

Example: PRF20234543526~

Example
PRF-01
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

OID_02 value from 204

PRF-02
328
Release Number
Required
String (AN)
Min 1Max 30

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

Usage notes

Niagara Delivery Number

OID_01 value from 204

The field should contain the OID_01 value from the 204 that corresponds with the related OID_02 value.

0230 Loop end
0200 Loop end
SE
610
Heading > 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

Heading 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

ST*214*1749~
B10*5695710*NB15001992*SCAC~
LX*1~
AT7*X3*NS***20141221*1030*LT~
MS1*ONTARIO*CA~
MS2*SCAC*TR-6~
AT7*AF*NS***20141221*1100*LT~
MS1*ONTARIO*CA~
MS2*SCAC*TR-6~
AT7*X6*NS***20141221*1115*LT~
MS1****0340158*1173548*N*W~
MS2*SCAC*TR-6~
L11*987654*AO~
L11*1*QN~
K1*HI RYAN*GO CARDINALS~
K1*MERRY CHRISTMAS*HAPPY NEW YEAR~
K1*PHOENIX IS GREAT*SUN IS SHINING~
AT8*G*L*1886.6*132**E*0~
CD3*G*1886.6~
NM1*ZZ*1*SUPERSTAR*JODI*THE~
N1*SF*NIAGARA PHILLY*92*145~
N3*2560 E PHILADELPHIA ST.~
N4*ONTARIO*CA*91761*US~
PRF*TWST93423*21389740~
LX*2~
AT7*X1*NS***20141222*1300*LT~
MS1*LONDON*KY~
MS2*SCAC*TR-6~
AT7*CD*NS***20141222*1330*LT~
MS1*LONDON*KY~
MS2*SCAC*TR-6~
L11*987654*AO~
L11*2*QN~
K1*JINGLE BELLS*FROSTY THE SNOWMAN~
K1*RUDOLPH*SILENT NIGHT~
AT8*G*L*1886.6*132**E*0~
CD3*G*1886.6~
NM1*ZZ*1*GREAT*GRACE*THE~
N1*ST*KROGER DSD,LONDON,KY,USA*92*2578~
N3*KROGER DSD #L409 1732 WEST HIGHWAY 192~
N4*LONDON*KY*40741*US~
PRF*TWST93423*21389740~
SE*43*1749~

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.