UPS
/
Motor Carrier Package Status (5010)
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from UPS. Contact UPS for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
UPS logo

X12 240 Motor Carrier Package Status (5010)

X12 Release 5010
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/ups/motor-carrier-package-status-5010/01HNE9Z48PAP5DCF7P6Q06MCGQ
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
1000 Loop Alternate Delivery Address Receiver
detail
2000 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)
MZ
Motor Carrier Package Status (240)
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)
240
Motor Carrier Package Status
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BGN
0200
Heading > BGN

Beginning Segment

RequiredMax use 1
Example
BGN-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
BGN-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
Required
Date (DT)
CCYYMMDD format
1000 Loop Alternate Delivery Address Receiver
OptionalMax 1
Variants (all may be used)
1000 Loop Alternate Delivery Address Signer1000 Loop Alternate Delivery Address Ultimate Consignee1000 Loop Bill-to-Party1000 Loop Shipper
N1
0300
Heading > 1000 Loop Alternate Delivery Address Receiver > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Usage notes
40
Receiver
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
40
Electronic Mail User Code
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
0500
Heading > 1000 Loop Alternate Delivery Address Receiver > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
0600
Heading > 1000 Loop Alternate Delivery Address Receiver > N4

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
1000 Loop Alternate Delivery Address Receiver end
N1
0300
Heading > 1000 Loop Alternate Delivery Address Signer > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Usage notes
UZ
Signer
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
Usage notes
95
Assigned By Transporter
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
0500
Heading > 1000 Loop Alternate Delivery Address Signer > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
0600
Heading > 1000 Loop Alternate Delivery Address Signer > N4

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
1000 Loop Alternate Delivery Address Signer end
1000 Loop Alternate Delivery Address Ultimate Consignee
OptionalMax 1
N1
0300
Heading > 1000 Loop Alternate Delivery Address Ultimate Consignee > N1

Party Identification

RequiredMax use 1
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)
Usage notes
UC
Ultimate Consignee
Optional
String (AN)
Min 1Max 60
Usage notes
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
12
Telephone Number (Phone)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N2
0400
Heading > 1000 Loop Alternate Delivery Address Ultimate Consignee > N2

Additional Name Information

OptionalMax use 2
Example
Required
String (AN)
Min 1Max 60
N3
0500
Heading > 1000 Loop Alternate Delivery Address Ultimate Consignee > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
0600
Heading > 1000 Loop Alternate Delivery Address Ultimate Consignee > N4

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
1000 Loop Alternate Delivery Address Ultimate Consignee end
N1
0300
Heading > 1000 Loop Bill-to-Party > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BT
Bill-to-Party
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
25
Carrier's Customer Code
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
0500
Heading > 1000 Loop Bill-to-Party > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
0600
Heading > 1000 Loop Bill-to-Party > N4

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
1000 Loop Bill-to-Party end
N1
0300
Heading > 1000 Loop Shipper > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SH
Shipper
Optional
String (AN)
Min 1Max 60
Usage notes
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
25
Carrier's Customer Code
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
0500
Heading > 1000 Loop Shipper > N3

Party Location

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

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
1000 Loop Shipper end
Heading end

Detail

2000 Loop
RequiredMax >1
LX
0100
Detail > 2000 Loop > LX

Transaction Set Line Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
2500 Loop
OptionalMax >1
N1
0200
Detail > 2000 Loop > 2500 Loop > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Usage notes
DA
Delivery Address
ST
Ship To
UP
Unloading Party
ZZ
Mutually Defined
Required
String (AN)
Min 1Max 60
Usage notes
N2
0300
Detail > 2000 Loop > 2500 Loop > N2

Additional Name Information

OptionalMax use 1
Example
Required
String (AN)
Min 1Max 60
Usage notes
N3
0400
Detail > 2000 Loop > 2500 Loop > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
0500
Detail > 2000 Loop > 2500 Loop > N4

Geographic Location

OptionalMax use 1
Example
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
NM1
0600
Detail > 2000 Loop > 2500 Loop > NM1

Individual or Organizational Name

OptionalMax use 1
Example
If either Identification Code Qualifier (NM1-08) or Identification Code (NM1-09) is present, then the other is required
NM1-01
98
Entity Identifier Code
Required
Identifier (ID)
Usage notes
AD
Party to be advised (Written orders)
NM1-02
1065
Entity Type Qualifier
Required
Identifier (ID)
Usage notes
6
Organization
NM1-08
66
Identification Code Qualifier
Optional
Identifier (ID)
Usage notes
12
Telephone Number (Phone)
NM1-09
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
NTE
0700
Detail > 2000 Loop > 2500 Loop > NTE

Note/Special Instruction

OptionalMax use 1
Example
NTE-01
363
Note Reference Code
Optional
Identifier (ID)
Usage notes
SPH
Special Handling
NTE-02
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
2500 Loop end
2700 Loop
RequiredMax >1
L11
1000
Detail > 2000 Loop > 2700 Loop > L11

