UPS
/
Motor Carrier Package Status (4030)
  • 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 (4030)

X12 Release 4030
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/ups/motor-carrier-package-status-4030/01HMYVRK7HPREP5NMET81N0XQX
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
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)
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
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
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)
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
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)
QVD
UNT
NUCAS Unsolicited Tracking
Required
Date (DT)
CCYYMMDD format
1000 Loop
OptionalMax >1
Variants (all may be used)
1000 Loop Signer1000 Loop Ultimate Consignee
N1
0300
Heading > 1000 Loop > N1

Name

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BT
Bill-to-Party
PF
Party to Receive Freight Bill
PN
Party to Receive Shipping Notice
SH
Shipper
YE
Third Party
Optional
String (AN)
Min 1Max 60
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
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2
N2
0400
Heading > 1000 Loop > N2

Additional Name Information

OptionalMax use 2
Example
Required
String (AN)
Min 1Max 60
N3
0500
Heading > 1000 Loop > N3

Address Information

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0600
Heading > 1000 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
1000 Loop end
1000 Loop Signer
OptionalMax 1
Variants (all may be used)
1000 Loop1000 Loop Ultimate Consignee
N1
0300
Heading > 1000 Loop Signer > N1

Name

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
UZ
Signer
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
1000 Loop Signer end
1000 Loop Ultimate Consignee
OptionalMax 1
Variants (all may be used)
1000 Loop1000 Loop Signer
N1
0300
Heading > 1000 Loop Ultimate Consignee > N1

Name

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
UC
Ultimate Consignee
Required
String (AN)
Min 1Max 60
N2
0400
Heading > 1000 Loop Ultimate Consignee > N2

Additional Name Information

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

Address Information

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0600
Heading > 1000 Loop Ultimate Consignee > 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
1000 Loop Ultimate Consignee end
Heading end

Detail

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

Assigned 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

Name

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
CHA
Changed Address
DA
Delivery Address
ST
Ship To
Required
String (AN)
Min 1Max 60
N2
0300
Detail > 2000 Loop > 2500 Loop > N2

Additional Name Information

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

Address Information

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
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
NTE
0700
Detail > 2000 Loop > 2500 Loop > NTE

Note/Special Instruction

OptionalMax use 1
Example
NTE-02
352
Description
Required
String (AN)
Min 1Max 80
2500 Loop end
2700 Loop
OptionalMax >1
L11
1000
Detail > 2000 Loop > 2700 Loop > L11

Business Instructions and Reference Number

RequiredMax use 1
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
1J
UPS Access Point Location ID Qualifier
1O
Lead Tracking Number
2I
Tracking Number
ZZ
Mutually Defined
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

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
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
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
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
L11
1150
Detail > 2000 Loop > 2700 Loop > 2710 Loop > L11

Business Instructions and Reference Number (Exception Scans Only)

OptionalMax use >1
Example
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
Optional
Date (DT)
CCYYMMDD format
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 Code (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 Code (AT7-01) or Shipment Appointment Status Code (AT7-03) may be present
AT7-01
1650
Shipment Status Code
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 Country Code (CD3-14) is present, then Service Level Code (CD3-05) is required
If either Rate/Value Qualifier (CD3-07) or Charge (CD3-08) is present, then the other 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
Pick-up or Delivery Code
Optional
Identifier (ID)
Min 1Max 2
CD3-07
122
Rate/Value Qualifier
Optional
Identifier (ID)
Min 2Max 2
CD3-08
58
Charge
Optional
Numeric (N2)
Min 1Max 12
CD3-13
591
Payment Method Code
Optional
Identifier (ID)
Min 3Max 3
CD3-14
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
2710 Loop end
LE
1500
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

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.