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

X12 214 Transportation Carrier Shipment Status Message

X12 Release 4030

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
  • ^ Repetition
EDI sample
  • sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/jcpenney/transportation-carrier-shipment-status-message/01GVNK693QJH1Q6ZA3V380QX9W
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
Assigned Number
Max use 1
Required
L11
0200
Business Instructions and Reference Number
Max use 10
Required
Q7
0400
Lading Exception Code
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
Required
1300 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

00403
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1999
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 Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
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

004030
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1999

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

Usage notes

The Bill of Lading (BOL) number is required in B1002. B1002 must contain the BOL number provided by the Shipper.

B1011122233311122233344455567ABCD~~~~~20160505144510.

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

Shipment 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

Bill of lading number.

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.
B10-08
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • B1008 is the transaction creation date.
Usage notes

Date transaction created.

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

  • B1009 is the transaction creation time.
Usage notes

Time transaction created.

MS3
0300
Heading > MS3

Interline Information

OptionalMax use 12

To identify the interline carrier and relevant data

Usage notes

Origin/Delivery Carrier (Any Mode)
MS3ABCDB~~J.

Origin Carrier (Air, Motor or Ocean)
MS3ABCDB~~A.

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)
Min 1Max 2

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

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

Code specifying the method or type of transportation for the shipment

A
Air
J
Motor
S
Ocean
X
Intermodal (Piggyback)
Heading end

Detail

1000 Loop
RequiredMax >1
LX
0100
Detail > 1000 Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

Usage notes

LX~1

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

Number assigned for differentiation within a transaction set

Usage notes

A sequential number starting with one, and incremented by one, for every occurrence of the LX segment.

L11
0200
Detail > 1000 Loop > L11

Business Instructions and Reference Number

RequiredMax use 10

To specify instructions in this business relationship or a reference number

Usage notes

Used only for TMS shipments. Indicates the carrier load identification (TMS Load ID).

L11123456789LO

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

Carrier load ID.

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

Code qualifying the Reference Identification

LO
Load Planning Number
Q7
0400
Detail > 1000 Loop > Q7

Lading Exception Code

OptionalMax use 10

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

Usage notes

Can be used to specify exceptions at the pickup location (AT701 = AF) or delivery location (AT701 = X1).

Q7OCTN150
Q7
DCTN10

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
O
Overage
P
Partial 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

AT5
0600
Detail > 1000 Loop > AT5

Bill of Lading Handling Requirements

OptionalMax use 10

To identify Bill of Lading handling and service requirements

Usage notes

AT5LHSS1

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

AT8
0700
Detail > 1000 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

This segment is required when AT701 = AF.

AT8GL1850820.

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)

Code defining the type of weight

G
Gross Weight
N
Actual Net Weight
AT8-02
188
Weight Unit Code
Optional
Identifier (ID)

Code specifying the weight unit

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

Numeric value of weight

Usage notes

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

Code identifying the volume unit

E
Cubic Feet
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.

Usage notes

AT7AFNS~~~201605051445LT.
AT7X1NS~~~201605090900LT.

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

Code indicating the status of a shipment

  • If AT701 is present, AT705 is the date the status occurred. If AT703 is present, AT705 is a date related to an appointment.
  • If AT701 is present, AT706 is the time of the status. If AT703 is present, AT706 is the time of the appointment.
A3
Shipment Returned to Shipper
A7
Refused by Consignee
A9
Shipment Damaged
AF
Carrier Departed Pick-up Location with Shipment
AG
Estimated Delivery
AH
Attempted Delivery
AI
Shipment has been Reconsigned
AJ
Tendered for Delivery
AL
AM
Loaded on Truck
AN
Diverted to Air Carrier
AP
Delivery Not Completed
AR
Rail Arrival at Destination Intermodal Ramp
AV
Available for Delivery
B6
Estimated to Arrive at Carrier Terminal
BA
Connecting Line or Cartage Pick-up
BC
Storage in Transit
C1
Estimated to Depart Terminal Location
C2
CA
Shipment Cancelled
CB
Completed Shipment
CD
Carrier Departed Delivery Location
CL
Trailer Closed Out
CP
Completed Loading at Pick-up Location
CU
D1
Completed Unloading at Delivery Location
I1
In-Gate
IO
J1
Delivered to Connecting Line
K1
Arrived at Customs
L1
Loading
OA
Out-Gate
OO
Paperwork Received - Did not Receive Shipment or Equipment
OP
P1
Departed Terminal Location
PA
Partial Shipment
PR
U.S. Customs Hold at In-Bond Location
R1
Received from Prior Carrier
RL
Rail Departure from Origin Intermodal Ramp
S1
Trailer Spotted at Consignee's Location
SD
Shipment Delayed
X1
Arrived at Delivery Location
X2
Estimated Date and/or Time of Arrival at Consignee's Location
X4
Arrived at Terminal Location
X5
Arrived at Delivery Location Loading Dock
X6
En Route to Delivery Location
X8
Arrived at Pick-up Location Loading Dock
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-05
373
Date
Optional
Date (DT)
CCYYMMDD format

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

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

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

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

