Tracking XML Developer Guide
Tracking XML Developer Guide
September 13,2023
Important Information
Permitted Territories
This document can only be used in the countries of the Permitted Territory as defined in the UPS Technology
Agreement, as applicable.
Use
The application must not be designed to allow distribution of information received through the UPS Developer
Kit APIs to third parties, other than to persons having a bona fide interest in such information (e.g., the shipper,
receiver, or the third party payer, or to your service providers authorized by UPS).
Display of Information
The application must not display information concerning any other provider of shipping services or such other
shipping services on any page, whether comprising one or more frames, displaying information your application
receives from the UPS Developer Kit APIs. Your application must present all data within each field received
through the UPS Developer Kit APIs without amendment, deletion, or modification of any type.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary ii
Notice
In all communications with UPS concerning this document, please refer to the document date located on the
cover.
Copyright
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form
or by any means without the written permission of United Parcel Service is strictly prohibited.
Trademarks
Some of the UPS corporate applications use United States city, state, and postal code information obtained by
United Parcel Service of America, Inc. under a non-exclusive license from the United States Postal Service.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iii
Table of Contents
Chapter 1: Introduction ......................................................................................................... 6
Release Features ..................................................................................................................................... 7
Appendices ......................................................................................................................... 68
Error Codes (XML) ................................................................................................................................. 69
Common Error Codes ........................................................................................................................ 69
Tracking Error Codes ......................................................................................................................... 70
Accessorial Codes ................................................................................................................................ 73
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 4
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 5
Tracking XML Developer Guide August 08, 2022
Chapter 1: Introduction
In this document, you will find guidance and instructions for integrating the Tracking XML API into your application,
service, or system.
Intended Audience
This guide is intended for developers who will be integrating the Tracking XML API into their application, service, or
system.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 6
Tracking XML Developer Guide August 08, 2022
Release Features
August 2022
Description
Flight Indicator
Tracking will now include the flight indicator, will be used to display a plane icon and details on the status of the
UPS Premier Package so that the user will know their package is currently on a plane. The locations will update
once the package is no longer in flight.
New subversion 2207 has been added for Flight Indicator.
October 2020
Description
UPS Premier
UPS® Premier is a contract service that will provide additional visibility to critical healthcare-specific movements for
the following services:
• UPS® Premier Silver
• UPS® Premier Gold
• UPS® Premier Platinum
Tracking will now include the premier accessorial, code and description in the tracking response when requested.
New subversion 2009 has been added for UPS Premier.
January 2020
No changes
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 7
Tracking XML Developer Guide August 08, 2022
Tracking
The Tracking API supports Package shipments.
• UPS has a rule that header information must be established before the shipment can be displayed. Header
information is established at the billing point; this usually occurs the night of the shipment.
• Some Tracking data may not be returned in the response because the data rolled off. Database retention times:
o Manifest information, and Manifest Voided scans: 120 days
o Exceptions scans: 120 days
o In Transit scans like Origin/Arrivals/Departures/Destination scans: 120 days
o Delivery records and signature images: 120 days
• Trade Direct small package manifest uploads are kept in an advanced PLD database, and only released for
visibility after the Origin scan is applied to the label.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 8
Tracking XML Developer Guide August 08, 2022
• Refrain from tracking the same numbers continually throughout the day. Unique tracking numbers should be
tracked no more than once per hour or a maximum of 24 times in a single day.
• Avoid automatic access between 10:00 am to 3:00 pm EST. However, you may track critical packages during this
time.
If daily/weekly tracking requests exceed daily shipping volume by a large margin, UPS reserves the right to
suspend tracking for that account until the situation is rectified. If a resolution cannot be found and implemented,
tracking for that account may be terminated.
Tracking Numbers
UPS uses tracking numbers to identify and track packages in its system. Applications can use this tracking number to
track, locate, and verify arrival of a package. A successful query by tracking number returns information for the
specific package within a shipment. For example, if a package shipment contained four individual packages, the
query response would show a shipment containing the one package out of four with the associated tracking number.
NOTE: Tracking numbers are available up to 120 days after delivery. UPS makes every effort to ensure that a
tracking number uniquely identifies a package for 120 days. However, it is possible that a tracking number may
be reused within a shorter time period. If this occurs, a query by tracking number returns all packages matching
the tracking number.
NOTE: UPS makes every effort to ensure that a shipment identification number uniquely identifies a shipment for
up to 120 days. However, it is possible that a shipment identification number may be reused within a shorter time
period. If this occurs, a query by shipment identification number returns all shipments matching the shipment
identification number.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 9
Tracking XML Developer Guide August 08, 2022
Candidate Bookmarks
Client applications (or their users) can examine the list of candidates to identify the desired shipment. Once the
candidate is identified, the application can issue another tracking request. By including the candidate bookmark
information for the appropriate shipment in this second request, the application eliminates ambiguity and can receive
correct tracking results.
Reference Numbers
The ability to track any UPS package or shipment by reference number gives applications added flexibility and
convenience. Reference numbers can be a purchase order number, job number, or a group of words identifying a
shipment (such as “10 widgets” or “gift for mom”).
• Applications can assign a reference number to an individual package or to all packages in a shipment.
• A reference number can contain any combination of letters and numbers up to 35 characters.
• Applications assign a reference number when they upload electronic shipping data to UPS.
• A successful query by reference number returns all of the packages within a shipment identified by the reference
number. For example, if a shipment contained four packages, and two of the packages were tagged with the
reference number, “10 widgets,” the query response would show a shipment containing those two packages.
Since reference numbers are assigned by customers, UPS cannot guarantee the uniqueness of a reference number
across all packages shipped through the UPS system. To resolve this ambiguity, a search specification may contain
any of the following qualifiers:
• Pickup date range: A range of dates within which UPS picked up the package. The default is 30 days before
today's date.
• UPS account number: The shipper's UPS account number.
• Destination postal code: A zip code (U.S.) or postal code (international).
• Destination country or territory: The destination country or territory code.
NOTE: Reference numbers are available up to 6 months after the shipper provided the electronic manifest, and
may roll off before the delivery record.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 10
Tracking XML Developer Guide August 08, 2022
No stress testing should ever be performed by customers against any UPS systems.
To access testing and production sites the user must have an Access Key. You can request an Access Key after
establishing a UPS profile and associating your shipping account.
System Availability
The Customer Integration Environment is available 24 hours a day, 7 days a week. Note, the system is occasionally
down for server maintenance.
Integration Testing
For integration testing, direct your test Tracking XML to: https://wwwcie.ups.com/ups.app/xml/Track
Production
Once testing is complete, direct your Tracking XML to the production URL:
https://onlinetools.ups.com/ups.app/xml/Track
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 11
Tracking XML Developer Guide August 08, 2022
Tracking 1Z12345E1392654435 None (Last) Next Day Air Saver ORIGIN SCAN
Tracking 1Z12345E6892410845 Activity (All) Next Day Air Saver 2nd Delivery attempt
Tracking 1Z12345E5991872040 Activity (All) Next Day Air Delivered, COD, Signature,
Package Receiver Address
Tracking 1Z12345E0390105056 Activity (All) Ground Delivered. No COD, No
Signature, Receiver Address
Tracking 1Z12345E0290424025 Activity(Last) 2nd Day Air Delivered, No COD Signature,
No Receiver Address
Tracking 1Z12345E0194845039 Activity(Last) Next Day Air Letter Delivered, No COD, Signature,
Receiver Address
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 12
Tracking XML Developer Guide August 08, 2022
UPS expects schema elements/tags as defined in the XPath and presented in the schema structure i.e., no
spelling or structural deviations. Elements/tags that are not defined in the schema or do not conform to the
schema structure will be ignored by UPS.
Required
• Yes - indicates the element must be present in the request or response.
• Yes* - indicates the element must be present in the request if the parent container is present in the request.
• No - indicates the element is optional and may be used if it applies to the request.
• Cond – indicates the element is required under certain conditions.
Type
• Container - holds a group of related elements.
• String - consists of alphanumeric characters, spaces, and decimals.
Length
• The maximum number of characters that can be present in a String. Length is not applicable (N/A) to Containers.
Max Allowed
• The maximum number of elements or containers that can be present in the parent container.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 13
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 14
Tracking XML Developer Guide August 08, 2022
TrackRequest Elements
Name Constraint Description Validation Type
/TrackRequest
TrackRequest Required: Yes Container for the root Track All
Type: Container Request.
Max Allowed: 1
Length: N/A
/TrackRequest/Request
Request Required: Yes* Container for the Track All
Type: Container Request.
Max Allowed: 1
Length: N/A
/TrackRequest/Request/TransactionReference
TransactionReferenc Required: No TransactionReference All
e Type: Container identifies transactions
Max Allowed: 1 between client and server.
Length: N/A
/TrackRequest/Request/TransactionReference/CustomerContext
CustomerContext Required: No The client uses All
Type: String CustomerContext to
Max Allowed: 1 synchronize request/response
Length: 1..512 pairs. The client establishes
CustomerContext, which can
contain any information you
want, as long as it is valid
XML, it is echoed back by the
server.
/TrackRequest/Request/TransactionReference/TransactionIdentifier
TransactionIdentifier Required: No The Unique All
Type: String TransactionIdentifier for a
Max Allowed: 1 given transaction.
Length: 1..20
/TrackRequest/Request/TransactionReference/ToolVersion
ToolVersion Required: Yes* Current Tracking Tool All
Type: String Version.
Max Allowed: 1
Length: 3
/TrackRequest/Request/RequestAction
RequestAction Required: Yes* Indicates the action to be All
Type: String taken by the XML service.
Max Allowed: 1 The only valid action for
Length: 1..15 tracking is Track.
/TrackRequest/Request/RequestOption
RequestOption Required: No For optional processing. For All
Type: String valid values, see Request
Max Allowed: 1 Option Codes in the
Length: 1..15 Appendix.
/TrackRequest/Request/SubVersion
SubVersion Required: Yes* When UPS introduces new Supported values: 1909, All
Type: String elements in the response that 2009,2203,2207
Max Allowed: 1 are not associated with new
Length: 4 request elements, Subversion
is used. This ensures
backward compatibility.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 15
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 16
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 17
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 18
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 19
Tracking XML Developer Guide August 08, 2022
Continued...
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 20
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 21
Tracking XML Developer Guide August 08, 2022
TrackResponse Elements
Name Constraint Description Validation Type
/TrackResponse
TrackResponse Required: Yes Container for root Track All
Type: Container Response.
Max Allowed: 1
Length: N/A
Response
Name Constraint Description Validation Type
/TrackResponse/Response
Response Required: Yes* Container for Track Response. All
Type: Container
Max Allowed: 1
Length: N/A
/TrackResponse/Response/TransactionReference
TransactionReferenc Required: No TransactionReference identifies All
e Type: Container transactions between client and
Max Allowed: 1 server.
Length: N/A
/TrackResponse/Response/TransactionReference/CustomerContext
CustomerContext Required: Yes* The client uses CustomerContext All
Type: String to synchronize request/response
Max Allowed: 1 pairs.
Length: 1...512 The client establishes
CustomerContext, which can
contain any information you want,
as long as it is valid XML; it is
echoed back by the server.
/TrackResponse/Response/TransactionReference/XpciVersion
XpciVersion Required: Yes* Message version. Defaults to
Type: String 1.0001.
Max Allowed: 1
Length: 4
/TrackResponse/Response/ResponseStatusCode
ResponseStatusCod Required: Yes* Identifies the success or failure of All
e Type: String the transaction.
Max Allowed: 1 1 = Successful
Length: 1 0 = Failure
/TrackResponse/Response/ResponseStatusDescription
ResponseStatusDes Required: Yes* Describes the Response Status All
cription Type: String Code above.
Max Allowed: 1
Length: 1..35
/TrackResponse/Response/Error
Error Required: Cond If an error is encountered during All
Type: Container the interchange, the Response
Max Allowed: 1 contains
Length: N/A an error. If the error is present,
then the ErrorSeverity and
ErrorCode are required.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 22
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 23
Tracking XML Developer Guide August 08, 2022
Shipment
Name Constraint Description Validation Type
/TrackResponse/Shipment
Shipment Required: Yes* Shipment Container tag. All
Type: Container
Max Allowed: UNB
Length: N/A
/TrackResponse/Shipment/InquiryNumber
InquiryNumber Required: Yes* Shipment Inquiry Number FRT, MI
Type: Container Container
Max Allowed: 1
Length: N/A
/TrackResponse/Shipment/InquiryNumber/Code
Code Required: Yes* Code to indicate the type of Valid values: FRT, MI
Type: String Inquiry Number.
Max Allowed: 1 Mail Innovations
Length: 2 03 - Mail Innovation
tracking number.
/TrackResponse/Shipment/InquiryNumber/Description
Description Required: Yes* Description of the Inquiry Number FRT, MI
Type: String as indicated by code above.
Max Allowed: 1
Length: 1...35
/TrackResponse/Shipment/InquiryNumber/Value
Value Required: Yes* Value of the Inquiry Number FRT, MI
Type: String
Max Allowed: 1
Length: 1…34
/TrackResponse/Shipment/ShipmentIdentificationNumber
ShipmentIdentification Required: No Shipment number to which the PKG
Number Type: String package belongs. This element is
Max Allowed: 1 not returned for track requests by
Length: 1...21 Reference Number.
/TrackResponse/Shipment/ShipmentType
ShipmentType Required: Cond Container for the type of Shipment All
Type: Container when doing a Reference Number
Max Allowed: 1 search.
Length: N/A
/TrackResponse/Shipment/ShipmentType/Code
Code Required: Yes* This element will be used to Valid values: All
Type: String indicate the type of the shipment 01 - Package
Max Allowed: 1 being tracked, either Package, 03 - Mail
Length: 2 Mail Innovations. Innovations
/TrackResponse/Shipment/ShipmentType/Description
Description Required: Yes* Description of the code above. All
Type: String
Max Allowed: 1
Length: 1..15
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 24
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 25
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 26
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 27
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 28
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 29
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 30
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 31
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 32
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 33
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 34
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 35
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 36
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 37
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 38
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 39
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 40
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 41
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 42
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 43
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 44
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 45
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 46
Tracking XML Developer Guide August 08, 2022
Values: 01 - GIF
/TrackResponse/Shipment/Package/Activity/ActivityLocation/SignatureImage/ImageFormat/Description
Description Required: Yes* Description of image contained in Package Signature PKG SIG
Type: String GraphicImage. Tracking only.
Max Allowed: 1
Length: 1…20
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 47
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 48
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 49
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 50
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 51
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 52
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 53
Tracking XML Developer Guide August 08, 2022
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 54
Tracking XML Developer Guide August 08, 2022
Tracking Response
<?xml version="1.0" encoding="ISO-8859-1"?>
<TrackResponse>
<Response>
<TransactionReference>
<CustomerContext>Your Test case summary Description</CustomerContext>
</TransactionReference>
<ResponseStatusCode>1</ResponseStatusCode>
<ResponseStatusDescription>Success</ResponseStatusDescription>
</Response>
<Shipment>
<Shipper>
<ShipperNumber>F00100</ShipperNumber>
<Address>
<City>HOBOKEN</City>
<StateProvinceCode>NJ</StateProvinceCode>
<PostalCode>07030</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</Shipper>
<ShipmentWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>35.00</Weight>
</ShipmentWeight>
<Service>
<Code>02</Code>
<Description>2ND DAY AIR</Description>
</Service>
<ShipmentIdentificationNumber>ATrackingNumber</ShipmentIdentificationNumber>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 55
Tracking XML Developer Guide August 08, 2022
<Package>
<TrackingNumber>ATrackingNumber</TrackingNumber>
<Activity>
<ActivityLocation>
<Address>
<City>MAYSVILLE</City>
<PostalCode>26833 9700</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<Code>MG</Code>
<Description>MET CUST MAN</Description>
<SignedForByName>Larry</SignedForByName>
</ActivityLocation>
<Status>
<StatusType>
<Code>D</Code>
<Description>DELIVERED</Description>
</StatusType>
<StatusCode>
<Code>KB</Code>
</StatusCode>
</Status>
<Date>20030313</Date>
<Time>160000</Time>
</Activity>
<PackageWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>35.00</Weight>
</PackageWeight>
</Package>
</Shipment>
</TrackResponse>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 56
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 57
Tracking XML Developer Guide September 13,2023
<StateProvinceCode>GA</StateProvinceCode>
<PostalCode>30340</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</ShipTo>
<Service>
<Code>001</Code>
<Description>NEXT DAY AIR</Description>
</Service>
<ReferenceNumber>
<Code>01</Code>
<Value>SAMPLE PROOF OF DELIVERY LETTER</Value>
</ReferenceNumber>
<ReferenceNumber>
<Code>01</Code>
<Value>TEST</Value>
</ReferenceNumber>
<ShipmentIdentificationNumber>1Z12345E5991872040</ShipmentIdentificationNumber>
<PickupDate>20010219</PickupDate>
<ScheduledDeliveryDate>20010220</ScheduledDeliveryDate>
<Package>
<TrackingNumber>1Z12345E5991872040</TrackingNumber>
<PackageServiceOptions>
<COD>
<CODAmount>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>10.00</MonetaryValue>
</CODAmount>
<CODStatus>Collected</CODStatus>
</COD>
</PackageServiceOptions>
<Activity>
<ActivityLocation>
<Address>
<AddressLine1>1307 PEACHTREE STREET</AddressLine1>
<City>ANYTOWN</City>
<StateProvinceCode>GA</StateProvinceCode>
<PostalCode>30340</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<Code>M5</Code>
<Description>MAIL ROOM</Description>
<SignedForByName>DOE</SignedForByName>
<SignatureImage>
<GraphicImage>R0lGODdhoAFeAPcAAP///+/n5+fWxs69rd7OADs= (truncatenated for
example)</GraphicImage>
<ImageFormat>
<Code>GIF</Code>
<Description>Base 64 encoded gif</Description>
</ImageFormat>
</SignatureImage>
<PODLetter>
<HTMLImage>PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9X9IVE1MPg==(truncate
nated for example) </HTMLImage>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 58
Tracking XML Developer Guide September 13,2023
</PODLetter>
</ActivityLocation>
<Status>
<StatusType>
<Code>D</Code>
<Description>DELIVERED</Description>
</StatusType>
<StatusCode>
<Code>KM</Code>
</StatusCode>
</Status>
<Date>20010221</Date>
<Time>090600</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<City>ANYTOWN</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>I</Code>
<Description>DESTINATION SCAN</Description>
</StatusType>
<StatusCode>
<Code>DS</Code>
</StatusCode>
</Status>
<Date>20010221</Date>
<Time>073717</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<City>ANYTOWN</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>I</Code>
<Description>ARRIVAL SCAN</Description>
</StatusType>
<StatusCode>
<Code>AR</Code>
</StatusCode>
</Status>
<Date>20010221</Date>
<Time>063000</Time>
</Activity>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 59
Tracking XML Developer Guide September 13,2023
<Activity>
<ActivityLocation>
<Address>
<City>ANYTOWN INTL</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>I</Code>
<Description>DEPARTURE SCAN</Description>
</StatusType>
<StatusCode>
<Code>DP</Code>
</StatusCode>
</Status>
<Date>20010221</Date>
<Time>052000</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<City>HARTSFIELD (ANYTOWN)</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>I</Code>
<Description>LOCATION SCAN</Description>
</StatusType>
<StatusCode>
<Code>LC</Code>
</StatusCode>
</Status>
<Date>20010221</Date>
<Time>034756</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<City>PLEASANTDALE</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>I</Code>
<Description>LOCATION SCAN</Description>
</StatusType>
<StatusCode>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 60
Tracking XML Developer Guide September 13,2023
<Code>LC</Code>
</StatusCode>
</Status>
<Date>20010220</Date>
<Time>192558</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<City>PLEASANTDALE</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>I</Code>
<Description>LOCATION SCAN</Description>
</StatusType>
<StatusCode>
<Code>LC</Code>
</StatusCode>
</Status>
<Date>20010220</Date>
<Time>192500</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<City>PLEASANTDALE-DUNWDY</City>
<StateProvinceCode>GA</StateProvinceCode>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
<Code>P</Code>
<Description>PICKUP SCAN</Description>
</StatusType>
<StatusCode>
<Code>PU</Code>
</StatusCode>
</Status>
<Date>20010220</Date>
<Time>170842</Time>
</Activity>
<Activity>
<ActivityLocation>
<Address>
<CountryCode>US</CountryCode>
</Address>
</ActivityLocation>
<Status>
<StatusType>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 61
Tracking XML Developer Guide September 13,2023
<Code>M</Code>
<Description>PICKUP MANIFEST RECEIVED</Description>
</StatusType>
<StatusCode>
<Code>MP</Code>
</StatusCode>
</Status>
<Date>20010219</Date>
<Time>132203</Time>
</Activity>
<PackageWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>1.70</Weight>
</PackageWeight>
<ReferenceNumber>
<Code>01</Code>
<Value>SAMPLE PROOF OF DELIVERY LETTER</Value>
</ReferenceNumber>
<ReferenceNumber>
<Code>01</Code>
<Value>TEST</Value>
</ReferenceNumber>
</Package>
</Shipment>
</TrackResponse>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 62
Tracking XML Developer Guide September 13,2023
Storage of electronic Is there a watermark behind the Yes. It is part of the signature image returned by
image signature image returned by the the UPS Signature Tracking API and cannot be
UPS Signature Tracking API? modified in any way, transferred etcetera.
Electronic Signature Images and POD Letters
The information you receive through the API may
include electronic signature images.
Electronic Signature Images, other than as part of
a POD Letter, may not be stored, distributed to
any third party, copied or modified.
Each POD Letter generated or developed as the
result of using or access to the UPS OnLine Tools
Tracking Tool may be stored in electronic format
until eighteen (18) months after the delivery of the
shipment referenced in the POD Letter.
Your application may not distribute a POD Letter
electronically to third parties, other than as a
facsimile transmission.
Transmission of electronic Can the POD Letter generated No. Only faxed or mailed. It can be accessed
image through a POD image be electronically for 18 months but cannot be
emailed? emailed.
Scan Types Does a scan type display when a UPS receives PSB scans at the shipment level
driver scans a Pickup Summary (when available), but we don't display the
Barcode (PSB) in the Tracking information within our tracking systems.
API?
Scheduled Delivery Date Does the Tracking API provide a Yes. ScheduledDeliveryDate container described
(SDD) and Rescheduled Scheduled Delivery Date? within the Developer Guide. If the SDD changes
Delivery Date (RSD) then a date is returned within the
RescheduledDeliveryDate container.
Tracking What is the UPS Tracking API UPS Tracking API is an Internet-based
and Signature Tracking API? application that adds a new level of customer
service throughout your company and
functionality to your e-commerce Web site or
enterprise application. With UPS Tracking API,
your customers can track products they have
purchased online more efficiently than ever
before.
UPS Tracking API: Provide up-to-the-minute
shipment status - from origin to delivery - to your
online customers.
UPS Signature Tracking API: Obtain proof of
delivery containing a digitized signature and
delivery address.
Tracking How much does the UPS UPS Tracking API is free to license. There are no
Tracking API cost? hidden fees or charges, though you may require
IT resources or 3rd party developers depending
on how complex your integration application is.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 63
Tracking XML Developer Guide September 13,2023
Tracking Can I use Tracking information in UPS strongly discourage the use of Framed
a Frame on my own site? information. See the UPS.Com Terms and
Conditions accepted by all registered users.
Tracking Why is the Tracking Online Tools Online Tools described many different APIs. UPS
now called UPS Tracking API? Tracking API describes the Tracking API and
registering for it is now simple and easier to use.
Tracking Could my Tracking API license UPS retains the right to revoke an access key or
be revoked? block access from any user that abuse the
tracking system.
Tracking Why am I not receiving a If a shipment was created with the UPS Shipping
response on my tracking number API, UIS or UIFS, do not attempt to track it
that I just created? Information immediately because it will not be available until
unavailable. the UPS database has been populated with the
manifest details, usually 5 to 10 minutes.
If a shipper used a shipping system like
WorldShip and fails to upload manifest details by
completing EOD, UPS will not have the manifest
information, and Tracking will not be able to
return a response until a subsequent event,
example: origin scan.
Transport Modes What transport modes are All modes of transport are available within the
available within the Tracking Tracking API for; package.
API?
Basic tracking Does the Tracking API support Yes, we display tracking info for BASIC on
Basic service? UPS.com and in XOLT just like for any other
package service.
However it is important to remember that the
Delivery is made by the post office and a delivery
scan may be delayed or not available at all.
SDD/RDD is NOT displayed with Basic services
tracking statuses.
As for an In Transit status, the status is triggered
by a movement scan, just like for our other
package offerings. An origin, pickup, arrival or
departure scan will display In Transit status.
Reference Number If a customer processes 7 You can track a shipment through reference 1 or
Tracking packages in one shipment will reference 2 only. When tracking a multiple-piece
reference number tracking in the shipment if you use the lead number it will show
Tracking API play-back all seven you the information for the first 50 packages
packages or just the lead within that shipment however, if you track with
package or any one of the other than the lead number it will only show the
packages in some type of order? tracking information for that individual packages.
Reference number tracking Why do I see xxxxxxxxx1234 Based on the request of some shippers, some
instead of the tracking number tracking numbers in the reference number track
when I do a reference number results may be masked.
search
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 64
Tracking XML Developer Guide September 13,2023
Scan Info Why isn’t there a Scheduled Day Since these are packages that can be injected
of Delivery (SDD) returned with into the UPS Operations from any channel UPS
the Billing Information Received waits until we are certain we have taken
scan? possession of the package prior to including an
SDD.
Scan Info I see the Tracking API returning a UPS Internal Activity scan is a generic description
scan called “UPS Internal for one of several internal operations scans which
Activity”. What is this and why are filtered by the web tracking application at
don’t I see this when I track a UPS.com. These scans are not used
package on the web at externally. You may consider dropping these
UPS.com? records in your process.
POD How long can I access the POD? UPS Technology Agreement allows you to access
a POD letter (which may or may not contain
digital signature) for a maximum of 18 months.
High Frequency tracking What are guidelines for high • Ensure tracking requests are valid. If your
guidelines frequency tracking? request returns an error message such as
"tracking number not found", "no information
available", or "invalid tracking number", you
should research the cause of the error before
continuing to track the same number.
• When the results of a tracking request indicate a
“delivered” status do not continue to track the
package.
• Track packages during “off hours” whenever
possible, “off hours” are from 5:00 pm till 8:00 am
East Coast time.
• Use your UPS service level (Early, Next Day Air,
etc.) to determine the best time of day to track
and receive up to the minute tracking information.
• Evenly distribute your information requests over
the remaining 19 hour window.
• If daily/weekly tracking requests exceed daily
shipping volume by a large margin, UPS will
reserve the right to suspend tracking for that
account until the situation is rectified. If a
resolution cannot be found and implemented,
tracking for that account may be terminated.
• If you are tracking with an automated tracking
robot make sure you check your system at least
once a week to insure it’s operating at peak
performance. Most HFT cases are due to
automated tracking systems becoming corrupt
and falling into a tracking loop.
• Refrain from tracking the same numbers
continually throughout the day. Unique tracking
numbers should be tracked no more than once
per hour or a maximum of 24 times in a single
day.
• Avoid automatic access between 10:00 am to
3:00 pm EST. However, you may track critical
packages during this time.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 65
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 66
Tracking XML Developer Guide September 13,2023
Storage of electronic Is there a watermark behind the Yes. It is part of the signature image returned by
image signature image returned by the the UPS Signature Tracking API and cannot be
UPS Signature Tracking API? modified in any way, transferred etcetera.
Electronic Signature Images and POD Letters
The information you receive through the API may
include electronic signature images.
Electronic Signature Images, other than as part of
a POD Letter, may not be stored, distributed to
any third party, copied or modified.
Each POD Letter generated or developed as the
result of using or access to the UPS OnLine Tools
Tracking Tool may be access in electronic format
until eighteen (18) months after the delivery of the
shipment referenced in the POD Letter.
Your application may not distribute a POD Letter
electronically to third parties, other than as a
facsimile transmission.
Transmission of electronic Can the POD Letter generated No. Only faxed or mailed. It can be accessed
image through a POD image be electronically for 18 months but cannot be
emailed? emailed.
Tracking How do I add shipper accounts To add shipper account for Signature tracking the
for authorization to Signature user can access myUPS on UPS.Com by logging
Tracking API? in with the user ID and password associated with
the access key, and adding the account to the
account summary. A recent invoice will be
needed to provide the latest invoice date, amount,
and control number (if applicable)
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 67
Tracking XML Developer Guide September 13,2023
Appendices
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 68
Tracking XML Developer Guide September 13,2023
Do not resubmit requests with Hard Errors until the problems causing the error have been
resolved.
10002 Hard The request is well formed but the request is not valid.
10006 Hard Although the document is well formed and valid, the element content contains values
which do not conform to the rules and constraints contained in this specification.
20002 Hard The specified service name, {0}, and version number, {1}, combination is invalid.
20003 Hard Please check the server environment for the proper J2EE ws apis.
20012 Hard The Client Information exceeds its Maximum Limit of {0}.
250001 Hard Invalid Access License for the tool. Please re-license.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 69
Tracking XML Developer Guide September 13,2023
250006 Hard The maximum number of user access attempts was exceeded.
250007 Hard The UserId is currently locked out; please try again in 30 minutes.
150040 Hard Invalid data found or the combination of data elements is invalid
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 70
Tracking XML Developer Guide September 13,2023
151086 Hard Maximum candidate exceeded for Reference number search. Use the tracking number
search
151091 Hard Multiple reference numbers found, it may be possible to narrow the search with
additional data.
152100 Hard Enter shipper number - additional shippers used the reference
152315 Hard Multiple reference numbers found, it is not possible to qualify further.
154070 Hard Signature Tracking Options not available without successful login
154081 warning Your search returned multiple Shipments. Please select from the provided results.
154083 HARD Specific Tracking data could not be found. It may be possible to narrow the search with
additional data.
154086 Hard Missing origin country code when origin postal code is supplied
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 71
Tracking XML Developer Guide September 13,2023
9150001 Hard Invalid access license number for tracking request option
9150004 Hard Shipment Type should be specified when tracking by Reference Number
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 72
Tracking XML Developer Guide September 13,2023
Accessorial Codes
01 - Signature Required
02 - Adult Signature Required
03 - Import Control
04 - Commercial Invoice Removal
05 - UPS Carbon Neutral
06 - USPS PIC Number Of Flexible Return Shipment (The value tag is populated)
07 - Product Type (This may have additional attributes populated for product type code and description)
08 - Location Assured
09 – Exchange Based
10 – Packand Collect
030 – Hazardous Material Dangerous Goods
035 – Saturday Pickup
036 – Saturday Delivery
039 – Declared Value Insurance
043 – Customized Delivery Confirm.
058 - Hold for Pickup
209 – Dry Ice
229 – Carbon Neutral Shipment
232 – UPS Returns Exchange (Forward MVMT)
233 – UPS Ret Pack and Collect
234 – UPS Returns Exchange Print Label
254 - Lift Gate Service for Delivery
255 - Lift Gate Service for Pickup
256 - Drop Off At Facility
259 - Direct to Retail
261 - Deliver to Addressee only
262 - Deliver to Retail COD
263 - Retail to Retail Shipment
426 - Direct Delivery Only
427 - Infectious Substance Category A
428 - Package Release Code
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 73
Tracking XML Developer Guide September 13,2023
Country/Territory Codes
Tracking API Supported Countries/Territories
UPS country/territory code abbreviations generally follow the recommendations of the International Standards
Organization (ISO), which publishes a list of country/territory abbreviations in ISO Standard 3166.
The following table lists the country/territory codes defined by ISO at the time of this publication. The latest
information is available from the ISO web site: http://www.iso.org/.
NOTE: Not all UPS services are available in every country/territory. Refer to the UPS Rate and Service Guide at
UPS.com for more information on UPS services.
Åland Islands AX
Albania AL Yes
Algeria DZ
American Samoa AS
Andorra AD Yes
Angola AO
Anguilla AI Yes
Antarctica AQ
Armenia AM
Aruba AW
Azerbaijan AZ
Bahamas BS Yes
Bahrain BH Yes
Bangladesh BD
Barbados BB
Belarus BY
Belize BZ
Benin BJ
Bhutan BT
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 74
Tracking XML Developer Guide September 13,2023
Botswana BW
Bouvet Island BV
Brunei Darussalam BN
Bulgaria BG Yes
Burkina Faso BF
Burundi BI
Cambodia KH
Cameroon CM
Cape Verde CV
Chad TD
Christmas Island CX
Comoros KM
Congo CG
Cook Islands CK
Côte Divoire CI
Croatia HR Yes
Cuba CU
Cyprus CY Yes
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 75
Tracking XML Developer Guide September 13,2023
Djibouti DJ
Dominica DM
Egypt EG Yes
Equatorial Guinea GQ
Eritrea ER
Estonia EE Yes
Ethiopia ET
Faroe Islands FO
Fiji FJ
French Guiana GF
French Polynesia PF
Gabon GA
Gambia GM
Georgia GE
Ghana GH
Gibraltar GI
Greenland GL
Grenada GD Yes
Guadeloupe GP
Guam GU
Guinea GN
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 76
Tracking XML Developer Guide September 13,2023
Guyana GY
Haiti HT Yes
Iceland IS Yes
Iraq IQ
Isle of Man IM
Jamaica JM Yes
Jordan JO
Kazakhstan KZ
Kenya KE
Kiribati KI
Kuwait KW Yes
Kyrgyzstan KG
Latvia LV Yes
Lebanon LB Yes
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 77
Tracking XML Developer Guide September 13,2023
Liberia LR
Liechtenstein LI Yes
Lithuania LT Yes
Luxembourg LU Yes
Madagascar MG
Malawi MW
Maldives MV
Mali ML
Malta MT Yes
Marshall Islands MH
Martinique MQ Yes
Mauritania MR
Mauritius MU
Mayotte YT
Micronesia, Federated FM
States of
Moldova, Republic of MD
Monaco MC Yes
Mongolia MN
Montenegro ME Yes
Montserrat MS Yes
Morocco MA
Mozambique MZ
Myanmar MM
Namibia NA
Nauru NR
Nepal NP
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 78
Tracking XML Developer Guide September 13,2023
Netherlands Antilles AN
New Caledonia NC
Niger NE
Nigeria NG Yes
Nigeria NG
Niue NU
Norfolk Island NF
Oman OM Yes
Pakistan PK Yes
Palau PW Yes
Palestinian Territory, PS
Occupied
Pitcairn PN
Qatar QA Yes
Réunion RE
Rwanda RW
Saint Helena SH
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 79
Tracking XML Developer Guide September 13,2023
Samoa WS
Senegal SN
Serbia RS Yes
Seychelles SC
Sierra Leone SL
Slovakia SK Yes
Slovenia SI Yes
Solomon Islands SB
Somalia SO
Sudan SD
Suriname SR Yes
Swaziland SZ
Tajikistan TJ
Timor-Leste TL
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 80
Tracking XML Developer Guide September 13,2023
Tokelau TK
Tonga TO
Tunisia TN Yes
Turkmenistan TM
Tuvalu TV
Uganda UG
Ukraine UA Yes
Uzbekistan UZ
Vanuatu VU
Western Sahara EH
Yemen YE
Zambia ZM
Zimbabwe ZW
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 81
Tracking XML Developer Guide September 13,2023
Currency Codes
UPS currency code abbreviations generally follow the recommendations of the International Standards Organization
(ISO), which publishes a list of currency abbreviations in ISO Standard 4217. The following table lists the currency
codes defined by ISO at the time of this publication. The latest information is available from the ISO web site:
http://www.iso.org/.
Countries/Territories may sometimes change their official currency. UPS does require time after the introduction of a
new currency before it can fully support that currency. In addition, UPS may continue to support the older currency for
an interim period in order to provide backwards compatibility.
UPS may also require the use of currencies other than the official currency for some countries/territories.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 82
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 83
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 84
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 85
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 86
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 87
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 88
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 89
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 90
Tracking XML Developer Guide September 13,2023
002 In Transit
003 Exception
006 Warehousing
011 Delivered
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 91
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 92
Tracking XML Developer Guide September 13,2023
Mail Innovations
91 - USPS PIC
93 - USPS (30 char, truncated barcode number)
94 – Mail Manifest System Number (MMS)
95 - Mail Manifest ID (MMI)
96 - Mail Innovations (reference number, customer package id (PID))
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 93
Tracking XML Developer Guide September 13,2023
Request Option Proof of Delivery COD Info Receiver Address All Activity Last Activity
0 X
1 X
2 X X X
3 X X X
4 X X X
5 X X X
6 X X X X
7 X X X X
activity X
none X
blank or empty X
Request Option Proof of Delivery COD Info Receiver Address All Activity Last Activity Sig Image
8 X X X
9 X X X
10 X X X X
11 X X X X
12 X X X X
13 X X X X
14 X X X X X
15 X X X X X
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 94
Tracking XML Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 95
Tracking XML Developer Guide September 13,2023
Service Codes
United States
Shipments originating in United States
Description Code
UPS 3 Day Select 012
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 96
Tracking XML Developer Guide September 13,2023
Canada
Description Category Code
UPS 3 Day Select Shipments originating in Canada 012
European Union
Shipments originating in the European Union
Description Code
UPS Expedited 008
Mexico
Shipments originating in Mexico
Description Code
UPS Expedited 008
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 97
Tracking XML Developer Guide September 13,2023
Poland
Description Code
UPS Expedited 008
Puerto Rico
Shipments originating in Puerto Rico
Description Code
UPS 2nd Day Air 002
Undefined Countries/Territories
Use for all countries/territories other than United States, Canada, European Union, Mexico, Poland, and Puerto Rico
Description Code
UPS Express 007
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 98
Tracking XML Developer Guide September 13,2023
All Countries/Territories
Shipments originating in all countries/territories
Description Code
UPS® Worldwide Economy DDU 017
Mail Innovations
Description Code
UPS Mail Innovations 701
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 99
Tracking XML Developer Guide September 13,2023
United States
State Code
Alaska AK
Alabama AL
Arkansas AR
Arizona AZ
California CA
Colorado CO
Connecticut CT
District of Columbia DC
Delaware DE
Florida FL
Georgia GA
Hawaii HI
Iowa IA
Idaho ID
Illinois IL
Indiana IN
Kansas KS
Kentucky KY
Louisiana LA
Massachusetts MA
Maryland MD
Maine ME
Michigan MI
Minnesota MN
Missouri MO
Mississippi MS
Montana MT
North Carolina NC
North Dakota ND
Nebraska NE
New Hampshire NH
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 100
Tracking XML Developer Guide September 13,2023
State Code
New Jersey NJ
New Mexico NM
Nevada NV
New York NY
Ohio OH
Oklahoma OK
Oregon OR
Pennsylvania PA
Rhode Island RI
South Carolina SC
South Dakota SD
Tennessee TN
Texas TX
Utah UT
Virginia VA
Vermont VT
Washington WA
Wisconsin WI
West Virginia WV
Wyoming WY
Canada
Province Code
Alberta AB
British Columbia BC
Manitoba MB
New Brunswick NB
Nova Scotia NS
Northwest Territories NT
Nunavut NU
Ontario ON
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 101
Tracking XML Developer Guide September 13,2023
Province Code
Quebec QC
Saskatchewan SK
Yukon Territory YT
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 102
Tracking XML Developer Guide September 13,2023
Subversion details
UPS uses sub version strategy to give back new elements in the response when there is no functionality change in
the request. In order to ensure that we do not break the client’s application, we give back the new elements only
when the subversion is specified in the request.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 103