Business Instructions and Reference Number

RequiredMax use 1
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)
Min 2Max 3
L11-03
352
Description
Optional
String (AN)
Min 1Max 80
LS
1070
Detail > 2000 Loop > 2700 Loop > LS

Loop Header

OptionalMax use 1
Example
LS-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
2710 Loop
OptionalMax >1
MAN
1100
Detail > 2000 Loop > 2700 Loop > 2710 Loop > MAN

Marks and Numbers Information

RequiredMax use 1
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)
CP
Carrier-Assigned Package ID Number
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
Usage notes
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
CP
Carrier-Assigned Package ID Number
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
Usage notes
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
Usage notes
L11
1150
Detail > 2000 Loop > 2700 Loop > 2710 Loop > L11

Business Instructions and Reference Number

OptionalMax use >1
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)
Min 2Max 3
L11-03
352
Description
Optional
String (AN)
Min 1Max 80
AT7
1200
Detail > 2000 Loop > 2700 Loop > 2710 Loop > AT7

Shipment Status Details

OptionalMax use >1
Example
If Shipment Status or Appointment Reason Code (AT7-02) is present, then Shipment Status Indicator (AT7-01) is required
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
Only one of Shipment Status Indicator (AT7-01) or Shipment Appointment Status Code (AT7-03) may be present
AT7-01
1650
Shipment Status Indicator
Optional
Identifier (ID)
Min 2Max 2
AT7-02
1651
Shipment Status or Appointment Reason Code
Optional
Identifier (ID)
Min 2Max 2
AT7-03
1652
Shipment Appointment Status Code
Optional
Identifier (ID)
Min 2Max 2
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
AT7-07
623
Time Code
Optional
Identifier (ID)
LT
Local Time
CD3
1300
Detail > 2000 Loop > 2700 Loop > 2710 Loop > CD3

Carton (Package) Detail

OptionalMax use >1
Example
If either Weight Qualifier (CD3-01) or Weight (CD3-02) is present, then the other is required
If either Rate/Value Qualifier (CD3-07) or Amount Charged (CD3-08) is present, then the other is required
If either Rate/Value Qualifier (CD3-09) or Amount Charged (CD3-10) is present, then the other is required
If Country Code (CD3-14) is present, then Service Level Code (CD3-05) is required
CD3-01
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2
CD3-02
81
Weight
Optional
Decimal number (R)
Min 1Max 10
Optional
String (AN)
Min 2Max 3
CD3-05
284
Service Level Code
Optional
Identifier (ID)
Min 2Max 2
CD3-06
108
Pickup or Delivery Code
Optional
Identifier (ID)
Min 1Max 2
CD3-07
122
Rate/Value Qualifier
Optional
Identifier (ID)
Min 2Max 2
CD3-08
58
Amount Charged
Optional
Numeric (N2)
Min 1Max 15
CD3-09
122
Rate/Value Qualifier
Optional
Identifier (ID)
Min 2Max 2
CD3-10
58
Amount Charged
Optional
Numeric (N2)
Min 1Max 15
CD3-13
591
Payment Method Code
Optional
Identifier (ID)
Min 3Max 3
CD3-14
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Q7
1400
Detail > 2000 Loop > 2700 Loop > 2710 Loop > Q7

Lading Exception Status

OptionalMax use 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)
Usage notes
O
Overage
Q7-02
211
Packaging Form Code
Optional
Identifier (ID)
Usage notes
DBK
Dry Bulk
ENV
Envelope
PKG
Package
PLT
Pallet
Q7-03
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7
Usage notes
2710 Loop end
LE
1420
Detail > 2000 Loop > 2700 Loop > LE

Loop Trailer

OptionalMax use 1
Example
LE-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
2700 Loop end
2000 Loop end
Detail end

Summary

SE
0100
Summary > 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
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
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

sample 1

ST*240*000004837~
BGN*00*QVD*20060109~
N1*SH*PADMA INC*25*123456~
N3*100 MAY FLOWER~
N4*CITY*ST*12345*US~
N1*BT**25*XYZXYZ~
LX*1~
N1*ST*REFRACTORIES., INC.~
N3*235 MUKKAMALLA~
N4*VIZAG*HY*99999*US~
L11*1Z2222222222222222*2I*A4~
LS*2710~
MAN*CP*M2**CP*NA~
L11*FINE*CR*SHPREF1/~
L11*DINE*CR*PKGREF1/~
L11*00*Zz*NA~
AT7*X6*71***20060109*063524*LT~
AT7***AA**20060106~
AT7***AC**20060111~
CD3*A3*2.5***CG~
CD3*************CCE~
Q7*O*PKG*1~
LE*2710~
SE*24*000004837~

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.