Equipment or Container Owner and Type

RequiredMax use 2

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

Usage notes

This segment is required for Truck Load (TL) shipments.

MS2ABCDT123456TL.
MS2
ABCD~T123456.

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

Standard Carrier Alpha Code

MS2-02
207
Equipment Number
Required
String (AN)
Min 1Max 10

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

Usage notes

Trailer number.

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

Usage notes

Can be used to specify equipment seal number(s) at the pick-up location (AT701 = AF) or delivery location (AT701 = X1).

M7~S12345.

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

1100 Loop end
1200 Ship From
RequiredMax >1
Variants (all may be used)
Ship To
N1
1300
Detail > 1000 Loop > Ship From > N1

Name

RequiredMax use 1

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

Usage notes

Two N1 loops are required for each of the Entity Identifier Codes in N101 when AT701 = AF.

From JCPenney Supplier
N1SFACME TRADING92123456

From JCPenney Facility
N1SFJCPENNEY CO9293658

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

Six digit JCPenney assigned vendor number (N101 = SF) or five digit Ship To location (N101 = ST).

If six digit JCPenney supplier number is not available, N102 must contain the Ship From (SF) client's name.

N3
1500
Detail > 1000 Loop > Ship From > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

Ship From (SF) Address
N3123 SIMPLE STREET.
or
N3
457 NEW TON AVENUE~SUITE 10.

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 > Ship From > N4

Geographic Location

RequiredMax use 1

To specify the geographic place of the named party

Usage notes

Ship From City, State and Zip
N4DALLASTX752019998.
or
N4
DALLASTX75201.

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

Code identifying the country

Usage notes

Code required if country is not USA.

1200 Ship From end
1200 Ship To
RequiredMax >1
Variants (all may be used)
Ship From
N1
1300
Detail > 1000 Loop > Ship To > N1

Name

RequiredMax use 1

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

Usage notes

Two N1 loops are required for each of the Entity Identifier Codes in N101 when AT701 = AF.

Ship To JCPenney
N1STJCPENNEY CO9294417

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

Six digit JCPenney assigned vendor number (N101 = SF) or five digit Ship To location (N101 = ST).

If six digit JCPenney supplier number is not available, N102 must contain the Ship From (SF) client's name.

N3
1500
Detail > 1000 Loop > Ship To > N3

Address Information

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 > Ship To > N4

Geographic Location

RequiredMax use 1

To specify the geographic place of the named party

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

Code identifying the country

Usage notes

Code required if country is not USA.

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

Order Identification Detail

RequiredMax use 1

To specify order identification detail

Usage notes

OID12345678PCS~150.

Example
If either Packaging Form Code (OID-04) or Quantity (OID-05) is present, then the other is required
OID-02
324
Purchase Order Number
Optional
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

OID-04
211
Packaging Form Code
Optional
Identifier (ID)

Code for packaging form of the lading quantity

PCS
Pieces
OID-05
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

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

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0339*^*00403*000000001*0*T*>
GS*QM*SENDERGS*RECEIVERGS*20231102*033951*000000001*X*004030
ST*214*300000004
B10*111222333*11122233344455567*ABCD*****20160505*144510
MS3*ABCD*B**J
LX*1
L11*123456789*LO
Q7*O*CTN*150
AT5*LHS*S1
AT8*G*L*1850*820
AT7*AF*NS***20160505*1445*LT
MS2*ABCD*T123456*TL
M7*S12345
N1*SF*ACME TRADING*92*123456
N3*123 SIMPLE STREET
N4*DALLAS*TX*752019998
N1*ST*JCPENNEY CO*92*94417
N4*DALLAS*TX*752019998
OID**12345678**PCS*150
SE*18*300000004
GE*1*000000001
IEA*1*000000001

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.