Ups API Dokumentacja
Ups API Dokumentacja
November 1, 2016
Important Information
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.
© 2016 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
© 2016 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.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iii
Table of Contents
Chapter 1: Introduction 11
Release Features 12
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iv
ShipmentRatingOptions 57
MovementReferenceNumber 58
ReferenceNumber 58
Service 59
InvoiceLineTotal 61
NumOfPiecesInShipment 61
USPSEndorsement 62
MILabelCN22Indicator 62
SubClassification 62
CostCenter 63
PackageID 63
IrregularIndicator 63
ShipmentIndicationType 63
RatingMethodRequestedIndicator 64
TaxInformationIndicator 64
ShipmentServiceOptions 65
Package 121
LabelSpecification 138
LabelImageFormat 138
HTTPUserAgent 139
LabelStockSize 139
Instruction 140
ReceiptSpecification 141
ImageFormat 141
ShipmentResponse Top Level Containers 142
ShipmentResponse XPath Tables 143
Response 143
ResponseStatus 143
Alert 144
TransactionReference 144
ShipmentResults 146
Disclaimer 146
ShipmentCharges 147
NegotiatedRateCharges 151
FRSShipmentData 154
RatingMethod 159
BillableWeightCalculationMethod 159
BillingWeight 160
ShipmentIdentificationNumber 161
ShipmentDigest 161
PackageResults 161
ControlLogReceipt 170
Form 171
CODTurnInPage 172
HighValueReport 174
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary v
LabelURL 175
LocalLanguageLabelURL 175
ReceiptURL 175
LocalLanguageReceiptURL 176
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary vi
InternationalForms 225
International Forms continued, Contacts 235
InternationalForms continued, Product 246
International Forms continued 260
DeliveryConfirmation 267
ImportControlIndicator 268
LabelMethod 269
CommercialInvoiceRemovalIndicator 269
UPScarbonneutralIndicator 270
PreAlertNotification 270
ExchangeForwardIndicator 272
HoldForPickupIndicator 272
DropoffAtUPSFacilityIndicator 273
LiftGateForPickUpIndicator 273
SDLShipmentIndicator 273
EPRAReleaseCode 274
Package 275
Label Specification 292
LabelImageFormat 292
HTTPUserAgent 293
LabelStockSize 293
Instruction 294
ReceiptSpecification 295
ImageFormat 295
ShipConfirmResponse Top Level Containers 296
ShipConfirmResponse XPath Tables 297
Response 297
ResponseStatus 297
Alert 298
TransactionReference 298
ShipmentResults 300
Disclaimer 300
ShipmentCharges 301
NegotiatedRateCharges 305
FRSShipmentData 307
RatingMethod 313
BillableWeightCalculationMethod 313
BillingWeight 314
ShipmentIdentificationNumber 315
ShipmentDigest 315
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary vii
RequestOption 317
SubVersion 318
TransactionReference 318
ShipmentDigest 318
ShipAccept ResponseTop Level Containers 319
ShipAcceptResponse XPath Tables 320
Response 320
ResponseStatus 320
Alert 321
Transaction Reference 321
ShipmentResults 323
Disclaimer 323
ShipmentCharges 324
NegotiatedRateCharges 328
FRSShipmentData 330
RatingMethod 336
BillableWeightCalculationMethod 336
BillingWeight 337
ShipmentIdentificationNumber 338
ShipmentDigest 338
PackageResults 338
ControlLogReceipt 347
Form 348
CODTurnInPage 350
HighValueReport 351
LabelURL 352
LocalLanguageLabelURL 352
ReceiptURL 352
LocalLanguageReceiptURL 353
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary viii
TrackingCandidate 367
Appendices 396
Error Codes 397
Common Error Codes 397
Shipping Error Codes 399
Error Codes 20004 - 20011 399
Error Codes 12700 - 127007 399
Error Codes 110001 - 125000 399
Error Codes 126000 - 126099 411
Error Codes 128001 - 150000 413
Error Codes 250010 - 250064 419
Error Codes 1270092 – 1270125 420
Error Codes 9120000 + 421
Label Recovery Error Codes 424
Void Error Codes 426
Accessorial / Surcharge Codes 427
Accessorial & Surcharge Subtypes 430
COD Supported Countries 431
Country Codes 432
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary ix
Currency Codes 440
Delivery Confirmation Origin-Destination Pairs 447
Disclaimer Codes and Messages 448
EEI License Codes 449
Department of Commerce/Bureau of Industry and Security (BIS) 449
Department of Energy/National Nuclear Security Administration (DOE/NNSA) 458
Nuclear Regulatory Commission (NRC) 458
Department of State/ Directorate of Defense Trade Control (DDTC) 459
Department of Treasury/Office of Foreign Assets Control (OFAC) 460
Other Partnership Agency 460
EEI License Types and Exemptions 461
EEI Unit of Measure Codes 462
Export License Exception Codes 463
Hong Kong District Codes 464
International Forms Preference Criteria 467
Label Examples 468
Shipping Label Sample 468
Return Label Sample 469
Language / Dialect Combinations 470
License Exception Codes 471
Mail Innovations Package Detail Information 472
Paperless Invoice Support Countries 473
North American Free Trade Agreement (NAFTA) Supported Countries 473
Reference Number Codes 474
Service Codes 475
United States 475
Canada 476
European Union 476
Mexico 476
Poland 477
Puerto Rico 477
Undefined countries 477
All Countries 478
Tax Type Values / Abbreviations 479
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary x
Chapter 1: Introduction
In this document, you will find guidance and instructions for integrating the Shipping Package Web Service into
your application, service, or system.
Intended Audience
This guide is intended for developers who will be integrating the Shipping Package Web Service API into their
application, service, or system.
• Concepts and instructions in the Introduction to the UPS Developer Kit guide.
• XML syntax and structure
• Web services
• Software development
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 11
Shipping Package Web Service Developer Guide November 1, 2016
Release Features
November 2016
Description
Canadian destination values revised in the Delivery Confirmation Origin-Destination Pairs topic in the
Appendix.
July 2016
Description
Expanded COD Service
• FreightDensityInfo
• AdjustedHeightIndicator
• AdjustedHeight
■ Value
■ UnitOfMeasurement
▲ Code
▲ Description
• HandlingUnits
■ Quantity
■ Type
▲ Code
▲ Description
■ Dimensions
▲ UnitOfMeasurement
Code
Description
▲ Length
▲ Width
▲ Height
• DensityEligibleIndicator
New FreightDensityRate Response Container/Elements
• /ShipmentResults/FRSShipmentData/FreightDensityRate
• Density
• TotalCubicFeet
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 12
Shipping Package Web Service Developer Guide November 1, 2016
Description
New HandlingUnitsResponse Containers/Elements
• /ShipmentResults/FRSShipmentData/HandlingUnits
• Quantity
• Type
■ Code
■ Description
• Dimensions
■ UnitOfMeasurement
▲ Code
▲ Description
■ Length
■ Width
■ Height
New error codes: 9120500 - 9120513
For additional information, refer to Shipping Error Codes 9120000+ in the Appendix.
April 2016
Description
Added support for additional credit card types:
13=Dankort, 14=Hipercard, 15=JCB, 17=Postepay, 18=UnionPay/ExpressPay, 19=Visa Electron, 20=VPAY,
21=Carte Bleue
January 2016
Description
Emerging Market Priority Countries
• /Request/SubVersion
• Subversion value: 1607 = 2016 July
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 13
Shipping Package Web Service Developer Guide November 1, 2016
Description
New Shipping Response Container and Elements
• /ShipmentCharges/ItemizedCharges
• /NegotiatedRateCharges/ItemizedCharges
ItemizedCharges Elements:
• Code
• Description
• CurrencyCode
• MonetaryValue
• SubType
UPS Access Point Lite
• 124078 - The Notification Media Type is invalid for the given country.
• 124079 - The Notification Language is invalid for the given Notification Media Type Code.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 14
Shipping Package Web Service Developer Guide November 1, 2016
July 2015
Description
Emerging Market Priority Countries
• New services:
■ UPS Access Point Economy for forward Hold at Pick-up (Contract service)
■ Access Point Delivery (General Service )
■ UPS Return service (Contract service) for Domestic shipments within Access Point countries
• New Package Release code accessorial
■ Authorization code provided by shipper used by the receiver for Hold for Pick-up packages
• UPS Access Point addresses listed on the label instructions for ERL and PRL’s
• Account level support Direct Delivery Only (DDO)
New Shipping Request Element
• /Shipment/ShipmentServiceOptions/EPRAReleaseCode
New Error Codes
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 15
Chapter 2: Understanding the Shipping API
Business Processes and Rules
• UPS expects schema elements/tags as defined in the XPath and presented in the schema structure without
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.
• To access API documentation the user must have or create a My UPS profile.
• To access testing and production sites the user must have an Access Key. To get an Access Key you must have
a My UPS profile and an associated shipping account. For additional information, refer to the UPS Developer Kit
User Guide.
• To bill package shipments, your My UPS profile must have a UPS six digit (package shipping) account number.
To add an account number to your My UPS ID for the US and CA, you must have your Invoice Level Control ID
and a Plan level Control ID, UPS Account Number, Country, Amount due and date of invoice for authentication.
Shipping Rules
• UPS Worldwide Express Freight shipments require a minimum of five labels to be printed for each pallet. The
API itself will only produce one label.
• You can void a shipment from the following origin countries: US, PR and CA.
• Only the first AddressLine is printed on the ShipFrom section of the label. Address Line 1, 2 and 3 will be printed
on the label for the ShipTo Address if provided in the request.
• For shipments with Ground Freight Pricing, Ground Freight Pricing’s grand total can be calculated by adding
NetCharge from FRSShipmentData container with ServiceOptionsCharges from ShipmentCharges container.
Negotiated Rates
The Shipping API provides access to Published Rates and 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.
■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.
■ Because 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 Shipping API.
▲ Make sure that all requests are identical when comparing shipping charges between applications and
APIs that provide UPS Negotiated Rates.
▲ 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
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 16
Shipping Package Web Service Developer Guide November 1, 2016
Shipments
The Shipping Package API gives your applications many ways to manage the shipment of packages to their
destination. UPS offers a range of delivery time frames from same day to standard ground transportation.
Shipments may be within the United States or international, and they may range from documents to large packages.
UPS also supports many valued added services for shipments, including collect on delivery (COD), declared value,
delivery confirmation, and automatic notification of delivery status.
For full details on all UPS shipping services, please consult the latest UPS Rate and Service Guide available at
http://www.ups.com.
NOTE: Shipments are sometimes called forward shipments or outbound shipments to distinguish them from
returns.
Voids (Cancellations)
If you need to void/cancel a previously scheduled shipment, the UPS Void API can be used to void the shipment.
Returns
The Shipping Package API also supports UPS return services. With return services, you can:
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 17
Shipping Package Web Service Developer Guide November 1, 2016
Stage I. Confirm
1. ShipConfirmRequest
The procedure begins when a client application sends a (1) ShipConfirmRequest to UPS. This request
provides details of the Ship and the desired UPS services.
After the ShipConfirmRequest message is created, it must be sent to the Shipping API ShipConfirm URL
■
address, using a HTTP POST.
2. ShipConfirmResponse
■ After the ShipConfirmRequest message is received by the server, it is preprocessed and validated. If the
request passes all validation tests, a (2) ShipConfirmResponse is returned containing estimated rate
information, the Ship Id, and the Ship digest.
■ If the ShipConfirmRequest message fails validation, a ShipConfirmResponse message is returned
containing error information. The majority of the validation is performed in this stage. The actual Ship has not
been created at this point.
Stage II. Accept
3. ShipAcceptRequest
When the rates and services are accepted by the client, a (3) ShipAcceptRequest is sent to UPS. This
message authorizes UPS to charge for the Ship and process the Ship data.
■In order to create a Ship and receive the shipping label(s), a ShipAcceptRequest message must be created
and sent to the Shipping API ShipAccept connection address URL, using a HTTP POST.
■ The ShipAcceptRequest message must contain the Ship digest returned in the ShipConfirmResponse
message.
4. ShipAcceptResponse
UPS acknowledges the request by returning a (4) ShipAcceptResponse. For forward Ships and for preprinted
return labels, this response includes a label for the Ship.
■ After the ShipAcceptRequest message is received in the server, additional processing validation is
performed. If the ShipAcceptRequest message passes all validation tests, a ShipAcceptResponse message
is returned containing detailed rate information, the Ship ID, package tracking numbers and the shipping
label(s).
■ If the ShipAcceptRequest message fails validation, a ShipAcceptResponse message is returned containing
error information.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 18
Shipping Package Web Service Developer Guide November 1, 2016
Preprinted Labels
Clients that want to include preprinted labels as part of forward Ships must perform this four-step procedure twice.
One time processes the forward Ship, and the second time retrieves the return label.
NOTE: Estimated rates are not available when using the single stage process.
Voiding Shipments
To void a previously scheduled shipment, the client applications send a (1) VoidShipmentRequest to UPS. As the
figure below illustrates, UPS replies to the request with a (2) VoidShipmentResponse.
Applications may void forward shipments up to 28 days after initially processing them. Return shipments can be
voided until 2 a.m. Eastern Time the following night.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 19
Chapter 3: Customer Integration Environment (CIE)
The Customer Integration Environment allows customers to test their application prior to launch. This environment
is intended for integration testing of customer applications with the UPS servers.
Once your application has been thoroughly tested, you should redirect the application to the UPS Production
Environment.
No stress testing should ever be performed by customers against any UPS systems.
To access testing and production sites the user must have an Access Key. You can request an Access Key after
establishing a UPS profile and associating your shipping account.
Test your Rate and Shipping 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.
Verify that your XML can produce the following:
• Void Request
• High Value Report
• Label Recovery
• A proportional UPS Address label
Behavior of the Shipping API in CIE mode is as follows:
• Shipments created in CIE mode would have “Sample” watermark across the barcode in labels.
• All international forms in CIE mode would have “Sample” watermark across the forms.
• All credit cards are checked for the right format but the credit cards are not authorized in CIE mode.
• All other functionality is similar to production mode.
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.
• The negotiated rates returned do not reflect the contractual rate and may vary. Typically, they are 1% off the
published rate.
• Also in the Customer Integration Environment, the shipper eligibility for negotiated rates is not fully verified.
• Negotiated Itemized Charges for UPS Worldwide Express Freight are not returned in CIE.
• 1% of tax charges and total charges with taxes are returned as negotiated rates in CIE mode if the
TaxInformationIndicator is present in the request and if taxes are applicable.
Shipping
Shipping Integration Testing
For integration testing, direct your Shipping Package Web Service to:
https://wwwcie.ups.com/webservices/Ship
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 20
Shipping Package Web Service Developer Guide November 1, 2016
https://onlinetools.ups.com/webservices/Ship
Void Package
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 21
Shipping Package Web Service Developer Guide November 1, 2016
Note that only these numbers may be used in the Customer Integration Environment when voiding
shipments.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 22
Shipping Package Web Service Developer Guide November 1, 2016
Label Recovery
To ensure that your application has the ability to process PDF and html responses correctly test your Label
Recovery application using a set similar to 1Zs listed below:
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 23
Chapter 4: Shipment API Elements and Details
Accessing the Shipping Package Web Service API
Service Operations: Shipment, ShipConfirm, ShipAccept
Type: Type: Request-Response (client sends a request to UPS, and the UPS server
replies with a response)
SOAPAction Header: https://wwwcie.ups.com/webservices/Ship
Element Constraints
The Request and Response XPath tables contain the full hierarchy of the API elements.
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.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 24
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 25
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 26
Shipping Package Web Service Developer Guide November 1, 2016
Request
Name Constraint Description Validation
/ShipmentRequest/Request
Request Required: Yes Request Container
Type: Container
Max Allowed: 1
Length: N/A
RequestOption
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 27
Shipping Package Web Service Developer Guide November 1, 2016
SubVersion
TransactionReference
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 28
Shipping Package Web Service Developer Guide November 1, 2016
Shipment
Name Constraint Description Validation
/ShipmentRequest/Shipment
Shipment Required: Yes Shipment Container
Type: Container
Max Allowed: 1
Length: N/A
Description
ReturnService
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 29
Shipping Package Web Service Developer Guide November 1, 2016
/ShipmentRequest/Shipment/ReturnService/Description
Description Required: No Return Service description
Type: String
Max Allowed: 1
Length: 1…35
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 30
Shipping Package Web Service Developer Guide November 1, 2016
DocumentsOnlyIndicator
Shipper
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 31
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 32
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 33
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 34
Shipping Package Web Service Developer Guide November 1, 2016
ShipTo
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 35
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 36
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 37
Shipping Package Web Service Developer Guide November 1, 2016
AlternateDeliveryAddress
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 38
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 39
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 40
Shipping Package Web Service Developer Guide November 1, 2016
ShipFrom
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 41
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 42
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 43
Shipping Package Web Service Developer Guide November 1, 2016
PaymentInformation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 44
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 45
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 46
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 47
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 48
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 49
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 50
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 51
Shipping Package Web Service Developer Guide November 1, 2016
FRSPaymentInformation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 52
Shipping Package Web Service Developer Guide November 1, 2016
FreightShipmentInformation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 53
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 54
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 55
Shipping Package Web Service Developer Guide November 1, 2016
GoodsNotInFreeCirculationIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 56
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentRatingOptions
/ShipmentRequest/Shipment/ShipmentRatingOptions/NegotiatedRatesIndicator
NegotiatedRatesIndicator Required: No Negotiated Rates option indicator. If the indicator is Negotiated Rates are of two types Account Based Rates (ABR) and
Type: String present and the Shipper is authorized then Web Discount Rates. Negotiated Rates are only returned for qualified
Max Allowed: 1 Negotiated Rates should be returned in the Shipper Account Numbers.
Length: 0 response.
Eligibility is determined using the combination of Userid and the
Shipper’s Shipper Account Number. If the user is qualified, both
Published rates and Negotiated rates are returned to the user.
If the Userid and Shipper Account Number are not qualified for
Negotiated rates, a warning message is returned that indicates
ineligibility and only the Published rates are returned in the response.
As per discount eligibility of user, negotiated rates in the response may
contain ABR or Web discount rates.
/ShipmentRequest/Shipment/ShipmentRatingOptions/FRSShipmentIndicator
FRSShipmentIndicator Required: No Ground Freight Pricing Rates option indicator. If the The Shipper account number must be qualified to receive Ground
Type: String Ground Freight Pricing Shipment indicator is enabled Freight Pricing Shipment rates. Only the Shipper account number
Max Allowed: 1 and Shipper number is authorized then Ground taken from
Length: 0 Freight Pricing rates should be returned in the /ShipmentRequest/Shipment/FRSPaymentInformation/AccountNumber
response. is used when checking qualification for Ground Freight Pricing rates.
/ShipmentRequest/Shipment/ShipmentRatingOptions/RateChartIndicator
RateChartIndicator Required: No RateChartIndicator, if present in request, response
Type: String will contain RateChart element.
Max Allowed: 1
Length: 0
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 57
Shipping Package Web Service Developer Guide November 1, 2016
MovementReferenceNumber
ReferenceNumber
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 58
Shipping Package Web Service Developer Guide November 1, 2016
Service
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 59
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 60
Shipping Package Web Service Developer Guide November 1, 2016
InvoiceLineTotal
NumOfPiecesInShipment
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 61
Shipping Package Web Service Developer Guide November 1, 2016
USPSEndorsement
MILabelCN22Indicator
SubClassification
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 62
Shipping Package Web Service Developer Guide November 1, 2016
CostCenter
PackageID
IrregularIndicator
ShipmentIndicationType
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 63
Shipping Package Web Service Developer Guide November 1, 2016
/ShipmentRequest/Shipment/ShipmentIndicationType/Description
Description Required: No Description for the code.
Type: String
Max Allowed: 1
Length: 1…50
RatingMethodRequestedIndicator
TaxInformationIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 64
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentServiceOptions
SaturdayDeliveryIndicator
COD
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 65
Shipping Package Web Service Developer Guide November 1, 2016
AccessPointCOD
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 66
Shipping Package Web Service Developer Guide November 1, 2016
DeliverToAddresseeOnlyIndicator
DirectDeliveryOnlyIndicator
Notification
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 67
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 68
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 69
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 70
Shipping Package Web Service Developer Guide November 1, 2016
LabelDelivery
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 71
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 72
Shipping Package Web Service Developer Guide November 1, 2016
InternationalForms
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 73
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 74
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 75
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 76
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 77
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 78
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 79
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 80
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 81
Shipping Package Web Service Developer Guide November 1, 2016
InternationalForms continued, Contacts
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 82
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 83
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 84
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 85
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 86
Shipping Package Web Service Developer Guide November 1, 2016
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/CompanyName
CompanyName Required: Cond Company Name or the Individual name of the Applies to NAFTA CO. Only applicable when
Type: String Producer. producer option is empty or not present.
Max Allowed: 1 Conditionally required for: NAFTA CO, when
Length: 1…35 Producer option is not specified.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 87
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 88
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 89
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 90
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 91
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 92
Shipping Package Web Service Developer Guide November 1, 2016
InternationalForms continued, Products
• Commercial Invoice
• NAFTA
• CO
• EEI – 100 package
• Packing List – 50
• Air Freight packing list – 1000
Note: For Partial Invoice this container is
optional.
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Description
Description Required: Yes* Description of the product. Applies to all International Forms. Optional
Type: String for Partial Invoice. Must be present at least
Max Allowed:3 once and can occur for a maximum of 3
Length: 1…35 times.
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit
Unit Required: Cond Container tag for the unit's information of each Required for Invoice forms and optional for
Type: Container product. (also called as commodity) Partial Invoice.
Max Allowed: 1
Length: N/A
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/Number
Number Required: Yes* Total quantity of each commodity to be Required for Invoice forms and optional for
Type: String shipped, measured in the units specified in the Partial Invoice. Must be numeric. Valid
Max Allowed: 1 Unit of Measure field. characters are 0-9.
Length: 1…7
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 93
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 94
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 95
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 96
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 97
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 98
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 99
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 100
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 101
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 102
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 103
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 104
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 105
Shipping Package Web Service Developer Guide November 1, 2016
InternationalForms continued
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 106
Shipping Package Web Service Developer Guide November 1, 2016
• SAMPLE
• RETURN
• REPAIR
• INTERCOMPANYDATA
• Any other reason
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 107
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 108
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 109
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 110
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 111
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 112
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 113
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 114
Shipping Package Web Service Developer Guide November 1, 2016
DeliveryConfirmation
ReturnOfDocumentIndicator
ImportControlIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 115
Shipping Package Web Service Developer Guide November 1, 2016
LabelMethod
CommercialInvoiceRemovalIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 116
Shipping Package Web Service Developer Guide November 1, 2016
UPScarbonneutralIndicator
PreAlertNotification
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 117
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 118
Shipping Package Web Service Developer Guide November 1, 2016
ExchangeForwardIndicator
HoldForPickupIndicator
DropoffAtUPSFacilityIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 119
Shipping Package Web Service Developer Guide November 1, 2016
LiftGateForPickUpIndicator
LiftGateForDeliveryIndicator
SDLShipmentIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 120
Shipping Package Web Service Developer Guide November 1, 2016
EPRAReleaseCode
Package
Description
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 121
Shipping Package Web Service Developer Guide November 1, 2016
Packaging
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 122
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 123
Shipping Package Web Service Developer Guide November 1, 2016
Dimensions
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 124
Shipping Package Web Service Developer Guide November 1, 2016
PackageWeight
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 125
Shipping Package Web Service Developer Guide November 1, 2016
LargePackageIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 126
Shipping Package Web Service Developer Guide November 1, 2016
ReferenceNumber
AdditionalHandlingIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 127
Shipping Package Web Service Developer Guide November 1, 2016
PackageServiceOptions
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 128
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 129
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 130
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 131
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 132
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 133
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 134
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 135
Shipping Package Web Service Developer Guide November 1, 2016
Commodity
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 136
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 137
Shipping Package Web Service Developer Guide November 1, 2016
LabelSpecification
Name Constraint Description Validation
/ShipmentRequest/LabelSpecification
LabelSpecification Required: Cond Container used to define the properties required by the user to Required for shipment without return service or shipments
Type: Container print and/or display the UPS shipping label. with PRL return service.
Max Allowed: 1
Length: N/A
LabelImageFormat
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 138
Shipping Package Web Service Developer Guide November 1, 2016
HTTPUserAgent
LabelStockSize
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 139
Shipping Package Web Service Developer Guide November 1, 2016
Instruction
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 140
Shipping Package Web Service Developer Guide November 1, 2016
ReceiptSpecification
Name Constraint Description Validation
/ShipmentRequest/ReceiptSpecification
ReceiptSpecification Required: No Container used to allow the user to choose to print a
Type: Container thermal receipt.
Max Allowed: 1
Length: N/A
ImageFormat
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 141
ShipmentResponse Top Level Containers
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 142
Shipping Package Web Service Developer Guide November 1, 2016
Response
Name Constraint Description Validation
/ShipmentResponse/Response
Response Required: Yes Response container for Shipment response.
Type: Container
Max Allowed: 1
Length: N/A
ResponseStatus
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 143
Shipping Package Web Service Developer Guide November 1, 2016
Alert
TransactionReference
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 144
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 145
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentResults
Name Constraint Description Validation
/ShipmentResponse/ShipmentResults
ShipmentResults Required: Yes Shipment Results container.
Type: Container
Max Allowed: 1
Length: N/A
Disclaimer
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 146
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 147
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 148
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 149
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 150
Shipping Package Web Service Developer Guide November 1, 2016
NegotiatedRateCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 151
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 152
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 153
Shipping Package Web Service Developer Guide November 1, 2016
FRSShipmentData
TransportationCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 154
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 155
Shipping Package Web Service Developer Guide November 1, 2016
FreightDensityRate
HandlingUnits
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 156
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 157
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 158
Shipping Package Web Service Developer Guide November 1, 2016
RatingMethod
BillableWeightCalculationMethod
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 159
Shipping Package Web Service Developer Guide November 1, 2016
BillingWeight
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 160
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentIdentificationNumber
ShipmentDigest
PackageResults
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 161
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 162
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 163
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 164
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 165
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 166
Shipping Package Web Service Developer Guide November 1, 2016
ItemizedCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 167
Shipping Package Web Service Developer Guide November 1, 2016
NegotiatedCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 168
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 169
Shipping Package Web Service Developer Guide November 1, 2016
ControlLogReceipt
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 170
Shipping Package Web Service Developer Guide November 1, 2016
Form
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 171
Shipping Package Web Service Developer Guide November 1, 2016
CODTurnInPage
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 172
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 173
Shipping Package Web Service Developer Guide November 1, 2016
HighValueReport
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 174
Shipping Package Web Service Developer Guide November 1, 2016
LabelURL
LocalLanguageLabelURL
ReceiptURL
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 175
Shipping Package Web Service Developer Guide November 1, 2016
LocalLanguageReceiptURL
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 176
Chapter 5: Ship Confirm API Elements and Details
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 177
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 178
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 179
Shipping Package Web Service Developer Guide November 1, 2016
Request
Name Constraint Description Validation
/ShipConfirmRequest/Request
Request Required: Yes Request Container
Type: Container
Max Allowed: 1
Length: N/A
RequestOption
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 180
Shipping Package Web Service Developer Guide November 1, 2016
SubVersion
TransactionReference
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 181
Shipping Package Web Service Developer Guide November 1, 2016
Shipment
Name Constraint Description Validation
/ShipConfirmRequest/Shipment
Shipment Required: Yes Shipment Container
Type: Container
Max Allowed: 1
Length: N/A
Description
ReturnService
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 182
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 183
Shipping Package Web Service Developer Guide November 1, 2016
DocumentsOnlyIndicator
Shipper
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 184
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 185
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 186
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 187
Shipping Package Web Service Developer Guide November 1, 2016
ShipTo
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 188
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 189
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 190
Shipping Package Web Service Developer Guide November 1, 2016
AlternateDeliveryAddress
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 191
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 192
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 193
Shipping Package Web Service Developer Guide November 1, 2016
ShipFrom
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 194
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 195
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 196
Shipping Package Web Service Developer Guide November 1, 2016
PaymentInformation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 197
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 198
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 199
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 200
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 201
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 202
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 203
Shipping Package Web Service Developer Guide November 1, 2016
FRSPaymentInformation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 204
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 205
Shipping Package Web Service Developer Guide November 1, 2016
FreightShipmentInformation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 206
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 207
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 208
Shipping Package Web Service Developer Guide November 1, 2016
GoodsNotInFreeCirculationIndicator
ShipmentRatingOptions
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 209
Shipping Package Web Service Developer Guide November 1, 2016
MovementReferenceNumber
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 210
Shipping Package Web Service Developer Guide November 1, 2016
ReferenceNumber
Service
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 211
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 212
Shipping Package Web Service Developer Guide November 1, 2016
InvoiceLineTotal
NumOfPiecesInShipment
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 213
Shipping Package Web Service Developer Guide November 1, 2016
USPSEndorsement
MILabelCN22Indicator
SubClassification
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 214
Shipping Package Web Service Developer Guide November 1, 2016
CostCenter
PackageID
IrregularIndicator
ShipmentIndicationType
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 215
Shipping Package Web Service Developer Guide November 1, 2016
RatingMethodRequestedIndicator
TaxInformationIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 216
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentServiceOptions
SaturdayDeliveryIndicator
COD
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 217
Shipping Package Web Service Developer Guide November 1, 2016
AccessPointCOD
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 218
Shipping Package Web Service Developer Guide November 1, 2016
DeliverToAddresseeOnlyIndicator
Notification
2 - Return Notification or Label Creation Notification QV Ship Notification is allowed for forward moving
shipments only.
012 - Alternate Delivery Location Notification
013 - UAP Shipper Notification
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 219
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 220
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 221
Shipping Package Web Service Developer Guide November 1, 2016
LabelDelivery
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 222
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 223
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 224
Shipping Package Web Service Developer Guide November 1, 2016
InternationalForms
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 225
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 226
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 227
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 228
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 229
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 230
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 231
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 232
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 233
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 234
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 235
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 236
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 237
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 238
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 239
Shipping Package Web Service Developer Guide November 1, 2016
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/CompanyName
CompanyName Required: Cond Company Name or the Individual name of the Applies to NAFTA CO. Only applicable when
Type: String Producer. producer option is empty or not present.
Max Allowed: 1 Conditionally required for: NAFTA CO, when
Length: 1…35 Producer option is not specified.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 240
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 241
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 242
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 243
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 244
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 245
Shipping Package Web Service Developer Guide November 1, 2016
• Commercial Invoice
• NAFTA
• CO
• EEI - 100 package
• Packing List - 50
• Air Freight packing list – 1000
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 246
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 247
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 248
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 249
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 250
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 251
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 252
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 253
Shipping Package Web Service Developer Guide November 1, 2016
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement/Description
Description Required: No Description of the Unit of Measure.
Type: String
Max Allowed: 1
Length: 1…20
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExportType
ExportType Required: Cond Code indicating Domestic: Exports that have Applies to EEI forms only. Required for EEI
Type: String been produced, manufactured, or grown in the form.
Max Allowed: 1 United States or Puerto Rico.
Possible Values:
Length: 1
This includes imported merchandise which has
D: Domestic
been enhanced in value or changed from the
form in which imported by further manufacture F: Foreign
or processing in the United States or Puerto
Rico.
Foreign: Merchandise that has entered the
United States and is being exported again in
the same condition as when imported.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 254
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 255
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 256
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 257
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 258
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 259
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 260
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 261
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 262
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 263
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 264
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 265
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 266
Shipping Package Web Service Developer Guide November 1, 2016
DeliveryConfirmation
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 267
Shipping Package Web Service Developer Guide November 1, 2016
ReturnOfDocumentIndicator
ImportControlIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 268
Shipping Package Web Service Developer Guide November 1, 2016
LabelMethod
CommercialInvoiceRemovalIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 269
Shipping Package Web Service Developer Guide November 1, 2016
UPScarbonneutralIndicator
PreAlertNotification
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 270
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 271
Shipping Package Web Service Developer Guide November 1, 2016
ExchangeForwardIndicator
HoldForPickupIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 272
Shipping Package Web Service Developer Guide November 1, 2016
DropoffAtUPSFacilityIndicator
LiftGateForPickUpIndicator
SDLShipmentIndicator
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 273
Shipping Package Web Service Developer Guide November 1, 2016
EPRAReleaseCode
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 274
Shipping Package Web Service Developer Guide November 1, 2016
Package
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 275
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 276
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 277
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 278
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 279
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 280
Shipping Package Web Service Developer Guide November 1, 2016
• Priority
• First Class
• Machineables
• Irregulars
• Parcel Post
• BPM Parcel
• Media Mail
• Standard Flats
• BPM
• BPM Flats
• Parcels
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation/DCISNumber
DCISNumber Required: No Delivery Confirmation Control number associated with the Valid for forward shipments only.
Type: String delivery confirmation for the package.
Max Allowed: 1
Length: 1…11
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 281
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 282
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 283
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 284
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 285
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 286
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 287
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 288
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 289
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 290
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 291
Shipping Package Web Service Developer Guide November 1, 2016
Label Specification
Name Constraint Description Validation
/ShipConfirmRequest/LabelSpecification
LabelSpecification Required: Cond Container used to define the properties required by the user to Required for shipment without return service or shipments
Type: Container print and/or display the UPS shipping label. with PRL return service.
Max Allowed: 1
Length: N/A
LabelImageFormat
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 292
Shipping Package Web Service Developer Guide November 1, 2016
HTTPUserAgent
LabelStockSize
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 293
Shipping Package Web Service Developer Guide November 1, 2016
Instruction
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 294
Shipping Package Web Service Developer Guide November 1, 2016
ReceiptSpecification
Name Constraint Description Validation
/ShipConfirmRequest/ReceiptSpecification
ReceiptSpecification Required: No Container used to allow the user to choose to print a thermal
Type: Container receipt.
Max Allowed: 1
Length: N/A
ImageFormat
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 295
ShipConfirmResponse Top Level Containers
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 296
Shipping Package Web Service Developer Guide November 1, 2016
Response
Name Constraint Description Validation
/ShipConfirmResponse/Response
Response Required: Yes Response container.
Type: Container
Max Allowed: 1
Length: N/A
ResponseStatus
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 297
Shipping Package Web Service Developer Guide November 1, 2016
Alert
TransactionReference
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 298
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 299
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentResults
Name Constraint Description Validation
/ShipConfirmResponse/ShipmentResults
ShipmentResults Required: Yes Shipment Results container.
Type: Container
Max Allowed: 1
Length: N/A
Disclaimer
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 300
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 301
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 302
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 303
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 304
Shipping Package Web Service Developer Guide November 1, 2016
NegotiatedRateCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 305
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 306
Shipping Package Web Service Developer Guide November 1, 2016
FRSShipmentData
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 307
Shipping Package Web Service Developer Guide November 1, 2016
TransportationCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 308
Shipping Package Web Service Developer Guide November 1, 2016
FreightDensityRate
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 309
Shipping Package Web Service Developer Guide November 1, 2016
HandlingUnits
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 310
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 311
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 312
Shipping Package Web Service Developer Guide November 1, 2016
RatingMethod
BillableWeightCalculationMethod
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 313
Shipping Package Web Service Developer Guide November 1, 2016
BillingWeight
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 314
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentIdentificationNumber
ShipmentDigest
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 315
Chapter 6: Ship Accept API Elements and Details
ShipAccept Request Top Level Containers
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 316
Shipping Package Web Service Developer Guide November 1, 2016
Request
Name Constraint Description Validation
/ShipAcceptRequest/Request
Request Required: Yes Request Container.
Type: Container
Max Allowed: 1
Length: N/A
RequestOption
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 317
Shipping Package Web Service Developer Guide November 1, 2016
SubVersion
TransactionReference
ShipmentDigest
Name Constraint Description Validation
/ShipAcceptRequest/ShipmentDigest
ShipmentDigest Required: Yes Encoded shipment parameters required to be passed in the Base 64 Encoded.
Type: String accept phase.
Max Allowed: 1
Length:
Unbounded
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 318
ShipAccept ResponseTop Level Containers
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 319
Shipping Package Web Service Developer Guide November 1, 2016
Response
Name Constraint Description Validation
/ShipAcceptResponse/Response
Response Required: Yes Response container for Ship Accept Response.
Type: Container
Max Allowed: 1
Length:
ResponseStatus
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 320
Shipping Package Web Service Developer Guide November 1, 2016
Alert
Transaction Reference
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 321
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 322
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentResults
Name Constraint Description Validation
/ShipAcceptResponse/ShipmentResults
ShipmentResults Required: Yes Shipment Results container.
Type: Container
Max Allowed: 1
Length: N/A
Disclaimer
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 323
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 324
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 325
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 326
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 327
Shipping Package Web Service Developer Guide November 1, 2016
NegotiatedRateCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 328
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 329
Shipping Package Web Service Developer Guide November 1, 2016
FRSShipmentData
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 330
Shipping Package Web Service Developer Guide November 1, 2016
TransportationCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 331
Shipping Package Web Service Developer Guide November 1, 2016
FreightDensityRate
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/FreightDensityRate
FreightDensityRate Required: No FreightDensityRate container for Density based rating.
Type: Container
Max Allowed: 1
Length: N/A
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 332
Shipping Package Web Service Developer Guide November 1, 2016
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/FreightDensityRate/Density
Density Required: Yes* Density is returned if the Shipper is eligible for Density based rate. Valid values are 0 to 999.9
Type: String
Max Allowed: 1
Length: 1…5
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/FreightDensityRate/TotalCubicFeet
TotalCubicFeet Required: Yes* TotalCubic feet is returned if the Shipper is eligible for Density based rate. Valid values are 0 to
Type: String 99999.999
Max Allowed: 1
Length: 1…9
HandlingUnits
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 333
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 334
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 335
Shipping Package Web Service Developer Guide November 1, 2016
RatingMethod
BillableWeightCalculationMethod
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 336
Shipping Package Web Service Developer Guide November 1, 2016
BillingWeight
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 337
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentIdentificationNumber
ShipmentDigest
PackageResults
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 338
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 339
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 340
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 341
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 342
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 343
Shipping Package Web Service Developer Guide November 1, 2016
ItemizedCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 344
Shipping Package Web Service Developer Guide November 1, 2016
NegotiatedCharges
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 345
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 346
Shipping Package Web Service Developer Guide November 1, 2016
ControlLogReceipt
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 347
Shipping Package Web Service Developer Guide November 1, 2016
Form
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 348
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 349
Shipping Package Web Service Developer Guide November 1, 2016
CODTurnInPage
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 350
Shipping Package Web Service Developer Guide November 1, 2016
HighValueReport
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 351
Shipping Package Web Service Developer Guide November 1, 2016
LabelURL
LocalLanguageLabelURL
ReceiptURL
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 352
Shipping Package Web Service Developer Guide November 1, 2016
LocalLanguageReceiptURL
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 353
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 354
Shipping Package Web Service Developer Guide November 1, 2016
Request
Name Constraint Description Validation
/LabelRecoveryRequest/Request
Request Required: Yes Request Container
Type: Container
Max Allowed: 1
Length: N/A
/LabelRecoveryRequest/Request/RequestOption
RequestOption Required: No Request option is no longer used
Type: String
Max
Allowed:Unbounded
Length: 1..15
/LabelRecoveryRequest/Request/TransactionReference
TransactionReference Required: No Container that identifies transactions between client and server
Type: Container
Max Allowed: 1
Length: N/A
/LabelRecoveryRequest/Request/TransactionReference/CustomerContext
CustomerContext Required: No The Client uses this to synchronize request and response pair. It is replayed back to client by server
Type: String
Max Allowed: 1
Length: 1..512
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 355
Shipping Package Web Service Developer Guide November 1, 2016
LabelSpecification
Name Constraint Description Validation
/LabelRecoveryRequest/LabelSpecification
LabelSpecification Required: No Container that is used to define the properties required by the Required for the shipment with out return service, or
Type: Container user to print and/ or display the UPS shipping label. shipment with PRL return service.
Max Allowed: 1
Length: N/A
/LabelRecoveryRequest/LabelSpecification/HTTPUserAgent
HTTPUserAgent Required: No Browser HTTPUserAgent String. This is the preferred way of Required if <Root node>/
Type: String identifying GIF image type to be generated. LabelSpecification/LabelImageFormat/Code = Gif.
Max Allowed: 1
Default to Mozilla/4.5 if this field is missing or has invalid
Length: 1..64
value.
/LabelRecoveryRequest/LabelSpecification/LabelImageFormat
LabelImageFormat Required: No The file format of the label and receipt. Defaults to HTML format if
Type: Container this node does not exist.
Max Allowed: 1
Length: N/A
/LabelRecoveryRequest/LabelSpecification/LabelImageFormat/Code
Code Required: Yes* File type that the label and receipt is to be generated in.
Type: String
Valid values:
Max Allowed: 1
Length: 3 GIF - The generated label and receipt are in HTML format.
PDF - The generated label and receipt are in PDF format.
If the Label contains Customs Invoice then the Label and receipt
will always be returned in PDF format.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 356
Shipping Package Web Service Developer Guide November 1, 2016
Translate
Name Constraint Description Validation
/LabelRecoveryRequest/Translate
Translate Required: No Translate container allows the user to specify the language Combinations:
Type: Container he/she would like a specific portion of response to return.
eng GB = Queen's English
Max Allowed: 1
The language is specified by the combination of language code
Length: N/A spa 97 = Castilian Spanish
and dialect code.
ita 97 = Italian
Valid combinations are: LanguageCode + DialectCode.
fra 97 = France French
fra CA = Canadian French
deu 97 = German
por 97 = Portugal Portuguese
nld 97 = Dutch
dan 97 = Danish
fin 97 = Finnish
swe 97 = Swedish
eng CA = Canadian English
eng US = US English
Default language is Queen's English.
If the Ship from country is Canada, the Language defaults
to Canadian English.
If the ship from country is US, the language defaults to US
English.
If shipping from some other country, the language defaults
to Queens English.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 357
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 358
Shipping Package Web Service Developer Guide November 1, 2016
LabelDelivery
Name Constraint Description Validation
/LabelRecoveryRequest/LabelDelivery
LabelDelivery Required: No Container for the Label Delivery accessorial. One Label Delivery
Type: Container per shipment
Max Allowed: 1
Length: N/A
/LabelRecoveryRequest/LabelDelivery/LabelLinkIndicator
LabelLinkIndicator Required: No Indicates that the Label Recovery and Receipt Recovery URL
Type: String links are to be returned in the XML Response. Valid for shipments
Max Allowed: 1 with a Web Return Label Return Service.
Length: 0
TrackingNumber
Name Constraint Description Validation
/LabelRecoveryRequest/TrackingNumber
TrackingNumber Required: Cond Package Tracking Number. If the TrackingNumber is not Check on availability, check on length of Package Tracking
Type: String provided, then the ReferenceNumber/Value and ShipperNumber Number. If the TrackingNumber is not provided, then the
Max Allowed: 1 have to be provided. ReferenceNumber/Value and ShipperNumber have to be
Length: 1..18 provided.
ReferenceValues
Name Constraint Description Validation
/LabelRecoveryRequest/ReferenceValues
ReferenceValues Required: Cond Container that holds reference number and shipper number If tracking number is not present use reference Number
Type: Container
Max Allowed: 1
Length: N/A
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 359
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 360
LabelRecoveryResponse Top Level Containers
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 361
Shipping Package Web Service Developer Guide November 1, 2016
Response
Name Constraint Description Validation
/LabelRecoveryResponse/Response
Response Required: Yes Response Container
Type: Container
Max Allowed: 1
Length: N/A
/LabelRecoveryResponse/Response/ResponseStatus
ResponseStatus Required: Yes Response Status container
Type: Container
Max Allowed: 1
Length: N/A
/LabelRecoveryResponse/Response/ResponseStatus/Code
Code Required: Yes Identifies the success status of the transaction. 1=Success
Type: String
Max Allowed: 1
Length: 1
/LabelRecoveryResponse/Response/ResponseStatus/Description
Description Required: Yes Describes Response Status Code. Returns the text "Success"
Type: String
Max Allowed: 1
Length: 1..35
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 362
Shipping Package Web Service Developer Guide November 1, 2016
ShipmentIdentificationNumber
Name Constraint Description Validation
/LabelRecoveryResponse/ShipmentIdentificationNumber
ShipmentIdentificationNumber Required: No Tracking number of the leading package in the shipment
Type: String
Max Allowed: 1
Length: 18
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 363
Shipping Package Web Service Developer Guide November 1, 2016
LabelResults
Name Constraint Description Validation
/LabelRecoveryResponse/LabelResults
LabelResults Required: Yes Container that stores the label results. Information
Type: Container containing the results of the user's Label Recovery
Max Allowed: 1 Request.
Length: N/A
/LabelRecoveryResponse/LabelResults/TrackingNumber
TrackingNumber Required: Yes Package Tracking number. Package 1Z number.
Type: String
Max Allowed: 1
Length: 18
/LabelRecoveryResponse/LabelResults/LabelImage
LabelImage Required: Yes The elements needed to render a label on a printer or in a
Type: Container browser. Specifies the format in which GraphicImage is
Max Allowed: 1 represented.
Length: N/A
If LabelImageFormat is GIF, LabelImage contains
GraphicImage and HTMLImage. Otherwise, it contains only
GraphicImage.
If LabelImageFormat is PDF, LabelImage is only returned
at the first package result. If entered in the request, the
response mirrors, else the default values are returned.
/LabelRecoveryResponse/LabelResults/LabelImage/LabelImageFormat
LabelImageFormat Required: Yes The format of a label image byte stream.
Type: Container
Max Allowed: 1
Length: N/A
/LabelRecoveryResponse/LabelResults/LabelImage/LabelImageFormat/Code
Code Required: Yes The format of a label image byte stream. Code type that the label image is to be generated
Type: String in. Valid value returned is GIF or PDF
Max Allowed: 1
Length: 3
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 364
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 365
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 366
Shipping Package Web Service Developer Guide November 1, 2016
TrackingCandidate
Name Constraint Description Validation
/LabelRecoveryResponse/TrackingCandidate
TrackingCandidate Required: Cond Information containing the results of the users Label Recovery
Type: Container Request. Returned in the event the Shipper Number and
Max Allowed: 1 Reference Number are supplied in the request.
Length: N/A
/LabelRecoveryResponse/TrackingCandidate/TrackingNumber
TrackingNumber Required: Yes* Packaging Tracking Number Only supported for the web package shipment so only
Type: String supported 18 digit
Max Allowed: 1
Length: 18
/LabelRecoveryResponse/TrackingCandidate/DestinationPostalCode
DestinationPostalCode Required: No Destination postal code candidate
Type: String
Max Allowed: 1
Length: 1..9
/LabelRecoveryResponse/TrackingCandidate/DestinationCountryCode
DestinationCountryCode Required: No Destination country code candidate, like US = USA, CA = Canada Must be valid ups country code
Type: String
Max Allowed: 1
Length: 2
/LabelRecoveryResponse/TrackingCandidate/PickupDateRange
PickupDateRange Required: No A range of time the package was picked up.
Type: Container
Max Allowed: 1
Length: N/A
/LabelRecoveryResponse/TrackingCandidate/PickupDateRange/BeginDate
BeginDate Required: Yes* The beginning of the date range for the candidate. Format: Service is only supported for 30 days
Type: String YYYYMMDD
Max Allowed: 1
Length: 8
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 367
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 368
Chapter 8: Void Shipment Elements and Details
The Void Operation is a single transaction that sends a VoidShipmentWebServicesRequest and receives the
VoidShipmentWebServicesResponse to confirm the void,
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 369
Shipping Package Web Service Developer Guide November 1, 2016
Request
Name Constraint Description Validation
/VoidShipmentRequest/Request
Request Required: Yes Request Container
Type: Container
Max Allowed: 1
Length: N/A
/VoidShipmentRequest/Request/RequestOption
RequestOption Required: No Optional processing. No options Not used. Left for future uses
Type: String
Max Allowed: 1
Length: 1
/VoidShipmentRequest/Request/TransactionReference
TransactionReference Required: No TransactionReference identifies transactions between client and
Type: Container server.
Max Allowed: 1
Length: N/A
/VoidShipmentRequest/Request/TransactionReference/CustomerContext
CustomerContext Required: No The client uses CustomerContext to synchronize
Type: String request/response pairs. The client establishes CustomerContext,
Max Allowed: 1 which can contain any information you want, as long as it is valid
Length: 1...512 XML; it is echoed back by the server.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 370
Shipping Package Web Service Developer Guide November 1, 2016
VoidShipment
Name Constraint Description Validation
/VoidShipmentRequest/VoidShipment
VoidShipment Required: Yes The container for the Ship Void Request.
Type: Container
Max Allowed: 1
Length: 1
/VoidShipmentRequest/VoidShipment/ShipmentIdentificationNumber
ShipmentIdentificationNumber Required: Yes The shipment's identification number Alpha-numeric. Must pass 1Z rules. Must be upper case.
Type: String
Max Allowed: 1
Length: 18
/VoidShipmentRequest/VoidShipment/TrackingNumber
TrackingNumber Required: No The package's identification number Alpha-numeric. Must pass 1Z rules. Must be upper case
Type: String
Max Allowed:20
Length: 18
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 371
Void Shipment Response Top Level Containers
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 372
Shipping Package Web Service Developer Guide November 1, 2016
Response
Name Constraint Description Validation
/VoidShipmentResponse/Response
Response Required: Yes Response Container.
Type: Container
Max Allowed: 1
Length: N/A
/VoidShipmentResponse/Response/ResponseStatus
ResponseStatus Required: Yes Response Status Container.
Type: Container
Max Allowed: 1
Length: N/A
/VoidShipmentResponse/Response/ResponseStatus/Code
Code Required: Yes Identifies the success or failure of the transaction. 1 = Successful
Type: String
Max Allowed: 1
Length: 1
/VoidShipmentResponse/Response/ResponseStatus/Description
Description Required: Yes Describes Response Status Code. Returns text of Success
Type: String
Max Allowed: 1
Length: 1…35
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 373
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 374
Shipping Package Web Service Developer Guide November 1, 2016
SummaryResult
Name Constraint Description Validation
/VoidShipmentResponse/SummaryResult
SummaryResult Required: Yes Container for the Summary Result
Type: Container
Max Allowed: 1
Length: N/A
/VoidShipmentResponse/SummaryResult/Status
Status Required: Yes Container for the status of the Summary Result
Type: Container
Max Allowed: 1
Length: N/A
/VoidShipmentResponse/SummaryResult/Status/Code
Code Required: Yes Code for the status of the Summary Result
Type: String
Max Allowed: 1
Length: 1
/VoidShipmentResponse/SummaryResult/Status/Description
Description Required: Yes Description of the status of the Summary Result
Type: String
Max Allowed: 1
Length: 1…35
PackageLevelResult
Name Constraint Description Validation
/VoidShipmentResponse/PackageLevelResult
PackageLevelResult Required: No Contains the Package Level Results
Type: Container
Max Allowed: 1
Length: N/A
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 375
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 376
Chapter 9: Shipping Web Service API Examples
ShipmentRequest Published Rates
<envr:Envelope xmlns:auth="http://www.ups.com/schema/xpci/1.0/auth"
xmlns:envr="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:upss="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0"
xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<envr:Header>
<upss:UPSSecurity>
<upss:UsernameToken>
<upss:Username>Your Username</upss:Username>
<upss:Password>Your Password</upss:Password>
</upss:UsernameToken>
<upss:ServiceAccessToken>
<upss:AccessLicenseNumber>Your Access License Number</upss:AccessLicenseNumber>
</upss:ServiceAccessToken>
</upss:UPSSecurity>
</envr:Header>
<envr:Body>
<ship:ShipmentRequest xsi:schemaLocation="http://www.ups.com/XMLSchema/XOLTWS/Ship/v1.0"
xmlns:ship="http://www.ups.com/XMLSchema/XOLTWS/Ship/v1.0"
xmlns:ifs="http://www.ups.com/XMLSchema/XOLTWS/IF/v1.0">
<common:Request>
<common:RequestOption>validate</common:RequestOption>
<common:TransactionReference>
<common:CustomerContext>Your Customer Context</common:CustomerContext>
</common:TransactionReference>
</common:Request>
<ship:Shipment>
<ship:Description>Description</ship:Description>
<ship:Shipper>
<ship:Name>Shipper Name</ship:Name>
<ship:AttentionName>Shipper Attn Name</ship:AttentionName>
<ship:TaxIdentificationNumber>123456</ship:TaxIdentificationNumber>
<ship:Phone>
<ship:Number>1234567890</ship:Number>
<ship:Extension>1</ship:Extension>
</ship:Phone>
<ship:ShipperNumber>Your Shipper Number</ship:ShipperNumber>
<ship:FaxNumber>1234567890</ship:FaxNumber>
<ship:Address>
<ship:AddressLine>Address Line</ship:AddressLine>
<ship:City>City</ship:City>
<ship:StateProvinceCode>StateProvinceCode</ship:StateProvinceCode>
<ship:PostalCode>PostalCode</ship:PostalCode>
<ship:CountryCode>CountryCode</ship:CountryCode>
</ship:Address>
</ship:Shipper>
<ship:ShipTo>
<ship:Name>Ship To Name</ship:Name>
<ship:AttentionName>Ship To Attn Name</ship:AttentionName>
<ship:Phone>
<ship:Number>1234567890</ship:Number>
</ship:Phone>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 377
Shipping Package Web Service Developer Guide November 1, 2016
<ship:Address>
<ship:AddressLine>Address Line</ship:AddressLine>
<ship:City>City</ship:City>
<ship:StateProvinceCode>StateProvinceCode</ship:StateProvinceCode>
<ship:PostalCode>PostalCode</ship:PostalCode>
<ship:CountryCode>CountryCode</ship:CountryCode>
</ship:Address>
</ship:ShipTo>
<ship:ShipFrom>
<ship:Name>Ship From Name</ship:Name>
<ship:AttentionName>Ship From Attn Name</ship:AttentionName>
<ship:Phone>
<ship:Number>1234567890</ship:Number>
</ship:Phone>
<ship:FaxNumber>1234567890</ship:FaxNumber>
<ship:Address>
<ship:AddressLine>Address Line</ship:AddressLine>
<ship:City>City</ship:City>
<ship:StateProvinceCode>StateProvinceCode</ship:StateProvinceCode>
<ship:PostalCode>PostalCode</ship:PostalCode>
<ship:CountryCode>CountryCode</ship:CountryCode>
</ship:Address>
</ship:ShipFrom>
<ship:PaymentInformation>
<ship:ShipmentCharge>
<ship:Type>01</ship:Type>
<ship:BillShipper>
<ship:AccountNumber>Your Account Number</ship:AccountNumber>
</ship:BillShipper>
</ship:ShipmentCharge>
</ship:PaymentInformation>
<ship:Service>
<ship:Code>01</ship:Code>
<ship:Description>Express</ship:Description>
</ship:Service>
<ship:Package>
<ship:Description>Description</ship:Description>
<ship:Packaging>
<ship:Code>02</ship:Code>
<ship:Description>Description</ship:Description>
</ship:Packaging>
<ship:Dimensions>
<ship:UnitOfMeasurement>
<ship:Code>IN</ship:Code>
<ship:Description>Inches</ship:Description>
</ship:UnitOfMeasurement>
<ship:Length>7</ship:Length>
<ship:Width>5</ship:Width>
<ship:Height>2</ship:Height>
</ship:Dimensions>
<ship:PackageWeight>
<ship:UnitOfMeasurement>
<ship:Code>LBS</ship:Code>
<ship:Description>Pounds</ship:Description>
</ship:UnitOfMeasurement>
<ship:Weight>10</ship:Weight>
</ship:PackageWeight>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 378
Shipping Package Web Service Developer Guide November 1, 2016
</ship:Package>
</ship:Shipment>
<ship:LabelSpecification>
<ship:LabelImageFormat>
<ship:Code>GIF</ship:Code>
<ship:Description>GIF</ship:Description>
</ship:LabelImageFormat>
<ship:HTTPUserAgent>Mozilla/4.5</ship:HTTPUserAgent>
</ship:LabelSpecification>
</ship:ShipmentRequest>
</envr:Body>
</envr:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 379
Shipping Package Web Service Developer Guide November 1, 2016
<ship:MonetaryValue>0.00</ship:MonetaryValue>
</ship:ServiceOptionsCharges>
<ship:ShippingLabel>
<ship:ImageFormat>
<ship:Code>GIF</ship:Code>
<ship:Description>GIF</ship:Description>
</ship:ImageFormat> <ship:GraphicImage>R0lGODdheAUgA+c
(Truncated)</ship:GraphicImage>
<ship:HTMLImage>PCFET0NUWVBFIEhUTUwgUFVCTElDICI
(Truncated)</ship:HTMLImage>
</ship:ShippingLabel>
</ship:PackageResults>
</ship:ShipmentResults>
</ship:ShipmentResponse>
</soapenv:Body>
</soapenv:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 380
Shipping Package Web Service Developer Guide November 1, 2016
<ship:Address>
<ship:AddressLine>Address Line</ship:AddressLine>
<ship:City>City</ship:City>
<ship:StateProvinceCode>StateProvinceCode</ship:StateProvinceCode>
<ship:PostalCode>PostalCode</ship:PostalCode>
<ship:CountryCode>CountryCode</ship:CountryCode>
</ship:Address>
</ship:Shipper>
<ship:ShipTo>
<ship:Name>Ship To Name</ship:Name>
<ship:AttentionName>Ship To Attn Name</ship:AttentionName>
<ship:Phone>
<ship:Number>1234567890</ship:Number>
</ship:Phone>
<ship:Address>
<ship:AddressLine>Address Line</ship:AddressLine>
<ship:City>City</ship:City>
<ship:StateProvinceCode>StateProvinceCode</ship:StateProvinceCode>
<ship:PostalCode>PostalCode</ship:PostalCode>
<ship:CountryCode>CountryCode</ship:CountryCode>
</ship:Address>
</ship:ShipTo>
<ship:ShipFrom>
<ship:Name>Ship From Name</ship:Name>
<ship:AttentionName>Ship From Attn Name</ship:AttentionName>
<ship:Phone>
<ship:Number>1234567890</ship:Number>
</ship:Phone>
<ship:FaxNumber>1234567890</ship:FaxNumber>
<ship:Address>
<ship:AddressLine>Address Line</ship:AddressLine>
<ship:City>City</ship:City>
<ship:StateProvinceCode>StateProvinceCode</ship:StateProvinceCode>
<ship:PostalCode>PostalCode</ship:PostalCode>
<ship:CountryCode>CountryCode</ship:CountryCode>
</ship:Address>
</ship:ShipFrom>
<ship:PaymentInformation>
<ship:ShipmentCharge>
<ship:Type>01</ship:Type>
<ship:BillShipper>
<ship:AccountNumber>Your Account Number</ship:AccountNumber>
</ship:BillShipper>
</ship:ShipmentCharge>
</ship:PaymentInformation>
<ship:Service>
<ship:Code>01</ship:Code>
<ship:Description>Express</ship:Description>
</ship:Service>
<ship:ShipmentRatingOptions>
<ship:NegotiatedRatesIndicator>0</ship:NegotiatedRatesIndicator>
</ship:ShipmentRatingOptions>
<ship:Package>
<ship:Description>Description</ship:Description>
<ship:Packaging>
<ship:Code>02</ship:Code>
<ship:Description>Description</ship:Description>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 381
Shipping Package Web Service Developer Guide November 1, 2016
</ship:Packaging>
<ship:Dimensions>
<ship:UnitOfMeasurement>
<ship:Code>IN</ship:Code>
<ship:Description>Inches</ship:Description>
</ship:UnitOfMeasurement>
<ship:Length>7</ship:Length>
<ship:Width>5</ship:Width>
<ship:Height>2</ship:Height>
</ship:Dimensions>
<ship:PackageWeight>
<ship:UnitOfMeasurement>
<ship:Code>LBS</ship:Code>
<ship:Description>Pounds</ship:Description>
</ship:UnitOfMeasurement>
<ship:Weight>10</ship:Weight>
</ship:PackageWeight>
</ship:Package>
</ship:Shipment>
<ship:LabelSpecification>
<ship:LabelImageFormat>
<ship:Code>GIF</ship:Code>
<ship:Description>GIF</ship:Description>
</ship:LabelImageFormat>
<ship:HTTPUserAgent>Mozilla/4.5</ship:HTTPUserAgent>
</ship:LabelSpecification>
</ship:ShipmentRequest>
</envr:Body>
</envr:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 382
Shipping Package Web Service Developer Guide November 1, 2016
<ship:CurrencyCode>USD</ship:CurrencyCode>
<ship:MonetaryValue>88.12</ship:MonetaryValue>
</ship:TotalCharges>
</ship:ShipmentCharges>
<ship:NegotiatedRateCharges>
<ship:TotalCharge>
<ship:CurrencyCode>USD</ship:CurrencyCode>
<ship:MonetaryValue>70.00</ship:MonetaryValue>
</ship:TotalCharge>
</ship:NegotiatedRateCharges>
<ship:BillingWeight>
<ship:UnitOfMeasurement>
<ship:Code>LBS</ship:Code>
<ship:Description>Pounds</ship:Description>
</ship:UnitOfMeasurement>
<ship:Weight>10.0</ship:Weight>
</ship:BillingWeight>
<ship:ShipmentIdentificationNumber>1ZWA82900191640782</ship:ShipmentIdentificationN
umber>
<ship:PackageResults>
<ship:TrackingNumber>1ZWA82900191640782</ship:TrackingNumber>
<ship:ServiceOptionsCharges>
<ship:CurrencyCode>USD</ship:CurrencyCode>
<ship:MonetaryValue>0.00</ship:MonetaryValue>
</ship:ServiceOptionsCharges>
<ship:ShippingLabel>
<ship:ImageFormat>
<ship:Code>GIF</ship:Code>
<ship:Description>GIF</ship:Description>
</ship:ImageFormat>
<ship:GraphicImage>R0lGODdheAUgA+cAAAAAAAEBAQIC
(Truncated)</ship:GraphicImage>
<ship:HTMLImage>PCFET0NUWVBFIEhUTUwgUFVCTElD
(Truncated)</ship:HTMLImage>
</ship:ShippingLabel>
</ship:PackageResults>
</ship:ShipmentResults>
</ship:ShipmentResponse>
</soapenv:Body>
</soapenv:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 383
Shipping Package Web Service Developer Guide November 1, 2016
LabelRecoveryRequest Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0"
xmlns:v11="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0"
xmlns:v12="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0">
<soapenv:Header>
<v1:UPSSecurity>
<v1:UsernameToken>
<v1:Username>Your User Id</v1:Username>
<v1:Password>Your Password</v1:Password>
</v1:UsernameToken>
<v1:ServiceAccessToken>
<v1:AccessLicenseNumber>Your Access License Number</v1:AccessLicenseNumber>
</v1:ServiceAccessToken>
</v1:UPSSecurity>
</soapenv:Header>
<soapenv:Body>
<v11:LabelRecoveryRequest>
<v11:LabelSpecification>
<v11:LabelImageFormatCode>GIF</v11:LabelImageFormatCode>
<v11:HTTPUserAgent>Mozilla/4.5</v11:HTTPUserAgent>
</v11:LabelSpecification>
<v11:Translate>
<v11:LanguageCode>eng</v11:LanguageCode>
<v11:DialectCode>GB</v11:DialectCode>
<v11:Code>01</v11:Code>
</v11:Translate>
<v11:TrackingNumber>Your Tracking Number</v11:TrackingNumber>
</v11:LabelRecoveryRequest>
</soapenv:Body>
</soapenv:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 384
Shipping Package Web Service Developer Guide November 1, 2016
LabelRecoveryResponse Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<lbrec:LabelRecoveryResponse
xmlns:lbrec="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0">
<common:Response xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0">
<common:ResponseStatus>
<common:Code>1</common:Code>
<common:Description>Success</common:Description>
</common:ResponseStatus>
</common:Response>
<lbrec:LabelResults>
<lbrec:TrackingNumber>1Z1107YY8567985294</lbrec:TrackingNumber>
<lbrec:LabelImage>
<lbrec:LabelImageFormat>
<lbrec:Code>gif</lbrec:Code>
</lbrec:LabelImageFormat>
<lbrec:GraphicImage>R0lGODdheAUgA+cAAAAAAAEBAQICAgMD
(Truncated)</lbrec:GraphicImage>
<lbrec:HTMLImage>PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy
(Truncated)</lbrec:HTMLImage>
<lbrec:PDF417>R0lGODdhLAG8AucAAAAAAAEBAQICAgMD
(Truncated)</lbrec:PDF417>
</lbrec:LabelImage>
<lbrec:Receipt>
<lbrec:HTMLImage>PGh0bWw+PGhlYWQ+PHRpdGxlPlJlY2V
(Truncated)</lbrec:HTMLImage>
</lbrec:Receipt>
</lbrec:LabelResults>
<lbrec:LabelResults>
<lbrec:TrackingNumber>1Z1107YY8586551109</lbrec:TrackingNumber>
<lbrec:LabelImage>
<lbrec:LabelImageFormat>
<lbrec:Code>gif</lbrec:Code>
</lbrec:LabelImageFormat>
<lbrec:GraphicImage>R0lGODdheAUgA+cAAAAAAAEBAQICAgMD
(Truncated)</lbrec:GraphicImage>
<lbrec:HTMLImage>PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy
(Truncated)</lbrec:HTMLImage>
<lbrec:PDF417>R0lGODdhLAG8AucAAAAAAAEBAQICAgMD
(Truncated)</lbrec:PDF417>
</lbrec:LabelImage>
<lbrec:Receipt>
<lbrec:HTMLImage>PGh0bWw+PGhlYWQ+PHRpdGxlPlJlY2V
(Truncated)</lbrec:HTMLImage>
</lbrec:Receipt>
</lbrec:LabelResults>
</lbrec:LabelRecoveryResponse>
</soapenv:Body>
</soapenv:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 385
Shipping Package Web Service Developer Guide November 1, 2016
VoidShipmentRequest Example
<envr:Envelope xmlns:auth="http://www.ups.com/schema/xpci/1.0/auth"
xmlns:envr="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:upss="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0"
xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<envr:Header>
<upss:UPSSecurity>
<upss:UsernameToken>
<upss:Username>Your Username</upss:Username>
<upss:Password>Your Password</upss:Password>
</upss:UsernameToken>
<upss:ServiceAccessToken>
<upss:AccessLicenseNumber>Your Access License Number</upss:AccessLicenseNumber>
</upss:ServiceAccessToken>
</upss:UPSSecurity>
</envr:Header>
<envr:Body>
<void:VoidShipmentRequest xmlns:void="http://www.ups.com/XMLSchema/XOLTWS/Void/v1.1">
<common:Request>
<common:TransactionReference>
<common:CustomerContext>Your Customer Context</common:CustomerContext>
</common:TransactionReference>
</common:Request>
<void:VoidShipment>
<void:ShipmentIdentificationNumber>Your Shipment Identification
Number</void:ShipmentIdentificationNumber>
</void:VoidShipment>
</void:VoidShipmentRequest>
</envr:Body>
</envr:Envelope>
VoidShipmentResponse Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<void:VoidShipmentResponse xmlns:void="http://www.ups.com/XMLSchema/XOLTWS/Void/v1.1">
<common:Response xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0">
<common:ResponseStatus>
<common:Code>1</common:Code>
<common:Description>Success</common:Description>
</common:ResponseStatus>
<common:TransactionReference>
<common:CustomerContext>Your Customer Context</common:CustomerContext>
</common:TransactionReference>
</common:Response>
<void:SummaryResult>
<void:Status>
<void:Code>1</void:Code>
<void:Description>Voided</void:Description>
</void:Status>
</void:SummaryResult>
</void:VoidShipmentResponse>
</soapenv:Body>
</soapenv:Envelope>
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 386
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 387
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 388
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 389
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 390
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 391
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 392
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 393
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 394
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 395
Appendices
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 396
Shipping Package Web Service Developer Guide November 1, 2016
Error Codes
If you get a < ShipmentResponse > in a SOAP Envelope’s Body part, it means the request is processed
successfully. Otherwise, a SOAP Fault will be returned in a SOAP Envelope’s Body part. In a good response, check
the ResponseStatusCode element. A “1” normally indicates a successful response.
When you get a SOAP FAULT, check the Errors and the sub-element ErrorDetail. The value of <Severity> can be
either Transient or Hard. When an error occurs there will also be an error code, and an error description in
PrimaryErrorCode element.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 397
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 398
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 399
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 400
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 401
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 402
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 403
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 404
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 405
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 406
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 407
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 408
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 409
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 410
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 411
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 412
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 413
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 414
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 415
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 416
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 417
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 418
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 419
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 420
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 421
Shipping Package Web Service Developer Guide November 1, 2016
9120500 Hard FreightDensityInfo container is required for Density Based Rating request.
9120501 Hard AdjustedHeight container is required if AdjustedHeightIndicator is requested.
9120502 Hard Missing or Invalid Value for AdjustedHeight
9120503 Hard Missing or Invalid UnitOfMeasurement for AdjustedHeight.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 422
Shipping Package Web Service Developer Guide November 1, 2016
9370906+
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 423
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 424
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 425
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 426
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 427
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 428
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 429
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 430
Shipping Package Web Service Developer Guide November 1, 2016
Shipment Level
1 9
Cash Check
Country 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
United Arab Emirates Yes No
Package Level
NOTE: No EU coutries currently support Package level COD.
9
0 8
Personal Check
Check, Cash Cashier’s Check
Country Cashier's Check Money Order
Money Order
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 431
Shipping Package Web Service Developer Guide November 1, 2016
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.
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
Afghanistan AF X
Aland Islands AX X
Albania AL X X
Algeria DZ X X
American Samoa AS
Andorra AD
Angola AO X
Anguilla AI
Antarctica AQ
Antigua and Barbuda AG X X
Argentina AR X X
Armenia AM X X
Aruba AW X X
Australia AU X X
Austria AT X X
Azerbaijan AZ X 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
Bermuda BM X X
Bhutan BT
Bolivia (Plurinational State of) BO X X
Bonaire, St. Eustatius, Saba BQ X X
Bosnia and Herzegovina BA X X
Botswana BW
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 432
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
Bouvet Island BV
Brazil BR X X
British Indian Ocean Territory IO
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
Cabo Verde CV
Cayman Islands KY X X
Central African Republic CF
Ceuta XC
Chad TD
Chile CL X X
China CN X X
Christmas Island CX
Cocos (Keeling) Islands CC
Colombia CO X X
Comoros KM
Congo CG
Congo, The Democratic Republic of CD X
Cook Islands CK
Costa Rica CR X X
Cote d' Ivoire (Ivory Coast) CI X
Croatia HR X X
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
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 433
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
El Salvador SV X X
England EN X
Equatorial Guinea GQ
Eritrea ER
Estonia EE X X
Ethiopia ET X X
Falken Islands (Malvinas) FK
Faroe Islands FO
Fiji FJ X X
Finland FI X X
France FR X X
French Guiana GF
French Polynesia PF
French Southern Territories TF
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
Grenada GD
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 X
Heard Island and McDonald Islands HM
Holland HO X
Holy See (See Vatican)
Honduras HN X X
Hong Kong HK X X
Hungary HU X X
Iceland IS X X
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 434
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
India IN X X
Indonesia ID X X
Iran (Islamic Republic of) IR
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
Korea (Democratic People's KP
Republic of)
Korea, South KR X X
Kosrae KO
Kuwait KW X X
Kyrgyzstan KG X
Lao People's Democratic Republic LA X X
(Laos)
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
Macau (also Macao) MO X X
Macedonia (FYROM) MK X X
Madagascar MG X X
Malawi MW X X
Malaysia MY X X
Maldives MV
Mali ML X X
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 435
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
Malta MT X X
Marshall Islands MH
Martinique MQ
Mauritania MR X X
Mauritius MU X X
Mayotte YT
Mexico MX X X
Micronesia (Federated States of) FM
Moldova (Republic of) MD X
Monaco MC X X
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
Northern Mariana Islands MP
Norway NO X X
Oman OM X X
Pakistan PK X X
Palau PW
Palestine, State of PS
Panama PA X X
Papua New Guinea PG
Paraguay PY X X
Peru PE X X
Philippines PH X X
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 436
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
Pitcairn PN
Poland PL X X
Ponape PO
Portugal PT X X
Puerto Rico PR X X
Qatar QA X X
Reunion RE X X
Romania RO X X
Russia (Russian Federation) RU X X
Rwanda RW X X
Saint Barthelemy BL
Saint Christopher SW X
Saint Croix (see Virgin Islands)
Saint John UV X
Saint Kitts and Nevis KN X X
Saint Lucia LC X X
Saint Maarten and St. Martin SX X X
Saint Thomas VL X
Saint Vincent and the Grenadines VC
Saipan SP
Samoa WS
San Marino SM
Sao Tome and Principe ST
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
Swaziland SZ
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 437
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
Sweden SE X X
Switzerland CH X X
Tahiti TA
Taiwan (Province of China) TW X X
Tajikistan TJ
Tanzania (United Republic of) TZ X X
Thailand TH X X
Timor-Leste TL
Tinian TI
Togo TG
Tonga TO
Tortola ZZ
Trinidad and Tobago TT X X
Truk TU
Tunisia TN X X
Turkey TR X X
Turkmenistan TM
Turks and Caicos Islands TC
Tuvalu TV
Uganda UG X
Ukraine UA X X
Union Island UI
United Arab Emirates AE X X
United Kingdom GB X X
United States US
Uruguay UY X X
Uzbekistan UZ X X
Vanuatu VU
Vatican City State VA X X
Venezuela(Bolvarian Republic of) VE X X
Vietnam (Viet Nam) VN X X
Virgin Islands, British VG
Virgin Islands, US VI X X
Wales WL X
Wallis and Futuna Islands WF
Yap YA
Yemen YE
Zambia ZM X X
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 438
Shipping Package Web Service Developer Guide November 1, 2016
Supported Supported
Destination Country Name Country Code
Forward Origin Return Origin
Zimbabwe ZW X
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 439
Shipping Package Web Service Developer Guide November 1, 2016
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.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 440
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 441
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 442
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 443
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 444
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 445
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 446
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 447
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 448
Shipping Package Web Service Developer Guide November 1, 2016
• 1: License Code
• 2: License Description
• 3: Report: Export License Nbr / CFR Citation /Authorization Symbol / KPC#
• 4: ECCN
• 5: Allowed MOT Codes
Code Description Report ECCN Export MOT
C30 Licenses issued by BIS authorizing an export, re- Report Mandatory IW, OS, All
export, or other regulated activity. The term the OI, TL
‘license’ does not include authority represented by License
a ‘License Exception’. EAR99 may be reported as Number.
an ECCN.
C31 Special Comprehensive License (SCL) Report Mandatory IW, OS, All
the OI, TL
Part 752.
License
EAR99 may be reported as an ECCN. Number.
C32 No License Required (NLR) Part 758 Report Mandatory IW, OS, All except
‘NLR’. OI, TL ‘70’ (Fixed
Those items which are covered by entries on the
Transport)
Commerce Control List that have a reason for
control other than or in addition to Anti-Terrorism
(AT).
For items under 600 series ECCNs with a .y
paragraph, use C60 (DY6).
EAR99 may be reported as an ECCN.
C33 No License Required (NLR) Part 758 Report Allowed All All
‘NLR’. except
All other NLR items filed under the ‘NLR’
UG, FS,
provisions of the EAR Part 758 that are not covered
FI
by C32. Use C33 and report the ECCN if the
commodity is controlled ONLY for Anti-Terrorism
(AT).
For items under 600 series ECCNs with a .y
paragraph, use C60 (DY6).
EAR99 may be reported as an ECCN.
For Census purposes, use C33 for shipments
between the U.S. and Puerto Rico and from the
U.S. to the U.S. Virgin Islands.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 449
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 450
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 451
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 452
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 453
Shipping Package Web Service Developer Guide November 1, 2016
Reference: 3E002
www.access.gpo.gov/bis/ear/pdf/740spir.pdf
5D001
6D003
9D003
1E001
1E002
2D001
2D002
2E001
2E002
2E003
3D001
3D002
3D003
3D004
3E001
3E003
4D002
5E001
6D001
6D002
6E001
6E002
6E003
8D001
8D002
8E001
8E002
9D018
9E018
4D001
4E001
0E018
2D018
2E018
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 454
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 455
Shipping Package Web Service Developer Guide November 1, 2016
C49 Trans-Alaska Pipeline Authorization Act (TAPS) Report Mandatory OI, OS, ‘70’ (Fixed
Part 754.2 ‘TAPS’. IW Transport)
Permits the export of Alaskan North Slope crude
oil.
Items under 600 series ECCNs are not eligible
under this license type.
EAR99 may be reported as an ECCN.
C50 Encryption Commodities and Software (ENC) Part Report Mandatory CR, GP, All except
740.17 ‘ENC’. IS, TE, ‘70’ (Fixed
Must be one of
TL, MS, Transport)
Permits the export and re-export of any key length the following:
GS, IP,
encryption commodities and software after review;
5A002 IR, TP,
permits the export and re-export of any key length
5B002 OI, OS,
encryption to U.S. subsidiaries without review.
IW
EAR99 may NOT be reported as an ECCN. 5D002
5E002
C51 License Exception Agricultural Commodities (AGR) Report Mandatory CH, OI, All except
Part 740.18 License OS, IW ‘20’, ‘21’
Number. (Rail), ‘30’,
Authorizes exports and certain re-exports of
‘31’
agricultural commodities to Cuba.
(Truck),
Items under 600 series ECCNs are not eligible ‘70’ (Fixed
under this license type. Transport)
EAR99 may be reported as an ECCN.
C53 Computers (APP) Part 740.7 Report Mandatory CR, GP, All except
‘APP’. IS, TE, ‘70’ (Fixed
Adjusted Peak Performance (APP) replaces Must be one of
TL, MS, Transport)
Composite Theoretical Performance (CTP) the following:
GS, IP,
EAR99 may NOT be reported as an ECCN. 4A003 IR, TP,
4D001 OI, OS,
IW
4E001
C54 Short Supply (Western Red Cedar – WRC) Part Report Mandatory All All except
754.4 ‘70’ (Fixed
‘SS- Must be
Transport)
EAR99 may NOT be reported as an ECCN. WRC’
1C988
C55 Short Supply (Crude Oil Samples – SAMPLE) Part Report Mandatory All All
754.2
‘SS- Must be
EAR99 may NOT be reported as an ECCN. SAMPLE’
1C981
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 456
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 457
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 458
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 459
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 460
Shipping Package Web Service Developer Guide November 1, 2016
License Types
Section I
License Description
Commerce License Usually articles with dual use, Military or Civilian.
1 Letter + 6 Digits Example: D123456
Note: Must have an ECCN.
Drug Enforcement Agency (DEA) Exportation of controlled substances and chemicals.
5 Digits Example: 12345
or
2 Letters + 7 Digits Examples: RA1234567 or PB7654321
Note: Usually starts with R or P.
State Department License (SDL) DDTC enforces the laws and regulations for defense articles, defense
services and related technology such as weapons or manuals for fighter jets.
The commodities are usually military related articles.
9 Digits, but must start with 05 Example: 051234567
Note: Could have “DOS” in front/behind the digits and/or an expiration date.
License Exemptions
Section II
Exempt from requiring a license, but AES Filing is required and the exemption must be stated on the provided
documents.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 461
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 462
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 463
Shipping Package Web Service Developer Guide November 1, 2016
District Code
ABERDEEN SD1
ADMIRALTY AD
AP LEI CHAU SD2
CAUSEWAY BAY CB
CENTRAL CD
CHA KWO LING KT1
CHAI WAN CW1
CHAK LAP KOK CLK1
CHEUNG CHAU ISL1
CHEUNG SHA WAN CSW
CHOI HUNG CH
CHUNG HOM KOK SD3
DAIMOND HILL DH
DEEP WATER BAY SD4
DISCOVERY BAY ISL2
FANLING FL
FORTRESS HILL NP1
FOTAN ST1
HAPPY VALLEY HV
HO MAN TIN HMT
HUNGHOM HH
JORDAN JD
KAM TIN NT1
KENNEDY TOWN WD1
KOWLOON BAY KLB
KOWLOON CITY KLC
KOWLOON TONG KLT
KWAI CHUNG KC1
KWAI FONG KC2
KWAI HING KC3
KWUN TONG KT2
LAI CHI KOK LCK1
LAI KING LCK2
LAM TIN LT3
LAMMA ISLAND ISL3
LANTAU ISLAND ISL4
LOK FU LF1
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 464
Shipping Package Web Service Developer Guide November 1, 2016
District Code
MA ON SHAN ST2
MEI FOO LCK3
MIDDLE BAY SD5
MID-LEVEL ML1
MONGKOK MK1
MOUNT DAVIS WD2
NGAU TAU KOK NTK
NORTH POINT NP2
PING CHAU ISL5
POK FU LAM SD6
PRINCE EDWARD MK2
QUARRY BAY QB
REPULSE BAY SD7
SAI KUNG SK
SAI WAN WD3
SAI WAN HO SWH
SAI YING PUN WD4
SAN PO KONG SPK
SHA TAU KOK SS1
SHAM SHUI PO SSP
SHAM TSENG NT2
SHATIN ST3
SHAU KEI WAN SKW
SHEK KIP MEI SKM
SHEK KONG NT4
SHEK O SD8
SHEK TONG TSUI WD5
SHEUNG SHUI SS2
SHEUNG WAN SW
SHUN LEE SL
SIU LEK YUEN ST4
SIU SAI WAN CW2
SOUTH BAY SD9
SOUTHERN DISTRICT SD10
STANLEY SD11
TAI HANG ML2
TAI KOK TSUI TKT
TAI LAM CHUNG NT5
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 465
Shipping Package Web Service Developer Guide November 1, 2016
District Code
TAI PO TP
TAI TAM SD12
TAI WAI ST5
TAP SHEK KOK NT6
THE PEAK ML3
TIN HAU NP3
TIN SHUI WAI NT7
TIN WAN SD13
TO KWA WAN TKW
TSEUNG KWAN O TKO
TSIM SHA TSUI TST1
TSIM SHA TSUI EAST TST2
TSING LUNG TAU NT8
TSING YI TY
TSUEN WAN TW
TSZ WAN SHAN TWS
TUEN MUN NT9
TUNG CHUNG CLK2
WAH FU SD14
WANCHAI WC
WANG TAU HOM LF2
WESTERN DISTRICT WD6
WONG CHUK HANG SD15
WONG TAI SIN WTS
YAU MA TEI YMT
YAU TONG KT3
YUEN LONG NT10
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 466
Shipping Package Web Service Developer Guide November 1, 2016
Criteria Meaning
A The good is \"wholly obtained or produced entirely\" in the territory of one or more of the
NAFTA countries as referenced in Article 415.
Note: The purchase of a good in the territory does not necessarily render it\" wholly obtained or
produced.\" If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article
401(a) and 415)
B The good is produced entirely in the territory of one or more of the NAFTA countries and satisfies the
specific rule of origin, set out in Annex 401 that applies to its tariff classification. The rule may include a
tariff classification change, regional value-content requirement, or a combination there-of.
The good must also satisfy all other applicable requirements of Chapter Four. If the good is an
agricultural good, see also criterionF and Annex 703.2. (Reference: Article 401(b))
C The good is produced entirely in the territory of one or more of the NAFTA countries exclusively from
originating materials. Under this criterion, one or more of the materials may not fall within the definition
of \"wholly produced or obtained,\" as set out in Article 415.
All materials used in the production of the good must qualify as \"originating\" by meeting the rules of
Article 401(a) through (d). If the good is an agricultural good, see also criterion F and Annex703.2.
Reference: Article 401(c).
D Goods are produced in the territory of one or more of the NAFTA countries but do not meet the
applicable rule of origin, set out in is an agricultural good, see also criterion F and
Annex703.2.
Reference: Article 401(c). Annex 401, because certain non-originating materials do not undergo the
required change in tariff classification. The goods do nonetheless meet the regional value-content
requirement specified in Article 401 (d). This criterion is limited to the following two circumstances:
1. The good was imported into the territory of a NAFTA country in an unassembled or disassembled
form but was classified as an assembled good, pursuant to H.S. General Rule of Interpretation 2
(a). or (2).
2. The good incorporated one or more non- originating materials, provided for as parts under the
H.S., which could not undergo a change in tariff classification because the originating materials,
provided for as parts under the H.S., which could not undergo a change in tariff classification
because the heading provided for both the good and its parts and was not further subdivided into
subheadings, or the subheading provided for both the good and its parts and was not further
subdivided.
Note: This criterion does not apply to Chapters 61 through 63 of the H.S. (Reference: Article 401(d))
E Certain automatic data processing goods and their parts, specified in Annex308.1,
that do not originate in the territory are considered originating upon importation into the
territory of a NAFTA country from the territory of another NAFTA country when the
most-favored- nation tariff rate of the good conforms to the rate established in Annex 308.1
and is common to all NAFTA countries. (Reference: Annex 308.1)
F The good is an originating agricultural good under preference criterion A, B, or C above
and is not subject to a quantitative restriction in the importing NAFTA country
because it is a \"qualifying good\" as defined in Annex 703.2, Section A or B (please specify).
A good listed in Appendix 703.2B.7 is also exempt from quantitative restrictions and is
eligible for NAFTA preferential tariff treatment if it meets the definition of \"qualifying good\" in Section A
of Annex 703.2.
Note: This criterion does not apply to goods that wholly originate in Canada or the United States and
are imported into either country. Note: A tariff rate quota is not a quantitative restriction
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 467
Shipping Package Web Service Developer Guide November 1, 2016
Label Examples
The following figures are examples of UPS shipping and return labels.
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 468
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 469
Shipping Package Web Service Developer Guide November 1, 2016
Language Dialect
CES 97
DAN 97
DEU 97
ELL 97
ENG GB
ENG US
ENG CA
ENG CA
FIN 97
FRA 97
FRA CA
HEB 97
HUN 97
ITA 97
NLD 97
NLD 97
NOR 97
NOR 97
POL 97
POR 97
RON RO
RUS 97
SLK 97
SPA 97
SPA PR
SWE 97
TUR 97
VIE 97
ZHO TW
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 470
Shipping Package Web Service Developer Guide November 1, 2016
Values Description
AGR Established for agricultural commodities to permit exports and re-exports to Cuba that is not specifically
identified on the Commerce Control List (CCL) and is classified as EAR99.
APR Items for export or re-export not controlled for nuclear nonproliferation, missile technology or crime
control.
AVS U.S. aircraft or foreign sojourn into foreign country.
BAG Individual or exporting carrier's crew member's baggage.
CIV National security items for civil end users.
CTP Computer and parts of.
ENC Encrypted software and hardware - financial institutions.
GBS Export or re-export of Country Group B; controlled for national security reasons.
GFT Gift shipments; packages to individuals, religious, charitable or education institutions, donations of basic
needs.
GOV Government shipments, covers shipments for U.S. government agencies, personnel or of cooperating
foreign governments.
KMI Encrypted software and hardware.
LVS Value of shipments limited.
NLR No license required.
RPL Servicing and replacement of parts and equipment, one for one replacement parts service or
replacement of equipment.
TMP Temporary exports, export and re-export of items temporary in U.S., export and re-export of beta test
software.
TSPA Software or technology outside the scope of export regulations.
TSR Technology and software, national security reason, Country Group B.
TSU Technology and software shipments, of basic requirements, data supporting prospective or actual bids,
offers to sell, lease or supply an item. Software update for fixing programs, mass marketed software
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 471
Shipping Package Web Service Developer Guide November 1, 2016
Delivery QV Email
Package Endorsement
UOM Weight Type of Endorsement Confirmation Notification
Type Required ?
Allowed ? Allowed ?
Priority LBS 1 to 70 Required ASR, CSR,FSR, and RSR Allowed Allowed
First Class OZS 1 to 13 Required ASR, CSR,FSR, and RSR Allowed Allowed
Delivery QV Email
Package Endorsement
UOM Weight Type of Endorsement Confirmation Notification
Type Required ?
Allowed ? Allowed ?
Machineables OZS 6 to < 16 Required ASR, CSR,FSR, and RSR Allowed Allowed
Irregulars OZS 1 to < 16 Required ASR, CSR,FSR, and RSR Allowed Allowed
Parcel Post LBS 1 to 70 Required ASR, CSR,FSR, and RSR Allowed Allowed
BPM Parcel LBS 1 to 15 Required ASR, CSR,FSR, and RSR Allowed Allowed
Media Mail LBS 1 to 70 Required ASR, CSR,FSR, and RSR Allowed Allowed
Standard Flats OZS 1 to < 16 Prohibited LSR Prohibited Allowed
BPM Flats LBS 1 to 15 Prohibited LSR Prohibited Allowed
Delivery QV Email
Package Endorsement
UOM Weight Type of Endorsement Confirmation Notification
Type Required ?
Allowed ? Allowed ?
BPM, Flats, LBS 1 to 70 Prohibited LSR Prohibited Prohibited
Parcels
BPM, Flats, LBS 1 to 70 Prohibited LSR Prohibited Prohibited
Parcels
Table 2:
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 472
Shipping Package Web Service Developer Guide November 1, 2016
NOTE: Although a country may be prepared to accept Paperless Invoices, it is not guaranteed that all origins
are allowed to send Paperless Invoices to such a country.
Paperless Invoice countries are updated quarterly however guides are updated semi-annually in January and July.
Changes may occur between releases of the guide.
NOTE: Although a country may be prepared to accept Paperless NAFTA, it is not guaranteed that all origins
are allowed to send Paperless Invoices to such a country.
Mexico as an origin is not currently supported.
Origin Destination
US CA
US MX
CA US
CA PR
CA MX
PR CA
PR MX
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 473
Shipping Package Web Service Developer Guide November 1, 2016
Code Description
AJ Accounts Receivable Customer Account
AT Appropriation Number
BM Bill of Lading Number
9V Collect on Delivery (COD) Number
ON Dealer Order Number
DP Department Number
EI Employer’s ID Number
TJ Federal Taxpayer ID No.
3Q Food and Drug Administration (FDA) Product Code
IK Invoice Number
MK Manifest Key Number
MJ Model Number
PM Part Number
PC Production Code
PO Purchase Order Number
RQ Purchase Request Number
RZ Return Authorization Number
SA Salesperson Number
SE Serial Number
SY Social Security Number
ST Store Number
TN Transaction Reference Number
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 474
Shipping Package Web Service Developer Guide November 1, 2016
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 more 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
• Undefined Countries
• All Countries
United States
Shipments originating in United States
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 475
Shipping Package Web Service Developer Guide November 1, 2016
Canada
Description Category Shipping Rating
UPS 2nd Day Air Canadian domestic shipments 02 02
UPS Next Day Air Saver Canadian domestic shipments 13 13
UPS 3 Day Select Shipments originating in Canada 12 12
UPS Access Point Economy Canadian domestic shipments 70 70
UPS Expedited Shipments originating in Canada to CA, US and Mexico 08 08
UPS Express Shipments originating in Canada 01 01
UPS Express Early Shipments originating in Canada 14 14
UPS Express Saver Shipment originating in Canada (Domestic and Int'l) 65 65
UPS Standard Shipments originating in Canada to CA and US 48 11 11
UPS Worldwide Expedited International shipments originating in Canada 08 08
UPS Worldwide Express Shipments originating in Canada to the US and Mexico 07 07
UPS Worldwide Express Plus International shipments originating in Canada 54 54
European Union
Description Category Shipping Rating
UPS Access Point Economy Shipments within the European Union 70 70
UPS Expedited Shipments originating in the European Union 08 08
UPS Express Shipments originating in the European Union 07 07
UPS Standard Shipments originating in the European Union 11 11
UPS Worldwide Express Plus Shipments originating in the European Union 54 54
UPS Worldwide Saver Shipments originating in the European Union 65 65
Mexico
Description Category Shipping Rating
UPS Access Point Economy Mexican Domestic Shipments 70 70
UPS Expedited Shipments originating in Mexico 08 08
UPS Express Shipments originating in Mexico 07 07
UPS Express Plus Shipments originating in Mexico 54 54
UPS Standard Shipments originating in Mexico 11 11
UPS Worldwide Saver Shipments originating in Mexico 65 65
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 476
Shipping Package Web Service Developer Guide November 1, 2016
Poland
Description Category Shipping Rating
UPS Access Point Economy Polish Domestic Shipments 70 70
UPS Expedited International Shipments originating in Poland 08 08
UPS Express Shipments originating in Poland 07 07
UPS Express Plus Shipments originating in Poland 54 54
UPS Express Saver Shipments originating in Poland 65 65
UPS Standard Shipments originating in Poland 11 11
UPS Today Dedicated Courier Polish Domestic Shipments 83 83
UPS Today Express Polish Domestic Shipments 85 85
UPS Today Express Saver Polish Domestic Shipments 86 86
UPS Today Standard Polish Domestic Shipments 82 82
Puerto Rico
Shipments originating in Puerto Rico
Undefined countries
Use for all countries other than United States, Canada, European Union, Mexico, Poland, and Puerto Rico
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 477
Shipping Package Web Service Developer Guide November 1, 2016
All Countries
Shipments originating in any country
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 478
Shipping Package Web Service Developer Guide November 1, 2016
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 479
Shipping Package Web Service Developer Guide
© 2016 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary