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

X12 856 Advance Shipping Notice

X12 Release 2002
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • sample 1
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/mazda/advance-shipping-notice/01HPSY5BJCD9NCKH3T4D496TDC
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
detail
HL Loop
MEA
15
Measurements
Max use 40
Required
TD1
18
Carrier Details (Quantity and Weight)
Max use 20
Optional
TD5
19
Carrier Details (Routing)
Max use 12
Required
TD3
20
Carrier Details (Equipment)
Max use 12
Required
REF
22
Reference Numbers
Max use 200
Required
HL Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Max use 1
Required
GS

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
SH
Ship Notice/Manifest (856)
GS-02
142
Application Sender's Code
Required
Identifier (ID)
Min 2Max 12
GS-03
124
Application Receiver's Code
Required
Identifier (ID)
Min 2Max 12
GS-04
29
Data Interchange Date
Required
Date (DT)
YYMMDD format
GS-05
30
Data Interchange Time
Required
Time (TM)
HHMM format
GS-06
28
Data Interchange 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 ID Code
Required
Identifier (ID)
002002MNAO

Heading

ST
2
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set ID
Required
Identifier (ID)
856
X12.10 Ship Notice/Manifest
ST-02
329
Transaction Set Control Number
Required
Numeric (N0)
Min 4Max 9
BSN
3
Heading > BSN

Beginning Segment Receiving Advice

RequiredMax use 1
Example
BSN-01
353
Purpose Code
Required
Identifier (ID)
00
Original
01
Cancel
05
Replace
12
Test
BSN-02
396
ASN Number
Required
String (AN)
Min 6Max 8
Usage notes
BSN-03
373
ASN Issue Date
Required
Date (DT)
YYMMDD format
BSN-04
337
ASN Issue Time
Required
Time (TM)
HHMM format
DTM
5
Heading > DTM

Date/Time Reference

RequiredMax use 10
Example
DTM-01
374
Qualifier
Required
Identifier (ID)
Usage notes
011
Shipped
017
Estimated Delivery
Required
Date (DT)
YYMMDD format
Required
Time (TM)
HHMM format
Heading end

Detail

HL Loop
RequiredMax >1
MEA
15
Detail > HL Loop > MEA

Measurements

RequiredMax use 40
Example
MEA-01
737
Measurement Reference ID
Required
Identifier (ID)
PD
Physical Dimensions
MEA-02
738
Measurement Dimension Qualifier ID
Required
Identifier (ID)
G
Gross Weight
N
Net Weight
MEA-03
739
Measurement Value
Required
Decimal number (R)
Min 1Max 10
MEA-04
355
Unit of Measurement
Required
Identifier (ID)
KG
Kilogram
LB
Pound
TD1
18
Detail > HL Loop > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Example
TD1-01
103
Packaging Code
Required
Identifier (ID)
Min 5Max 5
Usage notes
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
Usage notes
TD5
19
Detail > HL Loop > TD5

Carrier Details (Routing)

RequiredMax use 12
Example
TD5-01
133
Routing Sequence Code
Required
Identifier (ID)
B
Origin/Delivery Carrier
TD5-02
66
ID Qualifier
Required
Identifier (ID)
02
TD5-03
67
ID Code
Required
Identifier (ID)
Min 2Max 4
Usage notes
Required
Identifier (ID)
A
Air
AE
Air Express
E
Expedited Truck
G
Piggyback
H
Customer Pickup
JT
Just-in-Time
LT
Less than truckload
M
Motor
O
Containerized Ocean
PA
Pooled Air
PC
Private Carrier
PG
Pooled Piggyback
PP
Pool to Pool
PR
Pooled Rail
PT
Pooled Truck
R
Rail
RR
Roadrailer
S
Ocean
U
UPS
W
Inland Waterway
ZZ
On Hand at pool
TD3
20
Detail > HL Loop > TD3

Carrier Details (Equipment)

