Rating Package XML Developer Guide
Rating Package XML Developer Guide
January 8, 2018
Important Information
UPS Developer Kit APIs
Your development of an application using UPS Developer Kit APIs is governed by the UPS Technology
Agreement you entered into with UPS. The following are key legal requirements from these agreements for the
UPS Developer Kit APIs. For more information on all requirements for the UPS Developer Kit APIs, please refer
to the UPS Technology Agreement.
Defined terms used but not defined in this document have the meaning set forth in the UPS Technology
Agreement.
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.
© 2018 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
© 2018 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.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iii
Table of Contents
Chapter 1: Introduction ......................................................................................................... 7
Release Features ..................................................................................................................................... 8
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iv
RatedShipment .................................................................................................................................. 62
Disclaimer .......................................................................................................................................... 62
Service ............................................................................................................................................... 63
RateChart ........................................................................................................................................... 63
RatedShipmentWarning ..................................................................................................................... 64
BillableWeightCalculationMethod ...................................................................................................... 64
RatingMethod ..................................................................................................................................... 64
BillingWeight ...................................................................................................................................... 65
TransportationCharges ...................................................................................................................... 65
BaseServiceCharge ........................................................................................................................... 66
ItemizedCharges ................................................................................................................................ 66
ServiceOptionsCharges ..................................................................................................................... 67
TaxCharges........................................................................................................................................ 67
TotalCharges...................................................................................................................................... 68
TotalChargesWithTaxes .................................................................................................................... 68
RatedPackage.................................................................................................................................... 68
Appendices ......................................................................................................................... 89
Common Error Codes ........................................................................................................................ 89
Rating Package XML Error Codes ..................................................................................................... 91
Accessorial / Surcharge Codes ......................................................................................................... 116
Accessorial & Surcharge Subtypes.................................................................................................. 119
COD Supported Countries .................................................................................................................. 121
Country Codes ..................................................................................................................................... 122
Currency Codes ................................................................................................................................... 131
Delivery Confirmation Origin-Destination Pairs ............................................................................... 139
Disclaimer Codes and Messages ....................................................................................................... 140
HazMat Accessorial Code and SubType ........................................................................................... 141
Service Codes ...................................................................................................................................... 142
United States.................................................................................................................................... 142
Canada ............................................................................................................................................. 143
European Union ............................................................................................................................... 143
Mexico .............................................................................................................................................. 143
Poland .............................................................................................................................................. 144
Puerto Rico ...................................................................................................................................... 144
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary v
Germany .......................................................................................................................................... 144
Undefined Countries ........................................................................................................................ 144
All Countries ..................................................................................................................................... 145
Tax Type Values / Abbreviations ....................................................................................................... 146
SubVersion Details .............................................................................................................................. 147
Rate Request Elements ................................................................................................................... 147
Rate Response Elements ................................................................................................................ 148
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary vi
Rating Package XML Developer Guide January 8, 2018
Chapter 1: Introduction
In this document, you will find guidance and instructions for integrating the Rating Package XML API into your
application, service, or system.
Intended Audience
This guide is intended for developers who will be integrating the Rating Package XML API into their application,
service, or system.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 7
Rating Package XML Developer Guide January 8, 2018
Release Features
January 2018
Description
Seasonal Surcharge enhancements
Rate API will support three new general service offering (GSO) surcharges
o Transportation –based peak surcharge for US/PR and International shipments
o Additional handling
o Large Package for US Domestic and PR packages
Maximum allowed metric package length has been updated to 274 cm from 270 cm
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 8
Rating Package XML Developer Guide January 8, 2018
July 2017
Description
Worldwide Express Freight (WWEF) NA 1 & Time of Day
Rate API to support the new Worldwide Freight Midday service
Enhancements to Rate API to include Rate Shop for WWEF and WWEF-Midday service
New SubVersion value to support indicator at Package Level in response if the package has a Dry Ice accessory or is
over-sized for UPS Worldwide Express Freight service and UPS Worldwide Express Freight Mid-day service – 1707.
New Response Containers/Elements
/RatedShipment/RatedPackage/Accessorial
Code
Commercial Inside Release Enhancements
Rating API to support new account level indication - Commercial US Domestic Signature Required.
March 2017
Description
New Error Codes
New Service names in Service Codes Appendix
New /Shipment/DeliveryTimeInformation/PackageBillType value
o 07 = Domestic Pallet
January 2017
Description
User Level Promotions
Rate API will support UserId level promotion/discount. If new indicator is requested, no shipper number is passed in the
shipper container, and MY UPS ID is eligible for promotional discount, discounted rates will be returned in response under
NegotiatedRates container.
New Request Containers/Elements
/ShipmentRatingOptions/UserLevelDiscountIndicator
Time in Transit
Rate API will support the return of time in transit information when new RequestOptions “shoptimeintransit” and
“ratetimeintransit” are passed, along with the new DeliveryTimeInformation container.
New RatingOption value to support Time In Transit Feature: shoptimeintransit, ratetimeintransit
New Request Containers/Elements
/Shipment/ShipmentTotalWeight
UnitOfMeasurement
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 9
Rating Package XML Developer Guide January 8, 2018
Description
o Code
o Description
Weight
/Shipment/DeliveryTimeInformation
PackageBillType
Pickup
o Date
o Time
New Response Containers/Elements
/RatedShipment/TimeInTransit
PickupDate
DocumentsOnlyIndicator
PackageBillType
ServiceSummary
Service
o Description
GuaranteedIndicator
Disclaimer
EstimatedArrival
o Arrival
Date
Time
o BusinessDaysInTransit
o Pickup
Date
Time
o DayOfWeek
o CustomerCenterCutoff
o DelayCount
o HolidayCount
o RestDays
o TotalTransitDays
o SaturdayDelivery
o SaturdayDeliveryDisclaimer
o AutoDutyCode
o Disclaimer
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 10
Rating Package XML Developer Guide January 8, 2018
Description
New SubVersion value to support BaseServiceCharge feature: 1701
New Response Containers/Elements
/RatedShipment/BaseServiceCharge
CurrencyCode
MonetaryValue
/RatedShipment/RatedPackage/BaseServiceCharge
CurrencyCode
MonetaryValue
Transactional Promotions
Rate API will support Transactional promotion/discount. If a shipment is requested with a valid PromoCode and PromoAlias
Code and if the shipment is eligible for transactional promotional discount, discounted rates will be returned in the response
under the NegotiatedRates container.
New Request Containers/Elements
/Shipment/PromotionalDiscountInformation
PromoCode
PromoAliasCode
Dimensional Weight
Rate API will support the passing of customer calculated dimensional weight. This value will apply to non US/CA/PR
shipments where dimensions are not provided.
New Request Containers/Elements
/Shipment/DimWeight
UnitOfMeasurement
o Code
o Description
Weight
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 11
Rating Package XML Developer Guide January 8, 2018
Description
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/ClassDivisionNumber
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/IDNumber
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TransportationMode
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/RegulationSet
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/EmergencyPhone
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/EmergencyContact
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/ReportableQuantity
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/SubRiskClass
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/PackagingGroupType
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Quantity
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/UOM
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/PackagingInstructionCode
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/ProperShippingName
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TechnicalName
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/AdditionalDescription
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/PackagingType
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/HazardLabelRequired
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/PackagingTypeQuantity
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/CommodityRegulatedLevelCode
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TransportCategory
/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TunnelRestrictionCode
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 12
Rating Package XML Developer Guide January 8, 2018
WARNING: UPS restricts the usage of the Rating API to users who plan to ship packages
manifested, tendered, and delivered by UPS. Any customers or developers abusing the API or
data mining the API will have their access revoked.
Negotiated Rates
The Rating API provides access to Published Rates as well as Negotiated Rates. A negotiated rate is established by
contract between the customer and UPS.
If you have a pricing contract with UPS please contact your sales representative for proper setup.
Once your UPS sales rep has verified your setup you need to do the following:
1. Add your account to your My UPS profile using one of your most recent three invoices.
o If you have never generated an invoice or have not generated an invoice in the past 90 days add the account
using the pickup location postal code for the account.
o Since you have not generated an invoice you will need to contact your sales representative a second time to
enable negotiated rates in UPS systems.
2. When transacting with UPS API servers include the correct My UPS ID/PW + Account + Access Key.
3. Include the ‘NegotiatedRatesIndicator’ element within your XML request. The element is an empty tag.
IMPORTANT NOTES:
Negotiated rates in the CIE are for test purposes only and are not representative of actual negotiated
rates. A 1% discount is applied when requested.
Post-shipment charges, such as address corrections, dimensional weight adjustments, and other
adjustments will affect the actual rate billed which may differ from the rates returned by the Rating API.
Make sure that all requests are identical when comparing shipping charges between applications and
APIs that provide UPS Negotiated Rates.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 13
Rating Package XML Developer Guide January 8, 2018
Working through discrepancies requires knowledge of all parameters posted, defaults, numeric rounding,
and the rate table used by the applications being compared.
You can check your results against the UPS Calculate Time and Cost program: https://wwwapps.ups.com/ctc
If User level promotion is requested with a UPS shipper account (Shipper/ShipperNumber), User level promotion
will not be requested for a given shipment.
Saturday Delivery
UPS offers Saturday Delivery options, for an additional charge, for many service levels. When requesting Time In
Transit information with the Rating API, services that are eligible for Saturday Delivery may be returned. Services that
are available for Saturday Delivery will have an Estimated Delivery day of week
(/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/DayOfWeek) of “SAT” (Saturday). In addition, if
there is a charge for the service, there will be a Saturday Delivery indicator with a value of “1”
(/RatedShipment/TimeInTransit/ServiceSummary/SaturdayDelivery) along with a disclaimer that the service is
available for an additional charge (/RatedShipment/TimeInTransit/ServiceSummary/SaturdayDeliveryDisclaimer).
Three Day Select and Ground services are now available for Saturday Delivery in some cities at no additional
charge. To determine if either of these services are available for your transit lane you must include the
ResidentialAddressIndicator in your Request. In this case, the Saturday Delivery indicator will have a value of “0”
and no disclaimer will show. However, the Estimated Delivery day of week will still be “SAT”.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 14
Rating Package XML Developer Guide January 8, 2018
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.
Test your Rate and Service selections using valid and invalid data elements including postal codes, weights, and
package types. This will ensure that your application has the ability to process success and error responses correctly.
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.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 15
Rating Package XML Developer Guide January 8, 2018
Integration Testing
All URLs are case sensitive.
For integration testing, direct your test Rating Package XML to:
https://wwwcie.ups.com/ups.app/xml/Rate
Production
All URLs are case sensitive.
Once testing is complete, direct your Rating Package XML to the production URL:
https://onlinetools.ups.com/ups.app/xml/Rate
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 16
Rating Package XML Developer Guide January 8, 2018
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.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 17
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 18
Rating Package XML Developer Guide January 8, 2018
RatingServiceSelectionRequest
Name Constraint Description Validation
/RatingServiceSelectionRequest
RatingServiceSelectionRequest Required: Yes Rating Service Selection Request N/A
Type: Container container.
Max Allowed: 1
Length: N/A
Request
Name Constraint Description Validation
/RatingServiceSelectionRequest/Request
Request Required: Yes Request Container N/A
Type: Container
Max Allowed: 1
Length: N/A
RequestAction
Name Constraint Description Validation
/RatingServiceSelectionRequest/Request/RequestAction
RequestAction Required: Yes The action to be taken by the Rating It must contain Rate to
Type: String and Service Selection tool. execute rating and service
Max Allowed: 1 selection.
Length: 15
RequestOption
Name Constraint Description Validation
/RatingServiceSelectionRequest/Request/RequestOption
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 19
Rating Package XML Developer Guide January 8, 2018
Ratetimeintransit = The
server rates with transit
time information
Shoptimeintransit = The
server validates the
shipment, and returns rates
and transit times for all
UPS products from the
ShipFrom to the ShipTo
addresses.
SubVersion
Name Constraint Description Validation
/RatingServiceSelectionRequest/Request/SubVersion
SubVersion Required: No Indicates Rate API to display the
Type: String new release features in Rate API
Max Allowed: 1 response based on Rate release.
Length: 4 See the Release Features section
for the latest release date.
Supported values: 1601, 1607,
1701, 1801
Format: YYMM = Year and month of
the release.
TransactionReference
Name Constraint Description Validation
/RatingServiceSelectionRequest/Request/TransactionReference
TransactionReference Required: No TransactionReference identifies
Type: Container transactions between client and
Max Allowed: 1 server.
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 20
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Request/TransactionReference/CustomerContext
CustomerContext Required: No The client uses CustomerContext to
Type: String synchronize request/response pairs.
Max Allowed: 1
Length: 1..512 CustomerContext can contain any
information the client requires. As
long as it is valid XML it is echoed
back by the server.
PickupType
Name Constraint Description Validation
/RatingServiceSelectionRequest/PickupType
PickupType Required: No Pickup Type container tag
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/PickupType/Code
Code Required: Yes* Pickup Type Code. Valid values:
Type: String 01 - Daily Pickup (Default)
Max Allowed: 1 03 - Customer Counter
Length: 2 06 - One Time Pickup
19 - Letter Center
20 - Air Service Center
CustomerClassification
/RatingServiceSelectionRequest/CustomerClassification
CustomerClassification Required: No Customer classification container.
Type: Container Valid if ShipFrom country is US.
Max Allowed: 1
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 21
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/CustomerClassification/Code
Code Required: Yes* Customer classification code. Valid values:
Type: String 00 - Rates Associated with
Max Allowed: 1 Shipper Number
Length: 2 01 - Daily Rates
04 - Retail Rates
05 - Regional Rates
06 - General List Rates
53 - Standard List Rates.
Length is not validated. If
customer classification
code is not provided or it is
provided with an invalid
value, UPS would use rate
chart (customer
classification code)
associated with a shipper
country to rate the
shipments.
Shipment
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment
Shipment Required: Yes Shipment container.
Type: Container
Max Allowed: 1
Length: N/A
OriginRecordTransactionTimestamp
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/OriginRecordTransactionTimestamp
OriginRecordTransactionTimesta Required: No The time that the request was made Applicable only for HazMat
mp Type: String from the originating system. UTC request and with
Max Allowed: 1 time down to milliseconds. Example subversion greater than or
Length: N/A - 2016-07-14T12:01:33.999 equal to 1701.
Shipper
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/Shipper
Shipper Required: Yes Shipper details are included in this N/A
Type: Container container.
Max Allowed: 1
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 22
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Shipper/Name
Name Required: No The shipper's name or shipper's Length is not validated.
Type: String company name.
Max Allowed: 1
Length: 35
/RatingServiceSelectionRequest/Shipment/Shipper/ShipperNumber
ShipperNumber Required: Cond The shipper's UPS account number. Value must match a
Type: String Note: A shipper number is required commissioned shipper
Max Allowed: 1 when requesting to receive the number. Cannot be present
Length: 6 negotiated rates. The shipper when requesting
number is optional when requesting UserLevelDiscount.
to receive the published rates.
/RatingServiceSelectionRequest/Shipment/Shipper/Address
Address Required: Yes Contains the address details of If the ShipFrom container is
Type: Container shipper not present then this
Max Allowed: 1 address will be used as the
Length: N/A ShipFrom. If this address
is used as the ShipFrom
the shipment will be rated
from this origin address.
/RatingServiceSelectionRequest/Shipment/Shipper/Address/AddressLine1
AddressLine1 Required: No The shipper's street address, Length is not validated.
Type: String including name and number (when
Max Allowed: 1 applicable).
Length: 35
/RatingServiceSelectionRequest/Shipment/Shipper/Address/AddressLine2
AddressLine2 Required: No Additional shipper address Length is not validated.
Type: String information, preferably room or floor.
Max Allowed: 1
Length: 35
/RatingServiceSelectionRequest/Shipment/Shipper/Address/AddressLine3
AddressLine3 Required: No Additional shipper address Length is not validated.
Type: String information, preferably department
Max Allowed: 1 name.
Length: 35
/RatingServiceSelectionRequest/Shipment/Shipper/Address/City
City Required: Cond Shipper's City Required if country does
Type: String not utilize postal codes.
Max Allowed: 1 Length is not validated.
Length: 30
/RatingServiceSelectionRequest/Shipment/Shipper/Address/StateProvinceCode
StateProvinceCode Required: No Shipper's state code. Length is not validated.
Type: String
Max Allowed: 1
Length: 2
/RatingServiceSelectionRequest/Shipment/Shipper/Address/PostalCode
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 23
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Shipper/Address/CountryCode
CountryCode Required: Yes Shipper CountryCode. Required, but default to US.
Type: String For additional information,
Max Allowed: 1 refer to Country Codes in
Length: 2 the Appendix.
/RatingServiceSelectionRequest/Shipment/Shipper/Address/ResidentialAddressIndicator
ResidentialAddressIndicator Required: No A flag indicating if the shipper's Empty Tag
Type: String address is a residential location.
Max Allowed: 1 True if tag exists; false otherwise.
Length: 0 Note: When requesting
TimeInTransit information, this
indicator must be passed to
determine if Three Day Select or
Ground shipment is eligible for
Saturday Delivery at no charge.
ShipTo
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/ShipTo
ShipTo Required: Yes Container stores the details of N/A
Type: Container ShipTo
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipTo/CompanyName
CompanyName Required: No Receiver's name or Company Length is not validated.
Type: String Name. When using the Rating API in
Max Allowed: 1 conjunction with the Shipping API,
Length: 35 this field should be the same as the
Ship To name of the Shipping API
request.
/RatingServiceSelectionRequest/Shipment/ShipTo/Address
Address Required: Yes ShipTo Address container contains N/A
Type: Container the details of ShipTo address
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/AddressLine1
AddressLine1 Required: No The receiver's street address Length is not validated.
Type: String including name and number (when
Max Allowed: 1 applicable).
Length: 35
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/AddressLine2
AddressLine2 Required: No Additional receiver address Length is not validated.
Type: String information, preferably room or floor.
Max Allowed: 1
Length: 35
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 24
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/AddressLine3
AddressLine3 Required: No Additional receiver address Length is not validated.
Type: String information, preferably department
Max Allowed: 1 name.
Length: 35
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/City
City Required: Cond Receiver's city. Required if country does
Type: String not utilize postal codes.
Max Allowed: 1 Length is not validated.
Length: 30
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/StateProvinceCode
StateProvinceCode Required: Cond Receiver's state code. Note: A
Type: String State/Province Code is required
Max Allowed: 1 when requesting to receive the
Length: 2 negotiated rates. The State/Province
code is optional when requesting to
receive the published rates.
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/PostalCode
PostalCode Required: Cond Receiver's postal code. Required if country utilizes
Type: String postal codes (i.e. US and
Max Allowed: 1 PR).
Length: 9
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/CountryCode
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 25
Rating Package XML Developer Guide January 8, 2018
CountryCode Required: Yes The IATA OR UPS BILLING code For additional information,
Type: String representing the receiver's country. refer to the Country Codes
Max Allowed: 1 in the Appendix.
Length: 2
/RatingServiceSelectionRequest/Shipment/ShipTo/Address/ResidentialAddressIndicator
ResidentialAddressIndicator Required: No A flag indicating if the shipper's Empty Tag
Type: String address is a residential location.
Max Allowed: 1 True if tag exists; false otherwise.
Length: 0
ShipFrom
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/ShipFrom
ShipFrom Required: No ShipFrom Container. N/A
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipFrom/CompanyName
CompanyName Required: No ShipFrom locations name or Length is not validated.
Type: String company name.
Max Allowed: 1
Length: 35
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address
Address Required: Cond Contains ShipFrom address The shipment will be rated
Type: Container elements from this origin address to
Max Allowed: 1 the destination ShipTo
Length: N/A address.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 26
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/AddressLine1
AddressLine1 Required: No ShipFrom locations street address Length is not validated.
Type: String including name and number (when
Max Allowed: 1 applicable).
Length: 35
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/AddressLine2
AddressLine2 Required: No Additional ShipFrom location Length is not validated.
Type: String address information, preferably room
Max Allowed: 1 or floor.
Length: 35
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/AddressLine3
AddressLine3 Required: No Additional ShipFrom location Length is not validated.
Type: String address information, preferably
Max Allowed: 1 department name.
Length: 35
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/City
City Required: Yes ShipFrom locations city. Required if country does
Type: String not utilize postal codes.
Max Allowed: 1 Length is not validated.
Length: 30
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/StateProvinceCode
StateProvinceCode Required: Cond ShipFrom locations state code.
Type: String Note: A State/Province Code is
Max Allowed: 1 required when requesting to receive
Length: 2 the negotiated rates. The
State/Province code is optional
when requesting to receive the
published rates.
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/PostalCode
PostalCode Required: Yes* ShipFrom locations postal code. Required if country utilizes
Type: String postal codes (i.e. US and
Max Allowed: 1 PR)
Length: 9
/RatingServiceSelectionRequest/Shipment/ShipFrom/Address/CountryCode
CountryCode Required: No ShipFrom CountryCode. Required, but default to US.
Type: String For additional information,
Max Allowed: 1 refer to Country Codes in
Length: 2 the Appendix.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 27
Rating Package XML Developer Guide January 8, 2018
AlternateDeliveryAddress
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress
AlternateDeliveryAddress Required: Cond AlternateDeliveryAddress container AlternateDeliveryAddress is
Type: Container address information for UPS Access required if:
Max Allowed: 1 Point. 01 Hold for Pickup at UPS
Length: N/A Access Point
02 UPS Access Point™
Delivery
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Name
Name Required: No The name of UPS Access Point.
Type: String
Max Allowed: 1
Length: 1…35
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address
Address Required: Yes* Address Container for Alternate
Type: Container Delivery Address.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/AddressLine1
AddressLine1 Required: No The UPS Access Point's street Length is not validated.
Type: String address, including name and
Max Allowed: 1 number (when applicable).
Length: 1…35
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/AddressLine2
AddressLine2 Required: No The UPS Access Point's street Length is not validated.
Type: String address, including name and
Max Allowed: 1 number (when applicable).
Length: 1…35
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/AddressLine3
AddressLine3 Required: No The UPS Access Point's street Length is not validated.
Type: String address, including name and
Max Allowed: 1 number (when applicable).
Length: 1…35
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/City
City Required: Cond UPS Access Point city.
Type: String
Max Allowed: 1
Length: 1…30
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/StateProvinceCode
StateProvinceCode Required: Cond UPS Access Point State or Province
Type: String code.
Max Allowed: 1
Length: 2
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 28
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/PostalCode
PostalCode Required: Cond UPS Access Point Postal code.
Type: String
Max Allowed: 1
Length: 1…9
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/CountryCode
CountryCode Required: Yes* UPS Access Point Country code.
Type: String
Max Allowed: 1
Length: 2
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/ResidentialAddressIndicator
ResidentialAddressIndicator Required: No Presence/Absence Indicator. Any Empty Tag
Type: String value inside is ignored. A flag
Max Allowed: 1 indicating if the shipper's address is
Length: 0 a residential location. True if tag
exists; false otherwise
/RatingServiceSelectionRequest/Shipment/AlternateDeliveryAddress/Address/POBoxIndicator
POBoxIndicator Required: No Presence/Absence Indicator. Any Not valid with Shipment
Type: String value inside is ignored. Indication Types:
Max Allowed: 1 This field is a flag to indicate if the 01 Hold for Pickup at UPS
Length: 0 receiver address has PO box Access Point
indicator. 02 UPS Access Point™
True if POBoxIndicator tag exists. Delivery
ShipmentIndicationType
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/ShipmentIndicationType
ShipmentIndicationType Required: Cond Container to hold shipment Currently only one
Type: Container indication type. Shipment Indication Type is
Max Allowed: 1 allowed.
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentIndicationType/Code
Code Required: Yes* Code for Shipment Indication Type.
Type: String Valid values:
Max Allowed: 1 01 =Hold for Pickup at UPS Access
Length: 2 Point
02 = UPS Access Point™ Delivery
/RatingServiceSelectionRequest/Shipment/ShipmentIndicationType/Description
Description Required: No Description for Shipment Indication Length is not Validated.
Type: String Type.
Max Allowed: 1
Length: 1…50
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 29
Rating Package XML Developer Guide January 8, 2018
PaymentDetails
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/PaymentDetails
PaymentDetails Required: No Payment details container for This container is used for
Type: Container detailed shipment charges. The two Who Pays What
Max Allowed: 1 shipment charges that are available functionality.
Length: N/A for specification are Transportation
charges and Duties and Taxes.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge
ShipmentCharge Required: Yes* Shipment charge container.
Type: Container
Max Allowed: 2
Length: N/A
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/Type
Type Required: Yes* Valid values:
Type: String 01 = Transportation
Max Allowed: 1 02 = Duties and Taxes
Length: 2
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillShipper
BillShipper Required: Cond Container for the BillShipper billing This element or its sibling
Type: Container option. element, BillReceiver,
Max Allowed: 1 BillThirdParty or
Length: N/A ConsigneeBilledIndicator,
must be present but no
more than one can be
present.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillShipper/AccountNumber
AccountNumber Required: Yes* UPS account number Must be the same UPS
Type: String account number as the one
Max Allowed: 1 provided in
Length: 6 Shipper/ShipperNumber.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillReceiver
BillReceiver Required: Cond Container for the BillReceiver billing This element or its sibling
Type: Container option. element, BillShipper,
Max Allowed: 1 BillThirdParty or Consignee
Length: N/A Billed, must be present but
no more than one can be
present. For a return
shipment, Bill Receiver is
invalid for Transportation
charges.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillReceiver/AccountNumber
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 30
Rating Package XML Developer Guide January 8, 2018
AccountNumber Required: Yes* The UPS account number. The account must be a
Type: String valid UPS account number
Max Allowed: 1 that is active.
Length: 6
For US, PR and CA
accounts, the account must
be a daily pickup account,
an occasional account, a
customer B.I.N account, or
a dropper shipper account.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillReceiver/Address/PostalCode
PostalCode Required: Yes* The postal code for the UPS
Type: String account's pickup address. The
Max Allowed: 1 pickup postal code was entered in
Length: 1…9 the UPS system when the account
was set-up.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillThirdParty
BillThirdParty Required: Cond Container for the third party billing This element or its sibling
Type: Container option. element, BillShipper,
Max Allowed: 1 BillReceiver or Consignee
Length: N/A Billed, must be present but
no more than one can be
present.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillThirdParty/AccountNumber
AccountNumber Required: Yes* The UPS account number of the The account must be a
Type: String third party shipper. valid UPS account number
Max Allowed: 1 that is active.
Length: 6
For US, PR and CA
accounts, the account must
be either a daily pickup
account, an occasional
account, or a customer
B.I.N account, or a drop
shipper account.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 31
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillThirdParty/Address
Address Required: Yes* Container for additional information
Type: Container for the third party UPS accounts
Max Allowed: 1 address.
Length: N/A
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillThirdParty/Address/PostalCode
PostalCode Required: Yes* Origin postal code. The postal code must be
Type: String the same as the UPS
Max Allowed: 1 account pickup address
Length: 1…9 postal code. Required for
United States and
Canadian UPS accounts
and/or if the UPS account
pickup address has a
postal code. If the UPS
account's pickup country is
US or Puerto Rico, the
postal code is 5 or 9 digits.
The character '-' may be
used to separate the first
five digits and the last four
digits. If the UPS account's
pickup country is CA, the
postal code is 6
alphanumeric characters
whose format is A#A#A#
where A is an uppercase
letter and # is a digit.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/BillThirdParty/Address/CountryCode
CountryCode Required: Yes* Origin Country code. Refer to the
Type: String Supported Country Tables located in
Max Allowed: 1 the Appendix.
Length: 2
/RatingServiceSelectionRequest/Shipment/PaymentDetails/ShipmentCharge/ConsigneeBilledIndicator
ConsigneeBilledIndicator Required: Cond Consignee Billing payment option Empty Tag. This element or
Type: String indicator. The presence indicates its sibling element,
Max Allowed: 1 consignee billing option is selected. BillShipper, BillReceiver or
Length: 0 The absence indicates one of the BillThirdParty, must be
other payment options is selected. present but no more than
one can be present. This
billing option is valid for a
shipment charge type of
Transportation only. Only
applies to US/PR and
PR/US shipment origins
and destination.
/RatingServiceSelectionRequest/Shipment/PaymentDetails/SplitDutyVATIndicator
SplitDutyVATIndicator Required: No Split Duty VAT Indicator. The Empty Tag. The payment
Type: String presence indicates the payer method for Transportation
Max Allowed: 1 specified for Transportation Charges charges must be UPS
Length: 0 will pay transportation charges and account. The UPS account
any duties that apply to the must be a daily pickup
shipment. The payer specified for account or an occasional
Duties and Taxes will pay the VAT account.
(Value-Added Tax) only.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 32
Rating Package XML Developer Guide January 8, 2018
GoodsNotInFreeCirculationIndicator
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/GoodsNotInFreeCirculationIndicator
GoodsNotInFreeCirculationIndica Required: No Goods Not In Free Circulation This is an empty tag, any
tor Type: String indicator. value inside is ignored. This
Max Allowed: 1 indicator is invalid for a
Length: 0 package type of UPS Letter
and DocumentsOnly.
Service
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/Service
Service Required: No Container for Service. N/A
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Service/Code
Code Required: Cond The code for the UPS Service
Type: String associated with the shipment.
Max Allowed: 1
Length: 2 NOTE: For a complete listing of
values, refer to Service Codes in the
Appendix.
/RatingServiceSelectionRequest/Shipment/Service/Description
Description Required: No A text description of the UPS Length is not validated.
Type: String Service associated with the
Max Allowed: 1 shipment.
Length: 35
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 33
Rating Package XML Developer Guide January 8, 2018
DocumentsOnly
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/DocumentsOnly
DocumentsOnly Required: No Indicates that the shipment contains
Type: String only documents.
Max Allowed: 1
Length: 0
NumOfPieces
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/NumOfPieces
NumOfPieces Required: No Total number of pieces in all pallets.
Type: String Required for UPS Worldwide
Max Allowed: 1 Express Freight and UPS Worldwide
Length: 1…5 Express Freight Midday shipments.
ShipmentTotalWeight
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/ShipmentTotalWeight
ShipmentTotalWeight Required: Cond Shipment Total Weight Container. Required for all
Type: Container This container is only applicable for international shipments
Max Allowed: 1 "ratetimeintransit" and when retreiving time in
Length: N/A "shoptimeintransit" request options. transit information,
including letters and
documents shipments.
/RatingServiceSelectionRequest/Shipment/ShipmentTotalWeight/UnitOfMeasurement
UnitOfMeasurement Required: Yes* UnitOfMeasurement Container.
Type: Container
Max Allowed:
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentTotalWeight/UnitOfMeasurement/Code
Code Required: Yes* Code representing the unit of
Type: String measure associated with the
Max Allowed: shipment weight.
Length: 3 Codes are: LBS = Pounds, KGS =
Kilograms.
/RatingServiceSelectionRequest/Shipment/ShipmentTotalWeight/UnitOfMeasurement/Description
Description Required: No Text description of the code
Type: String representing the unit of measure
Max Allowed: 1 associated with the shipment weight.
Length: 1..35
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 34
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipmentTotalWeight/Weight
Weight Required: Yes* Non-zero total weight of all
Type: String packages in the shipment.
Max Allowed:
Length: 1..3
Package
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/Package
Package Required: No Container for Package. N/A
Type: Container
Max Allowed: 200
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackagingType
PackagingType Required: Cond Container to hold Packaging Type If no container is specified,
Type: Container information. RAVE assumes UPS
Max Allowed: 1 Package, i.e., type 02
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackagingType/Code
Code Required: Yes* The code for the UPS packaging Valid values:
Type: String type associated with the package. 00 = UNKNOWN
Max Allowed: 1 01 = UPS Letter
Length: 2 02 = Package
03 = Tube
04 = Pak
21 = Express Box
24 = 25KG Box
25 = 10KG Box
30 = Pallet
2a = Small Express Box
2b = Medium Express Box
2c = Large Express Box
/RatingServiceSelectionRequest/Shipment/Package/PackagingType/Description
Description Required: No A text description of the code for the Length is not validated.
Type: String UPS packaging type associated with
Max Allowed: 1 the shipment.
Length: 35
/RatingServiceSelectionRequest/Shipment/Package/Dimensions
Dimensions Required: Cond Container to hold Dimensions of N/A
Type: Container Package.
Max Allowed: 1
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 35
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/Dimensions/UnitOfMeasurement
UnitOfMeasurement Required: Cond Container to hold Unit of Required if Packaging Type
Type: Container Measurement of Package. in not Letter, Express Tube,
Max Allowed: 1 or Express Box. Required
Length: N/A for GB to GB and Poland to
Poland shipments
/RatingServiceSelectionRequest/Shipment/Package/Dimensions/UnitOfMeasurement/Code
Code Required: No Package dimensions unit of Valid codes:
Type: String measurement code. IN = Inches
Max Allowed: 1 CM = Centimeters
Length: 2
/RatingServiceSelectionRequest/Shipment/Package/Dimensions/UnitOfMeasurement/Description
Description Required: No A text description of the code for the Length is not validated.
Type: String unit of measure associated with the
Max Allowed: 1 package dimensions.
Length: 35
/RatingServiceSelectionRequest/Shipment/Package/Dimensions/Length
Length Required: Cond The length of the package used to Required if Packaging Type
Type: String determine dimensional weight. in not Letter, Express Tube,
Max Allowed: 1 or Express Box. Required
Length: 6 for GB to GB and Poland to
Poland shipments.
/RatingServiceSelectionRequest/Shipment/Package/Dimensions/Width
Width Required: Cond The width of the package used to Required if Packaging Type
Type: String determine dimensional weight. in not Letter, Express Tube,
Max Allowed: 1 or Express Box. Required
Length: 6 for GB to GB and Poland to
Poland shipments.
/RatingServiceSelectionRequest/Shipment/Package/Dimensions/Height
Height Required: Cond The height of the package used to Required if Packaging Type
Type: String determine dimensional weight. in not Letter, Express Tube,
Max Allowed: 1 or Express Box. Required
Length: 6 for GB to GB and Poland to
Poland shipments.
/RatingServiceSelectionRequest/Shipment/Package/DimWeight
DimWeight Required: No Package Dimensional Weight Only used for non-
Type: Container container. Values in this container US/CA/PR shipments.
Max Allowed: 1 are ignored when package
Length: N/A dimensions are provided. Please
visit ups.com for instructions on
calculating this value.
/RatingServiceSelectionRequest/Shipment/Package/DimWeight/UnitOfMeasurement
UnitOfMeasurement Required: No UnitOfMeasurement Container. N/A
Type: Container
Max Allowed: 1
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 36
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/DimWeight/UnitOfMeasurement/Code
Code Required: No Code representing the unit of Valid values: “LBS” =
Type: String measure associated with the Pounds (default) and “KGS”
Max Allowed: 1 package weight. Codes are: LBS = = Kilograms.
Length: 3 Pounds, KGS = Kilograms.
/RatingServiceSelectionRequest/Shipment/Package/DimWeight/UnitOfMeasurement/Description
Description Required: No Text description of the code Length and value are not
Type: String representing the unit of measure validated.
Max Allowed: 1 associated with the package weight.
Length: 1…35
/RatingServiceSelectionRequest/Shipment/Package/DimWeight/Weight
Weight Required: No Dimensional weight of the package.
Type: String Decimal values are not accepted,
Max Allowed: 1 however there is one implied
Length: 6 decimal place for values in this field
(i.e. 115 = 11.5).
/RatingServiceSelectionRequest/Shipment/Package/PackageWeight
PackageWeight Required: Cond Container to hold Package Weight Weight allowed for
Type: Container information. letters/envelopes.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageWeight/UnitOfMeasurement
UnitOfMeasurement Required: Cond Container to hold Unit of N/A
Type: Container Measurement of Package Weight.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageWeight/UnitOfMeasurement/Code
Code Required: No Code representing the unit of Valid values:
Type: String measure associated with the LBS = Pounds (default)
Max Allowed: 1 package weight. KGS = Kilograms
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageWeight/UnitOfMeasurement/Description
Description Required: No Text description of the code Length is not validated.
Type: String representing the unit of measure
Max Allowed: 1 associated with the package weight.
Length: 35
/RatingServiceSelectionRequest/Shipment/Package/PackageWeight/Weight
Weight Required: Yes* Value of the package weight. Valid values: 0.1 - 150.0
Type: String
Max Allowed: 1
Length: 6
/RatingServiceSelectionRequest/Shipment/Package/LargePackageIndicator
LargePackageIndicator Required: No Presence of LargePackageIndicator
Type: String specifies that the package is a Large
Max Allowed: 1 package.
Length: 0
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 37
Rating Package XML Developer Guide January 8, 2018
PackageServiceOptions
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions
PackageServiceOptions Required: No Container for Package Service N/A
Type: Container Options.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/InsuredValue
InsuredValue Required: No Container for Insured Value Type. N/A
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/InsuredValue/CurrencyCode
CurrencyCode Required: No Declared value amount currency Code must represent a
Type: String type. The IATA currency code currency that is a valid for
Max Allowed: 1 associated with the declared value Shipper country.
Length: 3 amount for the package.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/InsuredValue/MonetaryValue
MonetaryValue Required: Yes* Declared value amount. Declared value amount.
Type: String
Max Allowed: 1
Length: 1..19
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/AccessPointCOD
AccessPointCOD Required: No Access Point COD indicates Valid only for "01 - Hold For
Type: Container Package COD is requested for a Pickup At UPS Access
Max Allowed: 1 shipment. Point" Shipment Indication
Length: N/A type.
Package Access Point
COD is valid only for
shipment without return
service from US/PR to
US/PR and CA to CA. Not
valid with (Package) COD.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/AccessPointCOD/CurrencyCode
CurrencyCode Required: Yes* Access Point COD Currency Code. Required if
Type: String AccessPointCOD container
Max Allowed: 1 is present.
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/AccessPointCOD/MonetaryValue
MonetaryValue Required: Yes* Access Point COD Monetary Value. Required if
Type: String AccessPointCOD container
Max Allowed: 1 is present.
Length: 8
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/COD
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 38
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/COD/CODFundsCode
CODFundsCode Required: Cond Indicates the type of funds that can For valid values, refer
Type: String be used for the C.O.D. payment. to COD Supported
Max Allowed: 1 Countries in the Appendix.
Length: 1
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount
CODAmount Required: Cond Container to hold COD Amount. N/A
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount/CurrencyCode
CurrencyCode Required: Cond The IATA currency code associated Required if a value for the
Type: String with the COD amount for the COD amount exists in the
Max Allowed: 1 package. MonetaryValue tag. Must
Length: 3 match one of the IATA
currency codes.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount/MonetaryValue
MonetaryValue Required: Cond The COD value for the package. Required if COD option is
Type: String present. The maximum
Max Allowed: 1 amount allowed is
Length: 8 50,000USD.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation
DeliveryConfirmation Required: No Container to hold Delivery For list of allowed
Type: Container Confirmation information. origin/destinations, please
Max Allowed: 1 refer to Appendix D.
Length: N/A DeliveryConfirmation and
COD cannot coexist on a
single Package.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation/DCISType
DCISType Required: Yes* Type of delivery confirmation Valid values:
Type: String 1 - Delivery Confirmation
Max Allowed: 1 2 - Delivery Confirmation
Length: 1 Signature Required
3 - Delivery Confirmation
Adult Signature Required
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/ShipperDeclaredValue
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 39
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/ShipperDeclaredValue/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code associated Length is not validated.
Type: String with the amount for the package.
Max Allowed: 1
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/ShipperDeclaredValue/MonetaryValue
MonetaryValue Required: Yes* The monetary value for the amount N/A
Type: String associated with the package.
Max Allowed: 1
Length: 1..19
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/ProactiveIndicator
ProactiveIndicator Required: No Valid for UPS Worldwide Express Shippers account need to
Type: String Freight and UPS Worldwide Express have a valid contract for
Max Allowed: 1 Freight Midday Shipments. Contract Proactive.
Length: 0 based accessorial which can be
used by health care companies to
monitor the package progress
through the UPS system
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/RefrigerationIndicator
RefrigerationIndicator Required: No Presence/Absence Indicator. Any Shippers account need to
Type: String value is ignored. If present, indicates have a valid contract for
Max Allowed: 1 that the package contains an item Refrigeration.
Length: 0 that needs refrigeration.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance
Insurance Required: No Insurance Accesorial. Valid for UPS
Type: Container Worldwide Express Freight and UPS
Max Allowed: 1 Worldwide Express Freight Midday
Length: N/A Shipments.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/BasicFlexibleParcelIndicator
BasicFlexibleParcelIndicator Required: No Container to hold Basic Flexible
Type: Container Parcel Indicator information.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/BasicFlexibleParcelIndicator/Curre
ncyCode
CurrencyCode Required: Yes* The IATA currency code associated
Type: String with the amount for the package.
Max Allowed: 1
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/BasicFlexibleParcelIndicator/Mone
taryValue
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 40
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/ExtendedFlexibleParcelIndicator/C
urrencyCode
CurrencyCode Required: Yes* The IATA currency code associated
Type: String with the amount for the package.
Max Allowed: 1
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/ExtendedFlexibleParcelIndicator/
MonetaryValue
MonetaryValue Required: Yes* The monetary value for the amount
Type: String associated with the package.
Max Allowed: 1
Length: 1..9
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/TimeInTransitFlexibleParcelIndicat
or
TimeInTransitFlexibleParcelIndic Required: No Container to hold Time In Transit
ator Type: Container Flexible Parcel Indicator information.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/TimeInTransitFlexibleParcelIndicat
or/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code associated
Type: String with the amount for the package.
Max Allowed: 1
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/Insurance/TimeInTransitFlexibleParcelIndicat
or/MonetaryValue
MonetaryValue Required: Yes* The monetary value for the amount
Type: String associated with the package.
Max Allowed: 1
Length: 1..9
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation
VerbalConfirmation Required: No Container to hold Verbal N/A
Type: Container Confirmation information.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/Name
Name Required: No The name of the person that will
Type: String provide verbal confirmation for the
Max Allowed: 1 package.
Length: 35
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/PhoneNumber
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 41
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/PhoneNumber/Structure
dPhoneNumber
StructuredPhoneNumber Required: No Container to hold Structured Phone Required if parent element,
Type: Container number. PhoneNumber, is required.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/PhoneNumber/Structure
dPhoneNumber/PhoneCountryCode
PhoneCountryCode Required: No The Country Code portion of the Not valid for US phone
Type: String phone number. numbers.
Max Allowed: 1
Length: 3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/PhoneNumber/Structure
dPhoneNumber/PhoneDialPlanNumber
PhoneDialPlanNumber Required: No Dial plan number portion of the
Type: String phone number.
Max Allowed: 1
Length: 15
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/PhoneNumber/Structure
dPhoneNumber/PhoneLineNumber
PhoneLineNumber Required: No Line number portion of the phone
Type: String number.
Max Allowed: 1
Length: 15
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/PhoneNumber/Structure
dPhoneNumber/PhoneExtension
PhoneExtension Required: No Shipper's phone extension.
Type: String
Max Allowed: 1
Length: 4
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/UPSPremiumCareIndicator
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 42
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat
HazMat Required: No Container to hold HazMat Applies only if SubVersion
Type: Container information. is greater than or equal to
Max Allowed: 1 1701.
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/PackageIdentifier
PackageIdentifier Required: Cond Identifies the package containing Required if SubVersion is
Type: String Dangerous Goods. greater than or equal to
Max Allowed: 1 1701.
Length: 1…5
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/QValue
QValue Required: Cond QValue is required when a HazMat Applies only if SubVersion
Type: String shipment specifies is greater than or equal to
Max Allowed: 1 AllPackedInOneIndicator and the 1701. Valid values are :
Length: 3 regulation set for that shipment is 0.1; 0.2; 0.3; 0.4; 0.5; 0.6;
IATA. 0.7; 0.8; 0.9; 1.0
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/OverPackedIndicator
OverPackedIndicator Required: No Presence/Absence Indicator. Any Applies only if SubVersion
Type: String value is ignored. Presence indicates is greater than or equal to
Max Allowed: 1 that shipment is overpack. 1701.
Length: 0
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 43
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/AllPackedInOneIndicator
AllPackedInOneIndicator Required: No Presence/Absence Indicator. Any Applies only if SubVersion
Type: String value is ignored. Indicates the is greater than or equal to
Max Allowed: 1 hazmat shipment/package is all 1701.
Length: 0 packed in one.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord
HazMatChemicalRecord Required: Yes* Container to hold HazMat Chemical
Type: Container Records.
Max Allowed: 3
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/ChemicalR
ecordIdentifier
ChemicalRecordIdentifier Required: Cond Identifies the Chemcial Record. Required if SubVersion is
Type: String greater than or equal to
Max Allowed: 1 1701.
Length: 1…3
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/ClassDivisi
onNumber
ClassDivisionNumber Required: Cond This is the hazard class associated Applies only if SubVersion
Type: String to the specified commodity. is greater than or equal to
Max Allowed: 1 Required if 1701.
Length: 1…7 CommodityRegulatedLevelCode is
‘LQ’ or ‘FR’
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/IDNumber
IDNumber Required: Cond This is the ID number (UN/NA/ID) for Applies only if SubVersion
Type: String the specified commodity. Required if is greater than or equal to
Max Allowed: 1 CommodityRegulatedLevelCode = 1701.
Length: 1…6 LR, LQ or FR and if the field applies
to the material by regulation.
UN/NA/ID Identification Number
assigned to the specified regulated
good. (Include the UN/NA/ID as part
of the entry).
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Transportat
ionMode
TransportationMode Required: Yes* The method of transport by which a Applies only if SubVersion
Type: String shipment is approved to move and is greater than or equal to
Max Allowed: 1 the regulations associated with that 1701. For multiple
Length: 2 method. Only required when the ChemicalRecords per
CommodityRegulatedLevelCode is package having different
FR or LQ. TransportationMode,
Valid values: TransportationMode of first
01 - Highway ChemicalRecord would be
02 - Ground considered for validating
03 - Passenger Aircraft and rating the package. All
04 - Cargo Aircraft Only TransportationMode except
for '04' are general service
offering. If any chemical
record contains '04' as
TransportationMode,
ShipperNumber needs to
be authorized to use '04' as
TransportationMode.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 44
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Regulation
Set
RegulationSet Required: Yes* The Regulatory set associated with Applies only if SubVersion
Type: String every regulated shipment. It must be is greater than or equal to
Max Allowed: 1 the same across the shipment. 1701. For multiple
Length: 3…4 Valid values: ChemicalRecords per
ADR - For Europe to Europe package or multiple
Ground Movement packages containing
CFR - For HazMat regulated by US different RegulationSet,
Dept. of Transportation within the RegulationSet of first
U.S. or ground shipments to ChemicalRecord would be
Canada, considered for validating
IATA - For Worldwide Air and rating the entire
movement shipment.
TDG - For Canada to Canada
ground movement or Canada to U.S.
standard movement
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Emergency
Phone
EmergencyPhone Required: No 24 Hour Emergency Phone Number Applies only if SubVersion
Type: String of the shipper. is greater than or equal to
Max Allowed: 1 Valid values for this field are (0) 1701.
Length: 1…25 through (9) with trailing blanks. For The following are restricted
numbers within the U.S., the layout in the phone number
is '1', area code, 7-digit number. For
all other countries the layout is “period “.”, dash “-“, plus
country code, area code, number. sign “+” and conventional
parentheses “(“ and “)”,
“EXT or OPT”
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Emergency
Contact
EmergencyContact Required: Cond The emergency information, contact Applies only if SubVersion
Type: String name and/or contact number, is greater than or equal to
Max Allowed: 1 required to be communicated when 1701.
Length: 1…35 a call is placed to the
EmergencyPhoneNumber. The
information is required if there is a
value in the
EmergencyPhoneNumber field
above and the shipment is with a
US50 or PR origin and/or destination
and the RegulationSet is IATA.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Reportable
Quantity
ReportableQuantity Required: Cond Required if Applies only if SubVersion
Type: String CommodityRegulatedLevelCode = is greater than or equal to
Max Allowed: 1 LQ or FR and if the field applies to 1701.
Length: 1…2 the material by regulation. If
reportable quantity is met, 'RQ'
should be entered.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/SubRiskCla
ss
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 45
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Packaging
GroupType
PackagingGroupType Required: Cond This is the packing group category Applies only if SubVersion
Type: String associated to the specified is greater than or equal to
Max Allowed: 1 commodity. Required if 1701.
Length: 1…10 CommodityRegulatedLevelCode =
LQ or FR and if the field applies to
the material by regulation. Must be
shown in Roman Numerals.
Valid values are:
I,
II,
III,
blank.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Quantity
Quantity Required: Cond Required if Applies only if SubVersion
Type: String CommodityRegulatedLevelCode = is greater than or equal to
Max Allowed: 1 LQ or FR. The numerical value of 1701.
Length: 15 the mass capacity of the regulated
good.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/UOM
UOM Required: Cond Required if Applies only if SubVersion
Type: String CommodityRegulatedLevelCode = is greater than or equal to
Max Allowed: 1 LQ or FR. The unit of measure used 1701.
Length: 1…10 for the mass capacity of the
regulated good. For Example: ml, L,
g, mg, kg, cylinder, pound, pint,
quart, gallon, ounce etc.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/PackagingI
nstructionCode
PackagingInstructionCode Required: Cond The packing instructions related to Applies only if SubVersion
Type: String the chemical record. Required if is greater than or equal to
Max Allowed: 1 CommodityRegulatedLevelCode = 1701.
Length: 1…353 LQ or FR and if the field applies to
the material by regulation.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/ProperShip
pingName
ProperShippingName Required: Cond The Proper Shipping Name Applies only if SubVersion
Type: String assigned by ADR, CFR or IATA. is greater than or equal to
Max Allowed: 1 Required if 1701.
Length: 1…250 CommodityRegulatedLevelCode =
LR, LQ or FR.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TechnicalN
ame
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 46
Rating Package XML Developer Guide January 8, 2018
TechnicalName Required: Cond The technical name (when required) Applies only if SubVersion
Type: String for the specified commodity. is greater than or equal to
Max Allowed: 1 Required if 1701.
Length: 1…300 CommodityRegulatedLevelCode =
LQ or FR and if the field applies to
the material by regulation.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/AdditionalD
escription
AdditionalDescription Required: Cond Additional remarks or special Applies only if SubVersion
Type: String provision information. Required if is greater than or equal to
Max Allowed: 1 CommodityRegulatedLevelCode = 1701.
Length: 1…75 LQ or FR and if the field applies to
the material by regulation.
Additional information that may be
required by regulation about a
hazardous material, such as,
“Limited Quantity”, DOT-SP
numbers, EX numbers.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Packaging
Type
PackagingType Required: Cond The package type code identifying Applies only if SubVersion
Type: String the type of packaging used for the is greater than or equal to
Max Allowed: 1 commodity. (Ex: Fiberboard Box). 1701.
Length: 1…255 Required if
CommodityRegulatedLevelCode =
LQ or FR.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/HazardLab
elRequired
HazardLabelRequired Required: Cond Defines the type of label that is Applies only if SubVersion
Type: String required on the package for the is greater than or equal to
Max Allowed: 1 commodity. Not applicable if 1701.
Length: 1…50 CommodityRegulatedLevelCode =
LR or EQ.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Packaging
TypeQuantity
PackagingTypeQuantity Required: Cond The number of pieces of the specific Applies only if SubVersion
Type: String commodity. Required if is greater than or equal to
Max Allowed: 1 CommodityRegulatedLevelCode = 1701.
Length: 1…3 LQ or FR.
Valid values are 1 to 999.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/Commodity
RegulatedLevelCode
CommodityRegulatedLevelCode Required: Cond Indicates the type of commodity - Applies only if SubVersion
Type: String Fully Regulated (FR), Limited is greater than or equal to
Max Allowed: 1 Quantity (LQ), Excepted Quantity 1701.
Length: 2 (EQ), Lightly Regulated (LR). Default
value is FR.
Valid values are
LR,
FR,
LQ,
EQ.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TransportC
ategory
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 47
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/HazMat/HazMatChemicalRecord/TunnelRest
rictionCode
TunnelRestrictionCode Required: No Defines what is restricted to pass Applies only if SubVersion
Type: String through a tunnel. is greater than or equal to
Max Allowed: 1 1701.
Length: 1…10
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce
DryIce Required: No Container for Dry Ice. One Dry Ice
Type: Container container is allowed.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/RegulationSet
RegulationSet Required: Yes* Regulation set for DryIce Shipment. The following values are
Type: String Valid values: valid: CFR and IATA.
Max Allowed: 1 CFR = For HazMat regulated by US
Length: 3…4 Dept. of Transportation within the
U.S. or ground shipments to Canada
IATA = For Worldwide Air movement
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight
DryIceWeight Required: Yes* Container for Weight information for
Type: Container Dry Ice.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement
UnitOfMeasurement Required: Yes* Container for Unit Of Measurement
Type: Container for Dry Ice.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement/Co
de
Code Required: Yes* DryIce weight unit of measurement Valid values: 00, 01
Type: String code.
Max Allowed: 1 Valid values are:
Length: 2 00 = KG (Metric Unit of
Measurements) or KGS
01 = LB (English Unit of
Measurements) or LBS
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement/De
scription
Description Required: No Short description for
Type: String UnitOfMeasurement.
Max Allowed: 1
Length: 1…20
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/Weight
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 48
Rating Package XML Developer Guide January 8, 2018
Weight Required: Yes* Weight for Dry Ice. Cannot be more than
Type: String package weight. Should be
Max Allowed: 1 more than 0.0. Valid
Length: 1…5 characters are 0-9 and "."
(Decimal point). Limit to 1
digit after the decimal. The
maximum length of the field
is 5 including "." and can
hold up to 1 decimal place.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/MedicalUseIndicator
MedicalUseIndicator Required: No Presence/Absence Indicator. Any
Type: String value inside is ignored. Relevant
Max Allowed: 1 only in CFR regulation set. If
Length: 0 present, it is used to designate that
Dry Ice is for any medical use and
rates are adjusted for Dry Ice weight
more than 2.5 Kgs or 5.7 LBs.
/RatingServiceSelectionRequest/Shipment/Package/PackageServiceOptions/DryIce/AuditRequired
AuditRequired Required: No Presence/Absence Indicator. Any
Type: String value inside is ignored. Indicator for
Max Allowed: 1 auditing Dry Ice. Empty tag means
Length: 0 indicator is present.
/RatingServiceSelectionRequest/Shipment/Package/AdditionalHandling
AdditionalHandling Required: No A flag indicating if the packages N/A
Type: String requires additional handling. True if
Max Allowed: 1 tag exists; false otherwise
Length: 0
ShipmentServiceOptions
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions
ShipmentServiceOptions Required: No Container to hold Shipment Service N/A
Type: Container Options.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/SaturdayPickup
SaturdayPickup Required: No A flag indicating if the shipment N/A
Type: String requires a Saturday pickup. True if
Max Allowed: 1 tag exists; false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/SaturdayDelivery
SaturdayDelivery Required: No A flag indicating if a shipment must N/A
Type: String be delivered on a Saturday. True if
Max Allowed: 1 tag exists; false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/AccessPointCOD
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 49
Rating Package XML Developer Guide January 8, 2018
AccessPointCOD Required: No Access Point COD indicates Valid only for "01 - Hold For
Type: Container Shipment level Access Point COD is Pickup At UPS Access
Max Allowed: 1 requested for a shipment. Point" Shipment Indication
Length: N/A type.
Shipment COD is valid only
for countries within E.U.
Not valid with (Shipment)
COD.
Not available to shipment
with return service.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/AccessPointCOD/CurrencyCode
CurrencyCode Required: Yes* Access Point COD Currency Code. Required if
Type: String AccessPointCOD container
Max Allowed: 1 is present.
Length: 3
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/AccessPointCOD/MonetaryValue
MonetaryValue Required: Yes* Access Point COD Currency Code. Required if
Type: String AccessPointCOD container
Max Allowed: 1 is present.
Length: 8
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DeliverToAddresseeOnlyIndicator
DeliverToAddresseeOnlyIndicato Required: No Presence/Absence Indicator. Any Only valid for Shipment
r Type: String value inside is ignored. Indication type "01 - Hold
Max Allowed: 1 DeliverToAddresseeOnlyIndicator is For PickUp at UPS Access
Length: 0 shipper specified restriction that Point".
requires the addressee to be the one
who takes final delivery of the "Hold
For PickUp at UPS Access Point"
package. Presence of indicator
means shipper restriction will apply
to the shipment.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DirectDeliveryOnlyIndicator
DirectDeliveryOnlyIndicator Required: No Presence/Absence Indicator. Any This accessorial is not valid
Type: String value inside is ignored. Direct with Shipment Indication
Max Allowed: 1 Delivery Only (DDO) accessorial in a Type "01 - Hold For Pickup
Length: 0 request would ensure that delivery is At UPS Access Point" and
made only to the ship to address on "02 - UPS Access Point™
the shipping label. Delivery".
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/COD
COD Required: No COD container. Indicates COD is
Type: Container requested. Shipment COD
Max Allowed: 1 is only available for EU
Length: N/A origin countries and for
shipper's account type
Daily Pickup and Drop
Shipping.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/COD/CODFundsCode
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 50
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/COD/CODAmount
CODAmount Required: Yes* Container to hold COD Amount. N/A
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/COD/CODAmount/CurrencyCode
CurrencyCode Required: No COD amount currency code type.
Type: String Defaults to the currency used in the
Max Allowed: 1 destination country.
Length: 3
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/COD/CODAmount/MonetaryValue
MonetaryValue Required: Yes* COD Amount.
Type: String
Max Allowed: 1
Length: 1..8
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ReturnOfDocumentIndicator
ReturnOfDocumentIndicator Required: No Return of Documents Indicator. If the Valid For Poland to Poland
Type: String flag is present, the shipper has shipment only.
Max Allowed: 1 requested the ReturnOfDocument
Length: 0 accessorial be added to the
shipment.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation
DeliveryConfirmation Required: No Container for Delivery Confirmation. For list of allowed
Type: Container origin/destinations please
Max Allowed: 1 refer to Appendix.
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation/DCISType
DCISType Required: Yes* Type of delivery confirmation. Valid values:
Type: String 1 - Delivery Confirmation.
Max Allowed: 1 Signature Required
Length: 1 2 - Delivery Confirmation.
Adult Signature Required
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/UPScarbonneutralIndicator
UPScarbonneutralIndicator Required: No UPS carbon neutral indicator -
Type: String Required to rate carbon neutral
Max Allowed: 1 shipments at the shipment level.
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/CertificateOfOriginIndicator
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 51
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/PickupOptions
PickupOptions Required: No Shipment Service Pickup Options
Type: Container Container. Valid for UPS Worldwide
Max Allowed: 1 Express Freight and UPS Worldwide
Length: N/A Express Freight Midday shipments.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/PickupOptions/LiftGateAtPickupIndicator
LiftGateAtPickupIndicator Required: No The presence of the tag
Type: String LiftGatePickupRequiredIndicator
Max Allowed: 1 indicates that the shipment requires
Length: 0 a lift gate for pickup.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/PickupOptions/HoldForPickupIndicator
HoldForPickupIndicator Required: No The presence of the this fields
Type: String indicates that the user opted to hold
Max Allowed: 1 the shipment for pickup.
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DeliveryOptions
DeliveryOptions Required: No Shipment Service Delivery Options
Type: Container Container. Valid for UPS Worldwide
Max Allowed: 1 Express Freight and UPS Worldwide
Length: N/A Express Freight Midday shipments.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DeliveryOptions/LiftGateAtDeliveryIndicator
LiftGateAtDeliveryIndicator Required: No The presence of the tag
Type: String LiftGateDeliveryRequiredIndicator
Max Allowed: 1 indicates that the shipment requires
Length: 0 a lift gate for delivery.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/DeliveryOptions/DropOffAtUPSFacilityIndicator
DropOffAtUPSFacilityIndicator Required: No The presence of the this field
Type: String indicates that the user selected drop
Max Allowed: 1 off at facility.
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles
RestrictedArticles Required: No Valid for UPS Worldwide Express
Type: Container Freight and UPS Worldwide Express
Max Allowed: 1 Freight Midday shipments.
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/AlcoholicBeveragesIndicator
AlcoholicBeveragesIndicator Required: No This field is a flag to indicate if the
Type: String package has Alcohol. True if
Max Allowed: 1 present; false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/DiagnosticSpecimensIndicator
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 52
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/PerishablesIndicator
PerishablesIndicator Required: No This field is a flag to indicate if the
Type: String package has Perishables. True if
Max Allowed: 1 present; false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/PlantsIndicator
PlantsIndicator Required: No This field is a flag to indicate if the
Type: String package has Plants. True if present;
Max Allowed: 1 false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/SeedsIndicator
SeedsIndicator Required: No This field is a flag to indicate if the
Type: String package has Seeds. True if present;
Max Allowed: 1 false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/SpecialExceptionsIndicator
SpecialExceptionsIndicator Required: No This field is a flag to indicate if the
Type: String package has Special Exceptions
Max Allowed: 1 Restricted Materials. True if present;
Length: 0 false otherwise
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/RestrictedArticles/TobaccoIndicator
TobaccoIndicator Required: No This field is a flag to indicate if the
Type: String package has Tobbacco. True if
Max Allowed: 1 present; false otherwise
Length: 0
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ShipperExportDeclarationIndicator
ShipperExportDeclarationIndicat Required: No Valid for UPS Worldwide Express
or Type: String Freight and UPS Worldwide Express
Max Allowed: 1 Freight Midday shipments. The
Length: 0 empty tag in request indicates that
customer would be using UPS
prepared SED form.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/CommercialInvoiceRemovalIndicator
CommercialInvoiceRemovalIndic Required: No Presence/Absence Indicator. Any
ator Type: String value inside is ignored.
Max Allowed: 1 CommercialInvoiceRemovalIndicator
Length: 0 - empty tag means indicator is
present.
CommercialInvoiceRemovalIndicator
allows a shipper to dictate UPS to
remove the Commercial Invoice from
the user's shipment before the
shipment is delivered to the ultimate
consignee.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ImportControl
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 53
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ImportControl/Description
Description Required: No Description for type of Import
Type: String Control.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ReturnService
ReturnService Required: No Container for type of Return
Type: Container Services.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ReturnService/Code
Code Required: Yes Code for type of Return shipment. 10 = UPS Exchange Print
Type: String Valid values: Return Label and 5 = UPS
Max Allowed: 1 2 = UPS Print and Mail Return Label Three Attempt Return Label
Length: 1…2 3 =UPS One-Attempt Return Label are not valid for UPS
5 = UPS Three Attempt Return WorldWide Express Freight
Label and UPS Worldwide
8 = UPS Electronic Return Label Express Freight Midday
9 = UPS Print Return Label Services.
10 = UPS Exchange Print Return
Label 3 = UPS One-Attempt
Return Label is not valid
return service with UPS
Premium Care accessorial.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/ReturnService/Description
Description Required: No Description for type of Return
Type: String Service.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/SDLShipmentIndicator
SDLShipmentIndicator Required: No Empty Tag means the indicator is
Type: String present. This field is a flag to
Max Allowed: 1 indicate if the receiver needs SDL
Length: 0 rates in response.
/RatingServiceSelectionRequest/Shipment/ShipmentServiceOptions/EPRAIndicator
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 54
Rating Package XML Developer Guide January 8, 2018
RateInformation
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/RateInformation
RateInformation Required: No Rate Information container.
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/RateInformation/NegotiatedRatesIndicator
NegotiatedRatesIndicator Required: No NegotiatedRatesIndicator is required
Type: String to display two types of discounts:
Max Allowed: 1 1) Bids or Account Based Rates
Length: 0 2) Web/Promotional Discounts Bids
/RatingServiceSelectionRequest/Shipment/RateInformation/RateChartIndicator
RateChartIndicator Required: No RateChartIndicator, if present in
Type: String request, response will contain
Max Allowed: 1 RateChart element.
Length: 0
/RatingServiceSelectionRequest/Shipment/RateInformation/UserLevelDiscountIndicator
UserLevelDiscountIndicator Required: No UserLevelDiscountIndicator - This is required to obtain
Type: String required to obtain rates for User User Level Discounts.
Max Allowed: 1 Level Promotions. There must also be no
Length: 0 ShipperNumber in the
Shipper container.
InvoiceLineTotal
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/InvoiceLineTotal
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 55
Rating Package XML Developer Guide January 8, 2018
InvoiceLineTotal Required: Cond Container to hold Invoice Line Total Required if the shipment is
Type: Container Information. from US/PR Outbound to
Max Allowed: 1 non US/PR destination with
Length: N/A the PackagingType of UPS
PAK(04).
/RatingServiceSelectionRequest/Shipment/InvoiceLineTotal/CurrencyCode
CurrencyCode Required: No Invoice Line Total currency type. Note: UPS doesn't support
Type: String Defaults to the rating currency used all international currency
Max Allowed: 1 in the shipper's country. If entered, codes. Please check the
Length: 3 the Currency code should match the developer guides for
origin country's currency code, Supported Currency codes.
otherwise the currency code entered
will be ignored.
/RatingServiceSelectionRequest/Shipment/InvoiceLineTotal/MonetaryValue
MonetaryValue Required: Yes* Invoice Line Total amount for the Valid values are from 1 to
Type: String shipment. 99999999
Max Allowed: 1
Length: 1..19
RatingMethodRequestedIndicator
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/RatingMethodRequestedIndicator
RatingMethodRequestedIndicato Required: No Presence/Absence Indicator. Any
r Type: String value inside is ignored.
Max Allowed: 1 RatingMethodRequestedIndicator is
Length: 0 an indicator. If present, Billable
Weight Calculation method
information and Rating Method
information would be returned in
response.
TaxInformationIndicator
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/TaxInformationIndicator
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 56
Rating Package XML Developer Guide January 8, 2018
PromotionalDiscountInformation
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/PromotionalDiscountInformation
PromotionalDiscountInformation Required: No PromotionalDiscountInformation
Type: Container container. This container contains
Max Allowed: 1 discount information that the
Length: N/A customer wants to request each time
while placing a shipment.
/RatingServiceSelectionRequest/Shipment/PromotionalDiscountInformation/PromoCode
PromoCode Required: Yes* Promotion Code. A discount that is Required if
Type: String applied to the user. PromotionalDiscountInform
Max Allowed: 1 ation container is present.
Length: 9
/RatingServiceSelectionRequest/Shipment/PromotionalDiscountInformation/PromoAliasCode
PromoAliasCode Required: Yes* Promotion Alias code Required if
Type: String PromotionalDiscountInform
Max Allowed: 1 ation container is present.
Length: 20
DeliveryTimeInformation
Name Constraint Description Validation
/RatingServiceSelectionRequest/Shipment/DeliveryTimeInformation
DeliveryTimeInformation Required: Cond Container for requesting Time In Required to view any time
Type: Container Transit Information. in transit information.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/DeliveryTimeInformation/PackageBillType
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 57
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionRequest/Shipment/DeliveryTimeInformation/Pickup
Pickup Required: No Pickup container.
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionRequest/Shipment/DeliveryTimeInformation/Pickup/Date
Date Required: No Shipment Date; The Pickup date is a If a date is not provided, it
Type: String Shipment Date and it is a required will be defaulted to the
Max Allowed: 1 input field. The user is allowed to current system date.
Length: 8 query up to 35 days into the past
and 60 days into the future. Format:
YYYYMMDD
/RatingServiceSelectionRequest/Shipment/DeliveryTimeInformation/Pickup/Time
Time Required: No Reflects the time the package is Invalid pickup time will not
Type: String tendered to UPS for shipping (can be validated.
Max Allowed: 1 be dropped off at UPS or picked up
Length: 4…6 by UPS).
Military Time Format HHMMSS or
HHMM.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 58
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 59
Rating Package XML Developer Guide January 8, 2018
RatingServiceSelectionResponse
Name Constraint Description Validation
/RatingServiceSelectionResponse
RatingServiceSelectionResponse Required: Yes Rating Service Selection
Type: Container Response container.
Max Allowed: 1
Length: N/A
Response
Name Constraint Description Validation
/RatingServiceSelectionResponse/Response
Response Required: Yes Response container.
Type: Container
Max Allowed: 1
Length: N/A
TransactionReference
Name Constraint Description Validation
/RatingServiceSelectionResponse/Response/TransactionReference
TransactionReference Required: No Transaction Reference container.
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/Response/TransactionReference/CustomerContext
CustomerContext Required: No Customer provided data. If this
Type: String data is present in the request, it is
Max Allowed: 1 echoed back to the customer.
Length: 0...512
ResponseStatusCode
Name Constraint Description Validation
/RatingServiceSelectionResponse/Response/ResponseStatusCode
ResponseStatusCode Required: Yes Identifies the success or failure of
Type: String the interchange.
Max Allowed: 1 1 = Success; 0 = Failure
Length: 1
ResponseStatusDescription
Name Constraint Description Validation
/RatingServiceSelectionResponse/Response/ResponseStatusDescription
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 60
Rating Package XML Developer Guide January 8, 2018
Error
Name Constraint Description Validation
/RatingServiceSelectionResponse/Response/Error
Error Required: No If an error is encountered during
Type: Container the interchange, the Response
Max Allowed: contains an error. If the error is
UNB present, then the ErrorSeverity
Length: N/A and ErrorCode are required.
/RatingServiceSelectionResponse/Response/Error/ErrorSeverity
ErrorSeverity Required: Yes* Describes the severity of the error.
Type: String (Hard or Transient)
Max Allowed: 1
Length: 1...15
/RatingServiceSelectionResponse/Response/Error/ErrorCode
ErrorCode Required: Yes* A numeric value that describes the
Type: String error. Each tool defines a range
Max Allowed: 1 of error codes. Based on the
Length: 1...15 current functionality only the first
error is returned and processing
terminates.
/RatingServiceSelectionResponse/Response/Error/ErrorDescription
ErrorDescription Required: No Describes the error code.
Type: String
Max Allowed: 1
Length: 1...50
/RatingServiceSelectionResponse/Response/Error/ElementLevelInformation
ElementLevelInformation Required: Cond Provides more information about Currently applies to and
Type: Container the element that represents the returned only for request
Max Allowed: 1 alert. containing HazMat and
Length: N/A SubVersion greater than
or equal to 1701.
/RatingServiceSelectionResponse/Response/Error/ElementLevelInformation/Level
Level Required: Yes* Define type of element in request. Possible values:
Type: String 'H’ = header details level
Max Allowed: 1 ‘S’ = shipment level
Length: 1 ‘P’ = package level
‘C’ = commodity level
/RatingServiceSelectionResponse/Response/Error/ElementLevelInformation/ElementIdentifier
ElementIdentifier Required: Cond Contains more information about Returned if Level is 'P' or
Type: Container the type of element. 'C'.
Max Allowed:
Unbounded
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 61
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/Response/Error/ElementLevelInformation/ElementIdentifier/Code
Code Required: Yes* Represents the type of element. Possible values are 'P'
Type: String and 'C'.
Max Allowed: 1
Length: 1
/RatingServiceSelectionResponse/Response/Error/ElementLevelInformation/ElementIdentifier/Value
Value Required: Yes* Represents the value of element.
Type: String
Max Allowed: 1
Length: 1…5
/RatingServiceSelectionResponse/Response/Error/ErrorLocation
ErrorLocation Required: No Identifies the element in error.
Type: Container
Max Allowed:
UNB
Length: N/A
/RatingServiceSelectionResponse/Response/Error/ErrorLocation/ErrorLocationElementName
ErrorLocationElementName Required: No The Xpath name of the element in
Type: String error. This is a valid Xpath
Max Allowed: 1 pointing to an element in the
Length: 1...512 request document.
RatedShipment
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment
RatedShipment Required: Yes Container to hold Rated Shipment
Type: Container information.
Max Allowed: 1
Length: N/A
Disclaimer
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/Disclaimer
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 62
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/Disclaimer/Code
Code Required: Yes* Code representing type of
Type: String Disclaimer. Refer to Disclaimer
Max Allowed: 1 Codes and Messages in the
Length: 2 Appendix for valid values.
/RatingServiceSelectionResponse/RatedShipment/Disclaimer/Description
Description Required: Yes* Disclaimer description.
Type: String Refer to Disclaimer Codes and
Max Allowed: 1 Messages in the
Length: UNB Appendix for valid values.
Service
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/Service
Service Required: Yes Container to hold UPS Service
Type: Container information that was rated.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/Service/Code
Code Required: Yes Rated shipment's UPS service.
Type: String
Max Allowed: 1
Length: 2
/RatingServiceSelectionResponse/RatedShipment/Service/Description
Description Required: No Rated shipment's UPS service
Type: String Description.
Max Allowed: 1
Length: 35
RateChart
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/RateChart
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 63
Rating Package XML Developer Guide January 8, 2018
RatedShipmentWarning
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/RatedShipmentWarning
RatedShipmentWarning Required: No Location of warning messages.
Type: String
Max Allowed: 1
Length: 150
BillableWeightCalculationMethod
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/BillableWeightCalculationMethod
BillableWeightCalculationMethod Required: Cond BillableWeightCalculationMethod Valid values:
Type: String is to indicate whether the billable 01 = Shipment Billable
Max Allowed: 1 weight calculation method utilized Weight
Length: 2 was - the package or shipment 02 = Package Billable
level. This information would be Weight.
returned only if
RatingMethodRequestedIndicator
is present in the request.
RatingMethod
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/RatingMethod
RatingMethod Required: Cond RatingMethod is to indicate Valid values:
Type: String whether the Shipment was rated 01 = Shipment Billable
Max Allowed: 1 as shipment level or package Weight
Length: 2 level. This information would be 02 = Package Billable
returned only if Weight.
RatingMethodRequestedIndicator
is present in the request.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 64
Rating Package XML Developer Guide January 8, 2018
BillingWeight
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/BillingWeight
BillingWeight Required: Yes Container for Billable Weight
Type: Container information.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/BillingWeight/UnitOfMeasurement
UnitOfMeasurement Required: Yes Container to hold Unit of
Type: Container measurement for Billing Weight.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/BillingWeight/UnitOfMeasurement/Code
Code Required: Yes Code associated with the unit of
Type: String measure for the billable weight of
Max Allowed: 1 a shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/BillingWeight/UnitOfMeasurement/Description
Description Required: No Description for the billable weight
Type: String associated with the shipment.
Max Allowed: 1
Length: 35
/RatingServiceSelectionResponse/RatedShipment/BillingWeight/Weight
Weight Required: Yes Value for the billable weight
Type: String associated with the shipment.
Max Allowed: 1
Length: 5
TransportationCharges
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/TransportationCharges
TransportationCharges Required: Yes Container to hold Transportaion
Type: Container Charges.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/TransportationCharges/CurrencyCode
CurrencyCode Required: No The IATA currency code
Type: String associated with the transportation
Max Allowed: 1 costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/TransportationCharges/MonetaryValue
MonetaryValue Required: Yes The value for the transportation
Type: String costs associated with the
Max Allowed: 1 shipment.
Length: 16
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 65
Rating Package XML Developer Guide January 8, 2018
BaseServiceCharge
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/BaseServiceCharge
BaseServiceCharge Required: Cond Base Service Charge Container. These charges would be
Type: Container returned only when
Max Allowed: 1 subversion is greater
Length: N/A than or equal to 1701
/RatingServiceSelectionResponse/RatedShipment/BaseServiceCharge/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the base service
Max Allowed: 1 charge costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/BaseServiceCharge/MonetaryValue
MonetaryValue Required: Yes* The base value of the specific
Type: String service for the shipment. This is
Max Allowed: 1 equal to transportation charges -
Length: 16 fuel surcharges.
ItemizedCharges
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/ItemizedCharges
ItemizedCharges Required: Cond Itemized Charges are returned These charges would be
Type: Container only when the subversion element returned only when
Max Allowed: is present and greater than or subversion is greater
UNB equal to '1601'. than or equal to 1601
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/ItemizedCharges/Code
Code Required: Yes* Identification code for itemized
Type: String charge.
Max Allowed: 1
Length: 3
/RatingServiceSelectionResponse/RatedShipment/ItemizedCharges/Description
Description Required: No Description of Itemized Charge
Type: String that had been charged.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/ItemizedCharges/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the Itemized
Max Allowed: 1 Charge costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/ItemizedCharges/MonetaryValue
MonetaryValue Required: Yes* The value for Itemized Charge
Type: String costs associated with the
Max Allowed: 1 shipment.
Length: 16
/RatingServiceSelectionResponse/RatedShipment/ItemizedCharges/SubType
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 66
Rating Package XML Developer Guide January 8, 2018
ServiceOptionsCharges
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/ServiceOptionsCharges
ServiceOptionsCharges Required: Yes Container to hold Service Options
Type: Container charges.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/ServiceOptionsCharges/CurrencyCode
CurrencyCode Required: No The IATA currency code
Type: String associated with the accessorial
Max Allowed: 1 charges for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/ServiceOptionsCharges/MonetaryValue
MonetaryValue Required: Yes The value for the accessorial
Type: String charges associated with the
Max Allowed: 1 shipment.
Length: 16
TaxCharges
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/TaxCharges
TaxCharges Required: Cond TaxCharges container are
Type: Container returned only when
Max Allowed: TaxInformationIndicator is present
UNB in request and when Negotiated
Length: N/A Rates are not applicable.
TaxCharges container contains
Tax information for a given
shipment.
/RatingServiceSelectionResponse/RatedShipment/TaxCharges/Type
Type Required: Yes* Tax Type code. The code
Type: String represents the type of Tax applied
Max Allowed: 1 to a shipment.
Length: 1…9 Refer to Tax Type Values /
Abbreviations in the
Appendix for valid values.
/RatingServiceSelectionResponse/RatedShipment/TaxCharges/MonetaryValue
MonetaryValue Required: Yes* Tax Monetary Value represent the Valid values are from 0 to
Type: String Tax amount. 99999999999999.99
Max Allowed: 1
Length: 16
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 67
Rating Package XML Developer Guide January 8, 2018
TotalCharges
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/TotalCharges
TotalCharges Required: Yes Container to hold Total Charges.
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/TotalCharges/CurrencyCode
CurrencyCode Required: No The IATA currency code
Type: String associated with the total charges
Max Allowed: 1 for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/TotalCharges/MonetaryValue
MonetaryValue Required: Yes The value for the total charges
Type: String associated with the shipment.
Max Allowed: 1
Length: 16
TotalChargesWithTaxes
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/TotalChargesWithTaxes
TotalChargesWithTaxes Required: Cond TotalChargesWithTaxes container
Type: Container would be returned only if
Max Allowed: 1 TaxInformationIndicator is present
Length: N/A in request and when Negotiated
Rates are not applicable.
TotalChargesWithTaxes contains
total charges including total taxes
applied to a shipment.
/RatingServiceSelectionResponse/RatedShipment/TotalChargesWithTaxes/CurrencyCode
CurrencyCode Required: Yes* TotalChargesWithTaxes currency
Type: String code type. The currency code
Max Allowed: 1 used in the Shipment request is
Length: 3 returned.
/RatingServiceSelectionResponse/RatedShipment/TotalChargesWithTaxes/MonetaryValue
MonetaryValue Required: Yes* TotalChargesWithTaxes monetary Valid values are from 0 to
Type: String value amount. 99999999999999.99
Max Allowed: 1
Length: 16
RatedPackage
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/RatedPackage
RatedPackage Required: Yes Container to hold Package
Type: Container information.
Max Allowed: 200
Length: N/A
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 68
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/TransportationCharges
TransportationCharges Required: No Container to hold Transportaion
Type: Container Charges.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/TransportationCharges/CurrencyCode
CurrencyCode Required: No The IATA currency code
Type: String associated with the transportation
Max Allowed: 1 costs for the package.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/TransportationCharges/MonetaryValue
MonetaryValue Required: Yes* The value for the transportation
Type: String costs associated with the
Max Allowed: 1 package.
Length: 16
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BaseServiceCharge
BaseServiceCharge Required: Cond Base Service Charge Container. These charges would be
Type: Container returned only when
Max Allowed: 1 subversion is greater
Length: N/A than or equal to 1701
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BaseServiceCharge/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the base service
Max Allowed: 1 charge costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BaseServiceCharge/MonetaryValue
MonetaryValue Required: Yes* The base value of the specific
Type: String service for the shipment. This is
Max Allowed: 1 equal to transportation charges -
Length: 16 fuel surcharges.
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ServiceOptionsCharges
ServiceOptionsCharges Required: No Container to hold Service Options
Type: Container charges.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ServiceOptionsCharges/CurrencyCode
CurrencyCode Required: No The IATA currency code
Type: String associated with the accessorial
Max Allowed: 1 charges for the package.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ServiceOptionsCharges/MonetaryValue
MonetaryValue Required: Yes* The value for the accessorial
Type: String charges associated with the
Max Allowed: 1 package.
Length: 16
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ItemizedCharges
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 69
Rating Package XML Developer Guide January 8, 2018
ItemizedCharges Required: Cond Itemized Charges are returned These charges would be
Type: Container only when the subversion element returned only when
Max Allowed: is present and greater than or subversion is greater
UNB equal to '1607'. than or equal to 1601
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ItemizedCharges/Code
Code Required: Yes* Identification code for itemized
Type: String charge.
Max Allowed: 1
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ItemizedCharges/Description
Description Required: No Description of Itemized Charge
Type: String that had been charged.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ItemizedCharges/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the Itemized
Max Allowed: 1 Charge costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ItemizedCharges/MonetaryValue
MonetaryValue Required: Yes* The value for Itemized Charge
Type: String costs associated with the
Max Allowed: 1 shipment.
Length: 16
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/ItemizedCharges/SubType
SubType Required: No The sub-type of Itemized Charge
Type: String type.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/TotalCharges
TotalCharges Required: No Container to hold Total Charges.
Type: Container
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/TotalCharges/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the total charges
Max Allowed: 1 for the package.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/TotalCharges/MonetaryValue
MonetaryValue Required: Yes* The value for the total charges
Type: String associated with the package.
Max Allowed: 1
Length: 16
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 70
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges/ItemizedCharges
ItemizedCharges Required: Cond Negotiated Itemized Accessorial These charges would be
Type: Container and Sur Charges. returned only when
Max Allowed: subversion is greater
UNB than or equal to 1601
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges/ItemizedCharges/Code
Code Required: Yes* Identification code for itemized
Type: String charge.
Max Allowed: 1
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges/ItemizedCharges/Description
Description Required: No Description of Itemized Charge
Type: String that had been charged.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges/ItemizedCharges/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the Itemized
Max Allowed: 1 Charge costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges/ItemizedCharges/MonetaryValue
MonetaryValue Required: Yes* The value for Itemized Charge
Type: String costs associated with the
Max Allowed: 1 shipment.
Length: 16
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/NegotiatedCharges/ItemizedCharges/SubType
SubType Required: No The sub-type of Itemized Charge
Type: String type.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/Weight
Weight Required: No Weight of the package in the rated
Type: String shipment.
Max Allowed: 1
Length: 5
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BillingWeight
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 71
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BillingWeight/UnitOfMeasurement
UnitOfMeasurement Required: Yes* Container to hold Unit of
Type: Container measurement for Billing Weight.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BillingWeight/UnitOfMeasurement/Code
Code Required: Yes* Code associated with the unit of
Type: String measure for the billable weight of
Max Allowed: 1 a package.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BillingWeight/UnitOfMeasurement/Description
Description Required: Yes* Description associated with the
Type: String unit of measure for the billable
Max Allowed: 1 weight of a package.
Length: 1..35
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/BillingWeight/Weight
Weight Required: Yes* Value for the billable weight
Type: String associated with the package.
Max Allowed: 1
Length: 5
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/Accessorial
Accessorial Required: Cond The container for Accessorial This is valid only for UPS
Type: Container indicators. This information would Worldwide Express
Max Allowed: be returned only if Freight and UPS
UNB ItemizedChargesRequested was Worldwide Express
Length: N/A present during Rate request. This Freight Middday Service.
is valid only for UPS Worldwide
Express Freight and UPS
Worldwide Express Freight Mid-
day service request with Dry Ice or
Oversize Pallet and SubVersion
greater than or equal to 1707.
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/Accessorial/Code
Code Required: Yes* Code for Accessorial Indicator.
Type: String
Max Allowed: 1
Length: 3
/RatingServiceSelectionResponse/RatedShipment/RatedPackage/Accessorial/Description
Description Required: No Description for Accessorial
Type: String Indicator.
Max Allowed: 1
Length: 1...50
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 72
Rating Package XML Developer Guide January 8, 2018
NegotiatedRates
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates
NegotiatedRates Required: Cond Container to hold Negotiated For tiered rates and
Type: Container Rates. promotional discounts, if
Max Allowed: 1 a particular shipment
Length: N/A based on zone, origin,
destination or even
shipment size doesn't
qualify for the existing
discount then no
negotiated rates
container will be
returned. Published rates
will be the applicable
rate.
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/ItemizedCharges
ItemizedCharges Required: Cond Itemized Charges are returned These charges would be
Type: Container only when the subversion element returned only when
Max Allowed: is present and greater than or subversion is greater
UNB equal to '1601'. than or equal to 1601
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/ItemizedCharges/Code
Code Required: Yes* Identification code for itemized
Type: String charge.
Max Allowed: 1
Length: 3
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/ItemizedCharges/Description
Description Required: No Description of Itemized Charge
Type: String that had been charged.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/ItemizedCharges/CurrencyCode
CurrencyCode Required: Yes* The IATA currency code
Type: String associated with the Itemized
Max Allowed: 1 Charge costs for the shipment.
Length: 3
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/ItemizedCharges/MonetaryValue
MonetaryValue Required: Yes* The value for Itemized Charge
Type: String costs associated with the
Max Allowed: 1 shipment.
Length: 16
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/ItemizedCharges/SubType
SubType Required: No The sub-type of Itemized Charge
Type: String type.
Max Allowed: 1
Length: 1…50
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/TaxCharges
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 73
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/TaxCharges/Type
Type Required: Yes* Tax Type code. The code
Type: String represents the type of Tax applied
Max Allowed: 1 to a shipment.
Length: 1…9 Refer to Tax Type Values /
Abbreviations in the
Appendix for valid values.
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/TaxCharges/MonetaryValue
MonetaryValue Required: Yes* Tax Monetary Value represent the Valid values are from 0 to
Type: String Tax amount. 99999999999999.99
Max Allowed: 1
Length: 16
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges
NetSummaryCharges Required: Cond Container to hold Net Summary
Type: Container charges.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges/GrandTotal
GrandTotal Required: Cond Container to hold Grand Total
Type: Container charges.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges/GrandTotal/CurrencyCode
CurrencyCode Required: Yes* Net Summary charges currency
Type: String code type.
Max Allowed: 1
Length: 3
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges/GrandTotal/MonetaryValue
MonetaryValue Required: Yes* Net Summary Grand Total
Type: String Charges for Account Based
Max Allowed: 1 Rating.
Length: 1..19
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges/TotalChargesWithTaxes
TotalChargesWithTaxes Required: Cond TotalChargesWithTaxes container
Type: Container would be returned only if
Max Allowed: 1 TaxInformationIndicator is present
Length: N/A in request.
TotalChargesWithTaxes contains
total charges including total taxes
applied to a shipment.
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges/TotalChargesWithTaxes/Currenc
yCode
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 74
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/NegotiatedRates/NetSummaryCharges/TotalChargesWithTaxes/Monetar
yValue
MonetaryValue Required: Yes* TotalChargesWithTaxes value Valid values are from 0 to
Type: String amount. 99999999999999.99
Max Allowed: 1
Length: 16
TimeInTransit
Name Constraint Description Validation
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit
TimeInTransit Required: Cond Container for returned Time in Will only be returned if
Type: Container Transit information. request option was either
Max Allowed: 1 "ratetimeintransit" or
Length: N/A "shoptimeintransit" and
DeliveryTimeInformation
container was present in
request.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/PickupDate
PickupDate Required: Yes* The date the user requests UPS In the event this Pickup
Type: String to pickup the package from the date differs from the
Max Allowed: 1 origin. Pickup date in the
Length: 8 Format: YYYYMMDD. Estimated Arrival
Container, a warning will
be returned.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/DocumentsOnlyIndicator
DocumentsOnlyIndicator Required: Cond This is an Non-document. If the
Type: String indicator is present then the
Max Allowed: 1 shipment was processed as
Length: 0 Document Only.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/PackageBillType
PackageBillType Required: Cond Package bill type for the shipment.
Type: String Valid values:
Max Allowed: 1 02 - Document only
Length: 2 03 - Non-Document
04 - Pallet
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary
ServiceSummary Required: Yes* Container for all available service
Type: Container information.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/Service
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 75
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/Service/Description
Description Required: No Optional. Description of service.
Type: String Example, UPS Next Day Air, UPS
Max Allowed: 1 Ground etc, as referenced by the
Length: 1..35 Service Code.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/GuaranteedIndicator
GuaranteedIndicator Required: Cond Empty Tag. Indicates whether the
Type: String service will be guaranteed or not.
Max Allowed: 1 Required for International
Length: 0 Requests.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/Disclaimer
Disclaimer Required: Cond The Disclaimer is provided based
Type: String upon the Origin and Destination
Max Allowed: 1 Country Codes provided in the
Length: UNB request document. The disclaimer
is returned as a conditional
statement to the validity of the
service being guaranteed. The
possible disclaimers that can be
returned are available in the
Service Guaranteed Disclaimers
table.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival
EstimatedArrival Required: Yes* Container for the Time-In-Transit
Type: Container arrival information by service. This
Max Allowed: 1 is the most accurate delivery
Length: N/A information available via the
Rating API and will reflect
changes in delivery schedules due
to peak business seasons or
holidays.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/Arrival
Arrival Required: Yes* Container for date and time of
Type: Container arrival.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/Arrival/Date
Date Required: Yes* Scheduled Local Delivery Date.
Type: String Format: YYYYMMDD
Max Allowed: 1
Length: 8
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/Arrival/Time
Time Required: Cond The time UPS will pick up the
Type: String shipment. This is commit Time.
Max Allowed: 1 Military Time Format HHMMSS or
Length: 4...6 HHMM
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/BusinessDaysInTransit
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 76
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/Pickup
Pickup Required: Yes* The date and pick up time
Type: Container container.
Max Allowed: 1
Length: N/A
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/Pickup/Date
Date Required: Yes* The date UPS picks up the In the event the Pickup
Type: String package from the origin. date differs from the Ship
Max Allowed: 1 Format: YYYYMMDD. On Date, provided in the
Length: 8 request, a warning
message will be
returned.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/Pickup/Time
Time Required: Cond The time UPS will pick up the
Type: String shipment. Military Time Format
Max Allowed: 1 HHMMSS or HHMM
Length: 4...6
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/DayOfWeek
DayOfWeek Required: Yes* Day of week for arrival.
Type: String Valid values are:
Max Allowed: 1 MON
Length: 1...9 TUE
WED
THUR
FRI
SAT
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/CustomerCenterCutoff
CustomerCenterCutoff Required: Cond Customer Service call time.
Type: String Returned for domestic as well as
Max Allowed: 1 international requests.
Length: 1...6
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/DelayCount
DelayCount Required: Cond Number of days delayed at
Type: String customs. Returned for
Max Allowed: 1 International requests.
Length: 1...3
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/HolidayCount
HolidayCount Required: Cond Number of National holidays
Type: String during transit. Returned for
Max Allowed: 1 International requests.
Length: 1...2
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/RestDays
RestDays Required: Cond Number of rest days, i.e. non
Type: String movement. Returned for
Max Allowed: 1 International requests.
Length: 1...2
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/EstimatedArrival/TotalTransitDays
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 77
Rating Package XML Developer Guide January 8, 2018
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/SaturdayDelivery
SaturdayDelivery Required: No Saturday delivery information for a
Type: String service. Values are
Max Allowed: 1 1 - Saturday Delivery Available
Length: 1 with additional charges
0 - Saturday Delivery not available
or no additional charge, please
check Delivery Date to confirm if
the Delivery will be Saturday
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/ServiceSummary/SaturdayDeliveryDisclaimer
SaturdayDeliveryDisclaimer Required: No Saturday delivery disclaimer
Type: String message.
Max Allowed: 1
Length: UNB
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/AutoDutyCode
AutoDutyCode Required: Cond Required output for International The possible values to be
Type: String requests. If Documents indicator is returned are:
Max Allowed: 1 set for Non-document a duty is 01 - Dutiable
Length: 2 automatically calculated. 02 - Non-Dutiable
03 - Low-value
04 - Courier Remission
05 - Gift
06 - Military
07 - Exception
08 - Line Release
09 - Section 321 low
value.
/RatingServiceSelectionResponse/RatedShipment/TimeInTransit/Disclaimer
Disclaimer Required: Cond The Disclaimer is provided based
Type: String upon the Origin and Destination
Max Allowed: 1 Country Codes provided in the
Length: N/A request document. The possible
disclaimers that can be returned
are available in the Service
Guaranteed Disclaimers table.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 78
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 79
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 80
Rating Package XML Developer Guide January 8, 2018
<TransportationCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>0.00</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>0.00</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TotalCharges>
<Weight>5.0</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>5.0</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
</RatingServiceSelectionResponse>
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 81
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 82
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 83
Rating Package XML Developer Guide January 8, 2018
<TransportationCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>0.00</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>0.00</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>48.10</MonetaryValue>
</TotalCharges>
<Weight>5.0</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>5.0</Weight>
</BillingWeight>
</RatedPackage>
<NegotiatedRates>
<NetSummaryCharges>
<GrandTotal>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>106.50</MonetaryValue>
</GrandTotal>
</NetSummaryCharges>
</NegotiatedRates>
</RatedShipment>
</RatingServiceSelectionResponse>
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 84
Rating Package XML Developer Guide January 8, 2018
Account How do I associate more than Contact your UPS Account Representative for assistance.
Number 99 account numbers with the
Limitation Shipping/Rating APIs?
Accessorials What accessorials does the Refer to the XPath section for a listing of supported
Rating API support? accessorials.
Choosing a Can a customer compare Yes. Use the “Shop” value, instead of the “Rate” value, in the
service services for a shipment using RequestOption element of the /Request container to retrieve
the Rating API? the rates for all services for the stated lane pair. The API
response will return a rate for each of the available services.
This is known as the Shop option.
The Rate option is used to request the rate for a specific UPS
service. The service must be defined in the request. The API
response will return the rate for the defined lane pairs for that
UPS service.
If a service is not valid for the defined lane pair, an error
response will be returned.
Currencies Does the Rating API return any Yes. A list of currencies and currency codes are available in the
currency other than USD? If so, appendix of this guide. The currency returned in the response
what currencies are supported? is based on the shipper’s country of origin.
Customer Are the rates that a customer The rate returned is determined by the Customer Classification
Classification gets via the Rating Package API Code selected in API.
Code the same as the rates they
receive at The UPS Store® Refer to the Rate Types Table and XPath for additional
locations or UPS Customer information.
Centers?
Delivery Area Does the Rating Package API Yes. However, it is included within the total transportation
Surcharge support Delivery Area charge in the rate response.
Surcharge?
Extended Area Is Extended Area Surcharge Yes. The Extended Area Surcharge (EAS) is returned with the
Surcharge included within the rating transportation charges.
response?
If EAS is applied to a shipment, a warning will be returned in
the XML response stating that an EAS has been added.
Fuel Surcharge Does the Rating Package API Yes, however it is not broken out separately, it is returned with
include fuel surcharge? other charges.
Ground Freight Does Rating API support ONLY the Rating Package Web Service version supports
Pricing Ground Freight Pricing (GFP)? Ground Freight Pricing.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 85
Rating Package XML Developer Guide January 8, 2018
International Does the Rating Package API Yes. Requests are validated if the shipper number is from the
Rates support international rates? origin country.
Maximum What is the maximum number of When using the Rate option, there is a 200-package maximum
Packages packages that can be rated allowed for each API request. Each package container in the
Rated through the Rating Package request can contain 1 package.
API?
When using the Shop option, there is a 50-package maximum
limit allowed for each API request.
Negotiated Can a customer with a US Yes. However, the response will not return any negotiated or
Rates account number rate a package account-based rates. Negotiated and account-based rates
being shipped from another require the shipper’s country and the shipment country of origin
country? to be the same.
If you require negotiated or account-based rates from a country
outside the US, consider setting up an account in the non-US
country.
Negotiated Is there a delay in activating a The availability of negotiated rates is dependent on the setup of
Rates or new or modified account in ABR your account.
Account Based for Rating or Shipping APIs?
Rates (ABR) If you have a pricing contract with UPS, please contact your
sales representative for proper setup. For additional
information, refer to Using Negotiated Rates in CIE.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 86
Rating Package XML Developer Guide January 8, 2018
Rate versus What is the difference between A “Rate” request returns the rate for a single service for each
Shop a "Rate" request and a "Shop" package, while a “Shop” request returns the rates for all
request? services available between a given origin/destination pair for
each package.
Rating for Web Are rates across all UPS Web Yes. The rates for other Web applications should not differ from
applications applications always the same? the Rating API. The only time rates would be different is if there
is a defect within the applications.
If a user questions rates returned by the Rating API, he could
generate the exact rate request on Calculate Time and Cost on
UPS.com, to confirm if rates are accurate.
Rates will differ if the user has negotiated rates set up with their
account number and is not sending a negotiated rates indicator
via the Rating API or does not have negotiated rates approved
to be used with the Rating API
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 87
Rating Package XML Developer Guide January 8, 2018
Saturday Will the Rating allow a customer Since Saturday delivery is an accessorial, the customer must
Delivery to know if Saturday delivery is input this information in the Rating API rate request. If it is
available if they are shipping on available then the response will specify that the delivery will be
a Thursday? on Saturday.
The Rating API does not specify guaranteed delivery times.
Time in Transit API guarantees delivery times.
Suppression of Why does Rating API, Time in The Time in Transit API uses logic in its calculations and will
Service Types Transit API and Calculate Time suppress services that are more expensive if they will not
and Cost on UPS.com provide deliver the shipment any quicker than those shown in the
different results? Rating API.
There is a rule that states if ground service is as fast as or
faster than an air service, i.e., UPS 2nd Day Air®, then that air
service will be suppressed in the Time in Transit API response.
While the unlisted service is still a valid shipping option, the
customer could save money choosing from the listed services.
Time in Transit Does the Rating API support No. Time in Transit information can be obtained from the Time
Time in Transit results? in Transit API.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 88
Rating Package XML Developer Guide January 8, 2018
Appendices
Do not resubmit requests with Hard Errors until the problems causing the error have been
resolved.
10002 Hard The XML document is well formed but the document 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.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 89
Rating Package XML Developer Guide January 8, 2018
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.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 90
Rating Package XML Developer Guide January 8, 2018
110074 Hard Your UPS Account number is not authorized for Dangerous Goods shipments with
ADR RegulationSet.
110075 Hard Your UPS Account number is not authorized for Dangerous Goods shipments with
ADR RegulationSet and Fully Regulated RegulatoryQuantityCode.
110076 Hard Your UPS Account number is not authorized for Dangerous Goods shipments with
CFR RegulationSet.
110077 Hard Your UPS Account number is not authorized for Dangerous Goods shipments with
IATA RegulationSet.
110078 Hard Your UPS Account number is not authorized for Dangerous Goods shipments with
TDG RegulationSet.
110079 Hard Your UPS Account number is not authorized for Dangerous Goods shipments with
CAO TransportationMode.
110084 Warning Promotion Code was not applied since account had better discounts compared to
Promotion Code.
111401 Hard Invalid regulation set. The regulation set for all chemical records in a package must
be the same.
111606 Hard SurePost is not compatible with Excepted Quantities of Dangerous Goods.
111607 Hard Fully Regulated or Limited Quantities of Dangerous Goods, Excepted Quantities of
Dangerous Goods, Lightly Regulated Lithium Batteries, or Dry Ice cannot be
combined in the same package.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 91
Rating Package XML Developer Guide January 8, 2018
111611 Hard UPS Letters or UPS Envelopes are not compatible with Excepted Quantities of
Dangerous Goods or Lightly Regulated Lithium Batteries.
112102 Hard The shipment contains both Dry Ice and IDG packages. The Dry Ice package(s)
must use the regulation set associated with the IDG package(s).
112103 Hard The shipment contains both Dry Ice and IDG packages. The transportation mode
must be the same for Dry Ice and IDG packages.
112104 Hard Invalid regulation set. The regulation set for all IDG records in a package must be the
same.
112112 Hard Dangerous Goods cannot be shipped using UPS Import Control.
117064 Hard Black Powder (NA0027) cannot exceed 100 lbs per shipment.
117065 Hard Smokeless Powder (NA3178) cannot exceed 100 lbs per shipment.
117072 Hard/Warning Packing Instruction specified does not match the packing instruction
expected, based on chemical table validation.[][]
117073 Hard/Warning Packing Instruction specified does not match the packing instruction expected, based
on chemical table validation. The packing instruction should be blank.
117074 Hard/Warning Package Type must be specified when the package is not Part of All Packed in One.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 92
Rating Package XML Developer Guide January 8, 2018
117080 Hard The Packing Group specified: XXX is invalid based on chemical table validation for
this UNID
117083 Hard Lighter authentication (LAA) number required - Remarks must be entered or package
rejected.
117084 Hard TI Unit of Measure must be selected for Class Division Number 7.
117085 Hard/Warning Q Value must be N/A when there are no All Packed in One Basic Descriptions.
117086 Hard UPS does not offer Biological Substances, Category B service from the selected
origin country/postal code.
117087 Hard UPS does not offer service for the provided chemical record from the specified origin
country/postal code.
117089 Hard/Warning Overpack is required for a shipment with three ChemicalRecord where only two
ChemicalRecord are All Packed in One.
117090 Hard/Warning The APIO total net quantity exceeds the lowest permitted maximum net quantity.
117091 Hard The Net Quantity Weight exceeds the limit for the specified Risk Class, Sub Risk and
Packing Group combination. Risk Class 2.2 cannot exceed 75 KG.
117092 Hard The Net Quantity Weight exceeds the 25KG limit for the given specified
ClassDivisionNumber, SubRiskClass and PackingGroupType combination.
117093 Hard CAO Quantities of Class 1 Explosives are not allowed to the specified destination
country.
117094 Hard Unable to determine a single chemical record. Acceptance Audit Pre-Check cannot
be performed.
117095 Hard CAO Quantities of Class 1 Explosives are not allowed from the specified origin
country.
117096 Hard/Warning Invalid TunnelRestrictionCode for a given Hazardous material package using ADR
RegulationSet.
117097 Hard/Warning Invalid TransportCategory for a given Hazardous material package using ADR
RegulationSet.
117099 Hard Fully regulated commodities are prohibited to/from Great Britain for the specified
service level. Great Britain chunnel passage not allowed for fully regulated
commodities.
117101 Hard UPS does not offer dangerous goods for requested service from selected origin
country to selected destination country.
117104 Hard Unable to retrive the chemical record for selected (Regulation Set: XXX, UNNumber:
XXX and Hazard Class: XXX), validations cannot be performed for this commodity.
117105 Hard A ShipTo postal code is required to verify if dangerous goods service is available to
the selected destination country otherwise the shipment will be rejected.
117110 Hard Regulation Set is not valid for the destination country.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 93
Rating Package XML Developer Guide January 8, 2018
117113 Hard UPS does not offer dangerous goods service to the selected Destination
country/postal code.
117115 Hard A ShipFrom PostalCode is required to verify if dangerous goods service is available
from the selected origin country, otherwise the shipment will be rejected.
117118 Hard UPS does not offer Dry Ice service from the selected origin country/postal code.
117119 Hard UPS does not offer Dry Ice service to the selected destination country/postal code.
117120 Hard UPS does not offer Biological Substance, Category B service to the selected
destination country/postal code.
117121 Hard UPS does not offer service for the specified chemical record to the selected
destination country/postal code.
117128 Hard UPS does not offer service for the specified Commodity Regulated Level Code
to selected Destination country.[XXX][]
117129 Hard UPS does not offer service for the specified Commodity Regulated Level
Code from the selected Origin country.[XXX][]
117130 Hard Requested TransportationMode indicates this item is forbidden, based on chemical
table validation.
117131 Hard Regulation Set is not valid for the origin country.
117132 Hard Excepted Quantities are not allowed from the selected origin country.
117133 Hard Excepted Quantities are not allowed to the selected destination country.
117135 Hard The specified origin country does not allow shipments CAO quantities of Dangerous
Goods.
117136 Hard The Transportation Mode for ADR regulation set must be Ground.
117137 Hard Mail Innovations is not a valid service for shipping all categories of dangerous goods.
117138 Hard SurePost is not a valid service for shipping all categories of dangerous goods other
than lightly regulated lithium batteries.
117139 Hard The specified destination country does not allow shipments containing CAO
quantities of Dangerous Goods.
117141 Hard As of January 1, 2017, UPS Policy requires that all air shipments containing lithium
ion and metal batteries packed alone to be transported as section I.A or I.B fully
regulated shipments. In addition, these changes also apply to UPS Ground service to
Alaska, Hawaii and Puerto Rico, and UPS Standard service to select locations
worldwide. Please refer to UPS.com for guidance to set up a UPS Dangerous Goods
service agreement.
117142 Hard Lightly regulated lithium batteries sent via SurePost cannot be shipped outside of the
US48.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 94
Rating Package XML Developer Guide January 8, 2018
10001 - 110600
Error Code Severity Description
10001 Hard The XML document is not well formed
10002 Hard The XML document is well formed but the document 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
20004 Hard Cannot access the high level business components, {0}
20005 Hard Cannot access the low level business components, {0}
20012 Hard The Client Information exceeds its Maximum Limit of {0}
110004 Hard Package {0} is Void, which is not valid for the Rating and Service Selection service
110005 Hard This multi piece shipment contains one or more letters.
110006 Hard Two different shipment notification memos were provided at either the shipment- or
package-level. Only one memo is allowed per level.
110083 Hard Both the PromoAliasCode and the PromoCode are required.
Promotion Code was not applied since account had better discounts compared to
110084 Warning
Promotion Code.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 95
Rating Package XML Developer Guide January 8, 2018
110119 Hard Shipper phone number and phone extension together cannot be more than 15 digits
long
110120 Hard The country associated with Shipper/ShipperNumber must be the same as the
shipments origin country
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 96
Rating Package XML Developer Guide January 8, 2018
110217 Hard ShipTo phone number and phone extension together cannot be more than 15 digits
long
110317 Hard The ShipFrom country must be the same as the Shipper country
110318 Hard ShipFrom phone number and phone extension together cannot be more than 15
digits long
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 97
Rating Package XML Developer Guide January 8, 2018
110505 Hard Saturday Delivery Option cannot be used for this shipment
110513 Hard The first Email Address used for Email Shipment Notification exceeds the maximum
length of 50 characters.
110514 Hard Invalid format for first Email Address used for Email Shipment Notification
110516 Hard The first Email Address used for Email Shipment Notification is missing or contains
invalid characters
110517 Hard The second Email Address used for Email Shipment Notification exceeds the
maximum length of 50 characters
110518 Hard The format of the second Email Address entered in for Email Shipment Notification
is invalid
110519 Hard The second Email Address entered in for Email Shipment Notification is missing or
contains invalid characters
110520 Hard For a shipment, the maximum number of Email Addresses allowed for Email
Shipment Notifications is 2
110521 Hard For a shipment, the maximum number of Memos allowed for Email Shipment
Notifications is 1
110524 Hard Package Pickup Request is not available with this shipments service
110528 Hard A shipment can have only one type of UnitOfMeasurement for Dimensions
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 98
Rating Package XML Developer Guide January 8, 2018
110546 Hard {0} is not a valid unit of measurement for weight for this shipment
110547 Hard {0} is not a valid unit of measurement for dimensions for this shipment
110548 Hard A shipment cannot have a KGS/IN or LBS/CM as its unit of measurements
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 99
Rating Package XML Developer Guide January 8, 2018
110601 - 111200
Code Severity Description
110601 Hard Missing/Illegal Package/PackageWeight/Weight
110609 Hard All Package Dimensions are required and each must be greater than 0
110610 Hard The COD Amount is invalid. Please check the value entered
110621 Hard Package declared value cannot be greater than {0} {1}
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 100
Rating Package XML Developer Guide January 8, 2018
110644 Hard PackageServiceOptions/LabelDelivery is not valid with the shipments return service
type
110646 Hard Package Level COD is not valid for the shipment origin and/or destination
110647 Hard Invalid COD currency code. Please use the destination country currency code.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 101
Rating Package XML Developer Guide January 8, 2018
110720 Warning The Account Number of FRS payment information is not FRS enabled.
110950 Hard Customer Classification Code is required with the requested Pickup Type
110971 Warning Your invoice may vary from the displayed reference rates
110984 Warning Exceeds maximum weight for rating the requested packaging. Standard package
rates apply
111000 Hard Verify that the supplied country code for the ship from and/or ship to is correct and is
in uppercase (Cannot locate site).
111005 Hard The COD option cannot be combined with the Return Services option.
111015 Hard The Saturday Delivery option cannot be combined with the Return Services option.
111020 Hard The Delivery Confirmation option cannot be combined with the Return Services
option.
111035 Hard The maximum per package weight for that service from the selected country is
%country.maxPkgWeight% pounds.
111036 Hard The maximum per package weight for that service from the selected country is
%country.maxPkgWeight% kg.
111040 Hard The Return Services accessories are unavailable with the requested service.
111045 Hard The Saturday Delivery option is unavailable with the requested service.
111047 Hard Saturday Delivery may not be combined with this product and container type.
111050 Hard Package exceeds the maximum size total constraints of %maxLengthGirth% (length
+ girth where girth is 2 x width plus 2 x height).
111055 Hard Package exceeds the maximum length constraint of 108 inches.
111056 Hard This package exceeds the maximum length constraint of 274 cm.
111057 Hard This measurement system is not valid for the selected country.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 102
Rating Package XML Developer Guide January 8, 2018
111063 Hard The requested accessory cannot be combined with the selected service.
111065 Hard The shipment of Hazardous Materials to the selected location is unavailable.
111070 Hard The requested accessory is not allowed with this pickup method.
111075 Hard The International Declared Value accessory is not valid with a domestic service.
111080 Hard The Domestic Declared Value accessory is not valid with an international service.
111087 Hard The Authorized Return Service option is not allowed for shipments.
111090 Hard The requested billing zone is invalid for the selected product.
111100 Hard The requested service is invalid for the selected site.
111105 Hard The requested accessory key is invalid for the selected site.
111116 Hard The declared value amount must be greater than zero.
111120 Hard The COD amount cannot exceed $1,000 when a cashiers check or money order is
requested.
111121 Hard The COD value entered exceeds the maximum allowed for cash
111126 Hard The COD value entered exceeds the maximum allowed for check
111128 Hard The Access Point COD amount cannot exceed %COD.APAmountMax%
%COD.APCurrencyDest%.
111129 Hard The currency of the Access Point COD amount must be the same as the Destination
country’s currency: %COD.APCurrencyDest%.
111130 Hard The Saturday Pickup option cannot be combined with the Return Services option.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 103
Rating Package XML Developer Guide January 8, 2018
111140 Hard The Saturday Pickup option is unavailable with the selected service.
111150 Hard The Delivery Confirmation option is unavailable with the selected service.
111155 Hard The COD option is unavailable with the selected service.
111160 Hard The requested accessory option is unavailable with the selected billing option.
111165 Hard The Verbal Confirmation of Delivery option cannot be combined with the Return
Services option.
111170 Hard The Delivery Confirmation option cannot be combined with the Verbal Confirmation
of Delivery option.
111175 Hard The Verbal Confirmation of Delivery option is unavailable with the selected service.
111194 Hard The requested billing option is unavailable with the selected packaging.
111195 Hard The requested billing option is unavailable with the selected service.
111196 Hard The requested billing option is unavailable with UPS Letters.
111200 Hard The requested service Saturday Delivery is unavailable to the selected location.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 104
Rating Package XML Developer Guide January 8, 2018
111201 - 111526
Error Code Severity Description
111201 Hard Invalid Service Code
111205 Hard The Additional Handling option is unavailable with the selected service.
111206 Hard The Additional Handling option is unavailable with UPS Letters.
111210 Hard The requested service is unavailable between the selected locations.
111211 Hard The requested accessory option is unavailable between the selected locations.
111212 Hard The requested type of container is unavailable between the selected locations.
111213 Hard The requested billing option is unavailable between the selected locations.
111217 Hard The requested service is unavailable between the selected locations
111219 Hard The requested service is unavailable between the selected locations. Please check
your Documents Only, Letter/Envelope, and Saturday Delivery settings as these may
affect service availability.
111220 Hard The Ship Notification option cannot be combined with the Return Services option.
111222 Hard A shipment using the Return Services Electronic Return Label option must contain
only Goods in Free Circulation.
111225 Hard The Return Services option is unavailable to the selected location.
111230 Hard Next Day Air Early is unavailable with the selected service.
111231 Hard Switzerland Domestic Container must weigh greater than or equal to 2 KG.
111232 Hard Worldwide Express Plus from Europe to Switzerland must be UPS Envelope or
document only.
111240 Hard The requested accessory may not be applied to a package more than %accs.limit%
time(s).
111245 Hard The Saturday Pickup option cannot be combined with the Shipper Duty Fees option.
111250 Hard The Saturday Delivery option cannot be combined with the Shipper Duty Fees
option.
111255 Hard The Shipper Duty Fee option is unavailable with the selected service.
111260 Hard The Shipper Duty Fee option is unavailable with the selected billing option.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 105
Rating Package XML Developer Guide January 8, 2018
111262 Hard The accessory is not valid with the selected option.
111265 Hard The requested billing option is unavailable to the selected location.
111266 Hard The requested currency is not a legal tender in this country.
111285 Hard The postal code %postal% is invalid for %state% %country%.
111300 Hard The Shipper Pays Duty - VAT Unpaid option is unavailable with the selected option.
111305 Hard The Shipper Pays Duty - VAT Unpaid option is unavailable with the selected service.
111310 Hard The Shipper Pays Duty - VAT Unpaid option is unavailable with the selected billing
option.
111315 Hard The Authorized Return Service option is unavailable with the selected accessory.
111320 Hard The Authorized Return Service option is unavailable with the selected service.
111325 Hard The Authorized Return Service is unavailable with the selected billing option.
111330 Hard The Certificate of Origin is unavailable with the selected accessory.
111335 Hard The Certificate of Origin is unavailable with the selected service.
111340 Hard The Certificate of Origin is unavailable with the selected billing option.
111343 Hard The Certificate of Origin is unavailable from the selected origin.
111345 Hard The Shipper Export Declaration is unavailable with the selected accessory.
111350 Hard The Shipper Export Declaration is unavailable with the selected service.
111355 Hard The Shipper Export Declaration is unavailable with the selected billing option.
111360 Hard The Worldwide Express Plus is unavailable with the selected service.
111363 Hard The One Time Pickup is unavailable with the selected service.
111365 Hard The requested service is not available through the selected acquisition type.
111375 Hard The requested service is not valid for shipments with more than 1 package.
111380 Hard The requested Package service may not be consolidated with the selected shipment
service.
111385 Hard The requested Package billing option does not match the selected shipment billing
option.
111390 Hard The requested Package billing tier does not match the selected shipment billing tier.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 106
Rating Package XML Developer Guide January 8, 2018
111400 Hard Package consignee street address %pkg.dest.street1% does not match the
shipment consignee street address %ship.dest.street1%.
111405 Hard Package consignee street address %pkg.dest.street2% does not match the
shipment consignee street address %ship.dest.street2%.
111410 Hard Package consignee street address %pkg.dest.street3% does not match the
shipment consignee street address %ship.dest.street3%.
111415 Hard Package consignee city %pkg.dest.city% does not match the shipment consignee
city %ship.dest.city%.
111420 Hard Package consignee state %pkg.dest.state% does not match the shipment consignee
state %ship.dest.state%.
111425 Hard Package consignee postal code does not match the shipment consignee postal
code.
111430 Hard Package consignee country does not match the shipment consignee country.
111431 Hard All packages in the shipment must have the same UPS shipper number as the
shipment.
111435 Hard All packages in the shipment must have the Saturday Delivery option if 1 package
has it.
111440 Hard All packages in the shipment must have the Saturday Pickup option if 1 package has
it.
111445 Hard UPS does not allow Hazardous Materials in shipments consisting of more than one
piece.
111450 Hard Only one type of Return Service option is allowed per package.
111455 Hard All packages in the shipment must have the Return Services option if 1 package has
it.
111456 Hard All packages in the shipment must have the Residential option if 1 package has it.
111457 Hard Shipments with the Residential option set must have the Residential option set on all
packages.
111460 Hard Shipments cannot exceed a COD amount of $5000 when requesting a cashiers
check or money order.
111465 Hard The selected Package access method does not match the shipment access method.
111500 Hard Special rates are unavailable for the selected service using requested containers.
111501 Hard The selected container is not valid with the requested accessory option.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 107
Rating Package XML Developer Guide January 8, 2018
111519 Hard The selected Package rating category does not match the shipment rating category.
111526 Hard UPS Access Point Economy Service shipments must have a
ShipmentIndicationType of 01 or 02 or must be a Return shipment.
111530 - 115582
Error Code Severity Description
111532 Warning User level discount not valid for this shipment.
111533 Warning User level discount not applied, another promotion has been applied.
111554 Hard Requested DropOffAtFacilityIndicator accessorial is valid with Bill type 04 only.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 108
Rating Package XML Developer Guide January 8, 2018
111555 Hard Requested HoldForPickupIndicator accessorial is valid with Bill type 04 only.
111564 Hard Package Bill Type 02 is required when indicating a Documents Only Shipment.
111570 Hard For Import Control movements, Bill Receiver is not a valid payer.
111572 Hard The payer of Duty and Tax charges is invalid for Split Duty VAT shipment.
111573 Hard GNIFC is not valid for Letters/Envelopes and documents with no commercial value.
111577 Hard At least one Shipment Charge container must be present in the PaymentDetails
container.
111579 Hard The payment details must be the same for both Transportation charges and Duty and
Tax charges when Bill to Shipper or Bill to Receiver is specified as the payer.
111581 Hard Country Code is required for Bill Third Party Shipment Charges.
111586 Hard Bill to Shipper account number must be the same as Shipper account number.
111587 Hard The UPS account number specified for Transportation charges is invalid for Split Duty
VAT shipment.
111589 Hard The payer of Duty and Tax charges is not required for UPS Letter, Documents of No
Commercial Value or Qualified Domestic Shipments.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 109
Rating Package XML Developer Guide January 8, 2018
111590 Hard No more than 3 Address Line are allowed for Bill Third Party address.
111591 Hard The payment method specified for Transportation charges is invalid for return service.
111592 Hard The payer of Transportation charges is invalid for Split Duty VAT shipment.
111593 Hard The payer of Transportation charges and the payer of Duty and Tax charges must not
be the same for Split Duty VAT shipment.
111595 Hard The UPS account number provided as the payment method cannot be billed, please
try another account.
111597 Hard {0} The local Customer Service Center can be reached at 62-0807-1-877-877 to
arrange shipping services.
111599 Hard Pickup container is required for ratetimeintransit or shoptimeintransit request options.
111600 Hard BillShipper payment method is not valid for this shipment.
111602 Hard {0} The local Customer Service Center can be reached at 62-0807-1-877-877 to
arrange shipping services.
111604 Hard Invalid sub-classification for SurePost less than 1LB service
111605 Hard Payer of Duties and Taxes is not required for a qualified domestic shipment.
111614 Hard The requested service and lane combination requires a UPS account contract.
111618 Hard Your UPS Account number is not authorized for shipping Proactive Response
Substances.
111619 Hard Your UPS Account number is not authorized for shipping Refrigerated Substances.
111630 Hard The requested accessorial is valid only for Hold for Pickup at UPS Access Point
shipment indication type.
111655 Hard The requested billing option/payment option is unavailable with the selected shipment
indication type for a shipment to a UPS Access Point.
112045 Hard The payer of transportation's country is not valid for Carbon Neutral shipments.
112050 Hard At least one rate information; either negotiated rates or rate chart indicator is required.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 110
Rating Package XML Developer Guide January 8, 2018
112051 Hard Shipment total weight has exceeded the maximum shipment weight limit of 99,999.9
kgs or 99,999.9 pounds.
112052 Hard Total pieces in the shipment have exceeded the maximum allowed of 99,999 for a
shipment.
112053 Hard The number of pieces was not provided – Number of pieces in a shipment is required
to process the shipment.
112054 Hard Missing elements - Length, width and height are required for the pallet
%package.index% to process the shipment.
112055 Hard Exceeded maximum per pallet weight – The maximum per pallet weight for the
selected service from the selected origin is %maxWeightOrig% pounds.
112056 Hard Exceeded maximum per pallet weight – The maximum per pallet weight for the
selected service from the selected origin is %maxWeightOrig% kgs.
112057 Hard Exceeded maximum per pallet weight – The maximum per pallet weight for the
selected service to the selected destination is %maxWeightDest% pounds.
112058 Hard Exceeded maximum per pallet weight – The maximum per pallet weight for the
selected service to the selected destination is %maxWeightDest% kgs.
112059 Hard Exceeded maximum dimensions for a pallet - The maximum dimensions for a pallet
are %length% cm by %width% cm by %height% cm for the selected origin.
112060 Hard Exceeded maximum dimensions for a pallet - The maximum dimensions for a pallet
are %length% in by %width% in by %height% in for the selected origin.
112061 Hard Exceeded maximum dimensions for a pallet - The maximum dimensions for a pallet
are %length% cm by %width% cm by %height% cm for the selected destination.
112062 Hard Exceeded maximum dimensions for a pallet - The maximum dimensions for a pallet
are %length% in by %width% in by %height% in for the selected destination.
112063 Warning Please contact customer service center for capacity authorization.
112064 Hard Lift Gate Accessorial for Pick Up and Delivery are not allowed when both Hold For
Pick Up and Drop off At UPS Facility is requested.
112065 Hard Lift Gate for Pick Up accessorial is not allowed with Drop Off At UPS Facility
accessorial.
112066 Hard Lift Gate for Delivery accessorial is not allowed with Hold For Pick Up accessorial.
112067 Hard More than one type of insurance is not allowed for a shipment - only one type can
exist per shipment
112068 Hard The maximum declared amount was exceeded. Maximum value per pallet:
%maxDeclVal% %currencyCode%.
112082 Hard The maximum Dry Ice for a pallet/shipment is 200 kg or 440 lbs.
112083 Hard Invalid pallet dimensions, the length must be longer than the width.
112090 Hard Commercial Invoice Removal is valid only for Import Control shipments.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 111
Rating Package XML Developer Guide January 8, 2018
112095 Hard DryIceWeight container with Dry Ice weight and UOM information is required for Dry
Ice.
112097 Hard Missing or Invalid code for Dry Ice Unit of Measurement.
112098 Hard UnitOfMeasurement container with UOM code is required for Dry Ice.
112099 Hard Invalid Regulation Set. All packages with Dry Ice accessorial must contain the same
Regulation Set.
112100 Hard Invalid regulation set. The regulation set for non-US/PR origins/destinations should be
IATA.
112101 Hard Invalid weight. The Dry Ice weight is greater than the actual package weight.
112105 Hard Return and Import Shipment accessorial cannot be requested together in a shipment.
112106 Hard The Saturday Delivery option cannot be combined with the Return Services option.
112107 Hard The Saturday Delivery option cannot be combined with the UPS Import Control option.
112109 Hard Itemized Charges are not valid for this service.
112113 Hard UPS Account is not authorized for Hold for Pickup at UPS Access Point.
112114 Hard Alternate Delivery Address information is required for Hold for Pickup at UPS Access
Point.
112115 Hard The maximum declared value for Flexible Parcel Insurance has been exceeded.
Maximum value per package: %maxDeclVal% %currencyCode%.
112116 Hard The requested billing option is unavailable between the selected locations with the
selected options.
112119 Hard The maximum per package weight for the selected option is
%country.maxPkgWeight% pounds.
112120 Hard The maximum per package weight for the selected option is
%country.maxPkgWeight% kg.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 112
Rating Package XML Developer Guide January 8, 2018
112132 Hard Missing or Invalid Monetary value for Access point COD.
112133 Hard Missing or Invalid Currency code for Access point COD.
112134 Hard Alternate Delivery Address information is required for UPS Access Point Delivery.
112135 Hard The customs value entered exceeds the maximum allowed amount of $2300 USD or
$2500 CAD.
112136 Hard The Shipment Level Access Point COD option is unavailable with the selected service
and/or with the shipments origin/destination.
112137 Hard The Package Level Access Point COD is not valid for the shipment origin and/or
destination.
112138 Warning UPS Access Point Delivery Rates were applied to a shipment.
112139 Hard Request contains invalid data e.g. special characters etc. Please correct.
112140 Hard Your UPS Account number is not authorized for UPS Access Point Economy service
when selecting Hold for Pickup at UPS Access Point Shipment Indication Type.
112141 Hard Your UPS Account number is not authorized for UPS Access Point Economy service
when selecting Returns.
112142 Warning The account used to create this shipment has Direct Delivery Only preference
selected.
112154 Warning Full Rates Returned. Customer could not be found for that zip code.
113005 Hard A service may not guarantee Early arrival to dest.city dest.state dest.postal
dest.countryname;
113060 Warning The weight exceeds the limit for the UPS Letter/Envelope rate and will be rated using
the weight.
113109 Warning Packages not dropped off at a UPS Access Point location may incur additional cost
and/or transit time.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 113
Rating Package XML Developer Guide January 8, 2018
118400 - 190003
Error Code Severity Description
118400 Hard The destination postal code %dest.postal% is not a valid %dest.country% postal
code. Verify your postal code, or select %dest.AdjCountry% as your destination
country.
118401 Hard The Pickup From postal code %orig.postal% is not a valid %orig.country% postal
code. Verify your postal code, or select %orig.AdjCountry% as your Pickup From
country.
118402 Hard The destination postal code %dest.postal% in %dest.country% can also be
%dest.AdjCityName% in %dest.AdjCountry%. If you want to ship to
%dest.AdjCityName%, select %dest.AdjCountry% and enter the postal code
%dest.AdjPostal%. If you are shipping to a city within %dest.country%, enter the
correct city.
118403 Hard The Pickup From postal code %orig.postal% in %orig.country% can also be
%orig.AdjCityName% in %orig.AdjCountry%. If you want to pickup from
%orig.AdjCityName%, select %orig.AdjCountry% and enter the postal code
%orig.AdjPostal%. If you are picking up from a city within %orig.country%, enter the
correct city.
119001 Hard Additional Handling has automatically been set on Package %package.index%.
119003 Hard The requested service may not guarantee Next Day arrival to the selected location.
119004 Hard Check the UPS Service Guide for supported Saturday delivery destinations within
the selected country.
119005 Hard The requested service may not guarantee Second Day arrival to the selected
location.
119006 Hard The Second Day Air service may not guarantee Second Day arrival to the selected
location.
119011 Hard The maximum declared value amount for the 1-Attempt option is $1,000
119012 Hard The maximum declared value amount for the Print and Mail option is $1,000.
119013 Hard The maximum declared value amount for the Print Return Label option is $1,000.
119014 Hard The maximum declared value amount for the Electronic Delivery option is $1,000.
119015 Hard The maximum declared value amount for the 3-Attempt option is $50,000.
119018 Hard Oversize 3 does not apply, and has automatically been removed from Package.
119020 Warning When user indicated Residential indicator is different from AMS Classification.
119058 Hard Shipper Number {0} does not support pallet Contract Service.
119070 Hard Large Package Surcharge has been added to Package %package.index%.
119071 Hard Large Package indicator has been set and Large Package Surcharge has been
added to Package %package.index%.
119072 Hard Additional Handling has been removed. Large Package Surcharge has been;
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 114
Rating Package XML Developer Guide January 8, 2018
119079 Hard The requested service is not valid with pallets with a weight greater than 1000kg.
Please select Dedicated Package Courier Same Day Service.
120001 Hard XML Shipping System is unavailable, please try again later.
120902 Warning Negotiated rates cannot be returned without a valid account number.
Your UPS Account number is not authorized for shipping Proactive Response
111618 Hard
Substances.
111619 Hard Your UPS Account number is not authorized for shipping Refrigerated Substances.
117143 Hard Emergency Response Info Provider must not match the Emergency Phone Number.
The UPS Shipper Account number is invalid to be used as the Emergency Response
117145 Hard
Info Provider.
117146 Hard Technical Name must not match the Proper Shipping Name.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 115
Rating Package XML Developer Guide January 8, 2018
110 COD
400 INSURANCE
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 116
Rating Package XML Developer Guide January 8, 2018
452 REFRIGERATION
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 117
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 118
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 119
Rating Package XML Developer Guide January 8, 2018
Accessorial/Surcharge SubType
Delivery Area Surcharge Alaska Extended
Hawaii Extended
Urban
Rural
Rural Extended
Metropolitan
Congested Area
Suburban
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 120
Rating Package XML Developer Guide January 8, 2018
Shipment Level
Country 1 9
Cash Check
Cashier's Check
Money Order
All European Union (EU) Countries supported by the API, exceptions Yes Yes
noted below.
For additional information, refer to Country Codes in the Appendix.
Russia Yes No
Package Level
NOTE: No EU coutries currently support Package level COD.
0 8 9
Country Check, Cash Cashier’s Check Personal Check
Cashier's Check Money Order
Money Order
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 121
Rating Package XML Developer Guide January 8, 2018
Country Codes
Rating and Shipping Package API Supported Countries
UPS country code abbreviations generally follow the recommendations of the International Standards Organization
(ISO), which publishes a list of country abbreviations in ISO Standard 3166.
The following table lists the country 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. Refer to the UPS Rate and Service Guide
at UPS.com for more information on UPS services.
Aland Islands AX X
Albania AL X X
Algeria DZ X X
American Samoa AS
Andorra AD
Angola AO X
Anguilla AI
Antarctica AQ
Argentina AR X X
Armenia AM X X
Aruba AW X X
Australia AU X X
Austria AT X X
Azerbaijan AZ X X
Azores A2 X
Bahamas BS X X
Bahrain BH X X
Bangladesh BD X X
Barbados BB X X
Belarus BY X X
Belgium BE X X
Belize BZ
Benin BJ
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 122
Rating Package XML Developer Guide January 8, 2018
Bhutan BT
Botswana BW
Bouvet Island BV
Brazil BR X X
Brunei Darussalam BN X X
Bulgaria BG X X
Burkina Faso BF
Burundi BI X X
Cambodia KH X X
Cameroon CM X
Canada CA X X
Canary Islands IC X X
Cabo Verde CV
Cayman Islands KY X X
Ceuta XC X
Chad TD
Chile CL X X
China CN X X
Christmas Island CX
Colombia CO X X
Comoros KM
Congo CG
Cook Islands CK
Costa Rica CR X X
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 123
Rating Package XML Developer Guide January 8, 2018
Cuba CU
Curacao CW X X
Cyprus CY X X
Czech Republic CZ X X
Denmark DK X X
Djibouti DJ X X
Dominica DM
Dominican Republic DO X X
Ecuador EC X X
Egypt EG X X
El Salvador SV X X
England EN X X
Equatorial Guinea GQ
Eritrea ER
Estonia EE X X
Ethiopia ET X X
Faroe Islands FO
Fiji FJ X X
Finland FI X X
France FR X X
French Guiana GF
French Polynesia PF
Gabon GA
Gambia GM
Georgia GE X X
Germany DE X X
Ghana GH X X
Gibraltar GI X X
Greece GR X X
Greenland GL
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 124
Rating Package XML Developer Guide January 8, 2018
Guadeloupe GP
Guam GU X X
Guatemala GT X X
Guernsey GG X X
Guinea GN X X
Guinea-Bissau GW
Guyana GY
Haiti HT X
Holland HO X
Honduras HN X X
Hong Kong HK X X
Hungary HU X X
Iceland IS X X
India IN X X
Indonesia ID X X
Iraq IQ X X
Ireland IE X X
Isle of Man IM
Israel IL X X
Italy IT X X
Jamaica JM X X
Japan JP X X
Jersey JE X X
Jordan JO X X
Kazakhstan KZ X X
Kenya KE X X
Kiribati KI
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 125
Rating Package XML Developer Guide January 8, 2018
Kosovo KV X
Kosrae KO
Kuwait KW X X
Kyrgyzstan KG X
Latvia LV X X
Lebanon LB X X
Lesotho LS
Liberia LR
Libya LY X X
Liechtenstein LI X X
Lithuania LT X X
Luxembourg LU X X
Macedonia (FYROM) MK X X
Madagascar MG X X
Madeira A3 X
Malawi MW X X
Malaysia MY X X
Maldives MV
Mali ML X X
Malta MT X X
Marshall Islands MH
Martinique MQ
Mauritania MR X X
Mauritius MU X X
Mayotte YT
Melilla XL X
Mexico MX X X
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 126
Rating Package XML Developer Guide January 8, 2018
Mongolia MN
Montenegro ME X X
Montserrat MS
Morocco MA X X
Mozambique MZ X
Myanmar MM
Namibia NA
Nauru NR
Nepal NP X
Netherlands NL X X
New Caledonia NC
New Zealand NZ X X
Nicaragua NI X X
Niger NE
Nigeria NG X X
Norfolk Island NF
Northern Ireland NB X
Norway NO X X
Oman OM X X
Pakistan PK X X
Palau PW
Palestine, State of PS
Panama PA X X
Paraguay PY X X
Peru PE X X
Philippines PH X X
Pitcairn PN
Poland PL X X
Ponape PO
Portugal PT X X
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 127
Rating Package XML Developer Guide January 8, 2018
Qatar QA X X
Reunion RE X X
Romania RO X X
Rwanda RW X X
Saint Barthelemy BL
Saint Christopher SW X X
Saint John UV X
Saint Lucia LC X X
Saint Thomas VL X X
Saipan SP
Samoa WS
San Marino SM
Saudi Arabia SA X X
Scotland SF X
Senegal SN X X
Serbia RS X X
Seychelles SC
Sierra Leone SL
Singapore SG X X
Slovakia SK X X
Slovenia SI X X
Solomon Islands SB
South Africa ZA X X
Spain ES X X
Sri Lanka LK X X
Suriname SR
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 128
Rating Package XML Developer Guide January 8, 2018
Sweden SE X X
Switzerland CH X X
Tahiti TA
Tajikistan TJ
Thailand TH X X
Timor-Leste TL
Tinian TI
Togo TG
Tonga TO
Tortola ZZ
Truk TU
Tunisia TN X X
Turkey TR X X
Turkmenistan TM
Tuvalu TV
Uganda UG X
Ukraine UA X X
Union Island UI
United Kingdom GB X X
United States US
Uruguay UY X X
Uzbekistan UZ X X
Vanuatu VU
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 129
Rating Package XML Developer Guide January 8, 2018
Wales WL X X
Yap YA
Yemen YE
Zambia ZM X X
Zimbabwe ZW X
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 130
Rating Package XML Developer Guide January 8, 2018
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 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.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 131
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 132
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 133
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 134
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 135
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 136
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 137
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 138
Rating Package XML Developer Guide January 8, 2018
CA, VI S S
CA P P P
CA, VI S S
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 139
Rating Package XML Developer Guide January 8, 2018
02 Additional duties/taxes may apply and are not reflected in the total amount due.
03 Additional duties/taxes may apply and are not reflected in the total amount due.
05 Rate excludes VAT. Rate includes a fuel Surcharge, but excludes taxes, duties and other
charges that may apply to the shipment.
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 140
Rating Package XML Developer Guide January 8, 2018
Accessorial Code
Accessorial Code
HazMat Accessorial 199
SubType
Accessorial SubType
Freight IDG Class 9 Air Lithium C FLA
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 141
Rating Package XML Developer Guide January 8, 2018
Service Codes
UPS offers a wide variety of package delivery services. The following tables list the service code values for these
services; they are ordered by the origin of the shipment.
For additional information on UPS services, refer to the latest UPS Rate and Service Guide available at:
http://www.ups.com.
United States
Canada
European Union
Mexico
Poland
Puerto Rico
Undefined Countries
All Countries
United States
Shipments originating in United States
UPS Ground 03 03
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 142
Rating Package XML Developer Guide January 8, 2018
Canada
Description Category Shipping Rating
UPS Expedited Canadian domestic shipments 02 02
European Union
Description Shipping Rating
UPS Access Point Economy Shipments within the European Union 70 70
Mexico
Description Shipping Rating
UPS Access Point Economy Mexican domestic shipments 70 70
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 143
Rating Package XML Developer Guide January 8, 2018
Poland
Description Shipping Rating
UPS Access Point Economy Polish domestic shipments 70 70
Puerto Rico
Shipments originating in Puerto Rico
UPS Ground 03 03
Germany
Description Category Shipping Rating
UPS Express 12:00 German domestic shipments 74 74
Undefined Countries
Use for all countries other than United States, Canada, European Union, Mexico, Poland, and Puerto Rico
UPS Standard 11 11
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 144
Rating Package XML Developer Guide January 8, 2018
All Countries
Shipments originating in All Countries
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 145
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 146
Rating Package XML Developer Guide January 8, 2018
SubVersion Details
Request Element Valid Values
/RateRequest/Request/SubVersion 1601, 1607, 1701, 1707, 1801
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 147
Rating Package XML Developer Guide January 8, 2018
© 2018 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 148