Amazon
/
Retail Routing Instructions
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from Amazon. Contact Amazon for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Amazon logo

X12 754 Retail Routing Instructions

X12 Release 5010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI sample
  • Retail
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/amazon/retail-routing-instructions/01H198WP8E0RV5FX7A4VDZJY3X
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
0100
Transaction Set Header
Max use 1
Required
BGN
0200
Beginning Segment
Max use 1
Required
PER
0300
Administrative Communications Contact
Max use 5
Optional
0100 Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
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
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
RG
Routing Instructions (754)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
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
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
754
Routing Instructions
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BGN
0200
Heading > BGN

Beginning Segment

RequiredMax use 1
Usage notes
Example
If Time Code (BGN-05) is present, then Time (BGN-04) is required
BGN-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
05
Replace
BGN-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
Required
Date (DT)
CCYYMMDD format
Usage notes
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
BGN-05
623
Time Code
Optional
Identifier (ID)
Usage notes
UT
Universal Time Coordinate
BGN-06
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
PER
0300
Heading > PER

Administrative Communications Contact

OptionalMax use 5
Usage notes
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
C1
Carrier Contact
RE
Receiving Contact
SH
Shipper Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
0100 Loop
RequiredMax >1
Variants (all may be used)
Carrier
N1
0400
Heading > 0100 Loop > N1

Party Identification

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SF
Ship From
Optional
String (AN)
Min 1Max 60
N3
0600
Heading > 0100 Loop > N3

Party Location

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0700
Heading > 0100 Loop > N4

Geographic Location

OptionalMax use 1
Usage notes
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
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
N4-07
1715
Country Subdivision Code
Optional
Identifier (ID)
Min 1Max 3
0100 Loop end
0100 Carrier
RequiredMax 1
Variants (all may be used)
0100 Loop
N1
0400
Heading > Carrier > N1

Party Identification

RequiredMax use 1
Usage notes
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
CA
Carrier
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
2
Standard Carrier Alpha Code (SCAC)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
0100 Carrier end
Heading end

Detail

0200 Loop
RequiredMax >1
LX
0100
Detail > 0200 Loop > LX

Transaction Set Line Number

RequiredMax use 1
Usage notes
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
L11
0200
Detail > 0200 Loop > L11

Business Instructions and Reference Number

OptionalMax use 5
Usage notes
Example
If either Reference Identification (L11-01) or Reference Identification Qualifier (L11-02) is present, then the other is required
At least one of Reference Identification (L11-01) or Description (L11-03) is required
L11-01
127
Reference Identification
Optional
String (AN)
Min 1Max 50
L11-02
128
Reference Identification Qualifier
Optional
Identifier (ID)
F8
Original Reference Number
L11-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
OID
0400
Detail > 0200 Loop > OID

Order Information Detail

RequiredMax use >1
Usage notes
Example
OID-02
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
G62
0500
Detail > 0200 Loop > G62

Requested Ship Date/Pickup Date

RequiredMax use 1
Usage notes
Example
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Required
Identifier (ID)
10
Requested Ship Date/Pickup Date
Required
Date (DT)
CCYYMMDD format
Usage notes
G62-03
176
Time Qualifier
Optional
Identifier (ID)
U
Scheduled Pickup Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
G62-05
623
Time Code
Optional
Identifier (ID)
Usage notes
LT
Local Time
G62
0500
Detail > 0200 Loop > G62

Scheduled Pickup Date

RequiredMax use 1
Usage notes
Example
Variants (all may be used)
G62Requested Ship Date/Pickup Date
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Required
Identifier (ID)
69
Scheduled Pickup Date
Required
Date (DT)
CCYYMMDD format
Usage notes
G62-03
176
Time Qualifier
Required
Identifier (ID)
U
Scheduled Pickup Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
G62-05
623
Time Code
Optional
Identifier (ID)
Usage notes
LT
Local Time
0210 Loop
RequiredMax >1
QTY
0700
Detail > 0200 Loop > 0210 Loop > QTY

Quantity Information

RequiredMax use 1
Usage notes
Example
QTY-01
673
Quantity Qualifier
Required
Identifier (ID)
H9
Scheduled Quantity
QTY-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
Usage notes
QTY-04
61
Free-form Information
Optional
String (AN)
Cartons
Pallets
Stacked Pallets
AT9
0800
Detail > 0200 Loop > 0210 Loop > AT9

Trailer or Container Dimension and Weight

OptionalMax use 1
Usage notes
Example
If either Weight Qualifier (AT9-04), Weight Unit Code (AT9-05) or Weight (AT9-06) are present, then the others are required
If either Volume Unit Qualifier (AT9-07) or Volume (AT9-08) is present, then the other is required
AT9-04
187
Weight Qualifier
Optional
Identifier (ID)
Usage notes
A3
Shippers Weight
AT9-05
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1
AT9-06
81
Weight
Optional
Decimal number (R)
Min 1Max 10
Usage notes
AT9-07
184
Volume Unit Qualifier
Optional
Identifier (ID)
Min 1Max 1
AT9-08
183
Volume
Optional
Decimal number (R)
Min 1Max 8
Usage notes
0210 Loop end
0220 Loop
RequiredMax >1
N1
0900
Detail > 0200 Loop > 0220 Loop > N1

Party Identification

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ST
Ship To
Required
String (AN)
Min 1Max 60
N3
1100
Detail > 0200 Loop > 0220 Loop > N3

Party Location

RequiredMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
1200
Detail > 0200 Loop > 0220 Loop > N4

Geographic Location

RequiredMax use 1
Usage notes
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
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
N4-07
1715
Country Subdivision Code
Optional
Identifier (ID)
Min 1Max 3
0220 Loop end
0200 Loop end
SE
1300
Detail > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Detail end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
EDI Samples

Retail

ISA*00* *00* *ZZ*AMAZON *ZZ*SENDERID *220811*2338*U*00501*000002888*0*P*>~
GS*RG*AMAZON*SENDERID*20220811*2338*2888*X*005010~
ST*754*0001~
BGN*00*1122511*20220811*103006*UT*5005337470~
PER*C1*CarrierContact*TE*206-555-5555*EM*carrier@carrier.com~
PER*RE*RNO1Clerk*TE*206-555-5555*EM*RN01@amazon.com~
PER*SH*ShipperContact*TE*425-555-5555*EM*shipper@shipper.com~
N1*CA*FEDERAL EXPRESS CORP*2*FDE~
N1*SF*VendorCode~
N3*605 5th Ave N~
N4*Seattle*WA*98104*US~
LX*1~
L11*1239949670*F8*Load Type:TL Load Value:LOW~
OID**POnumber1~
OID**POnumber2~
OID**POnumber3~
G62*69*20220812*U*120000*LT~
G62*10*20220811~
QTY*H9*11**Pallets~
QTY*H9*5**Stacked Pallets~
AT9****A3*L*12716.0*E*2704.0~
N1*ST*AMAZON.COM~
N3*1600 EAST NEWLANDS DRIVE~
N4*FERNLEY*NV*89408*US~
SE*23*0001~
GE*1*2888~
IEA*1*000002888~

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.