RequiredMax use 12
Example
TD3-01
40
Equipment Description Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
TD3-02
206
Equipment Initial
Optional
String (AN)
Min 1Max 4
Usage notes
TD3-03
207
Equipment Number
Required
String (AN)
Min 1Max 7
Usage notes
REF
22
Detail > HL Loop > REF

Reference Numbers

RequiredMax use 200
Usage notes
Example
REF-01
128
Reference Number Qualifier
Required
Identifier (ID)
Usage notes
AW
Airbill Number
BM
Bill of Lading
CO
Dealer Direct
DO
Delivery Order Number
FR
Freight Bill Number
HC
Heat Code
LS
Label Serial Number
LT
Lot Number
PK
Packing Slip
SN
Seal Number
VM
Vessel Name
REF-02
127
Reference Number
Required
String (AN)
Min 1Max 30
N1 Loop
RequiredMax >1
N1
29
Detail > HL Loop > N1 Loop > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SF
Ship From
ST
Ship To
SU
Supplier
N1-03
66
ID Code Qualifier
Required
Identifier (ID)
92
Assigned by Buyer
N1-04
67
ID Code
Required
Identifier (ID)
Min 2Max 5
Usage notes
Example values
  • CH
  • P1795
N1 Loop end
HL Loop
OptionalMax >1
LIN
8
Detail > HL Loop > HL Loop > LIN

Line Item Detail

RequiredMax use 1
Example
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
BP
Buyer's Part Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 30
Usage notes
SN1
10
Detail > HL Loop > HL Loop > SN1

Item Detail (Shipment)

RequiredMax use 1
Usage notes
Example
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 7
Usage notes
SN1-03
355
Unit of Measure Code
Required
Identifier (ID)
Min 2Max 2
SN1-04
646
Quantity Shipped to Date
Optional
Decimal number (R)
Min 1Max 9
Usage notes
REF
22
Detail > HL Loop > HL Loop > REF

Reference

OptionalMax use 200
Usage notes
Example
REF-01
128
Reference Number Qualifier
Required
Identifier (ID)
DO
Delivery Order Number
LS
Bar Coded Shipping Label
REF-02
127
Reference Number
Optional
String (AN)
Min 1Max 30
Usage notes
CLD Loop
OptionalMax 200
CLD
24
Detail > HL Loop > HL Loop > CLD Loop > CLD

Customer's Load Detail

RequiredMax use 1
Example
CLD-01
622
Number of Customer Loads
Required
Numeric (N0)
Min 1Max 5
Usage notes
CLD-02
382
Units Shipped
Required
Decimal number (R)
Min 1Max 7
Usage notes
CLD-03
103
Packaging Code
Required
Identifier (ID)
Min 5Max 5
Usage notes
CLD Loop end
HL Loop end
HL Loop end
Detail end

Summary

CTT
41
Summary > CTT

Transaction Totals

RequiredMax use 1
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
Usage notes
CTT-02
347
Quantity Hash Totals
Required
Decimal number (R)
Min 1Max 10
Usage notes
SE
42
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Segments
Required
Numeric (N0)
Min 1Max 6
SE-02
329
Transaction Set Control Number
Required
Numeric (N0)
Min 4Max 9
Summary 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
Data Interchange Control Number
Required
Numeric (N0)
Min 1Max 9
EDI Samples

sample 1

ST*856*1019
BSN*00*052625*940513*1606
DTM*017*940514*1830
HL*1**S
MEA*PD*G*34270*LB
TD1*PLT90*1
TD5*B*02*RDWY*M
TD3*TL**1028A
REF*BM*KPX8901
REF*PK*849302
N1*SF**92*P1795
N1*ST**92*CH
HL*2*1*I
LIN**BP*GA2E68520D
SN1**20*PC
REF*DO*111786019
REF*LS*S23275
CLD*1*20*PLT90
CTT*2*20
SE*20*1019

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.