shipping package webservices developers guide
TRANSCRIPT
Shipping Package – WebServices7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved.Confidential and Proprietary Page 1
Shipping PackageWeb Services
Developers Guide
July 9, 2012
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 2
NoticeIn all communications with UPS concerning this document, please refer to the document date located on thecover.CopyrightThe use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in anyform or by any means without the written permission of United Parcel Service is strictly prohibited.© Copyright 2012 United Parcel Service of America, Inc. All Rights Reserved.TrademarksSome of the UPS corporate applications use U.S. city, state, and postal code information obtained by UnitedParcel Service of America, Inc. under a non-exclusive license from the United States Postal Service.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 3
Table of Contents
1.1 Important Information ...............................................................................................................51.2 Welcome to the UPS API Developer's Guides..........................................................................61.2.1 Release features ........................................................................................................................6
1.2.2 How to Use this Guide .......................................................................................................111.3 Business Processes and Rules...................................................................................................111.4 Required Steps for Integrating Web Services ........................................................................121.5 Planning Your Applications for Web Services.......................................................................12
1.5.1 WebServices Applications .................................................................................................121.5.2 Licensing the UPS Developer API WebServices .............................................................14
1.5.2.1 Branding Requirements ...............................................................................................151.5.2.2 UPS Review of Applications ........................................................................................15
1.5.3 Developing Web Services Clients .....................................................................................151.5.4 Getting Technical Support ................................................................................................181.5.5 Keeping Up-to-Date ...........................................................................................................20
1.6 UPS Developer API Technologies for WebServices ..............................................................211.6.1 Extensible Markup Language (XML)..............................................................................211.6.2 Simple Object Access Protocol (SOAP) ...........................................................................221.6.3 Web Services Definition Language (WSDL) ...................................................................231.6.4 Securing Web Services ......................................................................................................251.6.5 Indicating Errors in Client Application Requests ..........................................................28
1.7 Understanding Shipping Web Services...................................................................................291.7.1 What Shipping Services Can Do.......................................................................................29
1.7.1.1 Shipments .....................................................................................................................291.7.1.2 Cancellations (Voids) ...................................................................................................291.7.1.3 Returns .........................................................................................................................30
1.7.2 How Shipping Services Work ...........................................................................................301.7.2.1 Two-Stage Shipments and Returns .............................................................................301.7.2.2 Single-Stage Shipments and Returns ..........................................................................311.7.2.3 Cancellations (Voids) ...................................................................................................31
1.8 The Shipping WebServices Reference ....................................................................................331.8.1 Shipping Web Service........................................................................................................33
1.8.1.1 Overview .......................................................................................................................331.8.1.2 Shipment Operation .....................................................................................................33
1.8.2 Shipping Web Services Schema ............................................................................................341.9 The Void Web Services Reference.........................................................................................254
1.9.1 Void Web Service .............................................................................................................2541.9.1.1 Overview .....................................................................................................................2541.9.1.2 Shipment Operation ...................................................................................................254
1.9.2 Void Web Services Schema .................................................................................................2551.10 Customer Integration Environment....................................................................................259
1.10.1 Negotiated Rates.............................................................................................................259
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 4
1.10.2 Testing and Deploying Applications.............................................................................2591.10.2.1 System Availability ...................................................................................................2591.10.2.2 Server Availability Check.........................................................................................259
1.10.3 UPS Product Exchange Service ........................................................................................2601.10.4 Production Access ..............................................................................................................2601.10.5 Label Verification for Contract Services .........................................................................2611.10.6 Other Shipping Tools.........................................................................................................262
1.10.6.1 Voiding Package Shipments ....................................................................................2621.10.6.2 System Availability ...................................................................................................262
Appendix A- Accessing Tech Support (US Site Example) ........................................................264Appendix B - Shipping WebServices Error Codes ....................................................................267Appendix C - Void Shipment Web Services Error Codes.........................................................285Appendix D – Common error codes for all webservices ...........................................................287Appendix E - Country Codes .......................................................................................................288Appendix F - Currency Codes .....................................................................................................295Appendix G - Service Codes.........................................................................................................302Appendix H - Reference Number Codes.....................................................................................304Appendix I- International Forms Preference Criteria ..............................................................305Appendix J- Hong Kong District Codes......................................................................................307Appendix K- Export License Exception Codes ..........................................................................310Appendix L- Sample Shipping and Return Labels ....................................................................311Appendix M- Shipping and Tracking Numbers for Testing.....................................................313Appendix N- Valid Language-Dialect combination for PreAlertNotification.........................314Appendix O – Valid Origin/Destination Combinations: for DC, DC-SR, and DC-ASRAccessorials....................................................................................................................................315Appendix P- Paperless Invoice Supported Countries................................................................316Appendix Q- Paperless NAFTA Supported Countries..............................................................317Appendix R- License exception code Possible values: Shipping API – Package.....................318Appendix S - Frequently Asked Questions: Shipping API – Package .....................................319
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 5
1.1 Important Information
UPS Developer APIs
Your development of an application using the UPS Web Service APIs are governed by the UPSTechnology Agreement or UPS Customer Technology Agreement you entered into with UPS. Thefollowing are key legal requirements from these agreements for the UPS Web Service APIs. Formore information on all requirements for the UPS Web Service APIs, please refer to the UPSTechnology Agreement or the Customer Technology Agreement.
Key Legal Requirements for UPS Developer APIs
Permitted Territories
This document can only be used in the countries listed in Exhibit C of the UPS TechnologyAgreement or UPS Customer Technology Agreement.
Use
The application must not be designed to allow distribution of information received throughthe UPS Web Service APIs to third parties, other than to persons having a bona fide interestin such information (e.g., the shipper, receiver or the third party payer).
Consent to Use of UPS Mark
All screens or forms generated by your application including information received throughthe UPS Web Service APIs must include (1) the UPS Mark positioned in reasonableproximity to the Information and of an appropriate size to readily identify the source of theInformation as UPS and (2) the following language at the bottom of every screen thatdisplays the UPS Mark: "UPS, the UPS brand mark, and the Color Brown are trademarks ofUnited Parcel Service of America, Inc. All Rights Reserved". Except as set forth in thepreceding sentence, you have no right to use the UPS Mark without the prior writtenapproval of UPS.
You shall not use the UPS Mark in association with any third party trademarks in a mannerthat might suggest co-branding or otherwise create potential confusion as to source orsponsorship of the application, or ownership of the UPS Mark.
The UPS Mark shall be used only as provided by UPS electronically or in hard copy form.The UPS Mark may not be altered in any manner, including proportions, colors, elements,etc., or animated, morphed or otherwise distorted in perspective or dimensional appearance.
The UPS Mark may not be combined with any other symbols, including words, logos,icons, graphics, photos, slogans, numbers or other design elements. A minimum amount ofempty space must surround the UPS Mark separating it from any other object, such as type,photography, borders, edges, etc. The required area of empty space around the UPS Markmust be 1/3x, where x equals the height of the UPS Mark.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 6
Copyright and Proprietary Notice
In your application and any POD Letters you prepare you must include a prominentreproduction of UPS’s copyright and proprietary notices in a form and format specified byUPS (See Copyright Section of this document).
Display of Information
The application must not display information concerning any other provider of shippingservices or such other shipping services on any page, whether comprising one or moreframes, displaying information your application receives from the UPS Web Service APIs.Your application must present all data within each field received through the UPS WebService APIs without amendment, deletion or modification of any type.
1.2 Welcome to the UPS API Developer's Guides
Welcome to the UPS API Developer's Guides. This guide provides the information you need tobegin using UPS Developer APIs.
UPS Developer APIs offer a fast and convenient way to access UPS service information using theInternet. With these Developer APIs, UPS lets you easily incorporate UPS technology in your ownapplications or your own web site. Your users—running your applications or visiting your website—can have up-to-the-minute access to UPS services.
1.2.1 Release features
Release New Features
Jul. 2011 The UPS Returns Exchange service combines delivery and collection into onemovement. It is a contractual service which combines delivery and pickupservice for single-piece, single-part shipments. The UPS Returns Pack andCollect Service allow customers to initiate next day collections where UPSprovides the return packaging.
UPS Customers that may find value in this new service include shippers in thehigh-value, high-tech, healthcare and retail business segments and are in needof improved reverse logistics processes because they are currently facing thechallenges where shipper have difficulty collecting the exchange package andcustomers do not have the correct packing materials.
Systems that support UPS Returns® Exchange will be capable ofproducing two distinct Additional Routing Instruction text fields:
1. For the base case of like-product for-like product exchange, theprinted text on the label will be:
EXCHANGE – LIKE ITEM ONLY (Default option)
2. For all exchanges that are not like-for-like, printed text on the labelwill be:
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 7
Release New Features
EXCHANGE – DRIVER INSTRUCTIONS INSIDE
Both services are available in Canada, China, Europe, United States, and anumber of other countries both for origin and destination services (please seeappendix or UPS Rate and Service Guide).
These services enable reverse logistics for shippers of high-value, high-tech,healthcare, and retail products. These services allow such shippers toeffectively manage the direct exchange of products (old for new) for productsthat have warranty/maintenance agreements with their customers. Followingthe linkage between the Exchange outbound and Exchange return shipmentsan Alternate Tracking number will be passed when the package is tracked.
Note: There are no guarantees for the service other than the service levelchosen for transportation movements.
Dry Ice Overview
Coolants and refrigerants which are used to keep temperature-sensitiveproducts cold or frozen while in transit. Dry ice (frozen carbon dioxide) andgel packs are the most common types of coolants / refrigerants used fortransport. This type of shipment must be marked as "Dry Ice" and its medicalpurpose noted.
Please refer to UPS.com to review the rules, for Preparing Dry Ice Shipmentsunder IATA or 49 CFR.
Thermal Format SupportShipping receipts for Print Return Label, Exchange Return, and ImportControl – Print Return Label shipments can be printed in thermal format.
Display of Rate TypeIntroduction of “RateChartIndicator” element in the request. Response willcontain “RateChart” element only when it was explicitly requested byproviding “RateChartIndicator” in the request. List of valid values of“RateChart” in response are: {1, 3, and 4}. Please refer details of these codesfor different regions in XPath column of these elements.
UPS Paperless Invoice
There is a new ‘override’ indicator that will remove a commercial invoice orNAFTA/CO from each shipment request for an enabled Paperless account
The UPS Paperless Invoice product will be expanded to include NorthAmerican Free Trade Agreement Certificate of Origin (NAFTA C/O) forinternational Small Package.
The Paperless Invoice and Paperless NAFTA C/O shipper will be allowed to
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 8
Release New Features
print copies of their electronic documents at the time of shipping.
Returns Flexible Access and Carbon NeutralUPS Returns Flexible Access will now have available Carbon Neutral featurefor the Shipping API and will be available for Returns Flexible Accessshipments within the United States and Puerto Rico
International Rate, Zone, and Service UpdatesRate, Zone, and Service changes for International include the followingupdates:
The following currency changes – Estonia from Kroon to Euros Cameroon from Franc to US Dollars Ghana from Pesewas to Ghana Cedi
New WorldWide Express Plus service WorldWide Express destinations will be expanded Expansion of 10/25kg boxes to new destinations in Japan Expand Domestic Services for Croatia and Asian markets Support Freight Collect billing option available for services to and
from Nigeria Support Free Domicile billing option offered to Qatar as a destination
only New postal code format of 4 numeric digits for Tunisia (TN): NNNN
(N=Numeric, numbers only, no spaces, no special characters,maximum and minimum length = 4; the postal code is required).
Support Freight Collect Billing Option for Tanzania (TZ) andMacedonia (MK) from Origin countries that support Freight Collect.
Jan. 2012 Global Expansion of Residential SurchargeCanada and US50 will be valid destinations for Residential Surcharge for allServices and all Bill Terms, regardless of the origin country.
Paperless Invoice Enhancements Allow for shipping systems to provide a Commercial Invoice
declaration statement of up to 550 characters Allow for Paperless Invoice to be turned off by shipment Ensure that paper Blanket NAFTA C/O “From” and “To” dates is not
greater than a 365 day range.o The system will now return an error if the date range is
greater than 365 days. For paper / paperless NAFTA C/O, disallow the value of “Unknown”
in the Producer field New Request tag <Exclude from form>, to exclude products from the
Invoice on the NAFTA form but it must include at least one productfrom invoice
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 9
Release New Features
Eliminate Account Based Rates (ABR) Setup To streamline your ability to view your negotiated rates through the
Shipping API, UPS has implemented a new process that no longerrequires you to wait for a UPS Sales Person to activate your account.
o Simply add a UPS Account to your myUPS ID AccountSummary as you previously would and your account will beactivated automatically for negotiated rates provided you havea contract with UPS.
o Remember to select the “Negotiated Rates Indicator” withinthe XML Request to have your negotiated rates returnedwithin the response.
UPS Developer Kit EnhancementsImprovements to the UPS Developer Kit, a collection of ApplicationProgramming Interfaces (APIs) that allow customers to integrate UPSfunctionality directly into their business systems and web sites.
Improved e-mail technical support – Response times for e-mailtechnical support have been reduced from 24 hours to 4 hours duringnormal business hours, Monday – Friday, 8:00 AM – 9:00 PM EST.E-mail technical support can be accessed via the UPS DeveloperResource Center
UPS Developer Kit Community – This Community allows developersusing the UPS Developer Kit APIs to access and share informationand can be accessed through the UPS Developer Resource Center
Expand sample code languages to include PHP and Perl in theDeveloper Kit
International Rate, Zone, and Service UpdatesRate, Zone, and Service changes for International include the followingupdates:
Add Zones for Argentina & Brazil Domestic Saver Service Expand Domestic Express Saver to Dominican Republic Expand Saturday Delivery accessorial to South Korea Expand Split Duty/VAT (SDV) Billing Option to China, New
Zealand, Nepal, Bangladesh, Sri Lanka, and Macau Remove Split Duty/VAT (SDV) Billing Option from Argentina,
Brazil, Chile, Dominican Republic, Mexico and Puerto Rico Remove Domestic Express Plus to and from Norway (NO) and
Finland (FI)
UPS Label DeliveryUpdate CSC phone numbers and toll call surcharges/rates for France andGermany to the Label receipt for Label Delivery
July 20121. New Air Freight support for shipping and rating using the Gemini APIs.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 10
Release New Features
2. Expansion to 14 new Americas countries.
Bahamas (BS), Bermuda (BM), Bolivia (BO), CaymanIslands (KY), Columbia (CO), Ecuador (EC), El Salvador(SV), Honduras (HN), Nicaragua (NI), Paraguay (PY), Peru(PE), Uruguay (UY), US Virgin Islands (VI), Venezuela (VE)
UPS Label Delivery: Labels and Receipts are supported in local language forthe above mentioned countries.
Lables and Receipts are supported in Local languages for Bulgaria, Estonia,Greece, Latvia, Lithuania
3. Improved email Technical Support hours and response time as follows:
a. 1st Level Email Tech Support -
Hours of operation for 1st Level Email Tech Support: 7:30amto 9pm EST Monday through Friday and 9am to 6pm ESTSaturday and Sunday. The desk is closed on UPS Holidays.
1st Level Email Tech Support email response time is plannedto be within 4 business hours of the initial request. Businesshours are defined as hours of operation of the tech supportdesks when service technicians are working.
b. Escalation Tech Support -
If you receive an email that your case log has been escalatedthe following hours apply
Hours of operation: 8am to 8pm EST Monday throughFriday. The desk is closed weekends and on UPS Holidays.
Escalation Support desk response time is planned to be within24 hours during normal hours of operation.
For more details please download and review the latest updatedDeveloper Guides.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 11
1.2.2 How to Use this Guide
If you are an experienced developer, you can begin developing applications quickly afterreviewing "Required Steps for Integrating."
If you would like a more step-by-step guide to developing and deploying the DeveloperAPIs, "Planning Your Applications" provides advice and describes options for developingand deploying applications and web sites that use UPS Developer APIs.
The "UPS Developer API Technologies" section explains key technologies on which theDeveloper APIs rely. That section also includes hints for using those technologies invarious software development environments.
If you would like to learn more about what the UPS API covered in this guide can do foryour applications, refer to the section on understanding the UPS API Services in this guide.
A complete technical reference to the Developer API covered in this guide is found in theAPI Reference section with details for the programming interfaces.
Additional material, including reference tables and lists, may be found in the appendices.
1.3 Business Processes and Rules
When registering for the Shipping API, a customer must either have an existing account numberor open a new account (instructions w/ screen shots noted in separate doc)
In order to add an account number to your MyUPS ID for the US and CA, you must have yourInvoice Level Control ID and a Plan level Control ID, UPS Account Number, Country, Amountdue and date of invoice for authentication.
You can void a shipment from the following origin countries: US, PR and CA, no restrictionson destinations
Date is not an element in the Shipment portions of the request… Date is an element in Pickupportion and can be a future date…effective Jan2010 this option will only be available throughthe Pickup API
Shipping API does not have a tag to support the Electronic Export Information (EEI) for theShipper's Export Declaration (SED); a customer may manually enter the EmployerIdentification Number (EIN) on the label.
Must have UPS 6 digit account numbers in MyUPS profile to be able to bill to that accountnumber.
Only the first AddressLine is printed for ShipFrom section on the label. Address Line 1, 2 and 3will be printed on the label for the ShipTo Address if provided in the request
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 12
1.4 Required Steps for Integrating Web Services
The required steps for integrating the UPS APIs are listed here for UPS XML Services.
UPS Web Services
Details for accessing UPS Developer API Web Services are defined within Web Services DefinitionLanguage (WSDL) files that are part of the UPS Developer Kit. Most modern developmentenvironments include support for automatically importing WSDL files and generating skeleton codeto access the services. Although the specific details depend on the particular developmentenvironment, the general procedure is as follows.1. Review the UPS Technology Agreement available at www.ups.com. This agreement requires thatyou follow certain procedures and practices in using UPS Developer API Web Services.2. Import the WSDL files into the development APIs of choice. Depending on the specific API, thisstep will result in skeleton code (such as Java or C# classes) for accessing the Web Services3. Add your functionality specific to your application and/or web site to the skeleton code.4. Test your application and/or web site using the designated UPS staging environment.5. If you are a UPS Ready developer, review your application with UPS.6. Deploy your application for your customers.7. Ensure the UPS Shipper Account number is added to the user’s profile. This can be doneat myups.com.
1.5 Planning Your Applications for Web Services
Planning is a key part of any successful development activity, and UPS WebServices applicationsare no exception. This section helps that planning by describing the important activities of any UPSWebServices application project. It provides an overview of the steps required to developapplications, and it describes key factors and choices necessary to deploy those applications.
1.5.1 WebServices Applications
Many different types of applications can take advantage of WebServices. Those applicationtypes include dedicated desktop applications, databases, web applications, and documents.The following figures illustrate some of the possibilities for applications using UPSDeveloper APIs. The only essential requirement for all of these applications is that theymust have access to the Internet.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 13
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 14
The UPS Developer APIs can be implemented withal of these types of applications andmany others. Virtually any software that needs instant, up-to date access to UPS servicescan take advantage of UPS Developer APIs.
1.5.2 Licensing the UPS Developer API WebServices
As part of the UPS Technology Agreement, users of the APIs have certain obligations thatare spelled out within the service agreement and its exhibits. Regardless of the manner inwhich the UPS Developer API WebServices are integrated into your specific e-commerceweb site or enterprise application, you must adhere to appropriate usage requirements.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 15
1.5.2.1 Branding Requirements
UPS should receive attribution and branding in all applications (including websites andsoftware applications) that use the Developer API Web Services. No End User, Third PartyDeveloper or Access User should be permitted to use the Developer API Web Serviceswithout providing branded recognition to UPS. Your use of the UPS logo can in no wayimply endorsement, sponsorship or certification of your e-commerce web site or enterpriseapplication by UPS. You are not allowed to use or alter the information returned by the UPSDeveloper API Web Service in a way that misrepresents the information or the functionalityof the web service.
1.5.2.2 UPS Review of Applications
If you distribute your application as software, please provide UPS access to, or a copy of,your application (and/or any updates). If you host your application for the benefit of others,please provide the Uniform Resource Locator (URL) for each location of your application.If you build your own application, UPS might request the URL in order to review yourapplication. UPS may review each application for compliance with the UPS TechnologyAgreement. See the Customer Integration Environment chapter for more information on thecertification process.
1.5.3 Developing Web Services Clients
The UPS Developer API Web Services rely on standard Web Services technology that issupported by a wide variety of software development platforms. Those platforms vary frompure open source environments such as Apache Axis (see Figure 5) to commercial productsfrom vendors such as Microsoft (Figure 6). Other development API that support WebServices development include BEA WebLogic, Sun’s NetBeans, and products from bothmajor systems vendors including IBM and Hewlett-Packard and smaller, specializedvendors such as Altova, Cape Clear, and Stylus Studio. Many nontraditional environmentssuch as Microsoft Office and Adobe Acrobat also include support for Web Services.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 16
Figure 5: The Eclipse Web Tools Platform (WTP) project provides support for Web Services in a Javadevelopment environment.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 17
Figure 6: Microsoft's Web Visual Developer 2009 can create client applications for Web Services.
With any particular development environment, key parts of the development process will besimilar or the same. Web Services development relies on a technology known as WebServices Definition Language (WSDL). This technology is a formal language based on theExtensible Markup Language (XML). WSDL precisely and completely describes WebServices, and standard Web Services documents themselves by “publishing” one or moreWSDL files. The UPS Developer APIs support three different Web Services, each of whichit documents in a separate WSDL file. These WSDL files are included in the UPSDeveloper Kits, and can be imported directly into a software development environment.Note, though, that the default behavior of some API is to retrieve WSDLs from a centralrepository accessible on the Internet, most often the Universal Description, Discovery andIntegration (UDDI) at http://uddi.xml.org/. UPS does not publish its WSDLs through theserepositories. As a result, the development tool should be directed to import the WSDLlocally rather than through a public directory.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 18
1.5.4 Getting Technical Support
Technical Support (U.S.)
There are four channels for obtaining support for the UPS Developer Kit (UDK) APIs all of whichare accessed through the UPS Developer Resource Center at the following link:
http://www.ups.com/content/us/en/resources/techsupport/developercenter.html?WT.svl=SubNav
Or by following these steps:
1. Go to www.UPS.com.2. Mouse over the Support tab and select Technology Support3. In the left navigation panel of the page select the link “Developer Resource Center”.
Email Technical Support – available in the right hand column on the UPS DeveloperResource Center web page. This is the support channel for technical support and questionsregarding API integration. It is accessed by logging in to myUPS and attaching your XMLRequest/Response files and any other pertinent information about your integration [pleasesee Appendix A for detailed instructions and screen shots]. UPS Email Technical Supportcan only support the XML Request/Response pair. They cannot consult customers anddevelopers on how to integrate the XML into their internal or purchased software.
UPS Developer Kit Community – available in the right hand column of the UPS DeveloperResource Center web page. This is a community forum for developers to answer oneanother’s questions and share information therefore the response times may be slower. Ifyou have an immediate need for technical support contact UPS Email Tech Support aboveand they will respond within 4 business hours (see hours below). The remainder of the sitecontains online versions of all API developer guides and FAQs.
UPS Developer Kit Knowledge Base- available in the right hand column of the UPSDeveloper Resource Center web page. This is a self-service support .pdf document that canbe opened or downloaded. It contains over 240 frequently asked questions about everymode and service supported by the UDK APIs. It’s also available in an online version atthe UPS Developer Kit Community.
General Question Phone Support (U.S. only) – available in the right hand column of theUPS Developer Resource Center web page. Phone support is the least comprehensivesupport mechanism for the developer. This channel of support addresses questions aboutthe user interface at ups.com and how to gain access to the APIs and navigate the AccessKey request process. They do not provide technical support for XML Request/Responseissues and questions. Those types of questions must go through Email Technical Support.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 19
Getting Started with Email Technical Support
1. Got to ups.com and log in to myUPS.2. Hover over the “Support” tab and select “Technology Support”.3. On the Technology Support page select the Developer Resource Center link from the left
navigation.4. On the Developer Resource Center page select the “Email UPS” link in the right hand column.5. Enter all relevant information including name, enter email address, select Support Category
“Technical Support”, and select Support Topic “Developer Resource” [which identifies UPSDeveloper Kit APIs tech support]. Click next.
6. Scroll down to the middle of the email form and complete the fields “Your Telephone”, “Stage ofDevelopment”, “Developer Resource” which is which API you are integrating, “Attach File” whereyou attach your XML Request/Response Pair, and any pertinent description of the issues in the“What is your question or comment?” field.
7. Select “Send Email” button.8. A response is provided that explains someone from UPS will contact you. Please base the response
time on the detailed information listed below about tech support hours of operation and responsetimes.
(For screen shots of this process please see Appendix A at the end of this guide.)
1st Level Email Technical Support Business Hours and Response Times:
a. Hours of operation for 1st Level Email Tech Support: 7:30am to 9pm EST Monday through Fridayand 9am to 6pm EST Saturday and Sunday. The desk is closed on UPS Holidays.
b. 1st Level Email Tech Support email response time is planned to be within 4 business hours of theinitial request. Business hours are defined as hours of operation of the tech support desks whenservice technicians are working.
This means if you submit an email tech support request after business hours the 4 hour responseclock will not begin until the following morning at 7:30am EST M-F and 9am EST Saturday andSunday (UPS Holidays excluded).
PLEASE NOTE:If you are sent an email from 1st Level Email Tech Support stating your case log # has beenescalated, the 24 hour planned response clock starts from the time you receive the email from 1st
Level Email Tech Support (provided the Escalation Support desk is open). If not, then the clockwill begin when the Escalation Support desk opens.
Escalation Support Business Hours and Response Times:
c. Hours of operation: 8am to 8pm EST Monday through Friday. The desk is closed weekends and onUPS Holidays.
d. Escalation Support desk response time is planned to be within 24 hours during normal hours ofoperation.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 20
This means if your case log is escalated at 8:30pm on Friday, you will not receive an emailresponse from the Escalation Support desk at the latest until Monday at 8pm (Saturdays, Sundays,and Holidays are excluded). Response times are from the time the case log was escalated plus 24hours which do NOT include the weekends or UPS holidays
There may be some scenarios when the tech support team is meeting planned response times but itappears as if it’s taking too long. Below is a brief example where the planned response time is metbut nothing happened over the weekend.
Example –Customer submits tech support email at 7am on Friday. The clock for 4 hour response will notbegin until 7:30am EST for the 1st level tech support team. They respond within 4 hours at11:30am EST that same Friday stating the case log has been escalated and providing the case log #.
The escalation desk receives the case log at 11:30am EST. They begin work on evaluating theproblem and have planned to either update the customer within 24 hours or solve the problemwithin 24 hours. Either way, the customer will hear from the escalation desk within 24 hours withsome type of disposition on their case log. The escalation desk clock begins when they receive acase log from 1st level tech support during business hours, M-F 8am to 8pm EST. In this case, theclock begins at 11:30am EST if the escalation desk does not have an answer by 8pm EST on Fridaythe desk has until 11:30am EST the following Monday to either provide a resolution or a statusupdate to the customer on the case log. The Escalation Desk continues work on the case log onMonday beginning at 8am EST. They receive resolution at 1030am EST Monday and send theresolution to the customer. The Escalation Desk has met their 24 hour planned response time.
Technical Support (Non-U.S.)
For Non-US countries supported by the UPS Developer Kit follow the instructions in Appendix A.However, to get to the UPS Developer Resource Center page please complete the following steps.
1. Log in to myUPS for the country from which you downloaded the developer guides.2. Select the Support tab and in the drop-down select Technology Support.3. Select from the left navigation the “UPS Developer Resource Center” link.4. Continue with email form as described above.
Please also note that email response times for non-US requests vary. Translations and escalationsmay delay the process. If a quicker response is required, please access the US web site directly andcomplete an email technical support form from the US web site.
1.5.5 Keeping Up-to-Date
As UPS adds new services and features, Developer APIs will evolve, offering more featuresand service benefits. Once you register to use UPS Developer APIs, UPS will notify you by
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 21
e-mail of updates and changes to the Developer APIs. You can return to the UPS Supportarea of ups.com for the latest updated information about UPS Developer APIs.
It is essential that an accurate e-mail address for your company be maintained.
In addition, UPS recommends that you complete the secondary contact informationto ensure that your organization receives the latest updates.
You should update your profile when changes or responsibilities for the UPSDeveloper APIs change within your company.
To change your profile information, go to UPS.com and log in using your MyUPS.comUser ID.
1.6 UPS Developer API Technologies for WebServices
Web Services are powerful technologies that let business applications in different enterprisescommunicate directly with each other. For example, a software application program that processesorders for a mail order retailer can use Web Services to communicate with software applications atUPS that automatically schedule the shipment for new orders.
Web Services are governed by standards bodies which include, but are not limited to, W3C andOASIS. They are not limited to particular vendors and are available to any software application.Applications created for one environment (such as Microsoft Windows) can seamlesslycommunicate with applications in a different environment (such as Linux) without worrying aboutincompatibility of the different environments.
Web Services are supported by a wide variety of software development environments, so virtuallyall software developers can easily add Web Services features to their applications.
In effect, Web Services create a World Wide Web, but for computer applications instead of people.With Web Services, communications between enterprises happens rapidly, efficiently, and reliably.
Two technologies make up the core of Web Services—the Extensible Markup Language (XML) andthe Simple Object Access Protocol (SOAP). A third technology, Web Services Definition Language(WSDL) uses XML and SOAP to define specific Web Services.
This section concludes by describing security and error reporting for Web Services.
1.6.1 Extensible Markup Language (XML)
The Extensible Markup Language (XML) is a standard governed by the World Wide WebConsortium, the governing body for web standards and guidelines. XML provides a way toidentify the structure of content within a document. Figure 1 shows how a simple XMLdocument could describe a book.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 22
As the figure illustrates, XML distinguishes different parts of a document with labelsknown as tags. Tags in the example include <book>, <title>, <author>, <firstname>, etc. Inthis example the publisher for the book is John Wiley and Sons.
A great deal of information on XML is available on the Internet. A good starting point is theWorld Wide Web Consortium’s main page on XML at http://www.w3.org/XML/.
1.6.2 Simple Object Access Protocol (SOAP)
While XML defines the information that Web Services exchange, the Simple Object AccessProtocol (SOAP) defines the methods that Web Services use to transfer those documents.The SOAP standard defines several different approaches for sending XML documents, butmost Web Services (including those from UPS) rely on a single approach. That method usesthe Hypertext Transfer Protocol (HTTP) to send a message from a Web Services client to aserver. The server replies in the HTTP response. Figure 2 shows an example of a SOAPheader portion of a web services message.
SOAP, like XML, is governed by the World Wide Web Consortium. More information canbe found on the Internet at the W3C’s XML Protocol Working Group’s page, located athttp://www.w3.org/standards/xml/
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 23
This security header block provides a mechanism for attaching security-related informationtargeted at a specific recipient in the form of a SOAP actor/role. UPSSecurity is a containerelement which provides the user access verification for the API Web Service.
Figure 2: A sample of the UPSSecurity header portion of a web services message which structures itscontent as an XML document.
1.6.3 Web Services Definition Language (WSDL)
XML and SOAP are general technologies used widely for many different purposes. Thetechnology that ties them specifically to Web Services is the Web Services DefinitionLanguage (WSDL). Enterprises that make Web Services available to other enterprisesdescribe those services using WSDL. In effect, WSDL acts a service contract: it definesexactly what services the enterprise offers and how clients should access those services.
WSDL documents are XML documents which conform to a specific structure. Figure 3shows a sample WSDL document. The current version of the specification for WSDL(version 1.1) is available as a draft submitted to the World Wide Web Consortium. It can befound on their web site at http://www.w3.org/TR/wsdl.
Although WSDL documents, like all XML documents, are ultimately textual information,they are not primarily intended for humans to read. Instead, WSDL documents are designedto be read by software applications and application development API. An application toolsuch as Microsoft’s Visual Studio can import a WSDL document and automaticallygenerate software classes that access the Web Services the WSDL defines. Developers thenadd these classes to their applications, giving the programs the ability to use Web Services.
Some WSDL documents are published in special directories such as the UniversalDescription, Discovery, and Integration (UDDI) registry on the Internet. UPS does not
<envr:Envelope xmlns:auth="http://www.ups.com/schema/xpci/1.0/auth"xmlns:upss="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0"xmlns:envr="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:wsf="http://www.ups.com/schema/wsf">
<envr:Header><upss:UPSSecurity><upss:UsernameToken><upss:Username></upss:Username><upss:Password></upss:Password></upss:UsernameToken><upss:ServiceAccessToken><upss:AccessLicenseNumber></upss:AccessLicenseNumber></upss:ServiceAccessToken></upss:UPSSecurity></env:Body>
</env:Envelope>
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 24
currently publish WSDL documents for UPS Developer APIs in such directories. Instead,UPS delivers the WSDL documents as part of the software development kit.
<?xml version="1.0" encoding="UTF-8" ?><wsdl:definitions name="Track” xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"xmlns:error="http://www.ups.com/schema/xpci/1.0/error"xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"xmlns:trk="http://www.ups.com/XMLSchema/XOLTWS/Track/v1.0"xmlns:tns="http://www.ups.com/XMLSchema/XOLTWS/Track/v1.0/local"targetNamespace="http://www.ups.com/XMLSchema/XOLTWS/Track/v1.0/local"><xsd:import namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"
schemaLocation="common.xsd" /><xsd:import namespace="http://www.ups.com/XMLSchema/XOLTWS/Error/v1.0"
schemaLocation="error2.xsd" /><xsd:import namespace="http://www.ups.com/XMLSchema/XOLTWS/Track/v1.0"
schemaLocation="track.xsd" /><wsdl:types /><wsdl:message name="TrackInput">
<wsdl:part name="Body" element="trk:TrackRequest" /></wsdl:message><wsdl:message name="TrackOutput">
<wsdl:part name="Body" element="trk:TrackResponse" /></wsdl:message><wsdl:message name="TrackError">
<wsdl:part name="TrackError" element="error:Errors" /></wsdl:message><wsdl:portType name="TrackPortType">
<wsdl:operation name="Track"><wsdl:input name="TrackRequest" message="tns:TrackInput" /><wsdl:output name="TrackResponse" message="tns:TrackOutput" />
<wsdl:fault name="TrackError" message="tns:TrackError" /></wsdl:operation>
</wsdl:portType><wsdl:binding name="TrackBinding" type="tns:TrackPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" /><wsdl:operation name="Track">
<soap:operation soapAction="http://www.wwwcie.ups.com/webservices/TrackBinding"style="document" /><wsdl:input name="TrackRequest">
<soap:body parts="Body" use="literal" /></wsdl:input><wsdl:output name="TrackResponse">
<soap:body parts="Body" use="literal" /></wsdl:output>
<wsdl:fault name="TrackError"><soap:fault name="TrackError" use="literal" />
</wsdl:fault></wsdl:operation>
</wsdl:binding>
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 25
Figure 3: WSDL documents are specialized XML documents that define Web Services. ExampleONLY.
1.6.4 Securing Web Services
Organizations can offer Web Services using the public Internet, so Web Services standardsprovide many options for securing those services. Security options can ensure that onlyauthorized parties are able to access Web Services, and they can protect confidentialinformation that may be exchanged as part of Web Services communications. Because thebreadth and depth of security options for Web Services are extensive, this subsection onlydescribes security features relevant to UPS Developer APIs.
The most basic security services protect confidential information from eavesdropping byother devices on a network. To provide that protection, the UPS Developer APIs rely on theSecure Sockets Layer 3 (SSL3) protocol. When two systems communicate using SSL, theprotocol creates a secure channel between them, and it encrypts all information that theyexchange using this channel. The SSL protocol that UPS Developer APIs use is the sameprotocol used to secure millions of on-line purchases on the Web.
Figure 4: SSL creates a secure channel across a network and protects confidentialcommunications using that channel.
<wsdl:service name="Track"><wsdl:port name="TrackPortTypePort" binding="tns:TrackBinding">
<soap:address location="https://www.wwwcie.ups.com/webservices/Track" /></wsdl:port>
</wsdl:service></wsdl:definitions>
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 26
SSL Certificate Changes and Renewals:
UPS has migrated from Unchained to Chained Digital Certificates to improve security for UPS servers.Chained Digital Certificates requires the use of SSL 3.0. Our migration from SSL 2.0 to 3.0 was completedbetween 6/15/2008 and 3/3/2009.
Renewal of UPS.com SSL Certificates are coordinated by UPS Security Services every two years.There is a concern that some UPS Developer Kit users who store UPS Certificates internally may haveissues when SSL Certificates are renewed. It is recommended that UPS Developer Kit users not store UPSCertificates internally; however if a customer finds this necessary due to specific needs within theircompany, they may need to add renewed certificates to the their trust store.
There are a number of ways one can add a certificate to the application. One way to obtain the propercertificate is by placing a UPS Developer Kit URL, https://onlinetools.ups.com/ups.app/webservices/Shipfor example, in a browser, connect to the URL, and double-click on the "lock" on the bottom right of thewindow (using Internet Explorer 7). After that the steps can be followed to install the certificate.
Also, in the event that the aforementioned solution does not work successfully for you we have beenprovided with the following certificate which should allow you to connect once it has been successfullyadded. You should be able to paste the following string into Notepad and save the file locally. Then, it willbe necessary to have the client application reference the file so that it will know that this is the trustedcertificate for making a connection to UPS.
This is the Verisign Class 3 Secure Server CA - G2 certificate that the client must trust:
-----BEGIN CERTIFICATE-----MIIGLDCCBZWgAwIBAgIQbk/6s8XmacTRZ8mSq+hYxDANBgkqhkiG9w0BAQUFADCBwTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTwwOgYDVQQLEzNDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIxOjA4BgNVBAsTMShjKSAxOTk4IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdvcmswHhcNMDkwMzI1MDAwMDAwWhcNMTkwMzI0MjM1OTU5WjCBtTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykwOTEvMC0GA1UEAxMmVmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDUVo9XOzcopkBj0pXVBXTatRlqltZxVy/iwDSMoJWzjOE3JPMu7UNFBY6J1/raSrX4Po1Ox/lJUEU3QJ90qqBRVWHxYISJpZ6AjS+wIapFgsTPtBR/RxUgKIKwaBLArlwH1/ZZzMtiVlxNSf8miKtUUTovStoOmOKJcrn892g8xB85essXgfMMrQ/cYWIbEAsEHikYcV5iy0PevjG6cQIZTiapUdqMZGkD3pz9ff17Ybz8hHyIXLTDe+1fK0YS8f0AAZqLW+mjBS6PLlve8xt4+GaRCMBeztWwNsrUqHugffkwer/43RlRKyC6/qfPoU6wZ/WAqiuDLtKOVImOHikLAgMBAAGjggKpMIICpTA0BggrBgEFBQcBAQQoMCYwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnZlcmlzaWduLmNvbTASBgNVHRMBAf8ECDAGAQH/AgEAMHAGA1UdIARpMGcwZQYLYIZIAYb4RQEHFwMwVjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL2NwczAqBggrBgEFBQcCAjAeGhxodHRwczovL3d3dy52ZXJpc2lnbi5jb20vcnBhMDQGA1UdHwQtMCswKaAnoCWGI2h0dHA6Ly9jcmwudmVyaXNpZ24uY29tL3BjYTMtZzIuY3JsMA4GA1UdDwEB/wQEAwIBBjBtBggrBgEFBQcBDARhMF+hXaBbMFkwVzBVFglpbWFnZS9naWYw
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 27
ITAfMAcGBSsOAwIaBBSP5dMahqyNjmvDz4Bq1EgYLHsZLjAlFiNodHRwOi8vbG9nby52ZXJpc2lnbi5jb20vdnNsb2dvLmdpZjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRQ2xhc3MzQ0EyMDQ4LTEtNTIwHQYDVR0OBBYEFKXvCxHOwEEDo0plkEiyHOBXLX1HMIHnBgNVHSMEgd8wgdyhgcekgcQwgcExCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrghB92f4Hz6getxB5Z/uniTTGMA0GCSqGSIb3DQEBBQUAA4GBAGN0Lz1Tqi+X7CYRZhr+8d5BJxnSf9jBHPniOFY6H5CuOcUgdav4bC1nHynCIdcUiGNLsJsnY5H48KMBJLb7j+M9AgtvVP7UzNvWhb98lR5eYhHB2QmcQrmy1KotmDojYMyimvFu6M+O0Ro8XhnF15s1sAIjJOUFuNWI4+D6ufRf-----END CERTIFICATE-----
Finally, for more information on installing the latest VeriSign CA Root Certificate, please click on the linksbelow:
https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=SO7154&actp=search&viewlocale=en_US&searchid=1308235124970https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR1553https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=SO4785&actp=LIST
In addition to protecting confidential information, the UPS Developer APIs also ensure that clientapplications are authorized to access UPS customer information. To gain that authorization, clientapplications must supply a username, password, and license key in all requests, as the example in Figure 5shows. UPS corporate applications verify this information before returning sensitive information for theclient applications
<?xml version="1.0" encoding="UTF-8" ?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"xmlns:upsa=”http://www.ups.com/XMLschema/XOLTWS/upssa/v1.0xmlns:common=”http://www.ups.com/XMLschema/XOLTWS/Common/v1.0xmlns:upss="http://www.ups.com/XMLschema/XOLTWS/UPSS/v1.0"xmlns:wsf=”http://www.ups.com/schema/wsf”>
<env:Header>
< upss:UPSSecurity><upss:UsernameToken >< upss:Username></upss:Username >< upss:Password></upss:Password >
</upss:UsernameToken ><upss:ServiceAccessToken ><upss:AccessLicenseNumber></upsss:AccessLicenseNumber>
</upss:ServiceAccessToken ></upss:UPSSecurity>
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 28
Figure 5: UPS Web Service requests must include a Username, Password, and AccessLicense.
Included in the WSDL files that document the specific Web Services are the appropriatemessages that client applications can use to pass the security credentials as SOAP headerelements. Development tools can import the WSDL document and automatically format therequest messages appropriately.
1.6.5 Indicating Errors in Client Application Requests
When an error occurs in a client application’s request, UPS Developer APIs report that errorusing the standard SOAP message format. That message format defines a specific messagetype, known as a fault, for error reporting. The essential components of a fault message arethe faultcode, faultstring, faultactor, and detail.
The faultcode element can contain one of four values to indicate the type of error that theUPS Developer APIs encountered.
VersionMismatch: The SOAP message that the client application sent used aversion of the SOAP protocol that the UPS Developer APIs could not understand.
MustUnderstand: The SOAP message that the client application sent included anelement in the header that the UPS Developer APIs could not understand.
Client: The request that the client application sent was not valid.
Server: Although the client application’s request did not have any errors itself, theUPS Developer APIs encountered an error when trying to process it.
The faultstring element contains a textual description of the error.
The faultactor element can indicate which system detected or generated the error. If present,it contains a Uniform Resource Identifier (URI) for that system.
The detail element contains more information about the error. It includes a specific errorcode and a textual description for that code.
Note: UPS encourages application developers
</env:Header><env:Body>
<!-- the content of the message goes here --></env:Body>
</env:Envelope>
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 29
to display the description of any unexpectederrors or warnings to the user. Thisinformation can be invaluable when diagnosingproblems, and will normally be required byUPS Technical Support.
It will be extremely helpful if the developer implementsand maintains logs of all transactions and activity,including errors or warnings.
1.7 Understanding Shipping Web Services
This section provides an overview of Shipping WebServices. It describes the services availablethrough the Shipping API, and it explains—at an overview level—how the APIs operate.
1.7.1 What Shipping Services Can Do
The Shipping API makes UPS shipping WebServices available to client applicationsthat communicate with UPS using the Internet. With this API, applications canprepare or schedule small package shipments, manage returns, or cancel previouslyscheduled shipments.
1.7.1.1 Shipments
Shipping Web Services give your applications many ways to manage the shipmentof small packages to their destination. UPS offers a range of delivery time framesfrom same day to standard ground transportation. Shipments may be within theUnited States or international, and they may range from letter documents to largepackages. (Note: for freight services, please refer to section on UPS Freight WebServices.)
UPS also supports many valued added services for shipments, including collect ondelivery (COD), declared value, delivery confirmation, and automatic notificationof delivery status.
For full details on all UPS shipping services, please consult the latest UPS Rate andService Guide available at http://www.ups.com. Note that these shipments aresometimes called forward shipments or outbound shipments to distinguish themfrom returns.
1.7.1.2 Cancellations (Voids)
If you need to cancel, or void, a previously scheduled shipment, the UPS ShippingServices let client applications automate that task.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 30
1.7.1.3 Returns
The Shipping API also supports UPS returns services. (Note: UPS can provide alabel for a return shipment even if it did not provide a label for the forwardshipment.) With return services, you can post a return label on your website,include a label in an outbound shipment, ask UPS to email or mail the return labelto your customer, or request a UPS driver to pick up the package at the yourcustomer’s location. As with forward shipments, details on return shipment servicescan be found in the latest UPS Rate and Service Guide at http://www.ups.com.
1.7.2 How Shipping Services Work
Because forward and return shipments share many of the same characteristics (they have anorigin, destination, service type, etc.), UPS APIs use the same procedure and message typesfor both services. Cancelling or voiding a shipment requires its own procedure and messagetypes.
1.7.2.1 Two-Stage Shipments and Returns
For forward and return services client applications may use a two-stage procedureto process a shipment. As Figure 1shows, the procedure begins when a clientapplication sends a ShipConfirmRequest to UPS. This request provides details ofthe shipment and the desired UPS services. UPS replies to this request with aShipConfirmResponse, which completes the first stage of the process.ShipConfirmResponses include estimated rates for the shipment. If the rates andservices are acceptable to the client, it may move to the second stage by sending aShipAcceptRequest to UPS. This message authorizes UPS to charge for theshipment and process the shipment data. UPS acknowledges the request byreturning a ShipAcceptResponse. For forward shipments and for preprinted returnlabels, this response includes a label for the shipment..
Figure 1. Forward and return shipments may use four separate messages to complete theshipment processing.
ClientApplication
ShipConfirmResponse
2
3
ShipAcceptRequest
ShipAcceptResponse4
ShipConfirmRequest1
ClientApplication
ShipConfirmResponse
2
3
ShipAcceptRequest
ShipAcceptResponse4
1
ShippingAPI
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 31
Clients that want to include preprinted labels as part of forward shipments mustperform this four-step procedure twice. One time processes the forward shipment,and the second time retrieves the return label.
1.7.2.2 Single-Stage Shipments and Returns
In addition to the two-stage process the previous subsection describes, clientapplications may process a forward or return shipment with a single request andresponse. With this process, clients will not have the opportunity to reviewestimated rates before accepting the shipment. As Figure 2 illustrates, clients invokethis process with a ShipmentRequest message, to which UPS replies with aShipmentResponse.
Figure 2. Clients may also process a shipment with a single request and response.
1.7.2.3 Cancellations (Voids)
To cancel, or void, a previously scheduled shipment, client applications send aVoidShipmentRequest to UPS. As Figure 3 illustrates, UPS replies to this requestwith a VoidShipmentResponse.
ClientApplication
Request1
2
Internet
Response
ClientApplication
Shipment1
2
Internet
t Shipment
ShippingAPI
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 32
Figure 3. VoidShipmentRequest messages let client applications cancel a previously scheduledshipment.
Applications may void forward shipments up to 28 days after initially processingthem. Return shipments must be voided within 24 hours.
ClientApplication
VoidShipmentRequest1
2
Internet
VoidShipmentResponse
ClientApplication
VoidShipmentRequest1
2
Internet
VoidShipmentResponse
ShippingAPI
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 33
1.8 The Shipping WebServices Reference
This section documents the details of the Shipping Web Services messages, including the requeststhat clients send to UPS and the responses that UPS returns.
1.8.1 Shipping Web Service
1.8.1.1 Overview
Service Operations: Shipment, ShipConfirm, ShipAccept
1.8.1.2 Shipment Operation
Type: Request-Response (client sends a request to UPS, and the UPS server replieswith a response)
SOAPAction Header: https://wwwcie.ups.com/webservices/Ship
Note: The Shipment Operation is a single pass way to create a shipment andgenerate all the accompanying documents and labels. With a single transactionwhich sends a ShipmentRequest and receives the ShipmentResponse, the shipmentis complete.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 34
1.8.2 Shipping Web Services Schema
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentRequest /ShipmentRequest Yes
One
Conta
iner
N/A
Request /ShipmentRequest/Request Yes
One
conta
iner
N/A
Request Container N/A
RequestOption /ShipmentRequest/Request/RequestOption Yes
One
str
ing
1..
.15
Optional Processing.nonvalidate = No addressvalidation. validate = Fail onfailed address validation.Defaults to validate. Note:Full address validation is notperformed. Therefore, it isthe responsibility of theShipping Tool User toensure the address enteredis correct to avoid anaddress correction fee.
Values blank, validate, ornonvalidate.
TransactionReference/ShipmentRequest/Request/TransactionReference N
o
One
Conta
iner
N/A
TransactionReferenceidentifies transactionsbetween client and server. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 35
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CustomerContext/ShipmentRequest/Request/TransactionReference/CustomerContext N
o
One
str
ing
1..
.512
The client usesCustomerContext tosynchronizerequest/response pairs. Theclient establishesCustomerContext, which cancontain any information youwant, as along as it is validXML; it is echoed back bythe server. N/A
Shipment /ShipmentRequest/Shipment Yes
One
conta
iner
N/A
Shipment Container
Refer to the Shipmentcontainer table for theelements under Shipmentcontainer.
Description /ShipmentRequest/Shipment/Description Cond
One
Str
ing
1..
.35
The Description of Goods forthe shipment. Applies tointernational shipments only.Provide a detaileddescription of items beingshipped for documents andnon-documents. Providespecific descriptions, suchas annual reports and 9 mmsteel screws.
Required if all of the listedconditions are true:ShipFrom and ShipTocountries are not thesame; The packagingtype is not UPS Letter;The ShipFrom and orShipTo countries are notin the European Union orthe ShipFrom and ShipTocountries are both in theEuropean Union and theshipments service type isnot UPS Standard.
ReturnService /ShipmentRequest/Shipment/ReturnService No
One
Conta
iner
N/A
Type of Return service.When this container exists,the shipment is a returnshipment. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 36
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipmentRequest/Shipment/ReturnService/Code Y
es*
One
str
ing
1 Return Service types:|‘2’ =UPS Print and Mail (PNM)|‘3’= UPS Return Service 1-Attempt (RS1) |‘5’ = UPSReturn Service 3-Attempt(RS3)|‘8’ = UPS ElectronicReturn Label (ERL)|‘9’ =UPS Print Return Label(PRL)|‘10’ = UPS ExchangePrint Return Label|‘11’ =UPS Pack & Collect Service1-Attempt Box 1|‘12’ = UPSPack & Collect Service 1-Attempt Box 2|‘13 = UPSPack & Collect Service 1-Attempt Box 3|‘14’ = UPSPack & Collect Service 1-Attempt Box 4|‘15’ = UPSPack & Collect Service 1-Attempt Box 5|‘16’ = UPSPack & Collect Service 3-Attempt Box 1|‘17’ = UPSPack & Collect Service 3-Attempt Box 2|‘18’ = UPSPack & Collect Service 3-Attempt Box 3|‘19’ = UPSPack & Collect Service 3-Attempt Box 4|‘20’ = UPSPack & Collect Service 3-Attempt Box 5 N/A
Description/ShipmentRequest/Shipment/ReturnService/Description N
o
One
Str
ing
1..
.35
Return Service description N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 37
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DocumentsOnlyIndicator/ShipmentRequest/Shipment/DocumentsOnlyIndicator N
o
One
str
ing
0 Indicates a shipmentcontains written, typed, orprinted communication of nocommercial value. IfDocumentsOnly is notspecified then it implies thatthe shipment contains nondocuments or documents ofcommercial value. Default isa shipment contains non-documents or documents ofcommercial value.
Empty Tag. Valid only forshipments with differentorigin and destinationcountries. The origincountry is not US, and thedestination country is notCA, PR or MX.
Shipper /ShipmentRequest/Shipment/Shipper Yes
One
Conta
iner
N/A Container tag for Shipper's
information N/A
Name /ShipmentRequest/Shipment/Shipper/Name Yes
One
str
ing
1..
.35
Shipper's company name.For forward Shipment 35characters are accepted, butonly 30 characters will beprinted on the label.
N/A
AttentionName/ShipmentRequest/Shipment/Shipper/AttentionName Cond
One
str
ing
1..
.35
Shipper's Attention Name.For forward Shipment 35characters are accepted, butonly 30 characters will beprinted on the label.
Required if destination isinternational. Required ifInvoice and CoInternational forms arerequested and theShipFrom address is notpresent.
TaxIdentificationNumber/ShipmentRequest/Shipment/Shipper/TaxIdentificationNumber C
ond
One
str
ing
1..
.15
Shipper's Tax IdentificationNumber
Conditionally required ifSED form (Internationalforms) is requested andship From is notmentioned.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 38
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Phone /ShipmentRequest/Shipment/Shipper/Phone Cond
One
Conta
iner
N/A Container tag for Phone
Number N/A
Number/ShipmentRequest/Shipment/Shipper/Phone/Number Y
es*
One
Str
ing
1..
.15
Shipper's phone Number.
Valid values are 0 - 9.IfShipper country is US,PR, CA, and VI, thelayout is area code, 7digit PhoneNumber orarea code, 7 digitPhoneNumber, 4 digitextension number; forother countries, the layoutis CountryCode, areacode, 7 digit number. Aphone number is requiredif destination isinternational.
Extension/ShipmentRequest/Shipment/Shipper/Phone/Extension N
o
One
Str
ing
1..
.4
Shipper's phone extension. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 39
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipperNumber/ShipmentRequest/Shipment/Shipper/ShipperNumber Y
es
One
str
ing
6
Shipper's six digit accountnumber.
Size must be sixalphanumeric characters.Must be associated withthe UserId specified in theAccessRequest XML Theaccount must be a validUPS account number thatis active. For US, PR andCA accounts, the accountmust be either a dailypickup account, anoccasional account, or acustomer B.I.N account.Drop Shipper accountsare valid for return serviceshipments only if theaccount is Trade Direct(TD) enabled. All otheraccounts must be either adaily pickup account, oran occasional account.
FaxNumber/ShipmentRequest/Shipment/Shipper/FaxNumber N
o
One
Str
ing
1..
.14
Shipper's Fax Number. N/A
EMailAddress/ShipmentRequest/Shipment/Shipper/EMailAddress N
o
One
str
ing
1..
.50
Shipper's email address. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 40
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address /ShipmentRequest/Shipment/Shipper/Address Yes
One
Conta
iner
N/A
Address tag Container.
The package should bereturned to this address ifthe package isundeliverable. Thisaddress appears on theupper left hand corner ofthe label. Note: If theShipFrom container is notpresent then this addresswill be used as theShipFrom address. If thisaddress is used as theShipFrom the shipmentwill be rated from thisorigin address.
AddressLine/ShipmentRequest/Shipment/Shipper/Address/AddressLine Y
es
Thre
e
str
ing
1..
.35
The Ship from streetaddress including name andnumber (when applicable).Up to three occurrences areallowed; only the first isprinted on the label. 35characters are accepted, butfor the first occurrence, only30 characters will be printedon the label for returnshipments, and for RFAShipments only 20characters are printed onLabel. Maximum Occurrence
should be three.
City/ShipmentRequest/Shipment/Shipper/Address/City Y
es
One
str
ing
1..
.30
The shipper's City. Forforward Shipment 30characters are accepted, butonly 15 characters will beprinted on the label. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 41
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
StateProvinceCode/ShipmentRequest/Shipment/Shipper/Address/StateProvinceCode C
ond
One
str
ing
2..
.5
Shipper's state or provincecode. For forward Shipment5 characters are accepted,but only 2 characters will beprinted on the label.
Required if shipper is inthe US or CA. If Shippercountry is US or CA, thenthe value must be a validUS State/ CanadianProvince code. If thecountry is Ireland, theStateProvinceCode willcontain the county.
PostalCode/ShipmentRequest/Shipment/Shipper/Address/PostalCode C
ond
One
str
ing
1..
.9
Shipper's postal code.
If Shipper country is USor Puerto Rico, 5 or 9digits are required. . Thecharacter - may be usedto separate the first fivedigits and the last fourdigits. If the Shippercountry is CA, then thepostal code is requiredand must be 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit. Forall other countries thepostal code is optionaland must be no morethan 9 alphanumericcharacters long.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 42
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CountryCode/ShipmentRequest/Shipment/Shipper/Address/CountryCode Y
es
One
str
ing
2
Shipper’s countrycode.Refer to Origin CountryInformation table for validorigin countries and theirUPS Billing codes.
Must be a valid UPSBilling country code. ForForward shipments itmust also be an allowableUPS origin country. ForReturn Shipment thecountry code must meetthe following conditions:1) At least two of thefollowing country codesare the same: ShipTo,ShipFrom, and Shipper.2)None of the followingcountry codes are thesame and are a memberof the EU: ShipTo,ShipFrom, and Shipper.3)If any of the two followingcountry codes: ShipTo/ShipFrom/ Shipper aremembers in EU otherwisecheck if the shipper hasThird Country Contract.
ShipTo /ShipmentRequest/Shipment/ShipTo Yes
One
Conta
iner
N/A
Ship To Container N/A
Name /ShipmentRequest/Shipment/ShipTo/Name Yes
One
str
ing
1..
.35
Consignee’s companyname. For RFA Shipment 35characters are accepted, butonly 25 characters will beprinted on the label. N/A
AttentionName/ShipmentRequest/Shipment/ShipTo/AttentionName C
ond
One
str
ing
1..
.35
Contact name at theconsignee’s location. ForRFA Shipment 35 charactersare accepted, but only 25characters will be printed onthe label.
Required for: UPS NextDay Air Early A.M.service, and when ShipTocountry is different thanShipFrom country.Required if InvoiceInternational form isrequested
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 43
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
TaxIdentificationNumber/ShipmentRequest/Shipment/ShipTo/TaxIdentificationNumber N
o
One
Str
ing
1..
.15
Consignee’s taxidentification number. N/A
Phone /ShipmentRequest/Shipment/ShipTo/Phone Cond
One
Conta
iner
N/A
Container for Phone Number N/A
Number/ShipmentRequest/Shipment/ShipTo/Phone/Number Y
es*
One
Str
ing
1..
.15
Consignee’s phone Number.
Required for: UPS NextDay Air Early A.M.service, and when ShipTo country is differentthan the ShipFromcountry. If ShipTo countryis US, PR, CA, and VI,the layout is area code, 7digit PhoneNumber orarea code, 7 digitPhoneNumber, 4 digitextension number;number; for othercountries, the layout isCountryCode, area code,7 digit number.
Extension/ShipmentRequest/Shipment/ShipTo/Phone/Extension N
o
One
Str
ing
1..
.4 Consignee’s phoneextension. N/A
FaxNumber/ShipmentRequest/Shipment/ShipTo/FaxNumber N
o
One
Str
ing
1..
.15
Consignee’s fax number.
If ShipTo country is US10 digits allowed,otherwise 1-15 digitsallowed.
EMailAddress/ShipmentRequest/Shipment/ShipTo/EMailAddress N
o
One
str
ing
1..
.50
Consignee’s email address. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 44
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address /ShipmentRequest/Shipment/ShipTo/Address Yes
One
Conta
iner
N/A
Address Container. N/A
AddressLine/ShipmentRequest/Shipment/ShipTo/Address/AddressLine Y
es
Thre
e
Str
ing
1..
.35
Address Line of theconsignee. For RFAShipment 35 characters areaccepted, but only 25characters will be printed onthe label from AddressLineelements.
Max Occurrence can be3.
City/ShipmentRequest/Shipment/ShipTo/Address/City Y
es
One
str
ing
1..
.30
Consignee’s city. For RFAShipment 30 characters areaccepted, but only 16characters will be printed onthe label. For Shipmentother than RFA 30characters are accepted, butonly 15 are accepted. N/A
StateProvinceCode/ShipmentRequest/Shipment/ShipTo/Address/StateProvinceCode C
ond
One
str
ing
2Consignee’s state orprovince code. Required forUS or Canada.
If destination is US or CA,then the value must be avalid US State/ CanadianProvince code. If thecountry is Ireland, theStateProvinceCode willcontain the county.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 45
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode/ShipmentRequest/Shipment/ShipTo/Address/PostalCode C
ond
One
str
ing
1..
.9
Consignee’s postal code.
If the ShipTo country isUS or Puerto Rico, 5 or 9digits are required. . Thecharacter - may be usedto separate the first fivedigits and the last fourdigits. If the ShipTocountry is CA, then thepostal code is requiredand must be 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit.Otherwise optional. Forall other countries thepostal code is optionaland must be no morethan 9 alphanumericcharacters long.
CountryCode/ShipmentRequest/Shipment/ShipTo/Address/CountryCode Y
es
One
str
ing
2
Consignee’s country code.
Must be a valid UPSBilling country code. ForReturn Shipment thecountry code must meetthe following conditions:1) At least two of thefollowing country codesare the same: ShipTo,ShipFrom, and Shipper.2) None of the followingcountry codes are thesame and are a memberof the EU: ShipTo,ShipFrom, and Shipper.3) If any of the twofollowing country codes:ShipTo/ ShipFrom/Shipper are members inEU otherwise check if theshipper has Third CountryContract.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 46
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ResidentialAddressIndicator/ShipmentRequest/Shipment/ShipTo/Address/ResidentialAddressIndicator N
o
One
Str
ing
0
This field is a flag to indicateif the receiver is a residentiallocation.True ifResidentialAddressIndicatortag exists; false otherwise Empty Tag.
LocationID/ShipmentRequest/Shipment/ShipTo/LocationID N
o
One
Str
ing
3..
.10
Location ID is a uniqueidentifier referring to aspecific shipping/receivinglocation.
Location ID must bealphanumeric characters.All letters must becapitalized.
ShipFrom /ShipmentRequest/Shipment/ShipFrom Cond
One
conta
iner
N/A
Ship From Container
Required for returnshipment. Required ifpickup location is differentfrom the shipper'saddress.
Name /ShipmentRequest/Shipment/ShipFrom/Name Yes*
One
str
ing
1..
.35
The ship from location’sname or company name. 35characters are accepted, butfor return Shipment only 30characters will be printed onthe label, and for RFAShipment only 20 charactersare printed on Label. Required if ShipFrom tag
is in the XML.
AttentionName/ShipmentRequest/Shipment/ShipFrom/AttentionName C
ond
One
str
ing
1..
.35
The ship from Attentionname. 35 characters areaccepted, but for returnShipment only 30 characterswill be printed on the label,and for RFA Shipment only20 characters are printed onLabel.
Required if ShipFrom tagis in the XML and Invoiceor CO International formsis requested. If notpresent, will default to theShipper Attention Name.
TaxIdentificationNumber/ShipmentRequest/Shipment/ShipFrom/TaxIdentificationNumber C
ond
One
str
ing
1..
.15 Company’s Tax Identification
Number at the pick uplocation
Conditionally required ifSED form (Internationalforms) is requested
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 47
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Phone /ShipmentRequest/Shipment/ShipFrom/Phone Cond
One
Conta
iner
N/A
Container for Phone Number
If ShipFrom country isUS, PR, CA, and VI, thelayout is area code, 7digit phone number orarea code, 7 digit phonenumber, 4 digit extensionnumber; for othercountries, the layout isCountryCode, area code,7 digit number. Requiredif ShipFrom tag is in theXML and Internationalforms is requested
Number/ShipmentRequest/Shipment/ShipFrom/Phone/Number Y
es*
One
Str
ing
1..
.15
The Ship from phoneNumber. N/A
Extension/ShipmentRequest/Shipment/ShipFrom/Phone/Extension N
o
One
Str
ing
1..
.4 The Ship from phoneextension. N/A
FaxNumber/ShipmentRequest/Shipment/ShipFrom/FaxNumber N
o
One
Str
ing
1..
.15
The Ship from fax number.
If Ship from country is US10 digits allowed,otherwise 1-15 digitsallowed.
Address/ShipmentRequest/Shipment/ShipFrom/Address Y
es
One
conta
iner
N/A Ship from Address
Container.
The package will beoriginating from or beingshipped from thisaddress. The shipmentwill be rated from thisorigin address to thedestination ship toaddress.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 48
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
AddressLine/ShipmentRequest/Shipment/ShipFrom/Address/AddressLine Y
es
Thre
e
str
ing
1..
.35
The Ship from streetaddress including name andnumber (when applicable).35 characters are accepted,but for return Shipment only30 characters will be printedon the label, and for RFAShipment only 20 charactersare printed on Label. Max Occurrence can be 3
City/ShipmentRequest/Shipment/ShipFrom/Address/City Y
es
One
str
ing
1..
.30
The Ship from city. 30characters are accepted, butfor return Shipment only 15characters will be printed onthe label, and for RFAShipment only 11 charactersare printed on Label.
Required if ShipFrom tagis in the XML.
StateProvinceCode/ShipmentRequest/Shipment/ShipFrom/Address/StateProvinceCode C
ond
One
str
ing
2Origin location's state orprovince code.
Required if ShipFrom tagis in the XML, andShipFrom/Country is US.If ShipFrom country is USor CA, then the valuemust be a valid US State/Canadian Province code.If the country is Ireland,the StateProvinceCodewill contain the county.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 49
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode/ShipmentRequest/Shipment/ShipFrom/Address/PostalCode C
ond
One
str
ing
1..
.9
The ship from location'spostal code. 9 charactersare accepted, but for RFAshipment only 5 charactersare printed on the label.
Required if ShipFrom tagis in the XML and theShipFrom country is theUS, Puerto Rico. For US,Puerto Rico must be valid5 or 9 digit postal code.The character - may beused to separate the firstfive digits and the lastfour digits. If theShipFrom country is CA,then the postal code mustbe 6 alphanumericcharacters whose formatis A#A#A# where A is anuppercase letter and # isa digit. For all othercountries the postal codeis optional and must beno more than 9alphanumeric characterslong.
CountryCode/ShipmentRequest/Shipment/ShipFrom/Address/CountryCode Y
es
One
str
ing
2
Origin location's countrycode.
Required if ShipFrom tagis in the XML. For ReturnShipment the countrycode must meet thefollowing conditions: 1) Atleast two of the followingcountry codes are thesame: ShipTo, ShipFrom,and Shipper.2) None ofthe following countrycodes are the same andare a member of the EU:ShipTo, ShipFrom, andShipper.3) If any of thetwo following countrycodes: ShipTo/ ShipFrom/Shipper are members inEU otherwise check if theshipper has Third CountryContract.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 50
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PaymentInformation/ShipmentRequest/Shipment/PaymentInformation C
ond
One
conta
iner
N/A
Payment informationcontainer for detailedshipment charges. The twoshipment charges that areavailable for specificationare Transportation chargesand Duties and Taxes.
It is required for non-Ground Freight Pricingshipments only.
ShipmentCharge/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge Y
es
Tw
o
Conta
iner
N/A
Shipment charge container
If Duty and Tax chargesare applicable to ashipment and a payer isnot specified, the defaultpayer of Duty and Taxcharges is Bill toReceiver.
Type/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/Type Y
es
One
str
ing
2
Values are01 = Transportation, 02 =Duties and Taxes
A shipment charge typeof 01 = Transportation isrequired. A shipmentcharge type of 02 =Duties and Taxes is notrequired; however, thischarge type is invalid forQualified DomesticShipments. A QualifiedDomestic Shipment is anyshipment in which one ofthe following applies: 1)The origin and destinationcountry is the same2) USto PR shipment3) PR toUS shipment4) The originand destination countryare both European UnionCountries and theGoodsNotInFreeCirculation indicator is notpresent5) The origin anddestination IATA code isthe same
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 51
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BillShipper/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper N
o
One
Conta
iner
N/A
Container for the BillShipperbilling option. The twopayment methods that areavailable for the Bill Shipperbilling option are accountnumber or credit card.
This element or its siblingelement, BillReceiver,BillThirdParty orConsigneeBilledIndicator,must be present but nomore than one can bepresent.
AccountNumber
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/AccountNumber C
ond
One
str
ing
6
UPS account number
Must be the same UPSaccount number as theone provided inShipper/ShipperNumber.Either this element or thesibling elementCreditCard must beprovided, but both maynot be provided.
CreditCard/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard C
ond
One
Conta
iner
N/A Credit card information
container
Required if/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/AccountNumber is notpresent. Credit cardpayment is valid forshipments without returnservice only.
Type
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Type Y
es*
One
str
ing
2
Values are 01 = AmericanExpress, 03 = Discover, 04 =MasterCard, 05 = Optima,06 = VISA, 07 = Bravo, and08 = Diners Club
Valid values are: 01, 03,04 and 06. For Discovercard the ShipFromcountry has to be US
Number
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Number Y
es*
One
str
ing
9..
.16
Credit Card number N/A
ExpirationDate
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/ExpirationDate Y
es*
One
str
ing
6
Format is MMYYYY whereMM is the 2 digit month andYYYY is the 4 digit year.
Valid month values are01-12 and valid yearvalues are Present Year -(Present Year + 10 years)
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 52
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
SecurityCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/SecurityCode Y
es*
One
str
ing
3..
.4
Three or four digits that canbe found either on top ofcredit card number or on theback of credit card. Numberof digits varies for differenttype of credit card.
Valid values are 3 or 4digits. It is required toprovide the security codeif credit card informationis provided and when theShipFrom countries areother than the belowmentioned countries.Argentina BahamasCosta RicaDominican RepGuatemalaPanama Puerto RicoRussia
Address
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address C
ond
One
Conta
iner
N/A Container to hold the Credit
card Billing Address.
It is required to providebilling address if creditcard information isprovided and when theShipFrom country is theUS, PR, and CA.
AddressLine
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/AddressLine Y
es*
Thre
e
str
ing
1..
.35 Address Line 1 of the credit
card billing address. UsuallyStreet address information.
Max of three AddressLinecan be provided.
City
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/City Y
es*
One
str
ing
1..
.30
City of the credit card billingaddress N/A
StateProvinceCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/StateProvinceCode Y
es*
One
str
ing
2..
.5 State or province code of thecredit card billing address. N/A
PostalCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/PostalCode Y
es*
One
str
ing
1..
.9 Credit card billing addresseepostal code. N/A
CountryCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/CountryCode Y
es*
One
str
ing
2
Credit card billing addresscountry code.
Must be a valid UPSBilling country code. ForDiscover card it should beUS
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 53
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BillReceiver/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver C
ond
One
conta
iner
N/A Container for the
BillReceiver billing option.
This element or its siblingelement, BillShipper,BillThirdParty orConsignee Billed, mustbe present but no morethan one can be present.For a return shipment, BillReceiver is invalid forTransportation charges.
AccountNumber
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver/AccountNumber Y
es*
One
str
ing
6
The UPS account number.
The account must be avalid UPS accountnumber that is active. ForUS, PR and CA accounts,the account must be adaily pickup account, anoccasional account, acustomer B.I.N account,or a dropper shipperaccount. All otheraccounts must be either adaily pickup account, anoccasional account, adrop shipper account, ora non-shipping account
Address/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver/Address N
o
One
conta
iner
N/A
Container for additionalinformation for the billreceiver’s UPS accountsaddress. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 54
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver/Address/PostalCode C
ond
One
str
ing
0..
.9
The postal code for the UPSaccount's pickup address.The pickup postal code wasentered in the UPS systemwhen the account was set-up.
The postal code must bethe same as the UPSaccount pickup addresspostal code. Required forUnited States andCanadian UPS accountsand/or if the UPS accountpickup address has apostal code. If the UPSaccounts pickup countryis US or Puerto Rico, thepostal code is 5 or 9digits. The character -may be used to separatethe first five digits and thelast four digits. If the UPSaccounts pickup countryis CA, the postal code is 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit.
BillThirdParty/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty C
ond
One
conta
iner
N/A Container for the third party
billing option.
This element or its siblingelement, BillShipper,BillReceiver or ConsigneeBilled, must be presentbut no more than one canbe present.
AccountNumber
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/AccountNumber Y
es*
One
str
ing
6
The UPS account number ofthe third party shipper.
The account must be avalid UPS accountnumber that is active. ForUS, PR and CA accounts,the account must beeither a daily pickupaccount, an occasionalaccount, or a customerB.I.N account, or a dropshipper account. All otheraccounts must be either adaily pickup account, anoccasional account, adrop shipper account, ora non-shipping account.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 55
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/Address Y
es
One
conta
iner
N/A
Container for additionalinformation for the third partyUPS accounts address. N/A
PostalCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/Address/PostalCode C
ond
One
str
ing
0..
.9
The postal code for the UPSaccount's pickup address.The pickup postal code wasentered in the UPS systemwhen the account was set-up.
The postal code must bethe same as the UPSaccount pickup addresspostal code. Required forUnited States andCanadian UPS accountsand/or if the UPS accountpickup address has apostal code. If the UPSaccounts pickup countryis US or Puerto Rico, thepostal code is 5 or 9digits. The character -may be used to separatethe first five digits and thelast four digits. If the UPSaccounts pickup countryis CA, the postal code is 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit.
CountryCode
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/Address/CountryCode Y
es
One
str
ing
2
The country code for theUPS account's pickupaddress. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 56
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ConsigneeBilledIndicator
/ShipmentRequest/Shipment/PaymentInformation/ShipmentCharge/ConsigneeBilledIndicator C
ond
One
str
ing
0
Consignee Billing paymentoption indicator. Thepresence indicatesconsignee billing option isselected. The absenceindicates one of the otherpayment options is selected.
Empty Tag. This elementor its sibling element,BillShipper, BillReceiveror BillThirdParty, must bepresent but no more thanone can be present. Thisbilling option is valid for ashipment charge type ofTransportation only. Onlyapplies to US/PR andPR/US shipment originsand destination.
SplitDutyVATIndicator/ShipmentRequest/Shipment/PaymentInformation/SplitDutyVATIndicator N
o
One
Str
ing
0 Split Duty VAT Indicator.Thepresence indicates the payerspecified for TransportationCharges will paytransportation charges andany duties that apply to theshipment.The payerspecified for Duties andTaxes will pay the VAT(Value-Added Tax) only.
Empty Tag. The paymentmethod for Transportationcharges must be UPSaccount. The UPSaccount must be a dailypickup account or anoccasional account.
FRSPaymentInformation/ShipmentRequest/Shipment/FRSPaymentInformation C
ond
One
Conta
iner
N/A
Container to hold thePayment information for theGround Freight PricingShipments
Required for GroundFreight PricingShipments only
Type/ShipmentRequest/Shipment/FRSPaymentInformation/Type Y
es
One
Conta
ine
r N/A
Container to hold theGround Freight Pricingpayment type information
It is required if the requesthas Ground FreightPricing shipmentindicator
Code/ShipmentRequest/Shipment/FRSPaymentInformation/Type/Code Y
es
One
Str
ing
2
Valid codes:01=Prepaid02=FreightCollect03=PrepaidThirdParty
Description/ShipmentRequest/Shipment/FRSPaymentInformation/Type/Description N
o
One
Str
ing
50
Specifies the description forGround Freight Pricingpayment type
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 57
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
AccountNumber/ShipmentRequest/Shipment/FRSPaymentInformation/AccountNumber Y
es
One
Str
ing
6
The UPS account number.
If the Ground FreightPricing indicator ispresent in the request,This account numbermust be validated tocheck if it is GroundFreight Pricing enabled.
Address/ShipmentRequest/Shipment/FRSPaymentInformation/Address C
ond
One
Conta
iner
N/A
Container to hold theinformation for theFreightCollect andPrepaidThirdParty Address.
Note: The Address isrequired only when thebilling option is Freightcollect or ThirdParty.
PostalCode/ShipmentRequest/Shipment/FRSPaymentInformation/Address/PostalCode C
ond
One
Str
ing
0..
.9
The postal code for theGround Freight Pricingpayment informationaddress.
CountryCode/ShipmentRequest/Shipment/FRSPaymentInformation/Address/CountryCode Y
es
One
Str
ing
2 The country code for theGround Freight Pricingpayment informationaddress.
GoodsNotInFreeCirculationIndicator
/ShipmentRequest/Shipment/GoodsNotInFreeCirculationIndicator N
o
One
str
ing
0
Goods Not In FreeCirculation indicator.
Empty Tag. This indicatoris invalid for a packagetype of UPS Letter andDocumentsOnly.
ShipmentRatingOptions/ShipmentRequest/Shipment/ShipmentRatingOptions N
o
One
conta
iner
N/A ShipmentRatingOptions
container N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 58
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
NegotiatedRatesIndicator/ShipmentRequest/Shipment/ShipmentRatingOptions/NegotiatedRatesIndicator N
o
One
Str
ing
0
Negotiated Rates optionindicator. If the indicator ispresent and the Shipper isauthorized then NegotiatedRates should be returned inthe response.
Negotiated Rates are oftwo types Account BasedRates (ABR) and WebDiscount Rates.Negotiated Rates are onlyreturned for qualifiedShipper AccountNumbers. Eligibility isdetermined using thecombination of Useridand the ShipperÂ’sShipper Account Number.If the user is qualified,both Published rates andNegotiated rates arereturned to the user. If theUserid and ShipperAccount Number are notqualified for Negotiatedrates, a warning messageis returned that indicatesineligibility and only thePublished rates arereturned in the response.As per discount eligibilityof user, negotiated ratesin the response maycontain ABR or Webdiscount rates.
FRSShipmentIndicator/ShipmentRequest/Shipment/ShipmentRatingOptions/FRSShipmentIndicator N
o
One
Str
ing
0
Ground Freight PricingRates option indicator. If theGround Freight PricingShipment indicator isenabled and Shippernumber is authorized thenGround Freight Pricing ratesshould be returned in theresponse
The Shipper accountnumber must be qualifiedto receive Ground FreightPricing Shipment rates.Only the Shipper accountnumber taken from/ShipmentRequest/Shipment/FRSPaymentInformation/AccountNumber is usedwhen checkingqualification for GroundFreight Pricing rates.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 59
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
RateChartIndicator/ShipmentRequest/Shipment/ShipmentRatingOptions/RateChartIndicator N
o
1
Str
ing
MovementReferenceNumber/ShipmentRequest/Shipment/MovementReferenceNumber N
o
1
Str
ing Movement Reference
Number (MRN) informationcontainer
ReferenceNumber/ShipmentRequest/Shipment/ReferenceNumber N
o
2
conta
iner
N/A Reference Number
information container. N/A
BarCodeIndicator/ShipmentRequest/Shipment/ReferenceNumber/BarCodeIndicator N
o
One
str
ing
0
If the indicator is presentthen the reference numbersvalue will be bar coded onthe label.
Empty Tag. Allowed forshipment with returnservice only. Only oneshipment-level orpackage-level referencenumber can be bar codedper shipment. In order tobarcode a referencenumber, its value must beno longer than 14alphanumeric charactersor 24 numeric charactersand cannot containspaces.
Code/ShipmentRequest/Shipment/ReferenceNumber/Code No
One
str
ing
2 Shipment Reference numbertype code. The codespecifies the Referencename. Refer to theReference Number Codetable.
Valid if theorigin/destination pair isnot US/US or PR/PR2character alpha-numeric.
Value/ShipmentRequest/Shipment/ReferenceNumber/Value Y
es*
One
str
ing
1..
.35
Customer supplied referencenumber.
Valid if theorigin/destination pair isnot US/US or PR/PR
Service /ShipmentRequest/Shipment/Service Yes
One
conta
iner
N/A
UPS service type N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 60
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code /ShipmentRequest/Shipment/Service/Code Yes
One
Str
ing
2 Values are: 01 = Next DayAir, 02 = 2nd Day Air, 03 =Ground, 07 = Express, 08 =Expedited, 11 = UPSStandard, 12 = 3 Day Select,13 = Next Day Air Saver, 14= Next Day Air Early AM, 54= Express Plus, 59 = 2ndDay Air A.M., 65 = UPSSaver, 82 = UPS TodayStandard, 83 = UPS TodayDedicated Courier, 84 =UPS Today Intercity, 85 =UPS Today Express, 86 =UPS Today Express Saver.Note: Only service code 03is used for Ground FreightPricing shipments
The following Servicesare not available to returnshipment: 13 - Next DayAir Saver, 14 - Next DayAir Early AM, 59 - 2ndDay Air A.M., 82 = UPSToday Standard, 83 =UPS Today DedicatedCourier, 84 = UPS TodayIntercity, 85 = UPS TodayExpress, 86 = UPS TodayExpress Saver.
Description/ShipmentRequest/Shipment/Service/Description N
o
One
str
ing
1..
.35
Description of the servicecode. Examples are NextDay Air, Worldwide Express,and Ground. N/A
InvoiceLineTotal /ShipmentRequest/Shipment/InvoiceLineTotal Cond
One
Conta
iner
N/A Container to hold
InvoiceLineTotal Information.
Required for forwardshipments whose origin isthe US and destination isPuerto Rico or Canada.Not available for anyother shipments. FOROTHER DESTINATIONSthe InvoiceLineTotal inthe International FormsContainer must be used.
CurrencyCode/ShipmentRequest/Shipment/InvoiceLineTotal/CurrencyCode Y
es*
One
str
ing
3
Invoice Line Total currencytype.
MonetaryValue/ShipmentRequest/Shipment/InvoiceLineTotal/MonetaryValue Y
es*
One
str
ing
1..
.19
Invoice Line Total amountfor the entire shipment.
Valid values are from 1 to99999999
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 61
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentServiceOptions/ShipmentRequest/Shipment/ShipmentServiceOptions N
o
One
Conta
iner
N/A Container for Shipment
Service Option N/A
SaturdayDeliveryIndicator/ShipmentRequest/Shipment/ShipmentServiceOptions/SaturdayDeliveryIndicator N
o
One
Str
ing
0 Saturday delivery indicator.The presence indicatesSaturday delivery; theabsence indicates notSaturday delivery. Empty Tag. X X
COD/ShipmentRequest/Shipment/ShipmentServiceOptions/COD N
o
One
Conta
iner
N/A
COD container
Indicates COD isrequested. ShipmentCOD is only available forEU origin countries andfor shipper's account typeDaily Pickup and DropShipping. Not availableto shipment with returnservice.
CODFundsCode/ShipmentRequest/Shipment/ShipmentServiceOptions/COD/CODFundsCode Y
es*
One
Str
ing
1 Values are: 1 = cash; 9 =check, cashiers check ormoney order - no cashallowed. N/A
CODAmount/ShipmentRequest/Shipment/ShipmentServiceOptions/COD/CODAmount Y
es*
One
Conta
iner
N/A
COD Amount Container. N/A
CurrencyCode/ShipmentRequest/Shipment/ShipmentServiceOptions/COD/CODAmount/CurrencyCode Y
es*
One
str
ing
3
COD amount currency codetype. N/A
MonetaryValue/ShipmentRequest/Shipment/ShipmentServiceOptions/COD/CODAmount/MonetaryValue Y
es*
One
str
ing
1..
.8 COD Amount monetaryvalue.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 62
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Notification/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification N
o
One
Conta
iner
N/A
Container for the QuantumView Notification (QVN) isvalid for all shipmentsincluding Return service,Import Control and ReturnsFlexible Access. Valid returnservice types are: ERL, PRL,PNM, RS1, or RS3. N/A
NotificationCode/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/NotificationCode Y
es*
One
Str
ing
1 The type of notificationrequested. Valid Value: 2 -Return Notification or LabelCreation Notification 5 - QVIn-transit Notification 6 - QVShip Notification 7 - QVException Notification 8 -QV Delivery NotificationNote:QVN Exceptionnotification and returnnotification are notapplicable to GFP.
Return Notification orLabel CreationNotification is allowed forreturn shipments only.QV In-transit Notificationis allowed for returnshipments only. QV ShipNotification is allowed forforward movingshipments only
EMail/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail Y
es*
One
Conta
iner
N/A Container for Email
Information N/A
EMailAddress/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/EMailAddress Yes
toF
ive
One
Str
ing
1..
.50
Email address where thenotification is sent
Up to five emailaddresses are allowed foreach type of QuantumView TM shipmentnotification. Up to twoemail address for returnnotification.
UndeliverableEMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/UndeliverableEMailAddress N
o
One
Str
ing
1..
.50
The address where anundeliverable eMailmessage is sent if the eMailwith the notification isundeliverable.
There can be only oneUndeliverableEMailAddress for each type ofQuantum View ShipmentNotifications.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 63
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FromEMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/FromEMailAddress C
ond
One
Str
ing
1..
.50
The e-mail address specifiesthe Reply To E-mailaddress. The From field ofthe message headercontains [email protected]. Return Notification only.
FromName/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/FromName N
o
One
str
ing
1..
.35 The name the email will
appear to be from. Defaultsto the Shipper Name.
The FromName mustoccur only once for eachtype of Quantum ViewShipment Notifications.
Memo/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/Memo N
o
One
str
ing
1..
.150
User defined text that will beincluded in the eMail.
The Memo must occuronly once for each type ofQuantum View ShipmentNotifications.
Subject/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/Subject N
o
One
str
ing
1..
.75
The eMail's subject. Defaultsto text provided by UPS Return Notification only.
SubjectCode/ShipmentRequest/Shipment/ShipmentServiceOptions/Notification/EMail/SubjectCode N
o
One
str
ing
2 Specifies a reference codeand reference number todisplay in the subject of theNotification. The validsubject codes are: 01 -Shipment ReferenceNumber 1 02 - ShipmentReference Number 2 03 -package Reference Number1 04 - package ReferenceNumber 2 08 - SubjectText (Return Notificationonly) If a subject code is notprovided or provided thatrefers to a nonexistentreference number, thesubject will default toshipment IdentificationNumber
For return notification: Ifthe subject code tag isnot provided and thesubject text is provided,the subject of thenotification will be thesubject text. If the subjecttext is provided and thesubject code tag exists,then the subject codevalue must be 08. IfSubject code is 08,subject text must exist.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 64
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LabelDelivery/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery N
o
One
Conta
iner
N/A
Container for the LabelDelivery accessorial|Note:Currently Label deliveryaccessorial is not applicableto GFP Required forshipments with eitherElectronic Return LabelReturn Service orImportControl ElectronicLabelMethod type. If thiscontainer is present, eitherof the LabelLinksIndicator orEmail container should beprovided.
Valid for shipments with aElectronic Return LabelReturn Service.
X
EMail/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail N
o
One
conta
iner
N/A Container for the email
message. N/A
X
EMailAddress/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/EMailAddress Y
es*
One
str
ing
1..
.50 The destination eMail
address for the LabelDelivery. N/A
X
UndeliverableEMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/UndeliverableEMailAddress N
o
One
str
ing
1..
.50
The address where anundeliverable emailmessage is sent if the LabelDelivery email isundeliverable.
Defaults toFromEMailAddress.
X
FromEMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/FromEMailAddress Y
es*
One
str
ing
1..
.50
The e-mail address specifiesthe Reply To E-mailaddress. The From field ofthe message headercontains [email protected]. N/A X
FromName/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/FromName N
o
One
Str
ing
1..
.35 The name notification will
appear to be from. Defaultsto the Shipper Name N/A X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 65
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Memo/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/Memo N
o
One
str
ing
1..
.150
User defined text that will beincluded in the email. N/A X
Subject/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/Subject N
o
One
str
ing
1..
.75
The eMail's subject. Defaultsto the Label DeliveryNotification plus theshipment ID. Defaults to textprovided by UPS N/A X
SubjectCode/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/SubjectCode N
o
One
str
ing
2
Specifies a reference codeand reference number todisplay in the subject of theLabel Delivery notification.When the subject code isprovided, the subject willcontain the following: UPSLabel Delivery. Thereference code (thereference code will bemapped to thecorresponding ANSI value)Plus the reference number.
If the subject code tag isnot provided and thesubject text is provided,the subject of thenotification will be thesubject text. If the subjecttext is provided, and thesubject code tag exists,then the subject codevalue must be 08;IfSubject code is 08,subject text must exist. Ifa subject code is providedthat refers to anonexistent referencenumber, the subject willdefault to the shipmentidentification number. X
LabelLinksIndicator/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelDelivery/LabelLinksIndicator N
o
One
str
ing
0 Indicates the Label andReceipt URL's are to bereturned in the XMLresponse. Applicable forImportControl ElectronicLabels or for ReturnServiceElectronic Labels X
InternationalForms/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms N
o
One
Conta
iner
N/A International Forms
information
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 66
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FormType/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/FormType *Y
es
toS
ix
One
str
ing
2
Indicates the name of theInternational form requested.
Possible Values are: 01 -Invoice; 02 - SED03 -CO; 04 - NAFTA CO; 05- Partial Invoice;06 - Packinglist, 07 -Customer GeneratedForms. For shipment withreturn service, 01 or 05are the only valid values.Note: 01 and 05 aremutually exclusive and 05is only valid for returnshipments only. R
eq
Req
Req
Req
Req
UserCreatedForm/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/UserCreatedFor
m Yes*
1 Conta
iner
N/A
Data container forDocumentID(s).
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 67
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DocumentID/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/UserCreatedFor
m/DocumentID Yes
Unbounded
Str
ing
26
DocumentID represents adocument uploaded toForms History.
AdditionalDocumentIndicator
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/AdditionalDocumentIndicator N
o
One
str
ing
0
Presence of the indicatormeans user will supplyadditional document, suchas SED, NAFTA_CO or CO.
This indicator should beset when the shipperintends to utilize UPSpaperless invoicefunctionality AND theshipper has SELF-PREPARED otherInternational Forms (SED,CO, NAFTACO) toaccompany the shipment.It is evaluated only when:1. Account is paperlessenabled. 2. Movementrequires an invoice.3.Destination countryaccepts paperlessinvoice. 4. Invoice data issupplied by the client andthe data passesvalidation. O
pt
Opt
Opt
Opt
0
FormGroupIdName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/FormGroupIdName N
o
One
str
ing
50 Contains description text
which identifies the group ofInternational forms. Thiselement does not appear onthe forms. N
/A
N/A N/A
N/A
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 68
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
SEDFilingOption/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/SEDFilingOption C
ond
One
str
ing
2 Indicates the SED filingoption. If UPS files SED onshipper's behalf, there isadditional $10 charge to theshipper
Applicable for SED formand is required. Validvalues is: 01 - Shipperfiling SED N
/A
N/A
N/A
Req
N/A
Contacts/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts C
ond
One
Conta
iner
N/A
Holds the contactinformation of variousparties.
Applicable for SED formand NAFTA CO only.Required for NAFTA COand SED. Ultimateconsignee contactinformation is required forSED. Producer contactinformation is required forNAFTA CO N
/A
N/A
N/A
N/A N/A
ForwardAgent
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent N
o
One
Conta
iner
N/A
The forwarding agent is thecompany or person acting asagent in the trans-shippingof freight to the destinationcountry.
Applicable for SED formonly. N
/A
N/A
N/A
Cond
Req
Sec
5a
N/A
CompanyName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/CompanyName *Y
es
One
str
ing
1..
.35 Company Name or the
Individual name of theForwarding agent.
Applicable for SED formonly. N
/A N/A
N/A
Sec
Sec
Sec
5a
N/A
TaxIdentificationNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/TaxIdentificationNumber *Y
es
One
str
ing
1..
.15
Tax ID of the Forwardingagent.
Applicable for SED formonly. N
/A
N/A N/A
Sec
5a
N/A
Address
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address *Y
es
One
Conta
iner
N/A Address information of the
Forwarding agent.Applicable for SED formonly. N
/A
N/A
N/A Sec
5a
AddressLine
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of theForwarding agent.
Max Occurrence must be3 N
/A
N/A
N/A Sec
5a
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 69
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
City
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/City *Y
es
One
str
ing
1..
.30
City of the Forwarding agent.Applicable for SED formonly. N
/A
N/A
N/A Sec
5a
N/A
StateProvinceCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/StateProvinceCode C
ond
One
str
ing
1..
.5 State of the Forwardingagent.
Applicable for SED formonly. Required for certaincountries. N
/A
N/A
N/A
Sec
5a
N/A
Town
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/Town N
o
One
Str
ing
1..
.30
Town of the ForwardingAgent N
/A
N/A
N/A Sec
5a
N/A
PostalCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/PostalCode C
ond
One
str
ing
1..
.9 Postal code of theForwarding agent.
Applicable for SED formonly. Required for certaincountries. The length ofthe postal code dependson the country code. N
/A
N/A
N/A Sec
5a
N/A
CountryCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/CountryCode *Y
es
One
str
ing
2
Country code of theForwarding agent.
Applicable for SED formonly. N
/A
N/A
N/A Sec
5a
N/A
UltimateConsignee
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee C
ond
One
Conta
iner
1..
.35
The ultimate consignee isthe person or company whoreceives the goods for end-use or the person orcompany listed on the exportlicense. This is the end-userof the goods.
Applicable for SED formonly. Required when theform requested is SED. N
/A
N/A
N/A
Req
Sec
4a
Sec
4a
N/A
CompanyName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/CompanyName *Y
es
One
str
ing
1..
.35 Company Name or the
Individual name of theUltimate consignee.
Applicable for SED formonly. N
/A
N/A
N/A
Sec
4a
N/A
Address
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address *Y
es
One
Conta
iner
1..
.50
Address information of theUltimate consignee.
Applicable for SED formonly. N
/A
N/A
N/A Sec
4a
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 70
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
AddressLine
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of the Ultimateconsignee.
Max Occurrence must be3 N
/A
N/A
N/A Sec
4a
N/A
City
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/City *Y
es
One
str
ing
1..
.30
City of the Ultimateconsignee.
Applicable for SED formonly. N
/A
N/A
N/A Sec
4a
N/A
StateProvinceCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/StateProvinceCode
Cond
One
str
ing
1..
.5 State of the Ultimateconsignee.
Applicable for SED formonly. Required for certaincountries
N/A
N/A
N/A Sec
4a
N/A
Town
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/Town N
o
One
Str
ing
1..
.30
Town of the Ultimateconsignee N
/A
N/A
N/A Sec
4a
N/A
PostalCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/PostalCode C
ond
One
Str
ing
1..
.9 Postal code of the Ultimateconsignee.
Applicable for SED formonly. Required for certaincountries. The length ofthe postal code dependson the country code. N
/A
N/A
N/A Sec
4a
N/A
CountryCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/CountryCode *Y
es
One
Str
ing
2
Country code of the Ultimateconsignee.
Applicable for SED formonly. N
/A
N/A
N/A Sec
4a
N/A
IntermediateConsignee
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee N
o
One
Conta
iner
1..
.35
The intermediate consigneeis the person or company inthe importing country thatmakes final delivery to theultimate consignee.
Applicable for SED formonly. N
/A
N/A
N/A
Op
tS
ec4b
OptS
ec
4b
N/A
CompanyName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/CompanyName *Y
es
One
str
ing
1..
.35 Company Name or the
Individual name of theIntermediate consignee.
Applicable for SED formonly. N
/A
N/A
N/A OptS
ec
Connd
Cond
Req
4b
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 71
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address *Y
es
One
Conta
iner
1..
.50
Address information of theIntermediate Consignee.
Applicable for SED formonly. N
/A
N/A
N/A Cond
Req
4b
N/A
AddressLine
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of theIntermediate Consignee.
Max Occurrence must be3 N
/A
N/A
N/A Cond
Req
4b
N/A
City
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/City *Y
es
One
str
ing
1..
.30
City of the IntermediateConsignee.
Applicable for SED formonly. N
/A
N/A N/A
Cond
Req
4b
N/A
StateProvinceCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/StateProvinceCode C
ond
One
str
ing
1..
.5 State of the IntermediateConsignee.
Applicable for SED formonly. Required for certaincountries. N
/A
N/A
N/A Cond
Req
4b
N/A
Town
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/Town N
o
One
Str
ing
1..
.30
Town of the Intermediateconsignee N
/A
N/A N/A
Cond
Req
4b
N/A
PostalCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/PostalCode C
ond
One
str
ing
1..
.9 Postal code of theIntermediate Consignee.
Applicable for SED formonly. Required for certaincountries. The length ofthe postal code dependson the country code. N
/A
N/A
N/A Cond
Req
4b
N/A
CountryCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/CountryCode *Y
es
One
str
ing
2
Country code of theIntermediate Consignee.
Applicable for SED formonly. N
/A
N/A
N/A Cond
Req
4b
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 72
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Producer
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer C
ond
One
Conta
iner
1..
.35
Information of the producer.The NAFTA Certificate ofOrigin must be completed,signed, and dated by theexporter. When theCertificate is completed bythe producer for use by theexporter, it must becompleted, signed, anddated by the producer. Thedate must be the date theCertificate was completedand signed.
Applies to NAFTA CO.Required for NAFTA COforms
N/A
N/A
N/A N/A
N/A
Option
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Option N
o
One
str
ing
2 The text associated with thecode will be printed in theproducer section instead ofproducer contactinformation. Use attachedList if more than oneproducer’s good is includedon the Certificate, attach alist of additional producers,including the legal name,address (including country),and legal tax identificationnumber, cross-referenced tothe goods described in theDescription of Goods field.
Applies to NAFTA CO.Possible Values are:01:AVAILABLE TOCUSTOMS UPONREQUEST02: SAME ASEXPORTER03:ATTACHED LIST04:UNKNOWN
N/A
N/A
N/A
N/A
N/A
CompanyName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/CompanyName C
ond
One
str
ing
1..
.35 Company Name or the
Individual name of theProducer.
Applies to NAFTA CO.Only applicable whenproducer option is emptyor not present.Conditionally required for:NAFTA CO, whenProducer option is notspecified.
N/A
N/A
N/A
N/A N/A
TaxIdentificationNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/TaxIdentificationNumber N
o
One
str
ing
1..
.15
Tax ID of the Producer.
Applies to NAFTA CO.Only applicable whenproducer option is emptyor not present N
/A N/A
N/A
N/A
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 73
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address C
ond
One
Conta
iner
1..
.50
Address information of theProducer.
Applies to NAFTA CO.Only applicable ifproducer option is emptyor not present.Conditionally required for:NAFTA CO, whenProducer option is notspecified.
N/A
N/A
N/A
N/A N/A
AddressLine
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of theProducer.
Max Occurrence must be3
N/A
N/A
N/A
N/A
N/A
City
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/City *Y
es
One
str
ing
1..
.30
City of the Producer.
Applies to NAFTA CO.Conditionally required for:NAFTA CO, whenProducer option is notspecified.
N/A
N/A
N/A
N/A N/A
StateProvinceCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/StateProvinceCode C
ond
One
str
ing
1..
.5
State of the Producer.
Applies to NAFTA CO.Required for certaincountries N
/A N/A
N/A
N/A
N/A
Town
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/Town N
o
One
Str
ing
1..
.30
Town of the Producer
N/A
N/A
N/A
N/A
N/A
PostalCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/PostalCode C
ond
One
str
ing
1..
.9
Postal code of the Producer.
Applies to NAFTA CO.Required for certaincountries. The length ofthe postal code dependson the country code. N
/A N/A
N/A
N/A N/A
CountryCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/CountryCode *Y
es
One
str
ing
1..
.2 Country code of theProducer. Applies to NAFTA CO
N/A
N/A
N/A
N/A N/A
AttentionName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/AttentionName N
o
1
Str
ing
Contact name at theProducer location.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 74
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Phone
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Phone N
o
1
Conta
iner
Number
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Phone/Number Y
es
1
Str
ing
The location's phone numberof the Producer
Extension
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Phone/Extension N
o
1
Str
ing
The location's phoneextension of the Producer
EMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/EMailAddress N
o
1
Str
ing
Producer email address.
SoldTo/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo N
o
One
conta
iner
N/A
SoldTo Container.
Name
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Name Y
es*
One
str
ing
1..
.35
Company Name.
AttentionName
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/AttentionName Yes*
One
str
ing
1..
.35
Sold to contact name.
TaxIdentificationNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/TaxIdentificationNumber N
o
One
str
ing
1..
.15
SoldTo Tax IdentificationNumber
Phone
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Phone N
o
One
conta
iner
N/A
Phone Container
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 75
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Number
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Phone/Number Y
es*
One
str
ing
1..
.15
Sold To contact's phonenumber
Extension
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Phone/Extension N
o
One
str
ing
?
Sold To contact's phoneextension
Option
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Option N
o
One
str
ing
2 The text associated with thecode will be printed in thesold to section of the NAFTACO form. the valuesindicate the following 01 –Unknown
Applies to NAFTA COform. Possible Valuesare 01 and 02
Address
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address Y
es*
One
conta
iner
N/A
Address Container.
AddressLine
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/AddressLine Y
es
Thre
e
str
ing
35
SoldTo location’s streetaddress.
Max Occurrence must be3
City
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/City Y
es
One
str
ing
30
SoldTo location’s city.
StateProvinceCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/StateProvinceCode C
ond
One
str
ing
5
SoldTo location’s state orprovince code.
Required for certaincountries.
Town
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/Town N
o
One
str
ing
? SoldTo location’s town code.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 76
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/PostalCode C
ond
One
str
ing
10
SoldTo location’s postalcode.
CountryCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/CountryCode Y
es
One
str
ing
2
SoldTo location’s countrycode.
EMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/EMailAddress N
o
1
Str
ing
SoldTo email address.
Product/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product *Y
es
tofif
ty
One
Conta
iner
1..
.50
Contains the commodity/product information
Applies to SED, Invoice,Partial Invoice, CO andNAFTA CO. When anyInternational form isrequested Product mustbe present at least oncebut no more than 50.Note: For Partial Invoicethis container is optional. R
eq
Req
Req
Req
Opt
Description
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Description *Y
es
One
str
ing
1..
.35
Description of the product.
Applies to all InternationalForms. Optional forPartial Invoice. Must bepresent at least once andcan occur for a maximumof 3 times R
eq
Req
Req
Req
Opt
Unit/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit C
ond
One
Conta
iner
N/A
Container tag for the unit'sinformation of each product.(also called as commodity)
Required for Invoiceforms and optional forPartial Invoice. N
/A
N/A
N/A
N/A Opt
Number
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/Number *Y
es
One
str
ing
1..
.7
Total quantity of eachcommodity to be shipped,measured in the unitsspecified in the Unit ofMeasure field
Required for Invoiceforms and optional forPartial Invoice. Must benumeric. Valid charactersare 0-9. N
/A
N/A
N/A
N/A Opt
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 77
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
UnitOfMeasurement
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/UnitOfMeasurement *Y
es
One
Conta
iner
N/A
Container tag for the Unit ofmeasurement for thecommodity.
Required for Invoiceforms and optional forPartial Invoice. N
/A
N/A N/A
N/A Opt
Code
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/UnitOfMeasurement/Code *Yes
One
str
ing
1..
.3 Code for the Unit of
measurement of thecommodity units.
Required for Invoiceforms and optional forPartial Invoice. Validentries are: BA = Barrel,BE = Bundle, BG = Bag,BH = Bunch, BOX = Box,BT = Bolt, BU = Butt, CI =Canister, CM =Centimeter, CON =Container , CR = Crate,CS = Case, CT = Carton,CY = Cylinder, DOZ =Dozen, EA = Each, EN =Envelope, FT = Feet, KG= Kilogram, KGS =Kilograms, LB = Pound,LBS = Pounds, L = Liter,M = Meter, NMB =Number, PA = Packet,PAL = Pallet, PC = Piece,PCS = Pieces, PF = ProofLiters, PKG = Package ,PR = Pair, PRS = Pairs,RL = Roll, SET = Set,SME = Square Meters,SYD = Square Yards, TU= Tube, YD = Yard, OTH= Other. N
/A
N/A N/A
N/A Opt
Description
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/UnitOfMeasurement/Description C
ond
One
str
ing
1..
.3
The Unit of Measure if OTH(Other) is entered as theUnitOfMeasurement code.
Applies to Invoice andPartial Invoice forms.Conditionally Required forthe Invoice and PartialInvoice form if OTH isentered as the unitsUnitOfMeasurementCode N
/A
N/A
N/A
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 78
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Value
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/Value *Y
es
One
str
ing
1..
.19
Monetary amount used tospecify the worth or price ofthe commodity. Amountshould be greater than zero
Applies to Invoice andPartial Invoice form.Required for Invoiceforms and optional forPartial Invoice. Amountshould be greater thanzero. Valid charactersare 0-9 and. (Decimalpoint). Limit to 6 digitsafter the decimal. Themaximum length of thefield is 19 including '.' andcan hold up to 6 decimalplaces.(#####.######,######.#####,#######.####,########.###,#########.##,##########.#,############)Thevalue of this product andthe other products shouldbe such that the invoiceline total which is the sumof ( number*values) of allproducts should notexceed9999999999999999.99 N
/A N/A
N/A
N/A Opt
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 79
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CommodityCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/CommodityCode C
ond
One
str
ing
6..
.15
6-to-15-alphanumericcommodity code. Customsuses this code to determinewhat duties should beassessed on the commodity.
Applies to Invoice, PartialInvoice and NAFTA CO.Required for NAFTA COand optional for PartialInvoice. Should be atleast 6 alphanumeric. ForNAFTA CO: For eachgood described inDescription of Goodsfield, identify the H.S.tariff classification to sixdigits. If the good issubject to a specific ruleof origin in Annex 401that requires eight digits,identify to eight digits,using the H.S. tariffclassification of thecountry into whoseterritory the good isimported.
N/A
N/A
N/A
N/A
Opt
PartNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PartNumber
No
One
str
ing
1..
.10
The part number orreference number for theproduct contained in theinvoice line, as indicated onthe customs invoice.
Applies to Invoice andPartial Invoice. Requiredfor Invoice forms andoptional for PartialInvoice.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 80
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
OriginCountryCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/OriginCountryCode C
ond
One
str
ing
2
The country in which thegood was manufactured,produced, or grown. Fordetailed information oncountry of origin, certificateof origin, rules of origin, andany related matters, pleaserefer to the U.S. Customsand Border Protection Website at www.customs.gov orcontact your country'sCustoms authority.
Applies to Invoice, PartialInvoice, CO and NAFTACO. Required for Invoiceand CO forms. Optionalfor Partial Invoice.Conditionally required forNAFTA CO ifJointProductionIndicatoris not present. For allother originating goodsexported to Canada,indicate appropriately MXor US if the goodsoriginate in that NAFTAcountry, within themeaning of the NAFTARules of OriginRegulations, and anysubsequent processing inthe other NAFTA countrydoes not increase thetransaction value of thegoods by more thanseven percent; otherwiseuse theJointProductionIndicatorfor joint production.
Req
Req
Req
N/A
Opt
JointProductionIndicator
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/JointProductionIndicator N
o
One
EM
PT
Y
N/A
If present, JNT will be usedas the origin of country codeon the NAFTA form and theProduct/OriginCountryCodetag will be ignored.
Applies to NAFTA COonly
N/A
N/A
N/A
N/A
N/A
NetCostCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostCode C
ond
One
str
ing
2 For each good described inthe Description of Goodsfield, where the good issubject to a regional valuecontent (RVC) requirement,indicate NC if the RVC iscalculated according to thenet cost method; otherwise,indicate NO.
Applies to NAFTA COonly. Required for NAFTACO. Possible Values:NCNO
N/A
N/A
N/A
N/A
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 81
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
NetCostDateRange
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostDateRange N
o
One
Conta
iner
N/A Date Range for regional
value content (RVC)Applies to NAFTA COonly.
N/A
N/A N/A
N/A N/A
BeginDate
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostDateRange/BeginDate *Y
es
One
str
ing
8 If the RVC is calculated overa period of time, it should beidentified by the begin date(yyyyMMdd) of that period.(Reference: Articles 402.1,402.5).
Applies to NAFTA COonly. Format isyyyyMMdd
N/A
N/A N/A
N/A
N/A
EndDate
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostDateRange/EndDate *Y
es
One
str
ing
8 If the RVC is calculated overa period of time, it should beidentified by the End date(yyyyMMdd) of that period.(Reference: Articles 402.1,402.5).
Applies to NAFTA COonly. Format isyyyyMMdd
N/A
N/A
N/A N/A
N/A
PreferenceCriteria
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PreferenceCriteria Cond
One
str
ing
1 Indicates the criterion (Athrough F) for each gooddescribed in the Descriptionof Goods field if applicable.The rules of origin arecontained in Chapter Fourand Annex 401. Additionalrules are described in Annex703.2 (certain agriculturalgoods), Annex 300-B,Appendix 6 (certain textilegoods) and Annex 308.1(certain automatic dataprocessing goods and theirparts).
Applicable for NAFTA COand is required. PossibleValues: ABCDEF.
N/A
N/A
N/A
N/A
N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 82
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ProducerInfo
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProducerInfo C
ond
One
str
ing
30r
5
Indicate the following: Yes -If shipper is the producer ofthe good. If not, state 02, 03,and 04 depending onwhether this certificate wasbased upon: No [1] -Knowledge of whether thegood qualifies as anoriginating good. No [2] -Reliance on the producerswritten representation (otherthan a Certificate of Origin)that the good qualifies as anoriginating good. No [3] - Acompleted and signedCertificate for the goodvoluntarily provided to theexporter by the producer.
Applicable for NAFTA COand is required. PossibleValues: Yes, No[1], No[2],and No[3]
N/A
N/A
N/A
N/A
N/A
MarksAndNumbers
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/MarksAndNumbers N
o
One
str
ing
1..
.35 Any special marks, codes,
and numbers that mayappear on package Applies to CO Only
OptS
ec
2a
OptS
ec
2a
OptS
ec
2a
N/A
N/A
NumberOfPackagesPerCommodity
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NumberOfPackagesPerCommodity C
ond
One
str
ing
1..
.3The total number ofpackages, cartons, orcontainers for the commodity
Applicable for CO and isrequired. Should benumeric. Valid charactersare 0 -9.
ProductWeight
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight C
ond
One
Conta
iner
N/A
The shipping weight,including containers, foreach commodity with aseparate Harmonized TariffCode / Schedule B Number.This weight does not includecarrier equipment.
Applies to CO and SEDforms only. Required forCO and SED forms.
UnitOfMeasurement
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/UnitOfMeasurement *Y
es
One
Conta
iner
N/A Container tag for the Unit of
Measurement of weightApplies to CO and SEDforms only
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 83
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/UnitOfMeasurement/Code *Y
es
One
str
ing
3
Code for unit ofMeasurement of weight
Applies to CO and SEDforms only. Possiblevalues: KGS, LBS.
Description
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/UnitOfMeasurement/Description N
o
One
Str
ing
1..
.20
Description of the Unit ofMeasure
Weight
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/Weight *Y
es
One
str
ing
1..
.5
Weight
Applies to CO and SEDforms only. Validcharacters are 0-9 and '.'(Decimal point). Limit to 1digit after the decimal.The maximum length ofthe field is 5 including '.'and can hold up to 1decimal place.
VehicleID
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/VehicleID N
o
One
str
ing
1..
.25
Includes the followinginformation for used self-propelled vehicles asdefined in Customsregulations 19 CFR 192.1:The unique VehicleIdentification Number (VIN)in the proper format. Or TheProduct IdentificationNumber (PIN) for those usedself propelled vehicles forwhich there are no VINs. Orthe Vehicle Title Number.
Applies to SED formsonly
ScheduleB
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB C
ond
One
Conta
iner
N/A
Container tag for theschedule B information of acommodity
Applies to SED formsonly. Required for SEDform
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 84
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Number
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/Number *Y
es
One
str
ing
10 A unique 10-digit commodity
classification code for theitem being exported. (Toclassify a commodity accessthe following Web page:http://www.census.gov/foreign-trade/schedules/b/#search).
Applies to SED formsonly. Has to be 10characters.
Quantity
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/Quantity C
ond
One
str
ing
1..
.10
The count of how manySchedule B units of thecurrent good are in theshipment (SED only).Forexample, if the Schedule Bunit of measure is dozensand eight dozen, is beingshipped, indicate 8 in thisfield.
Applies to SED formsonly. Conditionallyrequired for SED forms ifScheduleBUnitOfMeasurement isnot X. Should beNumeric. Valid charactersare 0 -9.
UnitOfMeasurement
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement *Y
es
One
Conta
iner
N/A
The unit of measureindicated on the ExportLicense.
Applies to SED formsonly.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 85
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement/Code *Y
es
One
str
ing
1..
.3
The unit of measureindicated on the ExportLicense. Enter an X if thereis no unit of measure in theSchedule B Unit field.
Applies to SED formsonly. Required for theSED form. PossibleValues: BBL: Barrels,CAR: Carat, CKG:Content Kilogram, CM2:Square Centimeters,CTN: Content Ton, CUR:Curie, CYK: Clean YieldKilogram, DOZ: Dozen,DPC: Dozen Pieces,DPR: Dozen Pairs, FBM:Fiber Meter, GCN: GrossContainers, GM: Gram,GRS: Gross, HUN:Hundred, KG: Kilogram,KM3: 1,000 Cubic Meters,KTS: Kilogram TotalSugars, L: Liter, M: Meter,M2: Square Meters, M3:Cubic Meters, MC:Millicurie, NO: Number,PCS: Pieces, PFL: ProofLiter, PK: Pack, PRS:Pairs, RBA: RunningBales, SQ: Square, T:Ton, THS: 1,000, X: NoQuantity required.
Description
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement/Description N
o
One
Str
ing
1..
.20
Description of the Unit ofMeasure
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 86
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ExportType
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExportType C
ond
One
str
ing
1 Code indicating Domestic:Exports that have beenproduced, manufactured, orgrown in the United Statesor Puerto Rico. This includesimported merchandise whichhas been enhanced in valueor changed from the form inwhich imported by furthermanufacture or processingin the United States orPuerto Rico. Foreign:Merchandise that hasentered the United Statesand is being exported againin the same condition aswhen imported.ForeignMilitary: Exportedmerchandise that is soldunder the foreign militarysales program.
Applies to SED formsonly. Required for SEDform. Possible Values:D: Domestic; F: Foreign;M: Foreign Military
SEDTotalValue
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/SEDTotalValue C
ond
One
str
ing
1..
.15
The value of the S.E.D.commodity contained on theS.E.D. This amount willalways be USD.
Applies to SED formsonly. Required for SEDform. Valid characters are0-9 and '.' (Decimalpoint). Limit to 2 digit afterthe decimal. Themaximum length of thefield is 15 including '.' andcan hold up to 2 decimalplaces. Note: This valueis calculated based on theProduct/Unit/Value and/Product/Unit/Number(Number of Units * Priceper Unit). If the total valueis incorrect it will bereplaced by the actualcalculated total value.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 87
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ExcludeFromForm
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExcludeFromForm N
o
One
Conta
iner
N/A
Container tag fordetermining whether or notto exclude productinformation from a particularform.
If this container is notpresent we assume thatthe DEFAULT is selectedwhich is "none" and allproducts will appear on allforms.
FormType
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExcludeFromForm/FormType Y
es
unbounded
Str
ing
1..
2
Indicates the name of theInternational form requestedto NOT have productinformation.
Possible Values are 04 –NAFTA CO. Please notethat if this is used and youDO NOT have thecorresponding form typerequested this will beIGNORED.
PackingListInfo
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PackingListInfo Y
es*
Unbounded
Container
Data Container holdingpackage related
information
PackageAssociated
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PackingListInfo/PackageAssociated Y
es
1 Str
ing
Data Container holdingpackage/product related
information that will breakup the product into eachpackage on the packing
list
PackageNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PackingListInfo/PackageAssociated/PackageNumber Y
es
1 Str
ing
Package number theproduct should beallocated to ont he
packing list
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 88
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ProductAmount
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PackingListInfo/PackageAssociated/ProductAmount Y
es
Amount of Productassociated with apackage
InvoiceNumber/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/InvoiceNumber N
o
One
str
ing
1..
.35
Commercial Invoice numberassigned by the exporter
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice.
InvoiceDate/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/InvoiceDate C
ond
One
str
ing
8
Date when the Invoice iscreated. Ideally this is thesame as the ship date.
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Requiredfor Invoice form forforward shipments. Forshipment with returnservice, the user input willbe ignored, and the fieldwill be blank on theinvoice. Format isyyyyMMdd
PurchaseOrderNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/PurchaseOrderNumber N
o
One
str
ing
1..
.35
The customer's orderreference number
Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 89
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
TermsOfShipment
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/TermsOfShipment N
o
One
str
ing
3
Indicates the rights to theseller from the buyer.
Applies to Invoice andPartial Invoice forms only.Possible values are: CFR:Cost and Freight, CIF:Cost, Insurance andFreight, CIP: Carriageand Insurance Paid, CPT:Carriage Paid To, DAF:Delivered at Frontier,DDP: Delivery Duty Paid,DDU: Delivery DutyUnpaid, DEQ: DeliveredEx Quay, DES: DeliveredEx Ship, EXW: Ex Works,FAS: Free AlongsideShip, FCA: Free Carrier,FOB: Free On Board.
ReasonForExport
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ReasonForExport C
ond
One
str
ing
1..
.20
reason to export the currentinternational shipmentPossible values: SALE,GIFT, SAMPLE, RETURN,REPAIR,INTERCOMPANYDATA,Any other reason
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and Optional forPartial Invoice. Novalidation
Comments/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Comments N
o
One
str
ing
1..
.150
Any extra information aboutthe current shipment
Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 90
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DeclarationStatement
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/DeclarationStatement N
o
One
str
ing
1..
.550
This is the legal explanation,used by Customs, for thedelivering of this shipment. Itmust be identical to the setof declarations actually usedby Customs. Examples ofdeclarations that might beentered in this field are: Ihereby certify that the goodscovered by this shipmentqualify as originating goodsfor purposes of preferentialtariff treatment under theNAFTA. I hereby certify thatthe information on thisinvoice is true and correctand the contents and valueof this shipment is as statedabove. EEA statement: Theexporter of the productscovered by this documentdeclares that except whereotherwise clearly indicatedthese products are of EEApreferential origin.
Applies to Invoice andPartial Invoice forms only.On the invoice for returnshipment, the verbiage isas follows (user input isignored): The exporter ofthe products covered bythis document declaresthat except whereotherwise clearlyindicated these productsare of EEA preferentialorigin
Discount/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Discount N
o
One
Conta
iner
N/A Container tag that holds the
discount.Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 91
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/Discount/MonetaryValue *Y
es
One
str
ing
15
The discount to besubtracted from the sum ofthe total value on theinvoice.
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and '.'(Decimal point). Limit to 2digit after the decimal.The maximum length ofthe field is 15 including '.'and can hold up to 2decimal places. Thisvalue should be greaterthan or equal to zero orless than or equal to thevalue of all goods listedon the invoice.
FreightCharges/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/FreightCharges N
o
One
Conta
iner
N/A Container tag that holds the
Freight ChargesApplies to Invoice andPartial Invoice forms only.
MonetaryValue
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/FreightCharges/MonetaryValue *Y
es
One
str
ing
0..
.15
Cost to transport theshipment
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and '.'(Decimal point). Limit to 2digit after the decimal.The maximum length ofthe field is 15 including '.'and can hold up to 2decimal places.
InsuranceCharges
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/InsuranceCharges N
o
One
Conta
iner
N/A Container tag that holds the
Insurance ChargesApplies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 92
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/InsuranceCharges/MonetaryValue *Y
es
One
str
ing
0..
.15
The amount the shipper orreceiver pays to cover thecost of replacing theshipment if it is lost ordamaged
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and '.'(Decimal point). Limit to 2digit after the decimal.The maximum length ofthe field is 15 including '.'and can hold up to 2decimal places.
OtherCharges/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/OtherCharges N
o
One
Conta
iner
N/A
Container tag that holds theinformation of amount thatcovers additional chargesnot already listed on theinvoice
Applies to Invoice andPartial Invoice forms only.
MonetaryValue
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/OtherCharges/MonetaryValue *Y
es
One
str
ing
0..
.15
The Monetary value of OtherCharges
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and '.'(Decimal point). Limit to 2digit after the decimal.The maximum length ofthe field is 15 including '.'and can hold up to 2decimal places.
Description
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/OtherCharges/Description *Y
es
One
str
ing
1..
.10
Description of what the othercharges are for.
Applies to Invoice andPartial Invoice forms only.Required for CompleteInvoice and Optional forPartial Invoice forms.
CurrencyCode/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/CurrencyCode C
ond
One
str
ing
3
Currency code for all themonetary values of theInvoice form
Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 93
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BlanketPeriod/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/BlanketPeriod C
ond
One
Conta
iner
N/A
This field should be enteredif the NAFTA Certificatecovers multiple shipments ofidentical goods as describedin the Description of Goodsfield that are imported into aNAFTA country for aspecified period of up to oneyear (the blanket period).The importation of a good forwhich preferential treatmentis claimed based on thiscertificate must occurbetween these dates.
Applies to NAFTA COform only. Required forNAFTA CO. This is notvalid for a paperlessshipment.
BeginDate
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/BlanketPeriod/BeginDate *Y
es
One
str
ing
8 Begin date of the blanketperiod. It is the date uponwhich the Certificatebecomes applicable to thegood covered by the blanketCertificate (it may be prior tothe date of signing thisCertificate).
Applies to NAFTA COform only. Required forNAFTA CO. Format isyyyyMMdd. This is notvalid for a paperlessshipment.
EndDate
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/BlanketPeriod/EndDate *Y
es
One
str
ing
8
End Date of the blanketperiod. It is the date uponwhich the blanket periodexpires.
Applies to NAFTA COform only. Required forNAFTA CO. Format isyyyyMMdd. This is notvalid for a paperlessshipment.
ExportDate/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ExportDate C
ond
One
str
ing
8
The date the goods will beexiting the country
Applies to CO and SEDforms only. Required forCO and SED forms.Format is yyyyMMdd
ExportingCarrier/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ExportingCarrier C
ond
One
str
ing
1..
.35
The name of the carrier thatis exporting the shipment.The vessels flag numbershould also be entered, if thecarrier is a vessel.
Applies to CO and SEDforms only. Required forCO and SED forms.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 94
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CarrierID/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/CarrierID N
o
One
str
ing
1..
.17
The four-character StandardCarrier Alpha Code (SCAC)for vessel, rail, and truckshipments. For air shipment,enter the two or threecharacter International AirTransport Association (IATA)code
Applies to SED formsonly. No Validations.
InBondCode/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/InBondCode C
ond
One
str
ing
2
The two-character In BondCode
Applies to SED formsonly. Required for SEDforms. Valid values are:70: Not in bond; 36:Warehouse withdrawal forIE; 37: Warehousewithdrawal for T and E;62: T and E; 63: IE; 67:IE from a FTZ; 68: T andE from a FTZ
EntryNumber/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/EntryNumber C
ond
One
str
ing
1..
.25
The Import Entry Numberwhen the export transactionis used as proof of export forimport transactions(examples: In Bond,Temporary Import Bond orDrawbacks)
Applies to SED formsonly. ConditionallyRequired for SED formswhen In bond code valueis other than 70(Not InBond)
PointOfOrigin/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/PointOfOrigin C
ond
One
str
ing
1..
.5Contains one of thefollowing: The two-digit U.S.Postal Service abbreviationfor the state from which thegoods were shipped to theport of export. The state thatis the source for the goodwith the highest value. Thestate of consolidation. TheForeign Trade Zone numberof the zone from where theexports are leaving. If thegoods were shipped fromPuerto Rico, enter PR.
Applies to SED formsonly. Required for SED
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 95
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ModeOfTransport
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ModeOfTransport C
ond
One
str
ing
1..
.35
Mode of transport by whichthe goods are exported.Possible values: Air,AirContainerized, Auto,FixedTransportInstallations,Mail,PassengerHandcarried,Pedestrian, Rail, Rail,Containerized, RoadOther,SeaBarge,SeaContainerized,SeaNoncontainerized,Truck, TruckContainerized
Applies to SED formsonly. Required for SED.Only allowed values canbe entered. Only 10Characters can appear onthe form. Anything greaterthan 10 characters will betruncated on the form.
PortOfExport/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/PortOfExport N
o
One
str
ing
1..
.35
Should be one of thefollowing-Overland: The U.S.Customs port where thecarrier crosses the U.S.border. -Vessel and Air: TheU.S. Customs port where thegoods are loaded on thecarrier to be exported fromthe U.S. -Postal: The U.S.Postal Office from where thegoods are mailed
Applies to SED formsonly. No validation.
PortOfUnloading/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/PortOfUnloading N
o
One
str
ing
1..
.35
The country and the portwhere the goods will beunloaded from the exportingcarrier. For vessel and airshipments only.
Applies to SED formsonly. No validation.
LoadingPier/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/LoadingPier N
o
One
str
ing
1..
.35 Pier where goods are
loaded. For vesselshipments only
Applies to SED formsonly. No validation.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 96
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PartiesToTransaction
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/PartiesToTransaction C
ond
One
str
ing
1 Information about parties totransaction. Use Related, ifthe parties to the transactionare related. A related party isan export from a U.S.businessperson or businessto a foreign business or froma U.S. business to a foreignperson or business wherethe person has at least 10percent of the voting sharesof the business during thefiscal year. If unincorporated,then an equivalent interest inthe business.
Applies to SED formsonly. Valid values are: R- Related, N - Non-related
RoutedExportTransactionIndicator
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/RoutedExportTransactionIndicator N
o
One
EM
PT
Y
N/A
If Present, indicates that it isa routed export transaction.A routed export transactionis one, where the foreignprincipal party in interestauthorizes a U.S. forwarding(or other) agent to export themerchandise outside theU.S.
Applies to SED formsonly
ContainerizedIndicator
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ContainerizedIndicator N
o
One
EM
PT
Y N/A
If present indicates that thegoods are containerized.This applies to vesselshipments only
Applies to SED formsonly
License/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/License C
ond
One
Conta
iner
N/A
Container for Licenseinformation. If the product isnot licensable, a validlicense exception codeneeds to be entered. Ifshipping different productsthat are covered underdifferent licenses or licenseexceptions, then separateSEDs must be created.
Applies to SED formsonly. Required for SEDforms.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 97
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Number/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/License/Number C
ond
One
str
ing
1..
.35
The license number thatauthorizes ship product.
Applies to SED formsonly. Either Licensenumber or Licenseexception code should bepresent for SED form,both License number andLicense Exception codecannot be present forSED form.
Date/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/License/Date C
ond
One
str
ing
1..
.8
License Date
Applies to SED formsonly. Conditionallyrequired for SED forms ifthere is a license number.Only applicable whenLicense Number isprovided. FormatyyyyMMdd
ExceptionCode
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/License/ExceptionCode C
ond
One
str
ing
1..
.4 Please refer to Appendix Qfor values and descriptions.
Applies to SED formsonly. Either Licensenumber or Licenseexception code should bepresent for SED form,both License number andLicense Exception codecannot be present forSED form. Validated forpossible values
ECCNNumber/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ECCNNumber C
ond
One
str
ing
8
Export Control ClassificationNumber. This numberidentifies categories, productgroups, strategic level ofcontrol, and country groups.Some products have anECCN number.
Applies to SED formsonly. ECCN is requiredone of the followingLicense Exception Codesis entered: CIV, CTP,ENC, or KMI LVS
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 98
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
OverridePaperlessIndicator
/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/OverridePaperlessIndicator N
o
1 Str
ing
The application willautomatically provide a copyof the invoice or NAFTA/COwith each responseregardless of whether theuser has enabled Paperlessaccount. The user now hasthe option to print or ignorethe copy provided.
ShipperMemo/ShipmentRequest/Shipment/ShipmentServiceOptions/InternationalForms/ShipperMemo N
o
1 Str
ing
300
Text for the shipper to addadditional information
DeliveryConfirmation/ShipmentRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation N
o
One
conta
iner
N/A
For a list of validorigin/destination countriesplease refer to the table inAppendix N Forwards Only
DCISType/ShipmentRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation/DCISType Y
es*
One
str
ing
1 Type of delivery confirmation
Valid values are: 1 -Delivery ConfirmationSignature Required 2 -Delivery ConfirmationAdult Signature Required.Forwards Only
DCISNumber/ShipmentRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation/DCISNumber N
o
One
Str
ing
1..
.20
DCIS Number
ReturnOfDocumentIndicator/ShipmentRequest/Shipment/ShipmentServiceOptions/ReturnOfDocumentIndicator N
o
One
Str
ing
0
The flag indicates theReturnOfDocumentaccessorial has beenrequested
Valid for Poland to Polandwithout return serviceonly.
ImportControlIndicator/ShipmentRequest/Shipment/ShipmentServiceOptions/ImportControlIndicator N
o
One
Str
ing
0
Indicates that the Shipmentis an ImportControlshipment.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 99
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LabelMethod/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelMethod N
o
One
Conta
iner
N/A
Type of ImportControlLabel.|This container isapplicable only forImportControl shipments.
This container isapplicable only forImportControl shipments.
Code/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelMethod/Code Y
es*
One
Str
ing
2 LabelMethod types:'01' =ImportControl Print andMail'02' = ImportControlOne-Attempt'03' =ImportControl Three-Attempt'04' = ImportControlElectronic Label'05' =ImportControl Print Label
Description/ShipmentRequest/Shipment/ShipmentServiceOptions/LabelMethod/Description N
o
One
Str
ing
1..
.35
LabelMethod description
CommercialInvoiceRemovalIndicator
/ShipmentRequest/Shipment/ShipmentServiceOptions/CommercialInvoiceRemovalIndicator N
o
One
Str
ing
0 CommercialInvoiceRemovalIndicator allows a shipper todictate that UPS remove theCommercial Invoice from theuser's shipment before theshipment is delivered to theultimate consignee.
UPScarbonneutralIndicator/ShipmentRequest/Shipment/ShipmentServiceOptions/UPScarbonneutralIndicator N
o
One
Str
ing
0
UPS carbon neutral indicatorpresence at shipment levelis required to create carbonneutral Shipments.
PreAlertNotification/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification N
o
unbounded
Conta
iner
N/A
This container is used forproviding Pre-AlertNotifications to theconsignee for UPSExchange movements andPack & Collect shipments.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 100
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
EMailMessage/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/EMailMessage N
o
One
Conta
iner
N/A
This container is used forPopulating EMailMessagedetails forPreAlertNotification
EMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/EMailMessage/EMailAddress Y
es
One
Str
ing
1…
50
EMailAddress wherePreAlertNotification is sent.
UndeliverableEMailAddress
/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/EMailMessage/UndeliverableEMailAddress N
o
One
Str
ing
1…
50
This is used for notificationwhen EMailAddress forPreAlertNotification isundeliverable.
VoiceMessage/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/VoiceMessage N
o
One
Conta
iner
N/A
VoiceMessage container isused for specifying phonenumber for receiving voicepreAlertNotification
PhoneNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/VoiceMessage/PhoneNumber Y
es
One
Str
ing
1…
15
Phone number for receivingVoice PreAlertNotification.
TextMessage/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/TextMessage N
o
One
Conta
iner
N/A
TextMessage container isused for specifying phonenumber for receiving textpreAlertNotification
PhoneNumber
/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/TextMessage/PhoneNumber Y
es
One
Str
ing
1…
15
Phone number for receivingText PreAlertNotification.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 101
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Locale/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/Locale Y
es
One
Conta
iner
N/A
This container is used forproviding Language anddialect details forPreAlertNotifications.
Language
/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/Locale/Language Y
es
One
Str
ing
3
Valid Language
Valid language-dialectcombinations are below:||Lang Dialect| DAN97|DEU97| ENGGB|ENGUS| FIN97| FRA97|FRACA| ITA97| NLD97|POR97| SPA97|SWE97| ENGCA|NOR97| POL97| CES97|ELL97| ENGCA| HEB97|HUN97| NLD97|NOR97| RUS97| SLK97|TUR97| VIE97| ZHOTW|RONRO| SPAPR
Dialect/ShipmentRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/Locale/Dialect Y
es
One
Str
ing
2
Valid Dialect
Valid language-dialectcombinations are below:||Lang Dialect| DAN97|DEU97| ENGGB|ENGUS| FIN97| FRA97|FRACA| ITA97| NLD97|POR97| SPA97|SWE97| ENGCA|NOR97| POL97| CES97|ELL97| ENGCA| HEB97|HUN97| NLD97|NOR97| RUS97| SLK97|TUR97| VIE97| ZHOTW|RONRO| SPAPR
ExchangeForwardIndicator/ShipmentRequest/Shipment/ShipmentServiceOptions/ExchangeForwardIndicator N
o
One
Str
ing
0
Exchange forward indicatorpresence at shipment levelis required to createexchange forwardShipments.
In the label routingInstruction text by defaultwill be EXCHANGE-LIKEITEM ONLY
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 102
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Package /ShipmentRequest/Shipment/Package Yes
##
Conta
iner
N/A Package Information
container.
For Return Shipments upto and including 20packages are allowed.US/PR origin returnmovements are limited toonly one package.
Description/ShipmentRequest/Shipment/Package/Description C
ond
One
str
ing
1..
.35
Merchandise description ofpackage.
Required for shipmentwith return service
Packaging/ShipmentRequest/Shipment/Package/Packaging C
ond
One
conta
iner
N/A
Packaging Container
Packaging type isrequired for GroundFreight PricingShipments only
Code/ShipmentRequest/Shipment/Package/Packaging/Code Y
es*
One
str
ing
2
Package types. Values are:01 = UPS Letter, 02 =Customer SuppliedPackage, 03 = Tube, 04 =PAK, 21 = UPS ExpressBox, 24 = UPS 25KG Box,25 = UPS 10KG Box, 30 =Pallet, 2a = Small ExpressBox, 2b = Medium ExpressBox, 2c = Large ExpressBox. Note: Only packagingtype code 02 is applicable toGround Freight Pricing
Package type 24, or 25or 30 is only allowed forshipment without returnservice. Packaging typemust be valid for all thefollowing: ShipTocountry, ShipFromcountry, a shipment goingfrom ShipTo country toShipFrom country, allAccessorials at both theshipment and packagelevel, and the shipmentservice type.
Description/ShipmentRequest/Shipment/Package/Packaging/Description N
o
One
Str
ing
1..
.35
Description of packagingtype. Examples are letter,customer supplied, expressbox. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 103
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Dimensions/ShipmentRequest/Shipment/Package/Dimensions C
ond
One
conta
iner
N/A
Dimensions informationcontainer. Note: Currentlydimensions are notapplicable to Ground FreightPricing
Length + 2*(Width +Height) must be less thanor equal to 130 IN or 330CM. Dimensions arerequired for GB to GBand Poland to PolandShipments.
UnitOfMeasurement/ShipmentRequest/Shipment/Package/Dimensions/UnitOfMeasurement Y
es
One
conta
iner
N/A UnitOfMeasurement
container N/A
Code/ShipmentRequest/Shipment/Package/Dimensions/UnitOfMeasurement/Code Y
es
One
str
ing
2 Package dimensionsmeasurement code. Codesare: IN = Inches, CM =Centimeters, 00 = MetricUnits Of Measurement, 01 =English Units ofMeasurement.
The unit of measurementmust be valid for theShipper country.
Description/ShipmentRequest/Shipment/Package/Dimensions/UnitOfMeasurement/Description N
o
One
str
ing
1..
.35 Description of the package
dimensions measurementunits. N/A
Length/ShipmentRequest/Shipment/Package/Dimensions/Length Y
es*
One
str
ing
3 Package length. Refer toUniversal Rules table foradditional information.Lengthmust be the longestdimension of the container.
Valid values are 0 to 108IN and 0 to 270 CM.
Width/ShipmentRequest/Shipment/Package/Dimensions/Width Yes*
One
str
ing 3 Package width. Refer to
Universal Rules table foradditional information. N/A
Height/ShipmentRequest/Shipment/Package/Dimensions/Height Y
es*
One
str
ing
3
Package height. Refer toUniversal Rules table foradditional information. N/A
PackageWeight/ShipmentRequest/Shipment/Package/PackageWeight C
ond
One
Conta
iner
N/A Container to hold package
weight information.
Package weight is arequired field for GroundFreight Pricing shipments
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 104
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
UnitOfMeasurement/ShipmentRequest/Shipment/Package/PackageWeight/UnitOfMeasurement Y
es
One
Conta
iner
N/A
Container to holdUnitOfMeasurementinformation. N/A
Code/ShipmentRequest/Shipment/Package/PackageWeight/UnitOfMeasurement/Code Y
es
One
str
ing
3
Package weight unit ofmeasurement code. Codesare: LBS = Pounds, KGS =Kilograms.
Description/ShipmentRequest/Shipment/Package/PackageWeight/UnitOfMeasurement/Description N
o
One
str
ing
1..
.35
Description of the packageweight measurement units. N/A
Weight/ShipmentRequest/Shipment/Package/PackageWeight/Weight Y
es*
One
str
ing
1..
.5
Packages weight. Weightaccepted forletters/envelopes.
Only {Average}packageweight is required forGround Freight PricingShipment
LargePackageIndicator/ShipmentRequest/Shipment/Package/LargePackageIndicator N
o
One
str
ing
0
Presence of the indicatormentions that the package isLarge Package. Empty Tag.
ReferenceNumber/ShipmentRequest/Shipment/Package/ReferenceNumber N
o
One
conta
iner
N/A Package reference number
information container N/A
BarCodeIndicator/ShipmentRequest/Shipment/Package/ReferenceNumber/BarCodeIndicator N
o
One
str
ing
0
If the indicator is presentthen the reference numbersvalue will be bar coded onthe label.
Empty Tag. Allowed forshipment with returnservice only. Only oneshipment-level orpackage-level referencenumber can be bar codedper shipment. In order tobarcode a referencenumber, its value must beno longer than 14alphanumeric charactersor 24 numeric charactersand cannot containspaces.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 105
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipmentRequest/Shipment/Package/ReferenceNumber/Code N
o
One
str
ing
2
Reference number typecode, for the entireshipment. The codespecifies the Referencename. Refer to theReference Number Codetable.
Valid if theorigin/destination pair isUS/US or PR/PR.2character alpha-numeric.
Value/ShipmentRequest/Shipment/Package/ReferenceNumber/Value Y
es*
One
str
ing
1..
.35
Customer supplied referencenumber.
Valid if theorigin/destination pair isUS/US or PR/PR.Supports up to 2customer suppliedcombinations ofReference code- valuecombinations.
AdditionalHandlingIndicator/ShipmentRequest/Shipment/Package/AdditionalHandlingIndicator N
o
One
str
ing
0 Additional HandlingRequired.The presenceindicates additional handlingis required, the absenceindicates no additionalhandling is required. Empty Tag.
PackageServiceOptions/ShipmentRequest/Shipment/Package/PackageServiceOptions N
o
One
conta
iner
N/A PackageServiceOtioncontain
er N/A
DeliveryConfirmation/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation N
o
One
conta
iner
N/A
For a list of validorigin/destination countriesplease refer to the table inAppendix N Forwards Only
DCISType
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation/DCISType Y
es*
One
str
ing
1
Type of delivery confirmation
Valid values are: 1 -Delivery Confirmation 2- Delivery ConfirmationSignature Required 3 -Delivery ConfirmationAdult Signature Required.Forwards Only
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 106
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DCISNumber
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation/DCISNumber N
o
One
str
ing
1..
.11
Delivery ConfirmationControl number associatedwith the deliveryconfirmation for the package Forwards Only
DeclaredValue/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeclaredValue N
o
One
conta
iner
N/A
Container for DeclaredValue N/A
Type/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/Type N
o
One
conta
iner
N/A Container for Declared
Value Type N/A
Code/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/Type/Code *Y
es
One
str
ing
2
Declared value type. Validvalue are 01=EVS, 02=DVS.Defaults to 01 i.e. EVS ifdeclared value type is notprovided.
The user cannot specifydifferent type of declaredvalue for the shipment.You can either haveshipper declared value(DVS) or declared value(EVS) but not both atpackage level. Note: TheShipper Declared Value isapplicable for forwardshipments when thebilling option is freightcollect or third party
Description
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/Type/Description No
One
str
ing
1..
.35
Declared value Description N/A
CurrencyCode
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/CurrencyCode Y
es*
One
str
ing
3
Declared value amountcurrency type. Defaults tothe non-Euro currency usedin the shipper's country.
Code must represent acurrency that is a valid forShipper country.
MonetaryValue
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/MonetaryValue Y
es*
One
str
ing
1..
.19
Declared value amount.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 107
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
COD/ShipmentRequest/Shipment/Package/PackageServiceOptions/COD N
o
One
conta
iner
N/A
COD container
Indicates COD isrequested. Package levelCOD is available forshipment without returnservice from US/PR toUS/PR, CA to CA, andCA to US.CA to US CODis not allowed for packageLetter/ Envelope. COD isnot valid for return servicemovements.
CODFundsCode/ShipmentRequest/Shipment/Package/PackageServiceOptions/COD/CODFundsCode Y
es*
One
str
ing
1 Values are: 0 = check,cashiers check or moneyorder - no cash allowed, 8 =cashiers check or moneyorder - no cash allowed. N/A
CODAmount/ShipmentRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount Y
es*
One
conta
iner
N/A
CODAmount container N/A
CurrencyCode
/ShipmentRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount/CurrencyCode Y
es
One
str
ing
3COD amount currency codetype. N/A
MonetaryValue
/ShipmentRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount/MonetaryValue Y
es
One
str
ing
5
COD Amount.Valid values: 0.01 USD -50000.00 USD
VerbalConfirmation/ShipmentRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation N
o
One
Conta
iner
N/A
Verbal Confirmation Info.Allowed for shipmentwithout return service.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 108
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ContactInfo
/ShipmentRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo C
ond
One
Conta
iner
N/A
Optional if the Shipper'sAttentionName,PhoneNumber, andPhoneExtension(optional)are given and are thedesired name, phonenumber and extension,respectively, to be used forverbal confirmation. N/A
Name
/ShipmentRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Name C
ond
One
str
ing
1..
.35
Name of the person to becontacted for confirmation.Defaults to ShipperAttentionName if given.
Optional if Shipper/AttentionName is givenand that is the name ofthe person to becontacted else requiredfor verbal confirmation.
Phone
/ShipmentRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Phone N
o
One
Conta
iner
N/A
Phone Container N/A
Number
/ShipmentRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Phone/Number Y
es*
One
Str
ing
1..
.15
Contact Phone Number N/A
Extension
/ShipmentRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Phone/Extension N
o
One
Str
ing
1..
.4
Contact Phone Extension N/A
ShipperReleaseIndicator/ShipmentRequest/Shipment/Package/PackageServiceOptions/ShipperReleaseIndicator N
o
One
Str
ing
0 The presence indicates thatthe package may bereleased by driver without asignature from theconsignee
Empty Tag. Onlyavailable for US50/PR toUS50/PR packageswithout return service.
Notification/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification N
o
One
Conta
iner
N/A
Receiver Return NotificationApplicable for Shipmentwith returned service.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 109
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
NotificationCode/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/NotificationCode Y
es*
One
Str
ing
1
Notification Code3 - Receiver ReturnNotification
EMail/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail Y
es*
One
Conta
iner
N/A Container for the e-mail
Message. N/A
EMailAddress
/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/EMailAddress Y
es*
One
Str
ing
1..
.50 The destination email
address of the receiverreturns notification email. N/A
UndeliverableEMailAddress
/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/UndeliverableEMailAddress N
o
One
Str
ing
1..
.50
The e-mail address wherean undeliverable emailmessage is sent if theReceiver Return Notificationemail is undeliverable.
Defaults toFromEMailAddress. Onlyallowed at the firstpackage.
FromEMailAddress
/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/FromEMailAddress N
o
One
Str
ing
1..
.50
The email address listed inthe Reply To field of themessage header, includesname and e-mail address ofsender. The From field ofthe message headercontains [email protected].
Only allowed at the firstpackage.
FromName
/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/FromName N
o
One
Str
ing
1..
.35 The name the receiver
return notification will appearto be from.
Defaults to the ShipperName. Only allowed atthe first package.
Memo/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/Memo N
o
One
Str
ing
1..
.150
User defined text that will beincluded in the email.
Only allowed at the firstpackage.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 110
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Subject/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/Subject N
o
One
Str
ing
1..
.75
The eMail's subject. Defaultsto the UPS Receiver ReturnNotification plus theshipment ID.
Only allowed at the firstpackage
SubjectCode
/ShipmentRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/SubjectCode N
o
One
Str
ing
2
Specifies a reference codeand reference number todisplay in the subject of theReceiver Return Notification.When the subject code isprovided, the subject willcontain the following: UPSReceiver Return Notification.The reference code (thereference code will bemapped to thecorresponding ANSI value)Plus the reference number.
If the subject code tag isnot provided and thesubject text is provided,the subject of thenotification will be thesubject text. If the subjecttext is provided, andsubject code tag exists,then the subject codevalue must be 08;If thesubject code is 08, thesubject text must exist. Ifa subject code is providedthat refers to anonexistent referencenumber, the subject willdefault to the trackingnumber. Only allowed atthe first package.
ReturnsFlexibleAccessIndicator
/ShipmentRequest/Shipment/Package/PackageServiceOptions/ReturnsFlexibleAccessIndicator N
o
One
Str
ing
0 Returns Flexible AccessIndicator presence atpackage level is required forUPS Returns FlexibleAccess Shipments. Allpackages in the shipmentmust have the ReturnsFlexible Access Indicator ifone package has it.
DryIce/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce N
o
1
Conta
iner
N/A MAximum of 1. Cannot be
combined with <Hazmat>
Cannot be used when thepackage also containsHazmat X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 111
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
RegulationSet/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/RegulationSet Y
es
1
Str
ing
3..
4
Regulation set for dryIceShipment. Valid values are :CFR = HazMat regulated byUS Dept of Transportationwithin the U.S. or groundshipments to Canada,IATA= Worldwide Airmovement
The following values arevalid: IATA,CFR X
DryIceWeight/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight Y
es
1
Conta
iner
N/A
X
UnitOfMeasurement
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement Y
es
1
Conta
iner
N/A
X
Code
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement/Code Y
es
1
Str
ing
2..
3
DryIce weight unit ofmeasurement code. Validvalues are: 00 = KG(MetricUnit of Measurements), 01 =LB(English Unit ofMeasurements), KG, LB,KGS, LBS
The following values arevalid : 00 , 01, KG , KGS ,LBS X
Description
/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement/Description N
o
1
Str
ing
0..
20
Short description forUnitOfMeasurement X
Weight/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/Weight Y
es
1
Str
ing
1…
5
Weight
Cannot be more thanpackage weight. Shouldbe more than 0.0. Validcharacters are 0-9 and.(Decimal point). Limit to1 digit after the decimal.The maximum length ofthe field is 5 including .and can hold up to 1decimal place. X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 112
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MedicalUseIndicator/ShipmentRequest/Shipment/Package/PackageServiceOptions/DryIce/MedicalUseIndicator N
o
1
Str
ing
0 Presence/Absence Indicator.Any value inside is ignored.Relevant only in CFRregulation set. If present it isused to designate the dry Iceis for any medical use andrates are adjusted for dryIceweight more than 2.5 Kgs or5.7 LBs X
Commodity/ShipmentRequest/Shipment/Package/Commodity C
ond
One
Conta
iner
N/A Container to hold the
Commodity information
It is required if the GroundFreight Pricing Shipmentindicator is present in therequest.
FreightClass/ShipmentRequest/Shipment/Package/Commodity/FreightClass Y
es
One
Str
ing
10
Freight Classification.Freight class partiallydetermines the freight ratefor the article.
Required for GroundFreight PricingShipments only
NMFC/ShipmentRequest/Shipment/Package/Commodity/NMFC N
o
One
Conta
iner
N/A Container to hold the NMFC
codes
PrimeCode/ShipmentRequest/Shipment/Package/Commodity/NMFC/PrimeCode Y
es
One
Str
ing
4..
6 Specifies the Commodity'sNMFC prime code
Required if NMFCContainer is Present
SubCode/ShipmentRequest/Shipment/Package/Commodity/NMFC/SubCode N
o
One
Str
ing
2
Specifies the Commodity'sNMFC sub code
Needs to be providedwhen the SubCodeassociated with thePrimeCode is other than00. Backend defaults thesub value to 00 if notprovided. If provided theSub Code should beassociated with thePrimeCode of the NMFC.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 113
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LabelSpecification /ShipmentRequest/LabelSpecification Cond
One
Conta
iner
N/A
Container used to define theproperties required by theuser to print and/or displaythe UPS shipping label.
Required for shipmentwithout return service, orshipment with PRL returnservice.
LabelImageFormat/ShipmentRequest/LabelSpecification/LabelImageFormat Y
es
One
Conta
iner
N/A LabelImageFormat
Container N/A
Code/ShipmentRequest/LabelSpecification/LabelImageFormat/Code Y
es
One
Str
ing
3 Label print method code thatthe Labels are to begenerated for EPL2formatted Labels use EPL,for SPL formatted Labelsuse SPL, for ZPL formattedLabels use ZPL and forimage formats use GIF, forStar Printer format formattedLabels use STARPL.
For shipments withoutreturn service the validvalue is GIF, ZPL, EPLand SPL. For shipmentswith PRL return service,the valid values are EPL,ZPL, SPL, STARPL andGIF.
Description/ShipmentRequest/LabelSpecification/LabelImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the labelimage format code. N/A
HTTPUserAgent/ShipmentRequest/LabelSpecification/HTTPUserAgent C
ond
One
Str
ing
1..
.64
Browser HTTPUserAgentString. This is the preferredway of identifying GIF imagetype to be generated
Required if/ShipmentRequest/LabelSpecificationLabelSpecification/LabelImageFormat/Code = Gif. Default toMozilla/4.5 if this field ismissing or has invalidvalue.
LabelStockSize/ShipmentRequest/LabelSpecification/LabelStockSize Y
es
One
Conta
iner
N/A Container for the EPL2, ZPL,
STARPL or SPL label sizeFor EPL2, ZPL, STARPLand SPL Labels. X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 114
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Height/ShipmentRequest/LabelSpecification/LabelStockSize/Height Y
es
One
Str
ing
1..
.3 Height of the label image.For IN, use whole inches.
For EPL2, ZPL, STARPLand SPL Labels. Onlyvalid values are 6 or 8.Note: Label Image willonly scale up to 4 X 6,even when requesting 4 X8. X
Width/ShipmentRequest/LabelSpecification/LabelStockSize/Width Y
es
One
Str
ing
1..
.3 Width of the label image. ForIN, use whole inches.
For EPL2, ZPL, STARPLand SPL Labels. Validvalue is 4. Note: LabelImage will only scale upto 4 X 6, even whenrequesting 4 X 8. X
Instruction/ShipmentRequest/LabelSpecification/Instruction N
o
unbounded
Conta
iner
N/A Routing Instruction
Container
Code/ShipmentRequest/LabelSpecification/Instruction/Code Y
es
One
Str
ing
2 For Exchange ForwardShipment, by default Labelwill have Exchange Routinginstruction Text asEXCHANGE-LIKE ITEMONLY. |If code value is :|01-EXCHANGE-LIKE ITEMONLY. |02- EXCHANGE-DRIVER INSTRUCTIONSINSIDE
Description/ShipmentRequest/LabelSpecification/Instruction/Description N
o
One
Str
ing
1…
35
Description of the labelInstruction code.
ReceiptSpecification /ShipmentRequest/ReceiptSpecification No
1
Conta
iner
Container used to allow theuser a to choose to print athermal receipt.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 115
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ImageFormat/ShipmentRequest/ReceiptSpecification/ImageFormat Y
es
1
Conta
iner
ImageFormat Container
Code/ShipmentRequest/ReceiptSpecification/ImageFormat/Code Y
es
1
Str
ing
Print code that determinesthe receipt format.
Description/ShipmentRequest/ReceiptSpecification/ImageFormat/Description N
o
1
Str
ing
Description of the receiptformat code.
ShipConfirmRequest /ShipConfirmRequest Yes
One
conta
iner
N/A
Request Container N/A
Request /ShipConfirmRequest/Request Yes
One
conta
iner
N/A
Request Container N/A
RequestOption /ShipConfirmRequest/Request/RequestOption Yes
One
str
ing
1..
.15
OptionalProcessing.‘nonvalidate’ =No addressvalidation.‘validate’ = Fail onfailed addressvalidation.Defaults to‘validate’.Note: Full addressvalidation is not performed.Therefore, it is theresponsibility of the ShippingTool User to ensure theaddress entered is correct toavoid an address correctionfee.
Values blank, validate, ornonvalidate.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 116
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
TransactionReference/ShipConfirmRequest/Request/TransactionReference N
o
One
Conta
iner
N/A
TransactionReferenceidentifies transactionsbetween client andserver. N/A
CustomerContext/ShipConfirmRequest/Request/TransactionReference/CustomerContext N
o
One
str
ing
1..
.512
The client usesCustomerContext tosynchronizerequest/responsepairs. TheclientestablishesCustomerContext, which can contain anyinformation you want, asalong as it is valid XML; it isechoed back by the server. N/A
Shipment /ShipConfirmRequest/Shipment Yes
One
conta
iner
N/A
Shipment Container
Refer to the Shipmentcontainer table for theelements under Shipmentcontainer.
Description /ShipConfirmRequest/Shipment/Description Cond
One
Str
ing
1..
.35
The Description of Goods forthe shipment. Applies tointernational shipments only.Provide a detaileddescription of items beingshipped for documents andnon-documents. Providespecific descriptions, suchas "annual reports" and "9mm steel screws".
Required if all of the listedconditions are true:ShipFrom and ShipTocountries are not thesame; The packagingtype is not UPS Letter;The ShipFrom and orShipTo countries are notin the European Union orthe ShipFrom and ShipTocountries are both in theEuropean Union and theshipments service type isnot UPS Standard.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 117
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ReturnService/ShipConfirmRequest/Shipment/ReturnService N
o
One
Conta
iner
N/A
Type of Return service.When this container exists,the shipment is a returnshipment. N/A
Code/ShipConfirmRequest/Shipment/ReturnService/Code Y
es*
One
str
ing
1 Return Service types:‘2’ =UPS Print and Mail (PNM)‘3’= UPS Return Service 1-Attempt (RS1) ‘5’ = UPSReturn Service 3-Attempt(RS3)‘8’ = UPS ElectronicReturn Label (ERL)‘9’ = UPSPrint Return Label (PRL) N/A
Description/ShipConfirmRequest/Shipment/ReturnService/Description N
o
One
Str
ing
1..
.35
Return Service description N/A
DocumentsOnlyIndicator/ShipConfirmRequest/Shipment/DocumentsOnlyIndicator No
One
str
ing
0 Indicates a shipmentcontains written, typed, orprinted communication of nocommercial value. IfDocumentsOnly is notspecified then it implies thatthe shipment contains nondocuments or documents ofcommercial value. Default isa shipment contains non-documents or documents ofcommercial value.
Empty Tag. Valid only forshipments with differentorigin and destinationcountries. The origincountry is not US, and thedestination country is notCA, PR or MX.
Shipper /ShipConfirmRequest/Shipment/Shipper Yes
One
Conta
iner
N/A Container tag for Shipper’s
information N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 118
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Name/ShipConfirmRequest/Shipment/Shipper/Name Y
es
One
str
ing
1..
.35
Shipper’s company name. N/A
AttentionName/ShipConfirmRequest/Shipment/Shipper/AttentionName C
ond
One
str
ing
1..
.35
Shipper’s Attention Name
Required if destination isinternational. Required ifInvoice and CoInternational forms arerequested and theShipFrom address is notpresent.
TaxIdentificationNumber/ShipConfirmRequest/Shipment/Shipper/TaxIdentificationNumber C
ond
One
str
ing
1..
.15
Shipper’s Tax IdentificationNumber
Conditionally required ifSED form (Internationalforms) is requested andship From is notmentioned.
Phone/ShipConfirmRequest/Shipment/Shipper/Phone C
ond
One
Conta
iner
N/A Container tag for Phone
Number N/A
Number/ShipConfirmRequest/Shipment/Shipper/Phone/Number Y
es*
One
Str
ing
1..
.15
Shipper’s phone Number.
Valid values are 0 - 9.IfShipper country is US,PR, CA, and VI, thelayout is area code, 7digit PhoneNumber orarea code, 7 digitPhoneNumber, 4 digitextension number; forother countries, the layoutis CountryCode, areacode, 7 digit number
Extension/ShipConfirmRequest/Shipment/Shipper/Phone/Extension N
o
One
Str
ing
1..
.4
Shipper’s phone extension. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 119
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipperNumber/ShipConfirmRequest/Shipment/Shipper/ShipperNumber Y
es
One
str
ing
6
Shipper’s six digit accountnumber.
Size must be sixalphanumeric characters.Must be associated withthe UserId specified in theAccessRequest XML Theaccount must be a validUPS account number thatis active. For US, PR andCA accounts, the accountmust be either a dailypickup account, anoccasional account, or acustomer B.I.N account.Drop Shipper accountsare valid for return serviceshipments only if theaccount is Trade Direct(TD) enabled. All otheraccounts must be either adaily pickup account, oran occasional account.
FaxNumber/ShipConfirmRequest/Shipment/Shipper/FaxNumber N
o
One
Str
ing
1..
.14
Shipper’s Fax Number. N/A
EMailAddress/ShipConfirmRequest/Shipment/Shipper/EMailAddress No
One
str
ing
1..
.50
Shipper’s email address. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 120
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address/ShipConfirmRequest/Shipment/Shipper/Address Y
es
One
Conta
iner
N/A
Shipper’s email address.
The package should bereturned to this address ifthe package isundeliverable. Thisaddress appears on theupper left hand corner ofthe label. Note: If theShipFrom container is notpresent then this addresswill be used as theShipFrom address. If thisaddress is used as theShipFrom the shipmentwill be rated from thisorigin address.
AddressLine/ShipConfirmRequest/Shipment/Shipper/Address/AddressLine Y
es
Thre
e
str
ing
1..
.35 The shipper's street address,
including name and number(when applicable).
Maximum Occurrenceshould be three.
City/ShipConfirmRequest/Shipment/Shipper/Address/City Y
es
One
str
ing
1..
.30
The shipper's City N/A
StateProvinceCode/ShipConfirmRequest/Shipment/Shipper/Address/StateProvinceCode C
ond
One
str
ing
2..
.5 Shipper's state or provincecode.
Required if shipper is inthe US or CA. If Shippercountry is US or CA, thenthe value must be a validUS State/ CanadianProvince code. If thecountry is Ireland, theStateProvinceCode willcontain the county.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 121
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode/ShipConfirmRequest/Shipment/Shipper/Address/PostalCode C
ond
One
str
ing
1..
.9
Shipper's postal code.
If Shipper country is USor Puerto Rico, 5 or 9digits are required. . Thecharacter - may be usedto separate the first fivedigits and the last fourdigits. If the Shippercountry is CA, then thepostal code is requiredand must be 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit. Forall other countries thepostal code is optionaland must be no morethan 9 alphanumericcharacters long.
CountryCode/ShipConfirmRequest/Shipment/Shipper/Address/CountryCode Y
es
One
str
ing
2
Shipper's country code.
Must be a valid UPSBilling country code. ForForward shipments itmust also be an allowableUPS origin country. ForReturn Shipment thecountry code must meetthe following conditions:1)At least two of thefollowing country codesare the same: ShipTo,ShipFrom, and Shipper.2)None of the followingcountry codes are thesame and are a memberof the EU: ShipTo,ShipFrom, and Shipper.3)None of the followingcountry codes are thesame and at least one ofthem is not a member ofthe EU, the shipper musthave Third Countrycontract service: ShipTo,ShipFrom, and Shipper.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 122
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipTo /ShipConfirmRequest/Shipment/ShipTo Yes
One
Conta
iner
N/A
Ship To Container N/A
Name /ShipConfirmRequest/Shipment/ShipTo/Name Yes
One
str
ing
1..
.35
Consignee's company name. N/A
AttentionName/ShipConfirmRequest/Shipment/ShipTo/AttentionName C
ond
One
str
ing
1..
.35
Contact name at theconsignee's location.
Required for: UPS NextDay Air Early A.M.service, and when ShipTocountry is different thanShipFrom country.Required if InvoiceInternational form isrequested
TaxIdentificationNumber/ShipConfirmRequest/Shipment/ShipTo/TaxIdentificationNumber N
o
One
Str
ing
1..
.15
Consignee's taxidentification number. N/A
Phone/ShipConfirmRequest/Shipment/ShipTo/Phone C
ond
One
Conta
iner
N/A
Container for Phone Number N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 123
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Number/ShipConfirmRequest/Shipment/ShipTo/Phone/Number Y
es*
One
Str
ing
1..
.15
Consignee's phone Number.
Required for: UPS NextDay Air Early A.M.service, and when ShipTo country is differentthan the ShipFromcountry. If ShipTo countryis US, PR, CA, and VI,the layout is area code, 7digit PhoneNumber orarea code, 7 digitPhoneNumber, 4 digitextension number;number; for othercountries, the layout isCountryCode, area code,7 digit number.
Extension/ShipConfirmRequest/Shipment/ShipTo/Phone/Extension N
o
One
Str
ing
1..
.4 Consignee's phoneextension. N/A
FaxNumber/ShipConfirmRequest/Shipment/ShipTo/FaxNumber N
o
One
Str
ing
1..
.15
Consignee's fax number.
If ShipTo country is US10 digits allowed,otherwise 1-15 digitsallowed.
EMailAddress/ShipConfirmRequest/Shipment/ShipTo/EMailAddress N
o
One
str
ing
1..
.50
Consignee's email address. N/A
Address/ShipConfirmRequest/Shipment/ShipTo/Address Y
es
One
Conta
iner
N/A
Address Container. N/A
AddressLine/ShipConfirmRequest/Shipment/ShipTo/Address/AddressLine Y
es
Thre
e
Str
ing
1..
.35
Address Line of theconsignee. Max Occurrence can be 3
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 124
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
City/ShipConfirmRequest/Shipment/ShipTo/Address/City Y
es
One
str
ing
1..
.30
Consignee's city. N/A
StateProvinceCode/ShipConfirmRequest/Shipment/ShipTo/Address/StateProvinceCode C
ond
One
str
ing
2
Consignee's state orprovince code. Required forUS or Canada.
If destination is US or CA,then the value must be avalid US State/ CanadianProvince code. If thecountry is Ireland, theStateProvinceCode willcontain the county.
PostalCode/ShipConfirmRequest/Shipment/ShipTo/Address/PostalCode C
ond
One
str
ing
1..
.9
Consignee's postal code.
If the ShipTo country isUS or Puerto Rico, 5 or 9digits are required. . Thecharacter - may be usedto separate the first fivedigits and the last fourdigits. If the ShipTocountry is CA, then thepostal code is requiredand must be 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit.Otherwise optional. Forall other countries thepostal code is optionaland must be no morethan 9 alphanumericcharacters long.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 125
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CountryCode/ShipConfirmRequest/Shipment/ShipTo/Address/CountryCode Y
es
One
str
ing
2
Consignee's country code.
Must be a valid UPSBilling country code. ForReturn Shipment thecountry code must meetthe following conditions:1)At least two of thefollowing country codesare the same: ShipTo,ShipFrom, and Shipper.2) None of the followingcountry codes are thesame and are a memberof the EU: ShipTo,ShipFrom, and Shipper.3) None of the followingcountry codes are thesame and at least one ofthem is not a member ofthe EU, the shipper musthave Third Countrycontract service: ShipTo,ShipFrom, and Shipper.
ResidentialAddressIndicator/ShipConfirmRequest/Shipment/ShipTo/Address/ResidentialAddressIndicator N
o
One
Str
ing
0 This field is a flag to indicateif the receiver is a residentiallocation. True ifResidentialAddressIndicatortag exists; false otherwise Empty Tag.
LocationID/ShipConfirmRequest/Shipment/ShipTo/LocationID N
o
One
Str
ing
3..
.10
Location ID is a uniqueidentifier referring to aspecific shipping/receivinglocation.
Location ID must bealphanumeric characters.All letters must becapitalized.
ShipFrom /ShipConfirmRequest/Shipment/ShipFrom Cond
One
conta
iner
N/A
Ship From Container
Required for returnshipment. Required ifpickup location is differentfrom the shipper'saddress.
Name/ShipConfirmRequest/Shipment/ShipFrom/Name Y
es*
One
str
ing
1..
.35
The ship from location'sname or company name.
Required if ShipFrom tagis in the XML.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 126
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
AttentionName/ShipConfirmRequest/Shipment/ShipFrom/AttentionName C
ond
One
str
ing
1..
.35
The ship from Attentionname.
Required if ShipFrom tagis in the XML and Invoiceor CO International formsis requested.
TaxIdentificationNumber/ShipConfirmRequest/Shipment/ShipFrom/TaxIdentificationNumber C
ond
One
str
ing
1..
.15 Company's Tax IdentificationNumber at the pick uplocation
Conditionally required ifSED form (Internationalforms) is requested
Phone/ShipConfirmRequest/Shipment/ShipFrom/Phone C
ond
One
Conta
iner
N/A
Container for Phone Number
If ShipFrom country isUS, PR, CA, and VI, thelayout is area code, 7digit phone number orarea code, 7 digit phonenumber, 4 digit extensionnumber; for othercountries, the layout isCountryCode, area code,7 digit number. Requiredif ShipFrom tag is in theXML and Internationalforms is requested.
Number/ShipConfirmRequest/Shipment/ShipFrom/Phone/Number Y
es*
One
Str
ing
1..
.15
The Ship from phoneNumber. N/A
Extension/ShipConfirmRequest/Shipment/ShipFrom/Phone/Extension N
o
One
Str
ing
1..
.4 The Ship from phoneextension. N/A
FaxNumber/ShipConfirmRequest/Shipment/ShipFrom/FaxNumber N
o
One
Str
ing
1..
.15
The Ship from fax number.
If Ship from country is US10 digits allowed,otherwise 1-15 digitsallowed.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 127
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address/ShipConfirmRequest/Shipment/ShipFrom/Address Y
es
One
conta
iner
N/A Ship from Address
Container.
The package will beoriginating from or beingshipped from thisaddress. The shipmentwill be rated from thisorigin address to thedestination ship toaddress..
AddressLine/ShipConfirmRequest/Shipment/ShipFrom/Address/AddressLine Y
es
Thre
e
str
ing
1..
.35 The Ship from street
address including name andnumber (when applicable). Max Occurrence can be 3
City/ShipConfirmRequest/Shipment/ShipFrom/Address/City Y
es
One
str
ing
1..
.30
The Ship from city.Required if ShipFrom tagis in the XML.
StateProvinceCode/ShipConfirmRequest/Shipment/ShipFrom/Address/StateProvinceCode C
ond
One
str
ing
2
Origin location's state orprovince code.
Required if ShipFrom tagis in the XML, andShipFrom/Country is US.If ShipFrom country is USor CA, then the valuemust be a valid US State/Canadian Province code.If the country is Ireland,the StateProvinceCodewill contain the county.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 128
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode/ShipConfirmRequest/Shipment/ShipFrom/Address/PostalCode C
ond
One
str
ing
1..
.9 The ship from location'spostal code.
Required if ShipFrom tagis in the XML and theShipFrom country is theUS, Puerto Rico. For US,Puerto Rico must be valid5 or 9 digit postal code.The character - may beused to separate the firstfive digits and the lastfour digits. If theShipFrom country is CA,then the postal code mustbe 6 alphanumericcharacters whose formatis A#A#A# where A is anuppercase letter and # isa digit. For all othercountries the postal codeis optional and must beno more than 9alphanumeric characterslong.
CountryCode/ShipConfirmRequest/Shipment/ShipFrom/Address/CountryCode Y
es
One
str
ing
2
Origin location's countrycode.
Required if ShipFrom tagis in the XML. For ReturnShipment the countrycode must meet thefollowing conditions:1) Atleast two of the followingcountry codes are thesame: ShipTo, ShipFrom,and Shipper.2) None ofthe following countrycodes are the same andare a member of the EU:ShipTo, ShipFrom, andShipper.3) None of thefollowing country codesare the same and at leastone of them is not amember of the EU, theshipper must have ThirdCountry contract service:ShipTo, ShipFrom, andShipper.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 129
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PaymentInformation/ShipConfirmRequest/Shipment/PaymentInformation C
ond
One
conta
iner
N/A
Payment informationcontainer for detailedshipment charges. The twoshipment charges that areavailable for specificationare Transportation chargesand Duties and Taxes.
It is required for non-Ground Freight Pricingshipments only.
ShipmentCharge/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge Y
es
One
Conta
iner
N/A
Shipment charge container
If Duty and Tax chargesare applicable to ashipment and a payer isnot specified, the defaultpayer of Duty and Taxcharges is Bill toReceiver.
Type/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/Type Y
es
One
str
ing
2
Values are: 01 =Transportation, 02 =Duties and Taxes
A shipment charge typeof 01 = Transportation isrequired. A shipmentcharge type of 02 =Duties and Taxes is notrequired; however, thischarge type is invalid forQualified DomesticShipments. A QualifiedDomestic Shipment is anyshipment in which one ofthe following applies:1)The origin and destinationcountry is the same2) USto PR shipment3) PR toUS shipment4) The originand destination countryare both European UnionCountries and theGoodsNotInFreeCirculation indicator is notpresent5) The origin anddestination IATA code isthe same
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 130
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BillShipper/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper N
o
One
Conta
iner
N/A
Container for the BillShipperbilling option. The twopayment methods that areavailable for the Bill Shipperbilling option are accountnumber or credit card.
This element or its siblingelement, BillReceiver,BillThirdParty orConsigneeBilledIndicator,must be present but nomore than one can bepresent.
AccountNumber
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/AccountNumber C
ond
One
str
ing
6
UPS account number
Must be the same UPSaccount number as theone provided inShipper/ShipperNumber.Either this element or thesibling elementCreditCard must beprovided, but both maynot be provided.
CreditCard
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard C
ond
One
Conta
iner
N/A Credit card information
container
Required if/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/AccountNumber is notpresent. Credit cardpayment is valid forshipments without returnservice only.
Type
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Type Y
es*
One
str
ing
2 Values are 01 = AmericanExpress, 03 = Discover, 04 =MasterCard, 05 = Optima,06 = VISA, 07 = Bravo,and 08 = Diners Club
Valid values are: 01, 03,04 and 06.For Discovercard the ShipFromcountry has to be US
Number
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Number Y
es*
One
str
ing
9..
.16
Credit Card number N/A
ExpirationDate
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/ExpirationDate Y
es*
One
str
ing
6
Format is MMYYYY whereMM is the 2 digit month andYYYY is the 4 digit year.
Valid month values are01-12 and valid yearvalues are Present Year -(Present Year + 10 years)
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 131
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
SecurityCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/SecurityCode Y
es*
One
str
ing
3..
4
Three or four digits that canbe found either on top ofcredit card number or on theback of credit card. Numberof digits varies for differenttype of credit card.
Valid values are 3 or 4digits. It is required toprovide the security codeif credit card informationis provided and when theShipFrom countries areother than the belowmentioned countries.ArgentinaBahamas CostaRica DominicanRep GuatemalaPanama PuertoRico Russia
Address
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address C
ond
One
Conta
iner
N/A Container to hold the Credit
card Billing Address.
It is required to providebilling address if creditcard information isprovided and when theShipFrom country is theUS, PR, and CA.
AddressLine
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/AddressLine Y
es*
Thre
e str
ing 1..
.35
Address Line 1 of the creditcard billing address. UsuallyStreet address information.
Max of three AddressLinecan be provided.
City
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/City Y
es*
One
str
ing
1..
.30
City of the credit card billingaddress N/A
StateProvinceCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/StateProvinceCode
Yes*
One
str
ing
2..
.5 State or province code of thecredit card billing address. N/A
PostalCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/PostalCode Y
es
* One
str
ing 1..
.9 Credit card billing addresseepostal code. N/A
CountryCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillShipper/CreditCard/Address/CountryCode Y
es*
One
str
ing
2
Credit card billing addresscountry code.
Must be a valid UPSBilling country code. ForDiscover card it should beUS
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 132
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BillReceiver/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver C
ond
One
conta
iner
N/A Container for the
BillReceiver billing option.
This element or its siblingelement, BillShipper,BillThirdParty orConsignee Billed, mustbe present but no morethan one can be present.For a return shipment, BillReceiver is invalid forTransportation charges.
AccountNumber
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver/AccountNumber Y
es*
One
str
ing
6
The UPS account number.
The account must be avalid UPS accountnumber that is active. ForUS, PR and CA accounts,the account must be adaily pickup account, anoccasional account, acustomer B.I.N account,or a dropper shipperaccount. All otheraccounts must be either adaily pickup account, anoccasional account, adrop shipper account, ora non-shipping account
Address/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver/Address N
o
One
conta
iner
N/A
Container for additionalinformation for the billreceivers UPS accountsaddress. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 133
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PostalCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillReceiver/Address/PostalCode C
ond
One
str
ing
0..
.9
The postal code for the UPSaccounts pickup address.The pickup postal code wasentered in the UPS systemwhen the account was set-up.
The postal code must bethe same as the UPSaccount pickup addresspostal code. Required forUnited States andCanadian UPS accountsand/or if the UPS accountpickup address has apostal code. If the UPSaccounts pickup countryis US or Puerto Rico, thepostal code is 5 or 9digits. The character -may be used to separatethe first five digits and thelast four digits. If the UPSaccounts pickup countryis CA, the postal code is 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit.
BillThirdParty/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty C
ond
One
conta
iner
N/A Container for the third party
billing option.
This element or its siblingelement, BillShipper,BillReceiver or ConsigneeBilled, must be presentbut no more than one canbe present.
AccountNumber
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/AccountNumber Y
es*
One
str
ing
6
The UPS account number ofthe third party shipper.
The account must be avalid UPS accountnumber that is active. ForUS, PR and CA accounts,the account must beeither a daily pickupaccount, an occasionalaccount, or a customerB.I.N account, or a dropshipper account. All otheraccounts must be either adaily pickup account, anoccasional account, adrop shipper account, ora non-shipping account.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 134
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/Address Y
es
One
conta
iner
N/A
Container for additionalinformation for the third partyUPS accounts address. N/A
PostalCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/Address/PostalCode C
ond
One
str
ing
0..
.9
The postal code for the UPSaccounts pickup address.The pickup postal code wasentered in the UPS systemwhen the account was set-up.
The postal code must bethe same as the UPSaccount pickup addresspostal code. Required forUnited States andCanadian UPS accountsand/or if the UPS accountpickup address has apostal code. If the UPSaccounts pickup countryis US or Puerto Rico, thepostal code is 5 or 9digits. The character -may be used to separatethe first five digits and thelast four digits. If the UPSaccounts pickup countryis CA, the postal code is 6alphanumeric characterswhose format is A#A#A#where A is an uppercaseletter and # is a digit.
CountryCode
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/BillThirdParty/Address/CountryCode Y
es
One
str
ing
2
The country code for theUPS accounts pickupaddress. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 135
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ConsigneeBilledIndicator
/ShipConfirmRequest/Shipment/PaymentInformation/ShipmentCharge/ConsigneeBilledIndicator C
ond
One
str
ing
0
Consignee Billing paymentoption indicator. Thepresence indicatesconsignee billing option isselected. The absenceindicates one of the otherpayment options is selected.
Empty Tag. This elementor its sibling element,BillShipper, BillReceiveror BillThirdParty, must bepresent but no more thanone can be present. Thisbilling option is valid for ashipment charge type ofTransportation only. Onlyapplies to US/PR andPR/US shipment originsand destination.
SplitDutyVATIndicator/ShipConfirmRequest/Shipment/PaymentInformation/SplitDutyVATIndicator N
o
One
Str
ing
0 Split Duty VAT Indicator.The presence indicates thepayer specified forTransportation Charges willpay transportation chargesand any duties that apply tothe shipment. The payerspecified for Duties andTaxes will pay the VAT(Value-Added Tax) only.
Empty Tag. The paymentmethod for Transportationcharges must be UPSaccount. The UPSaccount must be a dailypickup account or anoccasional account.
FRSPaymentInformation/ShipConfirmRequest/Shipment/FRSPaymentInformation C
ond
One
Conta
iner
N/A
Container to hold thePayment information for theGround Freight PricingShipments
Required for GroundFreight PricingShipments only
Type/ShipConfirmRequest/Shipment/FRSPaymentInformation/Type Yes
One
Conta
iner
N/A
Container to hold theGround Freight Pricingpayment type information
It is required if the requesthas Ground FreightPricing shipmentindicator
Code/ShipConfirmRequest/Shipment/FRSPaymentInformation/Type/Code Y
es
One
Str
ing
2
Valid codes: 01=Prepaid02=FreightCollect03=PrepaidThirdParty
Description/ShipConfirmRequest/Shipment/FRSPaymentInformation/Type/Description N
o
One
Str
ing
50
Specifies the description forGround Freight Pricingpayment type
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 136
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
AccountNumber/ShipConfirmRequest/Shipment/FRSPaymentInformation/AccountNumber Y
es
One
Str
ing
6
The UPS account number.
If the Ground FreightPricing indicator ispresent in the request,This account numbermust be validated tocheck if it is GroundFreight Pricing enabled.
Address/ShipConfirmRequest/Shipment/FRSPaymentInformation/Address C
ond
One
Conta
iner
N/A
Container to hold theinformation for theFreightCollect andPrepaidThirdParty Address.
Note: The Address isrequired only when thebilling option is Freightcollect or ThirdParty.
PostalCode/ShipConfirmRequest/Shipment/FRSPaymentInformation/Address/PostalCode C
ond
One
Str
ing
0..
.9
The postal code for theGround Freight Pricingpayment informationaddress.
CountryCode/ShipConfirmRequest/Shipment/FRSPaymentInformation/Address/CountryCode Y
es
One
Str
ing
2
The country code for theGround Freight Pricingpayment informationaddress.
GoodsNotInFreeCirculationIndicator
/ShipConfirmRequest/Shipment/GoodsNotInFreeCirculationIndicator N
o
One
str
ing
0Goods Not In FreeCirculation indicator.
Empty Tag. This indicatoris invalid for a packagetype of UPS Letter andDocumentsOnly.
ShipmentRatingOptions/ShipConfirmRequest/Shipment/ShipmentRatingOptions N
o
One
conta
iner
N/A ShipmentRatingOptions
container N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 137
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
NegotiatedRatesIndicator/ShipConfirmRequest/Shipment/ShipmentRatingOptions/NegotiatedRatesIndicator N
o
One
Str
ing
0
Negotiated Rates optionindicator. If the indicator ispresent and the Shipper isauthorized then NegotiatedRates should be returned inthe response.
The Shipper account andUserId combination mustbe qualified to receiveNegotiated rates. If theindicator is present andthe Shipper is qualifiedthen Negotiated rates willbe returned in theresponse. Only theShipper account numbertaken from/ShipConfirmRequest/Shipment/Shipper/ShipperNumber is used whenchecking qualification forNegotiated rates.
FRSShipmentIndicator/ShipConfirmRequest/Shipment/ShipmentRatingOptions/FRSShipmentIndicator N
o
One
Str
ing
0
Ground Freight PricingRates option indicator. If theGround Freight PricingShipment indicator isenabled and Shippernumber is authorized thenGround Freight Pricing ratesshould be returned in theresponse
The Shipper accountnumber must be qualifiedto receive Ground FreightPricing Shipment rates.Only the Shipper accountnumber taken from/ShipConfirmRequest/Shipment/ Ground FreightPricingPaymentInformation/AccountNumber is used whenchecking qualification forGround Freight Pricingrates.
RateChartIndicator/ShipConfirmRequest/Shipment/ShipmentRatingOptions/RateChartIndicator N
o
1
Str
ing
MovementReferenceNumber/ShipConfirmRequest/Shipment/MovementReferenceNumber N
o
One
Str
ing
18 Must contain alphanumeric
characters only. Must be alength of 18 characters. The3rd and 4th Characters mustbe the Shipper country ISOCode.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 138
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ReferenceNumber/ShipConfirmRequest/Shipment/ReferenceNumber N
o
One
conta
iner
N/A Reference Number
information container. N/A
BarCodeIndicator/ShipConfirmRequest/Shipment/ReferenceNumber/BarCodeIndicator N
o
One
str
ing
0
If the indicator is presentthen the reference numbersvalue will be bar coded onthe label.
Empty Tag. Allowed forshipment with returnservice only. Only oneshipment-level orpackage-level referencenumber can be bar codedper shipment. In order tobarcode a referencenumber, its value must beno longer than 14alphanumeric charactersor 24 numeric charactersand cannot containspaces.
Code/ShipConfirmRequest/Shipment/ReferenceNumber/Code N
o
One
str
ing
2
Shipment Reference numbertype code. The codespecifies the Referencename. Refer to theReference Number Codetable.
Valid if theorigin/destination pair isnot US/US or PR/PR2character alpha-numeric.
Value/ShipConfirmRequest/Shipment/ReferenceNumber/Value Y
es*
One
str
ing
1..
.35
Customer supplied referencenumber.
Valid if theorigin/destination pair isnot US/US or PR/PR
Service /ShipConfirmRequest/Shipment/Service Yes
One
conta
iner
N/A
UPS service type N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 139
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code /ShipConfirmRequest/Shipment/Service/Code Yes
One
Str
ing
2 Values are: 01 = Next DayAir, 02 = 2nd Day Air, 03 =Ground, 07 = Express, 08 =Expedited, 11 = UPSStandard, 12 = 3 Day Select,13 = Next Day Air Saver, 14= Next Day Air Early AM, 54= Express Plus, 59 = 2ndDay Air A.M., 65 = UPSSaver, 82 = UPS TodayStandard, 83 = UPS TodayDedicated Courier, 84 =UPS Today Intercity, 85 =UPS Today Express, 86 =UPS Today Express Saver.Note: Only service code 03is used for Ground FreightPricing shipments
The following Servicesare not available to returnshipment:13 - Next DayAir Saver, 14 - Next DayAir Early AM, 59 - 2ndDay Air A.M., 82 = UPSToday Standard, 83 =UPS Today DedicatedCourier, 84 = UPS TodayIntercity, 85 = UPS TodayExpress, 86 = UPS TodayExpress Saver.
Description/ShipConfirmRequest/Shipment/Service/Description N
o
One
str
ing
1..
.35
Description of the servicecode. Examples are NextDay Air, Worldwide Express,and Ground. N/A
InvoiceLineTotal/ShipConfirmRequest/Shipment/InvoiceLineTotal C
ond
One
Conta
iner
N/A Container to hold
InvoiceLineTotal Information.
Required for forwardshipments whose origin isthe US and destination isPuerto Rico or Canada.Not available for anyother shipments. FOROTHER DESTINATIONSthe InvoiceLineTotal inthe International FormsContainer must be used.
CurrencyCode/ShipConfirmRequest/Shipment/InvoiceLineTotal/CurrencyCode Y
es*
One
str
ing 3
Invoice Line Total currencytype.
MonetaryValue/ShipConfirmRequest/Shipment/InvoiceLineTotal/MonetaryValue Y
es*
One
str
ing
1..
.19
Invoice Line Total amountfor the entire shipment.
Valid values are from 1 to99999999
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 140
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentServiceOptions/ShipConfirmRequest/Shipment/ShipmentServiceOptions N
o
One
Conta
iner
N/A Container for Shipment
Service Option N/A
SaturdayDeliveryIndicator/ShipConfirmRequest/Shipment/ShipmentServiceOptions/SaturdayDeliveryIndicator N
o
One
Str
ing
0 Saturday delivery indicator.The presence indicatesSaturday delivery; theabsence indicates notSaturday delivery. Empty Tag.
COD/ShipConfirmRequest/Shipment/ShipmentServiceOptions/COD N
o
One
Conta
iner
N/A
COD container
Indicates COD isrequested. ShipmentCOD is only available forEU origin countries andfor shipper's account typeDaily Pickup and DropShipping. Not availableto shipment with returnservice.
CODFundsCode/ShipConfirmRequest/Shipment/ShipmentServiceOptions/COD/CODFundsCode Y
es*
One
Str
ing
1
Values are: 1 = cash; 9 =check, cashiers check ormoney order - no cashallowed. N/A
CODAmount/ShipConfirmRequest/Shipment/ShipmentServiceOptions/COD/CODAmount Y
es*
One
Conta
iner
N/A
COD Amount Container. N/A
CurrencyCode/ShipConfirmRequest/Shipment/ShipmentServiceOptions/COD/CODAmount/CurrencyCode Y
es*
One
str
ing
3
COD amount currency codetype. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 141
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/COD/CODAmount/MonetaryValue Y
es*
One
str
ing
1..
.8 COD Amount monetaryvalue.
Notification/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification N
o
One
Conta
iner
N/A
Container for the QuantumViewTM notifications (QVN)or Return Notification (akaLabel Creation Notification). N/A
NotificationCode/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/NotificationCode Y
es*
One
Str
ing
1 The type of notificationrequested. Valid Value: 5 -QV In-transit Notification 6 -QV Ship Notification 7 - QVException Notification 8 - QVDelivery Notification 2 -Return Notification or LabelCreation NotificationNote:QVN Exceptionnotification and returnnotification are notapplicable to GFP QV In-transit and ReturnNotifications are only validfor ImportControl and Returnshipments
Quantum View TMNotification (QVN) is onlyallowed for shipmentwithout return service;Return Notification is onlyfor allowed return service1-Attempt and 3-Attempt
EMail/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail Yes*
One
Conta
iner
N/A Container for Email
Information N/A
EMailAddress/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/EMailAddress Y
es
One
Str
ing
1..
.50
Email address where thenotification is sent
Up to five emailaddresses are allowed foreach type of QuantumView TM shipmentnotification. Up to twoemail address for returnnotification.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 142
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
UndeliverableEMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/UndeliverableEMailAddress N
o
One
Str
ing
1..
.50
The address where anundeliverable eMailmessage is sent if the eMailwith the notification isundeliverable.
There can be only oneUndeliverableEMailAddress for each type ofQuantum View ShipmentNotifications.
FromEMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/FromEMailAddress C
ond
One
Str
ing
1..
.50
The e-mail address specifiesthe Reply To E-mailaddress. The From field ofthe message headercontains [email protected]. Return Notification only.
FromName/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/FromName N
o
One
str
ing
1..
.35 The name the email will
appear to be from. Defaultsto the Shipper Name.
The FromName mustoccur only once for eachtype of Quantum ViewShipment Notifications.
Memo/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/Memo N
o
One
str
ing
1..
.150
User defined text that will beincluded in the eMail.
The Memo must occuronly once for each type ofQuantum View ShipmentNotifications.
Subject/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/Subject N
o
One
str
ing
1..
.75
The eMail's subject. Defaultsto text provided by UPS Return Notification only.
SubjectCode/ShipConfirmRequest/Shipment/ShipmentServiceOptions/Notification/EMail/SubjectCode N
o
One
str
ing
2 Specifies a reference codeand reference number todisplay in the subject of theNotification. The validsubject codes are: 01 -Shipment ReferenceNumber 1 02 - ShipmentReference Number 2 03 -package Reference Number1 04 - package ReferenceNumber 2 08 - SubjectText (Return Notificationonly) If a subject code is notprovided or provided thatrefers to a nonexistentreference number, thesubject will default toshipment IdentificationNumber
For return notification: Ifthe subject code tag isnot provided and thesubject text is provided,the subject of thenotification will be thesubject text. If the subjecttext is provided and thesubject code tag exists,then the subject codevalue must be 08. IfSubject code is 08,subject text must exist.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 143
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LabelDelivery/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery N
o
One
Conta
iner
N/A
Container for the LabelDelivery accessorial.Note:Currently Label deliveryaccessorial is not applicableto GFP Required forshipments with eitherElectronic Return LabelReturn Service orImportControl ElectronicLabelMethod type. If thiscontainer is present, eitherof the LabelLinksIndicator orEmail container should beprovided.
Valid for shipments with aElectronic Return LabelReturn Service.
EMail/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail N
o
One
conta
iner
N/A Container for the email
message. N/A
EMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/EMailAddress Y
es*
One
str
ing
1..
.50 The destination eMail
address for the LabelDelivery. N/A
UndeliverableEMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/UndeliverableEMailAddress N
o
One
str
ing
1..
.50
The address where anundeliverable emailmessage is sent if the LabelDelivery email isundeliverable.
Defaults toFromEMailAddress.
FromEMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/FromEMailAddress Y
es*
One
str
ing
1..
.50
The e-mail address specifiesthe Reply To E-mailaddress. The From field ofthe message headercontains [email protected]. N/A
FromName/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/FromName N
o
One
Str
ing
1..
.35 The name notification will
appear to be from. Defaultsto the Shipper Name N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 144
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Memo/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/Memo N
o
One
str
ing
1..
150
User defined text that will beincluded in the email. N/A
Subject/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/Subject N
o
One
str
ing
1..
.75
The eMail's subject. Defaultsto the Label DeliveryNotification plus theshipment ID. Defaults to textprovided by UPS N/A
SubjectCode/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/EMail/SubjectCode N
o
One
str
ing
2
Specifies a reference codeand reference number todisplay in the subject of theLabel Delivery notification.When the subject code isprovided, the subject willcontain the following: UPSLabel Delivery. Thereference code (thereference code will bemapped to thecorresponding ANSI value)Plus the reference number.
If the subject code tag isnot provided and thesubject text is provided,the subject of thenotification will be thesubject text. If the subjecttext is provided, and thesubject code tag exists,then the subject codevalue must be 08;IfSubject code is 08,subject text must exist. Ifa subject code is providedthat refers to anonexistent referencenumber, the subject willdefault to the shipmentidentification number.
LabelLinksIndicator/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelDelivery/LabelLinksIndicator N
o
One
str
ing
0
Indicates the Label andReceipt URL's are to bereturned in the XMLresponse. Applicable forImportControl ElectronicLabels or for ReturnServiceElectronic Labels
Valid for shipments with aElectronic Return LabelReturn Service.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 145
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
InternationalForms/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms N
o
One
Conta
iner
N/A International Forms
information
REFER TOInternationalFormsInterface Spec for theexpansion of this node.
FormType/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/FormType *Y
es
toF
our
One
str
ing
2
Indicates the name of theInternational form requested.
Possible Values are: 01- Invoice 02 - SED03 -CO 04 - NAFTA CO 05- Partial Invoice. Forshipment with returnservice, 01 or 05 are theonly valid values. Note:01 and 05 are mutuallyexclusive and 05 is onlyvalid for return shipmentsonly.
AdditionalDocumentIndicator
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/AdditionalDocumentIndicator N
o
One
str
ing
0
Presence of the indicatormeans user will supplyadditional document, suchas SED, NAFTA_CO or CO.
This indicator should beset when the shipperintends to utilize UPSpaperless invoicefunctionality AND theshipper has SELF-PREPARED otherInternational Forms (SED,CO, NAFTACO) toaccompany the shipment.It is evaluated onlywhen:1. Account ispaperless enabled. 2.Movement requires aninvoice.3. Destinationcountry acceptspaperless invoice. 4.Invoice data is suppliedby the client and the datapasses validation.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 146
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FormGroupIdName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/FormGroupIdName N
o
One
str
ing
50
Contains description textwhich identifies the group ofInternational forms. Thiselement does not appear onthe forms.
SEDFilingOption
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/SEDFilingOption C
ond
One
str
ing
2
Indicates the SED filingoption
Applicable for SED formand is required. Validvalues is:01 - Shipperfiling SED
Contacts/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts C
ond
One
Conta
iner
N/A
Holds the contactinformation of variousparties.
Applicable for SED formand NAFTA CO only.Required for NAFTA COand SED. Ultimateconsignee contactinformation is required forSED. Producer contactinformation is required forNAFTA CO
ForwardAgent
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent N
o
One
Conta
iner
N/A
The forwarding agent is thecompany or person acting asagent in the trans-shippingof freight to the destinationcountry.
Applicable for SED formonly.
CompanyName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/CompanyName *Y
es
One
str
ing
1..
.35 Company Name or the
Individual name of theForwarding agent.
Applicable for SED formonly.
TaxIdentificationNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/TaxIdentificationNumber *Y
es
One
str
ing
1..
.15
Tax ID of the Forwardingagent.
Applicable for SED formonly.
Address
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address *Y
es
One
Conta
iner
N/A Address information of the
Forwarding agent.Applicable for SED formonly.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 147
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
AddressLine
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of theForwarding agent.
Max Occurrence must be3
City
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/City *Y
es
One
str
ing
1..
.30
City of the Forwarding agent.Applicable for SED formonly.
StateProvinceCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/StateProvinceCode C
ond
One
str
ing
1..
.5 State of the Forwardingagent.
Applicable for SED formonly. Required for certaincountries.
Town
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/Town N
o
One
Str
ing
1..
.30
Town of the Forwardingagent
PostalCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/PostalCode C
ond
One
str
ing
1..
.9 Postal code of theForwarding agent.
Applicable for SED formonly. Required for certaincountries. The length ofthe postal code dependson the country code.
CountryCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/ForwardAgent/Address/CountryCode *Y
es
One
str
ing
2Country code of theForwarding agent.
Applicable for SED formonly.
UltimateConsignee
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee C
ond
One
Conta
iner
N/A
The ultimate consignee isthe person or company whoreceives the goods for end-use or the person orcompany listed on the exportlicense. This is the end-userof the goods.
Applicable for SED formonly. Required when theform requested is SED.
CompanyName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/CompanyName *Y
es
One
str
ing
1..
.35 Company Name or the
Individual name of theUltimate consignee.
Applicable for SED formonly.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 148
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address *Y
es
One
Conta
iner
N/A Address information of the
Ultimate consignee.Applicable for SED formonly.
AddressLine
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of the Ultimateconsignee.
Max Occurrence must be3
City
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/City *Y
es
One
str
ing
1..
.30
City of the Ultimateconsignee.
Applicable for SED formonly.
StateProvinceCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/StateProvinceCode C
ond
One
str
ing
1..
.5 State of the Ultimateconsignee.
Applicable for SED formonly. Required for certaincountries
Town
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/Town N
o
One
Str
ing
1..
.30
Town of the Ultimateconsignee
PostalCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/PostalCode C
ond
One
Str
ing
1..
.9 Postal code of the Ultimateconsignee.
Applicable for SED formonly. Required for certaincountries. The length ofthe postal code dependson the country code.
CountryCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/UltimateConsignee/Address/CountryCode *Y
es
One
Str
ing 2
Country code of the Ultimateconsignee.
Applicable for SED formonly.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 149
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
IntermediateConsignee
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee N
o
One
Conta
iner
1..
.35
The intermediate consigneeis the person or company inthe importing country thatmakes final delivery to theultimate consignee.
Applicable for SED formonly.
CompanyName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/CompanyName *Y
es
One
str
ing
1..
.35 Company Name or the
Individual name of theIntermediate consignee.
Applicable for SED formonly.
Address
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address *Y
es
One
Conta
iner
1..
.50
Address information of theIntermediate Consignee.
Applicable for SED formonly.
AddressLine
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of theIntermediate Consignee.
Max Occurrence must be3
City
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/City *Y
es
One
str
ing
1..
.30
City of the IntermediateConsignee.
Applicable for SED formonly.
StateProvinceCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/StateProvinceCode C
ond
One
str
ing
1..
.5 State of the IntermediateConsignee.
Applicable for SED formonly. Required for certaincountries.
Town
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/Town N
o
One
Str
ing
1..
.30
Town of the Intermediateconsignee
PostalCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/PostalCode C
ond
One
str
ing
1..
.9 Postal code of theIntermediate Consignee.
Applicable for SED formonly. Required for certaincountries. The length ofthe postal code dependson the country code.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 150
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CountryCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/IntermediateConsignee/Address/CountryCode *Y
es
One
str
ing
2
Country code of theIntermediate Consignee.
Applicable for SED formonly.
Producer
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer C
ond
One
Conta
iner
1..
.35
Information of the producer.The NAFTA Certificate ofOrigin must be completed,signed, and dated by theexporter. When theCertificate is completed bythe producer for use by theexporter, it must becompleted, signed, anddated by the producer. Thedate must be the date theCertificate was completedand signed.
Applies to NAFTA CO.Required for NAFTA COforms
Option
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Option N
o
One
str
ing
2 The text associated with thecode will be printed in theproducer section instead ofproducer contactinformation. Use attachedList if more than oneproducers good is includedon the Certificate, attach alist of additional producers,including the legal name,address (including country),and legal tax identificationnumber, cross-referenced tothe goods described in theDescription of Goods field.
Applies to NAFTA CO.Possible Values are:01:AVAILABLE TOCUSTOMS UPONREQUEST, 02: SAME ASEXPORTER, 03:ATTACHED LIST, 04:UNKNOWN
CompanyName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/CompanyName C
ond
One
str
ing
1..
.35 Company Name or the
Individual name of theProducer.
Applies to NAFTA CO.Only applicable whenproducer option is emptyor not present.Conditionally required for:NAFTA CO, whenProducer option is notspecified.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 151
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
TaxIdentificationNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/TaxIdentificationNumber N
o
One
str
ing
1..
.15
Tax ID of the Producer.
Applies to NAFTA CO.Only applicable whenproducer option is emptyor not present
Address
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address C
ond
One
Conta
iner
1..
.50
Address information of theProducer.
Applies to NAFTA CO.Only applicable ifproducer option is emptyor not present.Conditionally required for:NAFTA CO, whenProducer option is notspecified.
AddressLine
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/AddressLine *Y
es
Thre
e
str
ing
1..
.35
Address line of theProducer.
Max Occurrence must be3
City
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/City *Y
es
One
str
ing
1..
.30
City of the Producer.
Applies to NAFTA CO.Conditionally requiredfor: NAFTA CO, whenProducer option is notspecified.
StateProvinceCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/StateProvinceCode C
ond
One
str
ing
1..
.5
State of the Producer.
Applies to NAFTA CO.Required for certaincountries
Town
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/Town N
o
One
Str
ing
1..
.30
Town of the Producer
PostalCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/PostalCode C
ond
One
str
ing
1..
.9
Postal code of the Producer.
Applies to NAFTA CO.Required for certaincountries. The length ofthe postal code dependson the country code.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 152
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CountryCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Address/CountryCode *Y
es
One
str
ing
1..
.2 Country code of theProducer. Applies to NAFTA CO
AttentionName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/AttentionName N
o
1
Str
ing
Producer Contact Name
Phone
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Phone N
o
1
Conta
iner
Phone Container
Number
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Phone/Number Y
es
1
Str
ing
Producer contact's PhoneNumber
Extension
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/Phone/Extension N
o
1
Str
ing
Producer contact's PhoneExtension
EMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/Producer/EMailAddress N
o
1
Str
ing
Producer contact's emailAddress.
SoldTo
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo N
o
One
conta
iner
N/A
SoldTo Container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 153
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Name
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Name Y
es*
One
str
ing
1..
35
Company Name.
AttentionName
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/AttentionName Y
es*
One
str
ing
1..
35
Contact Name.
TaxIdentificationNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/TaxIdentificationNumber N
o
One
str
ing
1..
15
SoldTo Tax IdentificationNumber
Phone
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Phone N
o
One
conta
iner
N/A
Phone Container
Number
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Phone/Number Y
es*
One
str
ing
1..
15
Sold To contacts phonenumber.
Extension
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Phone/Extension N
o
One
str
ing
?
Sold To contacts phoneextension.
Option
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Option N
o
One
str
ing
2 The text associated with thecode will be printed in thesold to section of the NAFTACO form. The valuesindicate the following 01 -Unknown; 02 - Various
Applies to NAFTA COform. Possible Valuesare 01 and 02
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 154
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Address
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address Y
es*
One
conta
iner
N/A
Address Container.
AddressLine
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/AddressLine Y
es
Thre
e
str
ing
35
SoldTo location's streetaddress.
Max Occurrence must be3
City
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/City Y
es
One
str
ing
30
SoldTo location's city.
StateProvinceCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/StateProvinceCode C
ond
One
str
ing
5
SoldTo location's state orprovince code.
Required for certaincountries.
Town
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/Town N
o
One
str
ing
? SoldTo location's town code.
PostalCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/PostalCode C
ond
One
str
ing
10
SoldTo location's postalcode.
CountryCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/Address/CountryCode Y
es
One
str
ing
2
SoldTo location's countrycode.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 155
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
EMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Contacts/SoldTo/EMailAddress N
o
1
Str
ing
Sold To contact's emailaddress.
Product/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product *Y
es
tofif
ty
One
Conta
iner
1..
.50
Contains the commodity/product information
Applies to SED, Invoice,Partial Invoice, CO andNAFTA CO. When anyInternational form isrequested Product mustbe present at least oncebut no more than 50.Note: For Partial Invoicethis container is optional.
Description
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Description *Y
es
One
str
ing
1..
.35
Description of the product.
Applies to all InternationalForms. Optional forPartial Invoice. Must bepresent at least once andcan occur for a maximumof 3 times
Unit/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit C
ond
One
Conta
iner
1..
.20 Container tag for the unit's
information of each product.(also called as commodity)
Required for Invoiceforms and optional forPartial Invoice.
Number
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/Number *Yes
One
str
ing
1..
.7
Total quantity of eachcommodity to be shipped,measured in the unitsspecified in the Unit ofMeasure field
Required for Invoiceforms and optional forPartial Invoice. Must benumeric. Valid charactersare 0-9.
UnitOfMeasurement
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/UnitOfMeasurement *Y
es
One
Conta
iner
1..
.20 Container tag for the Unit of
measurement for thecommodity.
Required for Invoiceforms and optional forPartial Invoice.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 156
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/UnitOfMeasurement/Code *Y
es
One
str
ing
1..
.3 Code for the Unit of
measurement of thecommodity units.
Required for Invoiceforms and optional forPartial Invoice. Validentries are: BA = Barrel,BE = Bundle, BG = Bag,BH = Bunch, BOX = Box,BT = Bolt, BU = Butt, CI =Canister, CM =Centimeter, CON =Container , CR = Crate,CS = Case, CT = Carton,CY = Cylinder, DOZ =Dozen, EA = Each, EN =Envelope, FT = Feet, KG= Kilogram, KGS =Kilograms, LB = Pound,LBS = Pounds, L = Liter,M = Meter, NMB =Number, PA = Packet,PAL = Pallet, PC = Piece,PCS = Pieces, PF = ProofLiters, PKG = Package ,PR = Pair, PRS = Pairs,RL = Roll, SET = Set,SME = Square Meters,SYD = Square Yards, TU= Tube, YD = Yard, OTH= Other.
Description
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/UnitOfMeasurement/Description C
ond
One
str
ing
1..
3
The Unit of Measure if OTH(Other) is entered as theUnitOfMeasurement code.
Applies to Invoice andPartial Invoice forms.Conditionally Required forthe Invoice and PartialInvoice form if OTH isentered as the unitsUnitOfMeasurement code
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 157
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Value
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/Unit/Value *Y
es
One
str
ing
1..
.12
Monetary amount used tospecify the worth or price ofthe commodity. Amountshould be greater than zero
Applies to Invoice andPartial Invoice form.Required for Invoiceforms and optional forPartial Invoice. Amountshould be greater thanzero. Valid charactersare 0-9 and .(Decimalpoint). Limit to 6 digitsafter the decimal. Themaximum length of thefield is 12 including . andcan hold up to 6 decimalplaces.(#####.######,######.#####,#######.####,########.###,#########.##,##########.#,############)Thevalue of this product andthe other products shouldbe such that the invoiceline total which is the sumof ( number*values) of allproducts should notexceed9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 158
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CommodityCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/CommodityCode C
ond
One
str
ing
6..
.15
6-to-15-alphanumericcommodity code. Customsuses this code to determinewhat duties should beassessed on the commodity.
Applies to Invoice, PartialInvoice and NAFTA CO.Required for NAFTA COand optional for PartialInvoice. Should be atleast 6 alphanumeric. ForNAFTA CO: For eachgood described inDescription of Goodsfield, identify the H.S.tariff classification to sixdigits. If the good issubject to a specific ruleof origin in Annex 401that requires eight digits,identify to eight digits,using the H.S. tariffclassification of thecountry into whoseterritory the good isimported.
PartNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PartNumber
No
One
str
ing
1..
.10
The part number orreference number for theproduct contained in theinvoice line, as indicated onthe customs invoice.
Applies to Invoice andPartial Invoice. Requiredfor Invoice forms andoptional for PartialInvoice.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 159
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
OriginCountryCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/OriginCountryCode C
ond
One
str
ing
2
The country in which thegood was manufactured,produced, or grown. Fordetailed information oncountry of origin, certificateof origin, rules of origin, andany related matters, pleaserefer to the U.S. Customsand Border Protection Website at www.customs.gov orcontact your country'sCustoms authority.
Applies to Invoice, PartialInvoice, CO and NAFTACO. Required for Invoiceand CO forms. Optionalfor Partial Invoice.Conditionally required forNAFTA CO ifJointProductionIndicatoris not present. For allother originating goodsexported to Canada,indicate appropriately MXor US if the goodsoriginate in that NAFTAcountry, within themeaning of the NAFTARules of OriginRegulations, and anysubsequent processing inthe other NAFTA countrydoes not increase thetransaction value of thegoods by more thanseven percent; otherwiseuse theJointProductionIndicatorfor joint production.
JointProductionIndicator
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/JointProductionIndicator N
o
One
EM
PT
Y
N/A
If present, JNT will be usedas the origin of country codeon the NAFTA form and theProduct/OriginCountryCodetag will be ignored.
Applies to NAFTA COonly
NetCostCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostCode C
ond
One
str
ing
2 For each good described inthe Description of Goodsfield, where the good issubject to a regional valuecontent (RVC) requirement,indicate NC if the RVC iscalculated according to thenet cost method; otherwise,indicate NO.
Applies to NAFTA COonly. Required for NAFTACO. PossibleValues:NCNO
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 160
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
NetCostDateRange
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostDateRange O
ptional
One
Conta
iner
N/A Date Range for regional
value content (RVC)Applies to NAFTA COonly.
BeginDate
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostDateRange/BeginDate *Y
es
One
str
ing
8 If the RVC is calculated overa period of time, it should beidentified by the begin date(yyyyMMdd) of that period.(Reference: Articles 402.1,402.5).
Applies to NAFTA COonly. Format isyyyyMMdd
EndDate
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NetCostDateRange/EndDate *Y
es
One
str
ing
8 If the RVC is calculated overa period of time, it should beidentified by the End date(yyyyMMdd) of that period.(Reference: Articles 402.1,402.5).
Applies to NAFTA COonly. Format isyyyyMMdd
PreferenceCriteria
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/PreferenceCriteria Cond
One
str
ing
1 Indicates the criterion (Athrough F) for each gooddescribed in the Descriptionof Goods field if applicable.The rules of origin arecontained in Chapter Fourand Annex 401. Additionalrules are described in Annex703.2 (certain agriculturalgoods), Annex 300-B,Appendix 6 (certain textilegoods) and Annex 308.1(certain automatic dataprocessing goods and theirparts).
Applicable for NAFTA COand is required. PossibleValues: ABCDEF.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 161
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ProducerInfo
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProducerInfo C
ond
One
str
ing
30r
5
Indicate the following: Yes -If shipper is the producer ofthe good. If not, state 02, 03,and 04 depending onwhether this certificate wasbased upon: No[1] -Knowledge of whether thegood qualifies as anoriginating good. No[2] -Reliance on the producerswritten representation (otherthan a Certificate of Origin)that the good qualifies as anoriginating good. No[3] - Acompleted and signedCertificate for the goodvoluntarily provided to theexporter by the producer.
Applicable for NAFTA COand is required. PossibleValues: Yes, No[1], No[2],or No[3]
MarksAndNumbers
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/MarksAndNumbers N
o
One
str
ing
1..
.35 Any special marks, codes,
and numbers that mayappear on package Applies to CO Only
NumberOfPackagesPerCommodity
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/NumberOfPackagesPerCommodity C
ond
One
str
ing
1..
.3The total number ofpackages, cartons, orcontainers for the commodity
Applicable for CO and isrequired. Should benumeric. Valid charactersare 0 -9.
ProductWeight
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight C
ond
One
Conta
iner
N/A
The shipping weight,including containers, foreach commodity with aseparate Harmonized TariffCode / Schedule B Number.This weight does not includecarrier equipment.
Applies to CO and SEDforms only. Required forCO and SED forms.
UnitOfMeasurement
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/UnitOfMeasurement *Y
es
One
Conta
iner
N/A Container tag for the Unit of
Measurement of weightApplies to CO and SEDforms only
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 162
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/UnitOfMeasurement/Code *Y
es
One
str
ing
3
Code for unit ofMeasurement of weight
Applies to CO and SEDforms only. Possiblevalues :KGS, LBS
Description
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/UnitOfMeasurement/Description N
o
One
Str
ing
1..
.20
Description of the Unit ofMeasure
Weight
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ProductWeight/Weight *Y
es
One
str
ing
1..
.5
Weight
Applies to CO and SEDforms only. Validcharacters are 0-9 and.(Decimal point). Limit to1 digit after the decimal.The maximum length ofthe field is 5 including .and can hold up to 1decimal place.
VehicleID
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/VehicleID No
One
str
ing
1..
.25
Includes the followinginformation for used self-propelled vehicles asdefined in Customsregulations 19 CFR 192.1:The unique VehicleIdentification Number (VIN)in the proper format. Or TheProduct IdentificationNumber (PIN) for those usedself propelled vehicles forwhich there are no VINs. Or,The Vehicle Title Number.
Applies to SED formsonly
ScheduleB
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB C
ond
One
Conta
iner
N/A
Container tag for theschedule B information of acommodity
Applies to SED formsonly. Required for SEDform
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 163
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Number
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/Number *Y
es
One
str
ing
10
A unique 10-digit commodityclassification code for theitem being exported. (Toclassify a commodity accessthe following Web page:http://www.census.gov/foreign-trade/schedules/b/#search).
Applies to SED formsonly. Has to be 10characters.
Quantity
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/Quantity C
ond
One
str
ing
1..
.10
The count of how manySchedule B units of thecurrent good are in theshipment (SED only).Forexample, if the Schedule Bunit of measure is dozensand eight dozen, is beingshipped, indicate 8 in thisfield.
Applies to SED formsonly. Conditionallyrequired for SED forms ifScheduleBUnitOfMeasurement isnot X. Should beNumeric. Valid charactersare 0 -9.
UnitOfMeasurement
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement *Y
es
One
Conta
iner
N/A
The unit of measureindicated on the ExportLicense.
Applies to SED formsonly.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 164
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement/Code *Y
es
One
str
ing
1..
3
The unit of measureindicated on the ExportLicense. Enter an X if thereis no unit of measure in theSchedule B Unit field.
Applies to SED formsonly. Required for theSED form. PossibleValues: BBL: Barrels,CAR: Carat, CKG:Content Kilogram, CM2:Square Centimeters,CTN: Content Ton, CUR:Curie, CYK: Clean YieldKilogram, DOZ: Dozen,DPC: Dozen Pieces,DPR: Dozen Pairs, FBM:Fiber Meter, GCN: GrossContainers, GM: Gram,GRS: Gross, HUN:Hundred, KG: Kilogram,KM3: 1,000 Cubic Meters,KTS: Kilogram TotalSugars, L: Liter, M: Meter,M2: Square Meters, M3:Cubic Meters, MC:Millicurie, NO: Number,PCS: Pieces, PFL: ProofLiter, PK: Pack, PRS:Pairs, RBA: RunningBales, SQ: Square, T:Ton, THS: 1,000, X: NoQuantity required.
Description
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ScheduleB/UnitOfMeasurement/Description N
o
One
Str
ing
1..
.20
Description of the Unit ofMeasure
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 165
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ExportType
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExportType C
ond
One
str
ing
1 Code indicating Domestic:Exports that have beenproduced, manufactured, orgrown in the United Statesor Puerto Rico. This includesimported merchandise whichhas been enhanced in valueor changed from the form inwhich imported by furthermanufacture or processingin the United States orPuerto Rico. Foreign:Merchandise that hasentered the United Statesand is being exported againin the same condition aswhen imported.ForeignMilitary: Exportedmerchandise that is soldunder the foreign militarysales program.
Applies to SED formsonly. Required for SEDform. Possible Values:D: Domestic, F: Foreign,M: Foreign Military.
SEDTotalValue
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/SEDTotalValue C
ond
One
str
ing
1..
.15
The value of the S.E.D.commodity contained on theS.E.D. This amount willalways be USD.
Applies to SED formsonly. Required for SEDform. Valid characters are0-9 and .(Decimal point).Limit to 2 digit after thedecimal. The maximumlength of the field is 15including . and can holdup to 2 decimal places.Note: This value iscalculated based on theProduct/Unit/Value and/Product/Unit/Number(Number of Units * Priceper Unit). If the total valueis incorrect it will bereplaced by the actualcalculated total value.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 166
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ExcludeFromForm
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExcludeFromForm N
o
One
Conta
iner
N/A
Container tag fordetermining whether or notto exclude productinformation from a particularform.
If this container is notpresent we assume thatthe DEFAULT is selectedwhich is "none" and allproducts will appear on allforms.
FormType
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Product/ExcludeFromForm/FormType Y
es
unbounded
Str
ing
1..
2
Indicates the name of theInternational form requestedto NOT have productinformation.
Possible Values are 04 –NAFTA CO. Please notethat if this is used and youDO NOT have thecorresponding form typerequested this will beIGNORED.
InvoiceNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/InvoiceNumber N
o
One
str
ing
1..
.35
Commercial Invoice numberassigned by the exporter
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice.
InvoiceDate/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/InvoiceDate C
ond
One
str
ing
8
Date when the Invoice iscreated. Ideally this is thesame as the ship date.
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Requiredfor Invoice form forforward shipments. Forshipment with returnservice, the user input willbe ignored, and the fieldwill be blank on theinvoice. Format isyyyyMMdd
PurchaseOrderNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/PurchaseOrderNumber N
o
One
str
ing
1..
.35
The customer's orderreference number
Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 167
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
TermsOfShipment
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/TermsOfShipment N
o
One
str
ing
3
Indicates the rights to theseller from the buyer.
Applies to Invoice andPartial Invoice forms only.Possible values are: CFR:Cost and Freight, CIF:Cost, Insurance andFreight, CIP: Carriageand Insurance Paid, CPT:Carriage Paid To. DAF:Delivered at Frontier,DDP: Delivery Duty Paid,DDU: Delivery DutyUnpaid, DEQ: DeliveredEx Quay, DES: DeliveredEx Ship, EXW: Ex Works,FAS: Free AlongsideShip, FCA: Free Carrier,FOB: Free On Board.
ReasonForExport
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/ReasonForExport C
ond
One
str
ing
1..
.20
reason to export the currentinternational shipment.Possible values: SALE,GIFT, SAMPLE, RETURN,REPAIR,INTERCOMPANYDATA,Any other reason
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and Optional forPartial Invoice. Novalidation
Comments/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Comments N
o
One
str
ing
1..
.150
Any extra information aboutthe current shipment
Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 168
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DeclarationStatement
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/DeclarationStatement N
o
One
str
ing
1..
.550
This is the legal explanation,used by Customs, for thedelivering of this shipment. Itmust be identical to the setof declarations actually usedby Customs. Examples ofdeclarations that might beentered in this field are: Ihereby certify that the goodscovered by this shipmentqualify as originating goodsfor purposes of preferentialtariff treatment under theNAFTA.I hereby certify thatthe information on thisinvoice is true and correctand the contents and valueof this shipment is as statedabove. EEA statement: Theexporter of the productscovered by this documentdeclares that except whereotherwise clearly indicatedthese products are of EEApreferential origin.
Applies to Invoice andPartial Invoice forms only.On the invoice for returnshipment, the verbiage isas follows (user input isignored): The exporter ofthe products covered bythis document declaresthat except whereotherwise clearlyindicated these productsare of EEA preferentialorigin
Discount/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Discount N
o
One
Conta
iner
N/A Container tag that holds the
discount.Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 169
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/Discount/MonetaryValue *Y
es
One
str
ing
15
The discount to besubtracted from the sum ofthe total value on theinvoice.
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and.(Decimal point). Limit to2 digit after the decimal.The maximum length ofthe field is 15 including .and can hold up to 2decimal places. Thisvalue should be greaterthan or equal to zero orless than or equal to thevalue of all goods listedon the invoice.
FreightCharges
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/FreightCharges N
o
One
Conta
iner
N/A Container tag that holds the
Freight ChargesApplies to Invoice andPartial Invoice forms only.
MonetaryValue
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/FreightCharges/MonetaryValue *Y
es
One
str
ing
0..
.15
Cost to transport theshipment
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and.(Decimal point). Limit to2 digit after the decimal.The maximum length ofthe field is 15 including .and can hold up to 2decimal places.
InsuranceCharges
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/InsuranceCharges N
o
One
Conta
iner
N/A Container tag that holds the
Insurance ChargesApplies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 170
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/InsuranceCharges/MonetaryValue *Y
es
One
str
ing
0..
.15
The amount the shipper orreceiver pays to cover thecost of replacing theshipment if it is lost ordamaged
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and.(Decimal point). Limit to2 digit after the decimal.The maximum length ofthe field is 15 including .and can hold up to 2decimal places.
OtherCharges/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/OtherCharges N
o
One
Conta
iner
N/A
Container tag that holds theinformation of amount thatcovers additional chargesnot already listed on theinvoice
Applies to Invoice andPartial Invoice forms only.
MonetaryValue
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/OtherCharges/MonetaryValue *Y
es
One
str
ing
0..
.15
The Monetary value of OtherCharges
Applies to Invoice andPartial Invoice forms only.Required for Invoiceforms and optional forPartial Invoice. Validcharacters are 0-9 and.(Decimal point). Limit to2 digit after the decimal.The maximum length ofthe field is 15 including .and can hold up to 2decimal places.
Description
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/OtherCharges/Description *Y
es
One
str
ing
1..
.10
Description of what the othercharges are for.
Applies to Invoice andPartial Invoice forms only.Required for CompleteInvoice and Optional forPartial Invoice forms.
CurrencyCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/CurrencyCode C
ond
One
str
ing
3
Currency code for all themonetary values of theInvoice form
Applies to Invoice andPartial Invoice forms only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 171
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BlanketPeriod/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/BlanketPeriod C
ond
One
Conta
iner
N/A
This field should be enteredif the NAFTA Certificatecovers multiple shipments ofidentical goods as describedin the Description of Goodsfield that are imported into aNAFTA country for aspecified period of up to oneyear (the blanket period).The importation of a good forwhich preferential treatmentis claimed based on thiscertificate must occurbetween these dates.
Applies to NAFTA COform only. Required forNAFTA CO.
BeginDate
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/BlanketPeriod/BeginDate *Y
es
One
str
ing
8 Begin date of the blanketperiod. It is the date uponwhich the Certificatebecomes applicable to thegood covered by the blanketCertificate (it may be prior tothe date of signing thisCertificate).
Applies to NAFTA COform only. Required forNAFTA CO. Format isyyyyMMdd
EndDate
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/BlanketPeriod/EndDate *Y
es
One
str
ing
8
End Date of the blanketperiod. It is the date uponwhich the blanket periodexpires.
Applies to NAFTA COform only. Required forNAFTA CO. Format isyyyyMMdd
ExportDate/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/ExportDate Cond
One
str
ing
8
The date the goods will beexiting the country
Applies to CO and SEDforms only. Required forCO and SED forms.Format is yyyyMMdd
ExportingCarrier
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/ExportingCarrier C
ond
One
str
ing
1..
.35
The name of the carrier thatis exporting the shipment.The vessel's flag numbershould also be entered, if thecarrier is a vessel.
Applies to CO and SEDforms only. Required forCO and SED forms.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 172
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CarrierID/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/CarrierID N
o
One
str
ing
1..
.17
The four-character StandardCarrier Alpha Code (SCAC)for vessel, rail, and truckshipments. For air shipment,enter the two or threecharacter International AirTransport Association (IATA)code
Applies to SED formsonly. No Validations.
InBondCode/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/InBondCode C
ond
One
str
ing
2
The two-character In BondCode
Applies to SED formsonly. Required for SEDforms. Valid values are:70: Not in bond; 36:Warehouse withdrawal forIE; 37: Warehousewithdrawal for T and E;62: T and E; 63: IE; 67:IE from a FTZ; 68: T andE from a FTZ
EntryNumber/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/EntryNumber Cond
One
str
ing
1..
.25
The Import Entry Numberwhen the export transactionis used as proof of export forimport transactions(examples: In Bond,Temporary Import Bond orDrawbacks)
Applies to SED formsonly. ConditionallyRequired for SED formswhen In bond code valueis other than 70(Not InBond)
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 173
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PointOfOrigin/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/PointOfOrigin C
ond
One
str
ing
1..
.5
Contains one of thefollowing: The two-digit U.S.Postal Service abbreviationfor the state from which thegoods were shipped to theport of export. The state thatis the source for the goodwith the highest value. Thestate of consolidation. TheForeign Trade Zone numberof the zone from where theexports are leaving. If thegoods were shipped fromPuerto Rico, enter PR.
Applies to SED formsonly. Required for SED
ModeOfTransport
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/ModeOfTransport C
ond
One
str
ing
1..
.35
Mode of transport by whichthe goods are exported.Possible values: Air,AirContainerized, Auto,FixedTransportInstallations,Mail,PassengerHandcarried,Pedestrian, Rail,RailContainerized,RoadOther, SeaBarge,SeaContainerized,SeaNoncontainerized,Truck, TruckContainerized
Applies to SED formsonly. Required for SED.Only allowed values canbe entered. Only 10Characters can appear onthe form. Anything greaterthan 10 characters will betruncated on the form.
PortOfExport/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/PortOfExport N
o
One
str
ing
1..
.35
Should be one of thefollowing-Overland: The U.S.Customs port where thecarrier crosses the U.S.border. -Vessel and Air: TheU.S. Customs port where thegoods are loaded on thecarrier to be exported fromthe U.S. -Postal: The U.S.Postal Office from where thegoods are mailed
Applies to SED formsonly. No validation.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 174
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PortOfUnloading
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/PortOfUnloading N
o
One
str
ing
1..
.35
The country and the portwhere the goods will beunloaded from the exportingcarrier. For vessel and airshipments only.
Applies to SED formsonly. No validation.
LoadingPier/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/LoadingPier N
o
One
str
ing
1..
.35 Pier where goods are
loaded. For vesselshipments only
Applies to SED formsonly. No validation.
PartiesToTransaction
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/PartiesToTransaction C
ond
One
str
ing
1
Information about parties totransaction. Use Related, ifthe parties to the transactionare related. A related party isan export from a U.S.businessperson or businessto a foreign business or froma U.S. business to a foreignperson or business wherethe person has at least 10percent of the voting sharesof the business during thefiscal year. If unincorporated,then an equivalent interest inthe business.
Applies to SED formsonly. Valid values are: R- Related, N - Non-related
RoutedExportTransactionIndicator
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/RoutedExportTransactionIndicator N
o
One
EM
PT
Y
N/A
If Present, indicates that it isa routed export transaction.A routed export transactionis one, where the foreignprincipal party in interestauthorizes a U.S. forwarding(or other) agent to export themerchandise outside theU.S.
Applies to SED formsonly
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 175
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ContainerizedIndicator
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/ContainerizedIndicator N
o
One
EM
PT
Y
N/A
If present indicates that thegoods are containerized.This applies to vesselshipments only
Applies to SED formsonly
License/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/License C
ond
One
Conta
iner
N/A
Container for Licenseinformation. If the product isnot licensable, a validlicense exception codeneeds to be entered. Ifshipping different productsthat are covered underdifferent licenses or licenseexceptions, then separateSEDs must be created.
Applies to SED formsonly. Required for SEDforms.
Number
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/License/Number C
ond
One
str
ing
1..
.35
The license number thatauthorizes ship product.
Applies to SED formsonly. Either Licensenumber or Licenseexception code should bepresent for SED form,both License number andLicense Exception codecannot be present forSED form.
Date/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/License/Date C
ond
One
str
ing
1..
.8
License Date
Applies to SED formsonly. Conditionallyrequired for SED forms ifthere is a license number.Only applicable whenLicense Number isprovided. FormatyyyyMMdd
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 176
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ExceptionCode
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/License/ExceptionCode C
ond
One
str
ing
1..
.4 Please refer to Appendix Qfor values and descriptions.
Applies to SED formsonly. Either Licensenumber or Licenseexception code should bepresent for SED form,both License number andLicense Exception codecannot be present forSED form. Validated forpossible values
ECCNNumber/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/ECCNNumber C
ond
One
str
ing
8
Export Control ClassificationNumber. This numberidentifies categories, productgroups, strategic level ofcontrol, and country groups.Some products have anECCN number.
Applies to SED formsonly. ECCN is requiredone of the followingLicense Exception Codesis entered: CIV, CTP,ENC, KMI, or LVS
OverridePaperlessIndicator
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/InternationalForms/OverridePaperlessIndicator N
o
1
Str
ing
The application willautomatically provide a copyof the invoice or NAFTA/COwith each responseregardless of whether theuser has enabled Paperlessaccount. The user now hasthe option to print or ignorethe copy provided.
DeliveryConfirmation/ShipConfirmRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation N
o
One
conta
iner
N/A
For a list of validorigin/destination countriesplease refer to the table inAppendix N Forwards Only
DCISType/ShipConfirmRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation/DCISType Y
es*
One
str
ing
1
Type of delivery confirmation
Valid values are: 1 -Delivery Confirmation 2- Delivery ConfirmationSignature Required 3 -Delivery ConfirmationAdult Signature Required.Forwards Only
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 177
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DCISNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/DeliveryConfirmation/DCISNumber N
o
One
Str
ing
1..
.20
DCIS Number
ReturnOfDocumentIndicator/ShipConfirmRequest/Shipment/ShipmentServiceOptions/ReturnOfDocumentIndicator N
o
One
Str
ing
0
The flag indicates theReturnOfDocumentaccessorial has beenrequested
Valid for Poland to Polandwithout return serviceonly.
ImportControlIndicator/ShipConfirmRequest/Shipment/ShipmentServiceOptions/ImportControlIndicator N
o
One
Str
ing
0
Indicates that the Shipmentis an ImportControlshipment.
LabelMethod/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelMethod N
o
One
Conta
iner
N/A
Type of ImportControl Label.
This container isapplicable only forImportControl shipments.
Code/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelMethod/Code Yes*
One
Str
ing
2 LabelMethod types:'01' =ImportControl Print andMail'02' = ImportControlOne-Attempt'03' =ImportControl Three-Attempt'04' = ImportControlElectronic Label'05' =ImportControl Print Label
Description/ShipConfirmRequest/Shipment/ShipmentServiceOptions/LabelMethod/Description Y
es*
One
Str
ing
1..
.35
LabelMethod description
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 178
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CommercialInvoiceRemovalIndicator
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/CommercialInvoiceRemovalIndicator N
o
One
Str
ing
0
CommercialInvoiceRemovalIndicator allows a shipper todictate that UPS remove theCommercial Invoice from theuser's shipment before theshipment is delivered to theultimate consignee.
UPScarbonneutralIndicator/ShipConfirmRequest/Shipment/ShipmentServiceOptions/UPScarbonneutralIndicator N
o
One
Str
ing
0
UPS carbon neutral indicatorpresence at shipment levelis required to create carbonneutral Shipments.
PreAlertNotification/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification N
o
unbounded
Conta
iner
EMailMessage
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/EMailMessage N
o
1
Conta
iner
EMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/EMailMessage/EMailAddress Y
es
1
Str
ing
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 179
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
UndeliverableEMailAddress
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/EMailMessage/UndeliverableEMailAddress N
o
1
Str
ing
VoiceMessage
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/VoiceMessage N
o
1
Conta
iner
PhoneNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/VoiceMessage/PhoneNumber Y
es
1
Str
ing
TextMessage/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/TextMessage N
o
1
Conta
iner
PhoneNumber
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/TextMessage/PhoneNumber Y
es
1
Str
ing
Locale/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/Locale Y
es
1
Conta
iner
Language
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/Locale/Language Y
es
1
Str
ing
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 180
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Dialect
/ShipConfirmRequest/Shipment/ShipmentServiceOptions/PreAlertNotification/Locale/Dialect Y
es
1
Str
ing
ExchangeForwardIndicator/ShipConfirmRequest/Shipment/ShipmentServiceOptions/ExchangeForwardIndicator N
o
1
Str
ing
Package /ShipConfirmRequest/Shipment/Package Yes
##
Conta
iner
N/A Package Information
container.
For Return Shipments upto and including 20packages are allowed.US/PR origin returnmovements are limited toonly one package.
Description/ShipConfirmRequest/Shipment/Package/Description C
ond
One
str
ing
1..
.35
Merchandise description ofpackage.
Required for shipmentwith return service
Packaging/ShipConfirmRequest/Shipment/Package/Packaging C
ond
One
conta
iner
N/A
Packaging Container
Packaging type isrequired for GroundFreight PricingShipments only
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 181
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipConfirmRequest/Shipment/Package/Packaging/Code Y
es*
One
str
ing
2
Package types. Values are:01 = UPS Letter, 02 =Customer SuppliedPackage, 03 = Tube, 04 =PAK, 21 = UPS ExpressBox, 24 = UPS 25KG Box,25 = UPS 10KG Box, 30 =Pallet, 2a = Small ExpressBox, 2b = Medium ExpressBox, 2c = Large ExpressBox. Note: Only packagingtype code 02 is applicable toGround Freight Pricing
Package type 24, or 25or 30 is only allowed forshipment without returnservice. Packaging typemust be valid for all thefollowing: ShipTocountry, ShipFromcountry, a shipment goingfrom ShipTo country toShipFrom country, allAccessorials at both theshipment and packagelevel, and the shipmentservice type.
Description/ShipConfirmRequest/Shipment/Package/Packaging/Description N
o
One
Str
ing
1..
.35
Description of packagingtype. Examples are letter,customer supplied, expressbox. N/A
Dimensions/ShipConfirmRequest/Shipment/Package/Dimensions C
ond
One
conta
iner
N/A
Dimensions informationcontainer. Note: Currentlydimensions are notapplicable to Ground FreightPricing
Length + 2*(Width +Height) must be less thanor equal to 130 IN or 330CM. Dimensions arerequired for GB to GBand Poland to PolandShipments.
UnitOfMeasurement/ShipConfirmRequest/Shipment/Package/Dimensions/UnitOfMeasurement Y
es
One
conta
iner
N/A UnitOfMeasurement
container N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 182
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipConfirmRequest/Shipment/Package/Dimensions/UnitOfMeasurement/Code Y
es
One
str
ing
2 Package dimensionsmeasurement code. Codesare: IN = Inches, CM =Centimeters, 00 = MetricUnits Of Measurement, 01 =English Units ofMeasurement.
The unit of measurementmust be valid for theShipper country.
Description/ShipConfirmRequest/Shipment/Package/Dimensions/UnitOfMeasurement/Description N
o
One
str
ing
1..
.35 Description of the package
dimensions measurementunits. N/A
Length/ShipConfirmRequest/Shipment/Package/Dimensions/Length Y
es*
One
str
ing
3 Package length. Refer toUniversal Rules table foradditional information.Lengthmust be the longestdimension of the container.
Valid values are 0 to 108IN and 0 to 270 CM.
Width/ShipConfirmRequest/Shipment/Package/Dimensions/Width Y
es*
One
str
ing 3
Package width. Refer toUniversal Rules table foradditional information. N/A
Height/ShipConfirmRequest/Shipment/Package/Dimensions/Height Y
es*
One
str
ing
3Package height. Refer toUniversal Rules table foradditional information. N/A
PackageWeight/ShipConfirmRequest/Shipment/Package/PackageWeight C
ond
One
Conta
iner
N/A Container to hold package
weight information.
Package weight is arequired field for GroundFreight Pricing shipments
UnitOfMeasurement/ShipConfirmRequest/Shipment/Package/PackageWeight/UnitOfMeasurement Y
es
One
Conta
iner
N/A
Container to holdUnitOfMeasurementinformation. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 183
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipConfirmRequest/Shipment/Package/PackageWeight/UnitOfMeasurement/Code Y
es
One
str
ing
3
Package weight unit ofmeasurement code. Codesare: LBS = Pounds, KGS =Kilograms.
Description/ShipConfirmRequest/Shipment/Package/PackageWeight/UnitOfMeasurement/Description N
o
One
str
ing
1..
.35
Description of the packageweight measurement units. N/A
Weight/ShipConfirmRequest/Shipment/Package/PackageWeight/Weight Y
es*
One
str
ing
1..
.5 Packages weight. Set to 1.0for package type letter.
Only {Average}packageweight is required forGround Freight PricingShipment
LargePackageIndicator/ShipConfirmRequest/Shipment/Package/LargePackageIndicator N
o
One
str
ing
0Presence of the indicatormentions that the package isLarge Package. Empty Tag.
ReferenceNumber/ShipConfirmRequest/Shipment/Package/ReferenceNumber N
o
One
conta
iner
N/A Package reference number
information container N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 184
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BarCodeIndicator/ShipConfirmRequest/Shipment/Package/ReferenceNumber/BarCodeIndicator N
o
One
str
ing
0
If the indicator is presentthen the reference numbersvalue will be bar coded onthe label.
Empty Tag. Allowed forshipment with returnservice only. Only oneshipment-level orpackage-level referencenumber can be bar codedper shipment. In order tobarcode a referencenumber, its value must beno longer than 14alphanumeric charactersor 24 numeric charactersand cannot containspaces.
Code/ShipConfirmRequest/Shipment/Package/ReferenceNumber/Code N
o
One
str
ing
2
Reference number typecode, for the entireshipment. The codespecifies the Referencename. Refer to theReference Number Codetable.
Valid if theorigin/destination pair isUS/US or PR/PR.2character alpha-numeric.
Value/ShipConfirmRequest/Shipment/Package/ReferenceNumber/Value Y
es*
One
str
ing
1..
.35
Customer supplied referencenumber.
Valid if theorigin/destination pair isUS/US or PR/PR.Supports up to 2customer suppliedcombinations ofReference code- valuecombinations.
AdditionalHandlingIndicator/ShipConfirmRequest/Shipment/Package/AdditionalHandlingIndicator N
o
One
str
ing
0
Additional HandlingRequired.The presenceindicates additional handlingis required, the absenceindicates no additionalhandling is required. Empty Tag.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 185
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PackageServiceOptions/ShipConfirmRequest/Shipment/Package/PackageServiceOptions N
o
One
conta
iner
N/A PackageServiceOtioncontain
er N/A
DeliveryConfirmation/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation N
o
One
conta
iner
N/A
For a list of validorigin/destination countriesplease refer to the table inAppendix N Forwards Only
DCISType
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation/DCISType Y
es*
One
str
ing
1
Type of delivery confirmation
Valid values are: 1 -Delivery Confirmation 2- Delivery ConfirmationSignature Required 3 -Delivery ConfirmationAdult Signature Required.Forwards Only
DCISNumber
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeliveryConfirmation/DCISNumber N
o
One
str
ing
1..
.11
Delivery ConfirmationControl number associatedwith the deliveryconfirmation for the package Forwards Only
DeclaredValue/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeclaredValue N
o
One
conta
iner
N/A
Container for DeclaredValue N/A
Type/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/Type N
o
One
conta
iner
N/A Container for Declared
Value Type N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 186
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/Type/Code *Y
es
One
str
ing
2
Declared value type. Validvalue are 01=EVS, 02=DVS.Defaults to 01 i.e. EVS ifdeclared value type is notprovided.
The user cannot specifydifferent type of declaredvalue for the shipment.You can either haveshipper declared value(DVS) or declared value(EVS) but not both atpackage level. Note: TheShipper Declared Value isapplicable for forwardshipments when thebilling option is freightcollect or third party
Description
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/Type/Description N
o
One
str
ing
1..
.35
Declared value Description N/A
CurrencyCode
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/CurrencyCode Y
es*
One
str
ing
3
Declared value amountcurrency type. Defaults tothe non-Euro currency usedin the shipper's country.
Code must represent acurrency that is a valid forShipper country.
MonetaryValue
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DeclaredValue/MonetaryValue Y
es*
One
str
ing
1..
.19
Declared value amount.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 187
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
COD/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/COD N
o
One
conta
iner
N/A
COD container
Indicates COD isrequested. Package levelCOD is available forshipment without returnservice from US/PR toUS/PR, CA to CA, andCA to US.CA to US CODis not allowed for packageLetter/ Envelope. COD isnot valid for return servicemovements.
CODFundsCode/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/COD/CODFundsCode Y
es*
One
str
ing
1
Values are: 0 = check,cashiers check or moneyorder - no cash allowed, 8 =cashiers check or moneyorder - no cash allowed. N/A
CODAmount/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount Y
es*
One
conta
iner
N/A
CODAmount container N/A
CurrencyCode
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount/CurrencyCode Y
es
One
str
ing
3
COD amount currency codetype. N/A
MonetaryValue
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/COD/CODAmount/MonetaryValue Y
es
One
str
ing
5
COD Amount.Valid values: 0.01 USD -50000.00 USD
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 188
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
VerbalConfirmation/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation N
o
One
Conta
iner
N/A
Verbal Confirmation Info.Allowed for shipmentwithout return service.
ContactInfo
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo C
ond
One
Conta
iner
N/A
Optional if the Shipper'sAttentionName,PhoneNumber, andPhoneExtension(optional)are given and are thedesired name, phonenumber and extension,respectively, to be used forverbal confirmation. N/A
Name
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Name C
ond
One
str
ing
1..
.35
Name of the person to becontacted for confirmation.Defaults to ShipperAttentionName if given.
Optional if Shipper/AttentionName is givenand that is the name ofthe person to becontacted else requiredfor verbal confirmation.
Phone
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Phone N
o
One
Conta
iner
N/A
Phone Container N/A
Number
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Phone/Number Yes*
One
Str
ing
1..
.15
Contact Phone Number N/A
Extension
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/VerbalConfirmation/ContactInfo/Phone/Extension N
o
One
Str
ing
1..
.4
Contact Phone Extension N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 189
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipperReleaseIndicator/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/ShipperReleaseIndicator N
o
One
Str
ing
0
The presence indicates thatthe package may bereleased by driver without asignature from theconsignee
Empty Tag. Onlyavailable for US50/PR toUS50/PR packageswithout return service.
Notification/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification N
o
One
Conta
iner
N/A
Receiver Return NotificationApplicable for Shipmentwith returne service.
NotificationCode
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/NotificationCode Y
es*
One
Str
ing
1
Notification Code3 - Receiver ReturnNotification
EMail/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail Y
es*
One
Conta
iner
N/A Container for the e-mail
Message. N/A
EMailAddress
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/EMailAddress Y
es*
One
Str
ing
1..
.50 The destination email
address of the receiverreturns notification email. N/A
UndeliverableEMailAddress
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/UndeliverableEMailAddress N
o
One
Str
ing
1..
.50
The e-mail address wherean undeliverable emailmessage is sent if theReceiver Return Notificationemail is undeliverable.
Defaults toFromEMailAddress. Onlyallowed at the firstpackage.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 190
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FromEMailAddress
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/FromEMailAddress N
o
One
Str
ing
1..
.50
The email address listed inthe Reply To field of themessage header, includesname and e-mail address ofsender. The From field ofthe message headercontains [email protected].
Only allowed at the firstpackage.
FromName
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/FromName N
o
One
Str
ing
1..
.35 The name the receiver
return notification will appearto be from.
Defaults to the ShipperName. Only allowed atthe first package.
Memo/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/Memo N
o
One
Str
ing
1..
.150
User defined text that will beincluded in the email.
Only allowed at the firstpackage.
Subject
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/Subject N
o
One
Str
ing
1..
.75
The eMail's subject. Defaultsto the UPS Receiver ReturnNotification plus theshipment ID.
Only allowed at the firstpackage
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 191
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
SubjectCode
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/Notification/EMail/SubjectCode N
o
One
Str
ing
2
Specifies a reference codeand reference number todisplay in the subject of theReceiver Return Notification.When the subject code isprovided, the subject willcontain the following: UPSReceiver Return Notification.The reference code (thereference code will bemapped to thecorresponding ANSI value)Plus the reference number.
If the subject code tag isnot provided and thesubject text is provided,the subject of thenotification will be thesubject text. If the subjecttext is provided, andsubject code tag exists,then the subject codevalue must be 08;If thesubject code is 08, thesubject text must exist. Ifa subject code is providedthat refers to anonexistent referencenumber, the subject willdefault to the trackingnumber. Only allowed atthe first package.
ReturnsFlexibleAccessIndicator
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/ReturnsFlexibleAccessIndicator N
o
One
Str
ing
0 Returns Flexible AccessIndicator presence atpackage level is required forUPS Returns FlexibleAccess Shipments. Allpackages in the shipmentmust have the ReturnsFlexible Access Indicator ifone package has it.
DryIce/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce N
o
1
Conta
iner
N/A
Cannot be used when thepackage also containsHazmat X
RegulationSet/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/RegulationSet Y
es
1
Str
ing
3..
4
Regulation set for dryIceShipment. Valid values are :CFR = HazMat regulated byUS Dept of Transportationwithin the U.S. or groundshipments to Canada,IATA= Worldwide Airmovement
The following values arevalid: IATA,CFR X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 192
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DryIceWeight/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight Y
es
1
Conta
iner
N/A
X
UnitOfMeasurement
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement Y
es
1
Conta
iner
N/A
X
Code
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement/Code Y
es
1
Str
ing
2..
3
DryIce weight unit ofmeasurement code. Validvalues are: 00 = KG(MetricUnit of Measurements), 01 =LB(English Unit ofMeasurements), KG, LB,KGS, LBS
The following values arevalid : 00 , 01, KG , KGS ,LBS X
Description
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/UnitOfMeasurement/Description N
o
1
Str
ing
0..
20
Short description forUnitOfMeasurement X
Weight
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/DryIceWeight/Weight Y
es
1
Str
ing
1…
5
Weight
Cannot be more thanpackage weight. Shouldbe more than 0.0. Validcharacters are 0-9 and.(Decimal point). Limit to1 digit after the decimal.The maximum length ofthe field is 5 including .and can hold up to 1decimal place. X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 193
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MedicalUseIndicator
/ShipConfirmRequest/Shipment/Package/PackageServiceOptions/DryIce/MedicalUseIndicator N
o
1
Str
ing
0
Presence/Absence Indicator.Any value inside is ignored.Relevant only in CFRregulation set. If present it isused to designate the dry Iceis for any medical use andrates are adjusted for dryIceweight more than 2.5 Kgs or5.7 LBs X
Commodity/ShipConfirmRequest/Shipment/Package/Commodity C
ond
One
Conta
iner
N/A Container to hold the
Commodity information
It is required if theFRSShipment indicator ispresent in the request.
FreightClass/ShipConfirmRequest/Shipment/Package/Commodity/FreightClass Y
es
One
Str
ing
10
Freight Classification.Freight class partiallydetermines the freight ratefor the article.
Required for GroundFreight PricingShipments only
NMFC/ShipConfirmRequest/Shipment/Package/Commodity/NMFC N
o
One
Conta
iner
N/A Container to hold the NMFC
codes
PrimeCode/ShipConfirmRequest/Shipment/Package/Commodity/NMFC/PrimeCode Y
es
One
Str
ing
4..
6 Specifies the Commodity'sNMFC prime code
Required if NMFCContainer is Present
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 194
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
SubCode/ShipConfirmRequest/Shipment/Package/Commodity/NMFC/SubCode N
o
One
Str
ing
2
Specifies the Commodity'sNMFC sub code
LabelSpecification /ShipConfirmRequest/LabelSpecification Cond
One
Conta
iner
N/A
Container used to define theproperties required by theuser to print and/or displaythe UPS shipping label.
Required for shipmentwithout return service, orshipment with PRL returnservice.
LabelImageFormat/ShipConfirmRequest/LabelSpecification/LabelImageFormat Y
es
One
Conta
iner
N/A LabelImageFormat
Container N/A
Code/ShipConfirmRequest/LabelSpecification/LabelImageFormat/Code Y
es
One
Str
ing
3 Label print method code thatthe Labels are to begenerated for EPL2formatted Labels use EPL,for SPL formatted Labelsuse SPL, for ZPL formattedLabels use ZPL and forimage formats use GIF, forStar Printer format formattedLabels use STARPL.
For shipments withoutreturn service the validvalue is GIF, ZPL, EPLand SPL. For shipmentswith PRL return service,the valid values are EPL,ZPL, SPL, STARPL andGIF.
Description/ShipConfirmRequest/LabelSpecification/LabelImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the labelimage format code. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 195
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
HTTPUserAgent/ShipConfirmRequest/LabelSpecification/HTTPUserAgent C
ond
One
Str
ing
1..
.64
Browser HTTPUserAgentString. This is the preferredway of identifying GIF imagetype to be generated
Required if/ShipConfirmRequest/LabelSpecificationLabelSpecification/LabelImageFormat/Code = Gif. Default toMozilla/4.5 if this field ismissing or has invalidvalue.
LabelStockSize/ShipConfirmRequest/LabelSpecification/LabelStockSize Y
es
One
Conta
iner
N/A Container for the EPL2, ZPL,
STARPL or SPL label sizeFor EPL2, ZPL, STARPLand SPL Labels. X
Height/ShipConfirmRequest/LabelSpecification/LabelStockSize/Height Y
es
One
Str
ing
1..
.3 Height of the label image.For IN, use whole inches.
For EPL2, ZPL, STARPLand SPL Labels. Onlyvalid values are 6 or 8.Note: Label Image willonly scale up to 4 X 6,even when requesting 4 X8. X
Width/ShipConfirmRequest/LabelSpecification/LabelStockSize/Width Y
es
One
Str
ing
1..
.3 Width of the label image. ForIN, use whole inches.
For EPL2, ZPL, STARPLand SPL Labels. Validvalue is 4. Note: LabelImage will only scale upto 4 X 6, even whenrequesting 4 X 8. X
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 196
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Instruction/ShipConfirmRequest/LabelSpecification/Instruction N
o
unbounded
Conta
iner
Routing InstructionContainer
Code/ShipConfirmRequest/LabelSpecification/Instruction/Code Y
es
1
Str
ing
For Exchange ForwardShipment
Description/ShipConfirmRequest/LabelSpecification/Instruction/Description N
o
1
Str
ing
Description of the labelInstruction code.
ReceiptSpecification /ShipConfirmRequest/ReceiptSpecification No
1
Conta
iner
Container used to allow theuser a to choose to print athermal receipt.
ImageFormat/ShipConfirmRequest/ReceiptSpecification/ImageFormat Y
es
1
Conta
iner
ImageFormat Container
Code/ShipConfirmRequest/ReceiptSpecification/ImageFormat/Code Y
es
1
Str
ing
Print code that determinesthe receipt format.
Description/ShipConfirmRequest/ReceiptSpecification/ImageFormat/Description N
o
1
Str
ing
Description of the receiptformat code.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 197
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipAcceptRequest /ShipAcceptRequest Yes
One
conta
iner
N/A
Request Container N/A
Request /ShipAcceptRequest/Request Yes
One
conta
iner
N/A
Request Container N/A
RequestOption /ShipAcceptRequest/Request/RequestOption Yes
One
str
ing
1..
.15
Optional Processing.'nonvalidate' = No addressvalidation. 'validate' = Failon failed address validation.Defaults to validate. Note:Full address validation is notperformed. Therefore, it isthe responsibility of theShipping Tool User toensure the address enteredis correct to avoid anaddress correction fee.
Values blank, validate, ornonvalidate.
TransactionReference/ShipAcceptRequest/Request/TransactionReference N
o
One
Conta
iner
N/A
TransactionReferenceidentifies transactionsbetween client and server. N/A
CustomerContext/ShipAcceptRequest/Request/TransactionReference/CustomerContext N
o
One
str
ing
1..
.512
The client usesCustomerContext tosynchronizerequest/response pairs. Theclient establishesCustomerContext, which cancontain any information youwant, as along as it is validXML; it is echoed back bythe server. N/A
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 198
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentDigest /ShipAcceptRequest/ShipmentDigest Yes
One
Str
ing
unbounded
Encoded shipmentparameters required to bepassed in the accept phase. Base 64 Encoded
ShipmentResponse /ShipmentResponse Yes
One
conta
iner
N/A Shipment Response
Container
Response /ShipmentResponse/Response Yes
One
conta
iner
N/A
Response Container.
ResponseStatus/ShipmentResponse/Response/ResponseStatus Y
es
One
conta
iner
N/A
Response Status Container.
Code/ShipmentResponse/Response/ResponseStatus/Code Y
es
One
str
ing
1
Identifies the success orfailure of the transaction. 1 =Successful
Description/ShipmentResponse/Response/ResponseStatus/Description Y
es
One
str
ing
1..
.35 Describes Response Status
Code. Returns text ofSuccess.
Alert /ShipmentResponse/Response/Alert No
One
conta
iner
N/A
Alert Container. There canbe zero to many alertcontainers with code anddescription.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 199
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code /ShipmentResponse/Response/Alert/Code Yes*
One
str
ing
1..
.10
Warning code returned bythe system.
Description/ShipmentResponse/Response/Alert/Description Y
es*
One
str
ing
1..
.150
Warning messages returnedby the system.
TransactionReference/ShipmentResponse/Response/TransactionReference N
o
One
conta
iner
N/A Transaction Reference
Container.
CustomerContext/ShipmentResponse/Response/TransactionReference/CustomerContext N
o
One
str
ing
1..
.512
The CustomerContextInformation which will beechoed during response.
ShipmentResults /ShipmentResponse/ShipmentResults Yes
One
conta
iner
N/A
Refer to theShipmentResults containertable for the elements underShipmentResults container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 200
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentCharges/ShipmentResponse/ShipmentResults/ShipmentCharges C
ond
One
conta
iner
N/A
Shipment chargesContainer. Shipmentcharges info. Shipmentcharges are only guaranteedto be returned for shipmentswhose origin country is USor Puerto Rico.
RateChart/ShipmentResponse/ShipmentResults/ShipmentCharges/RateChart N
o
1
Str
ing
TransportationCharges/ShipmentResponse/ShipmentResults/ShipmentCharges/TransportationCharges Y
es
One
conta
iner
N/A Transport Charges
container.
CurrencyCode
/ShipmentResponse/ShipmentResults/ShipmentCharges/TransportationCharges/CurrencyCode Y
es
One
str
ing
3
Transportation chargescurrency code type. Thecurrency code used in theShipment request isreturned.
MonetaryValue
/ShipmentResponse/ShipmentResults/ShipmentCharges/TransportationCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Transportation andsurcharges value amount.Valid values are from 0 to99999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 201
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ServiceOptionsCharges/ShipmentResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges Y
es
One
conta
iner
N/A Service Option Charges
container.
CurrencyCode
/ShipmentResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges/CurrencyCode Y
es
One
str
ing
3
Accessorial chargescurrency code type. Thecurrency code used in theShipment request isreturned.
MonetaryValue
/ShipmentResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Accessorial charges valueamount. Valid values arefrom 0 to99999999999999.99
TotalCharges/ShipmentResponse/ShipmentResults/ShipmentCharges/TotalCharges Y
es
One
conta
iner
N/A
Total charges container.
CurrencyCode/ShipmentResponse/ShipmentResults/ShipmentCharges/TotalCharges/CurrencyCode Y
es
One
str
ing
3
Total charges currency codetype. The currency codeused in the Shipmentrequest is returned.
MonetaryValue/ShipmentResponse/ShipmentResults/ShipmentCharges/TotalCharges/MonetaryValue Y
es
One
str
ing
1..
.19 Total charges value amount.
Valid values are from 0 to99999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 202
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
NegotiatedRateCharges/ShipmentResponse/ShipmentResults/NegotiatedRateCharges N
o
One
conta
iner
N/A Negotiated Rates Charge
Container.
TotalCharge/ShipmentResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge N
o
One
conta
iner
N/A
Total charges container.Account Based Rates info.Total charges are onlyreturned for ABR eligibleshipper account/UserIdcombinations when the userincludes theNegotiatedRatesIndicator inthe request.
CurrencyCode/ShipmentResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge/CurrencyCode Y
es
One
str
ing
3
Total charges currencycode.
MonetaryValue
/ShipmentResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge/MonetaryValue Y
es
One
str
ing
1..
19 Total charges monetary
value. Valid values are from0 to 9999999999999999.99
FRSShipmentData/ShipmentResponse/ShipmentResults/FRSShipmentData C
ond
One
Conta
iner
N/A
Ground Freight PricingShipment data container.Ground Freight Pricingshipment data is onlyguaranteed to be returnedfor Ground Freight Pricingshipments only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 203
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
TransportationCharges/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges C
ond
One
Conta
iner
N/A
Transportation chargescontainer. Ground FreightPricing transportationcharges. These are onlyreturned for Ground FreightPricing enabled shipperaccount number when theuser includes theFRSShipmentIndicator in therequest.
GrossCharge
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge Y
es
One
Conta
iner
N/A
Gross Charges container. Itindicates the shipment levelgross Ground Freight Pricingtransportation charges.
CurrencyCode
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge/CurrencyCode Y
es
One
Str
ing
3
Gross charges currencycode
MonetaryValue
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge/MonetaryValue Y
es
One
Str
ing
1..
19 Gross charges monetary
value. Valid values are from0 to 9999999999999999.99
DiscountAmount
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount Y
es
One
Conta
iner
N/A
Discount Amount container.It indicates the shipmentlevel Ground Freight Pricingdiscount amount fortransportation charges.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 204
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CurrencyCode
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount/CurrencyCode Y
es
One
Str
ing
3
Discount Amount currencycode.
MonetaryValue
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount/MonetaryValue Y
es
One
Str
ing
1..
19 Discount amount monetary
value. Valid values are from0 to 9999999999999999.99
DiscountPercentage
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountPercentage Y
es
One
Str
ing
1..
5
It indicates the shipmentlevel discount percentage fortransportation charges.
NetCharge
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge Y
es
One
Conta
iner
N/A
Net Charges container. Itindicates the shipment levelnet Ground Freight Pricingtransportation charges.
CurrencyCode
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge/CurrencyCode Y
es
One
Str
ing
N/A
Net Charge currency code.
MonetaryValue
/ShipmentResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge/MonetaryValue Y
es
One
Str
ing
1..
19 Net charges monetary value.
Valid values are from 0 to9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 205
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BillingWeight/ShipmentResponse/ShipmentResults/BillingWeight Y
es
One
conta
iner
N/A
Billing Weight container.
UnitOfMeasurement/ShipmentResponse/ShipmentResults/BillingWeight/UnitOfMeasurement Y
es
One
conta
iner
N/A
Billing weight unit ofmeasurement code. Theunit of measurement used inShipment request isreturned.
Code/ShipmentResponse/ShipmentResults/BillingWeight/UnitOfMeasurement/Code Y
es
One
str
ing
3
Code of the billing weightmeasurement units. Valuesare: KGS or LBS.
Description/ShipmentResponse/ShipmentResults/BillingWeight/UnitOfMeasurement/Description N
o
One
str
ing
1..
.35
Description of the billingweight measurement units.
Weight/ShipmentResponse/ShipmentResults/BillingWeight/Weight Y
es
One
str
ing
8
Billing weight. Higher of theactual shipment weightversus the shipmentdimensional weight.
ShipmentIdentificationNumber/ShipmentResponse/ShipmentResults/ShipmentIdentificationNumber Y
es
One
str
ing
18
Returned UPS shipment IDnumber.1Z Number of thefirst package in theshipment.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 206
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentDigest/ShipmentResponse/ShipmentResults/ShipmentDigest C
ond
One
str
ing
unbounded Encoded shipment
parameters required to bepassed in the accept phase.Applicable only forShipConfirmResponse.
PackageResults/ShipmentResponse/ShipmentResults/PackageResults N
o
##
conta
iner
N/A
Returned PackageInformation. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
TrackingNumber/ShipmentResponse/ShipmentResults/PackageResults/TrackingNumber Y
es
One
str
ing
18
Package 1Z number.Applicable only forShipmentResponse andShipAcceptResponse.
ServiceOptionsCharges/ShipmentResponse/ShipmentResults/PackageResults/ServiceOptionsCharges Cond
One
Conta
iner
N/A
Shipment charges info.Shipment charges are onlyguaranteed to be returnedfor shipments whose origincountry is US or PuertoRico. Applicable only forShipmentResponse andShipAcceptResponse.
CurrencyCode
/ShipmentResponse/ShipmentResults/PackageResults/ServiceOptionsCharges/CurrencyCode Y
es
One
str
ing
3 Package accessorialcharges currency code type.The currency code used inthe Shipment request isreturned. Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 207
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipmentResponse/ShipmentResults/PackageResults/ServiceOptionsCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Package accessorialcharges value amount. Validvalues are from 0 to99999999999999.99Applicable only forShipmentResponse andShipAcceptResponse.
ShippingLabel/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel C
ond
One
conta
iner
N/A
The container for UPSshipping label. Shipmentwithout return service, orwith PRL return service.Applicable only forShipmentResponse andShipAcceptResponse.
ImageFormat/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat Y
es
One
conta
iner
N/A
The container image format.Applicable only forShipmentResponse andShipAcceptResponse.
Code/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat/Code Y
es
One
str
ing
3 Label image code that thelabels are generated. ValuesEPL = EPL2, SPL = SPL,ZPL = ZPL, GIF = gifimages, or PNG for PNGimages. Only EPL, SPL, ZPLand GIF are currentlysupported. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
Description
/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat/Description N
o
One
str
ing
1..
.35
Description of the labelimage format code.Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 208
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
GraphicImage/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/GraphicImage Y
es
One
Base
64
Encoded
unbounded
Base 64 encoded graphicimage. Applicable only forShipmentResponse andShipAcceptResponse.
InternationalSignatureGraphicImage
/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/InternationalSignatureGraphicImage C
ond
One
Base
64
Encoded
unbounded
Base 64 encoded graphicimage of the Warsaw textand signature box.EPL2,ZPL and SPL labels. Theimage will be returned fornon-US based shipments.One image will be given pershipment and it will be in thefirst PackageResultscontainer. Applicable only forShipmentResponse andShipAcceptResponse.
HTMLImage/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/HTMLImage C
ond
One
Base
64
Encoded
unbounded
Base 64 encoded htmlbrowser image renderingsoftware. This is onlyreturned for gif and pngimage formats. Applicableonly for ShipmentResponseand ShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 209
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PDF417/ShipmentResponse/ShipmentResults/PackageResults/ShippingLabel/PDF417 C
ond
One
Base
64
Encoded
unbounded
PDF-417 is a two-dimensional barcode, whichcan store up to about 1,800printable ASCII characters or1,100 binary characters persymbol. The symbol isrectangular. The image isBase 64 encoded andreturned if theLabelImageFormat code isGIF. Shipment with PRLreturn service only.Applicable only forShipmentResponse andShipAcceptResponse.
ShippingReceipt/ShipmentResponse/ShipmentResults/PackageResults/ShippingReceipt C
ond
One
conta
iner
N/A
Container for the receipt of areturn shipment. Notsupported for ERL or PRLshipments. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
ImageFormat/ShipmentResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat Y
es
One
conta
iner
N/A
Container for a ImageFormat. Applicable only forShipmentResponse andShipAcceptResponse.
Code/ShipmentResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat/Code Y
es
One
str
ing
4
Code representing theformat in which a receipt.Valid values: HTML = HTMLformat. Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 210
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Description
/ShipmentResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat/Description N
o
One
str
ing
1..
.35
Description of the imageformat code. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
GraphicImage/ShipmentResponse/ShipmentResults/PackageResults/ShippingReceipt/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded PRL
receipt in HTML format.Applicable only forShipmentResponse andShipAcceptResponse.
USPSPICNumber/ShipmentResponse/ShipmentResults/PackageResults/USPSPICNumber C
ond
One
str
ing
unbounded USPSPICNumber is USPS
Package Identification codewhich is returned at packagelevel for UPS ReturnsFlexible Access Shipments.
ControlLogReceipt/ShipmentResponse/ShipmentResults/ControlLogReceipt C
ond
One
conta
iner
N/A
Container for the High Valuereports When forwardshipments declared valuebetween $999 and $50,000USD. Two copies of highvalue report needs to bepointed out. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 211
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ImageFormat/ShipmentResponse/ShipmentResults/ControlLogReceipt/ImageFormat Y
es
One
conta
iner
N/A
Container for the High Valuereport format, required ifparent exist. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
Code/ShipmentResponse/ShipmentResults/ControlLogReceipt/ImageFormat/Code Y
es
One
str
ing
4 Code for the type of GraphicImage for the High ValueReport. Values are: =EPL2 (when user requestslabel in EPL2 format) SPL= SPL (when user requestslabel in SPL format) ZPL =ZPL (when user requestslabel in ZPL format) HTML=HTML (when user requestslabel in HTML format)Applicable only forShipmentResponse andShipAcceptResponse.
Description/ShipmentResponse/ShipmentResults/ControlLogReceipt/ImageFormat/Description N
o
One
str
ing
1..
35
Description of the formatcode. Applicable only forShipmentResponse andShipAcceptResponse.
GraphicImage/ShipmentResponse/ShipmentResults/ControlLogReceipt/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded html,
EPL2, ZPL or SPL image.Applicable only forShipmentResponse andShipAcceptResponse.
Form /ShipmentResponse/ShipmentResults/Form Cond
One
conta
iner
N/A
Container tag for theInternational forms image.Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 212
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipmentResponse/ShipmentResults/Form/Code Y
es
One
str
ing
2
Code that indicates the typeof form. Possible Values01 -All Requested InternationalForms. Applicable only forShipmentResponse andShipAcceptResponse.
Description/ShipmentResponse/ShipmentResults/Form/Description Y
es
One
str
ing
1..
.35
Description that indicates thetype of form. PossibleValues. All RequestedInternational Forms.Applicable only forShipmentResponse andShipAcceptResponse.
Image/ShipmentResponse/ShipmentResults/Form/Image C
ond
One
conta
iner
N/A
Container tag for theInternational forms image.Applicable only forShipmentResponse andShipAcceptResponse.
ImageFormat/ShipmentResponse/ShipmentResults/Form/Image/ImageFormat C
ond
One
conta
iner
N/A
Container tag for theInternational forms imageformat information.Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 213
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipmentResponse/ShipmentResults/Form/Image/ImageFormat/Code C
ond
One
str
ing
3
Code representing theformat in which the formsare generated. PossibleValues: PDF = pdfOnly.PDF is supported currently.Applicable only forShipmentResponse andShipAcceptResponse.
Description/ShipmentResponse/ShipmentResults/Form/Image/ImageFormat/Description N
o
One
str
ing
1..
35
Description of the formimage format code.Applicable only forShipmentResponse andShipAcceptResponse.
GraphicImage/ShipmentResponse/ShipmentResults/Form/Image/GraphicImage C
ond
One
Base
64
Encoded
unbounded Base 64 encoded
International forms image.Applicable only forShipmentResponse andShipAcceptResponse.
FormGroupId/ShipmentResponse/ShipmentResults/Form/FormGroupId C
ond
One
str
ing
1..
.26
Unique Id for later retrievalof saved version of thecompleted internationalforms. Always returnedwhen code = 0101represents internationalforms. Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 214
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FormGroupIdName/ShipmentResponse/ShipmentResults/Form/FormGroupIdName N
o
One
str
ing
1..
.50
Contains description textwhich identifies the group ofInternational forms. Thiselement is part of bothrequest and response. Thiselement does not appear onthe forms. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
CODTurnInPage/ShipmentResponse/ShipmentResults/CODTurnInPage N
o
One
conta
iner
N/A
The container of the CODTurn In Page. Applicableonly for ShipmentResponseand ShipAcceptResponse.
Image/ShipmentResponse/ShipmentResults/CODTurnInPage/Image Y
es
One
conta
iner
N/A
The container of the imagefor COD Turn In Page.Applicable only forShipmentResponse andShipAcceptResponse.
ImageFormat/ShipmentResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat Y
es
One
conta
iner
N/A
The container for format ofCOD Turn In Page.Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 215
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipmentResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat/Code Y
es
One
Str
ing
4
Format code of thegenerated COD Turn InPage. Valid values: HTML =HTML format. Only HTMLformat is supported for CODTurn In Page. Applicableonly for ShipmentResponseand ShipAcceptResponse.
Description/ShipmentResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the formatcode of generated CODTurn In page. Applicableonly for ShipmentResponseand ShipAcceptResponse.
GraphicImage/ShipmentResponse/ShipmentResults/CODTurnInPage/Image/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded html
browser image renderingsoftware. Applicable only forShipmentResponse andShipAcceptResponse.
HighValueReport/ShipmentResponse/ShipmentResults/HighValueReport C
ond
One
Conta
iner
N/A
Container for the HighValueReport generated forImportControl or Returnshipments with high packagedeclared value. Applicablefor one passShipmentResponse and two-pass ShipAcceptResponse.
Image/ShipmentResponse/ShipmentResults/HighValueReport/Image Y
es*
One
Conta
iner
N/A
Container for the HighValueReport image for ImportControl Shipments.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 216
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ImageFormat/ShipmentResponse/ShipmentResults/HighValueReport/Image/ImageFormat Y
es*
One
Conta
iner
N/A
Container for the HighValueReport image formatinformation for ImportControl Shipments.
Code/ShipmentResponse/ShipmentResults/HighValueReport/Image/ImageFormat/Code Y
es*
One
Str
ing
3
Code representing theformat in which theHighValueReport isgenerated. Possible Values:PDF = 'pdf'
Description/ShipmentResponse/ShipmentResults/HighValueReport/Image/ImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the imageformat
GraphicImage/ShipmentResponse/ShipmentResults/HighValueReport/Image/GraphicImage Y
es*
One
Str
ing
unbounded
Base 64 Encoded PDFImage
LabelURL/ShipmentResponse/ShipmentResults/LabelURL C
ond
One
Str
ing
unbounded
LabelURL is returned only ifthe LabelLinksIndicator isrequested for anImportControl shipment orfor a Return shipment. URLwill point to a label and canalso point toHighValueReport,CustomsInvoice andImportControl instructions.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 217
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LocalLanguageLabelURL/ShipmentResponse/ShipmentResults/LocalLanguageLabelURL C
ond
One
Str
ing
unbounded
LocalLanguageLabelURL isreturned only if theLabelLinksIndicator isrequested for anImportControl shipment orfor a Return shipment. URLwill point to a label and canalso point toHighValueReport,CustomsInvoice andImportControl instructions inthe Country's local languageif supported by UPS.
ReceiptURL/ShipmentResponse/ShipmentResults/ReceiptURL C
ond
One
Str
ing
unbounded ReceiptURL is returned if the
LabelLinksIndicator isrequested for anImportControl shipment or aReturn shipment.
LocalLanguageReceiptURL/ShipmentResponse/ShipmentResults/LocalLanguageReceiptURL C
ond
One
Str
ing
unbounded
LocalLanguageReceiptURLis returned if theLabelLinksIndicator isrequested for anImportControl shipment or aReturn shipment. The URLwill contain the receipt in theCountry's local language ifsupported by UPS.
ShipConfirmResponse /ShipConfirmResponse Yes
One
conta
iner
N/A Shipment Response
Container
Response /ShipConfirmResponse/Response Yes
One
conta
iner
N/A
Response Container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 218
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ResponseStatus/ShipConfirmResponse/Response/ResponseStatus Y
es
One
conta
iner
N/A
Response Status Container.
Code/ShipConfirmResponse/Response/ResponseStatus/Code Y
es
One
str
ing
1
Identifies the success orfailure of the transaction. 1 =Successful
Description/ShipConfirmResponse/Response/ResponseStatus/Description Y
es
One
str
ing
1..
.35 Describes Response Status
Code. Returns text ofSuccess.
Alert /ShipConfirmResponse/Response/Alert No
One
conta
iner
N/A
Alert Container. There canbe zero to many alertcontainers with code anddescription.
Code /ShipConfirmResponse/Response/Alert/Code Yes*
One
str
ing
1..
.10
Warning code returned bythe system.
Description/ShipConfirmResponse/Response/Alert/Description Y
es*
One
str
ing
1..
.150
Warning messages returnedby the system.
TransactionReference/ShipConfirmResponse/Response/TransactionReference N
o
One
conta
iner
N/A Transaction Reference
Container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 219
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CustomerContext/ShipConfirmResponse/Response/TransactionReference/CustomerContext N
o
One
str
ing
1..
.512
The CustomerContextInformation which will beechoed during response.
ShipmentResults /ShipConfirmResponse/ShipmentResults Yes
One
conta
iner
N/A
Refer to theShipmentResults containertable for the elements underShipmentResults container.
ShipmentCharges/ShipConfirmResponse/ShipmentResults/ShipmentCharges C
ond
One
conta
iner
N/A
Shipment chargesContainer. Shipmentcharges info. Shipmentcharges are only guaranteedto be returned for shipmentswhose origin country is USor Puerto Rico.
RateChart/ShipConfirmResponse/ShipmentResults/ShipmentCharges/RateChart N
o
1
Str
ing
TransportationCharges/ShipConfirmResponse/ShipmentResults/ShipmentCharges/TransportationCharges Y
es
One
conta
iner
N/A Transport Charges
container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 220
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CurrencyCode
/ShipConfirmResponse/ShipmentResults/ShipmentCharges/TransportationCharges/CurrencyCode Y
es
One
str
ing
3
Transportation chargescurrency code type. Thecurrency code used in theShipment request isreturned.
MonetaryValue
/ShipConfirmResponse/ShipmentResults/ShipmentCharges/TransportationCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Transportation andsurcharges value amount.Valid values are from 0 to99999999999999.99
ServiceOptionsCharges/ShipConfirmResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges Y
es
One
conta
iner
N/A Service Option Charges
container.
CurrencyCode
/ShipConfirmResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges/CurrencyCode Y
es
One
str
ing
3
Accessorial chargescurrency code type. Thecurrency code used in theShipment request isreturned.
MonetaryValue
/ShipConfirmResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Accessorial charges valueamount. Valid values arefrom 0 to99999999999999.99
TotalCharges/ShipConfirmResponse/ShipmentResults/ShipmentCharges/TotalCharges Y
es
One
conta
iner
N/A
Total charges container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 221
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CurrencyCode/ShipConfirmResponse/ShipmentResults/ShipmentCharges/TotalCharges/CurrencyCode Y
es
One
str
ing
3
Total charges currency codetype. The currency codeused in the Shipmentrequest is returned.
MonetaryValue/ShipConfirmResponse/ShipmentResults/ShipmentCharges/TotalCharges/MonetaryValue Y
es
One
str
ing
1..
.19 Total charges value amount.
Valid values are from 0 to99999999999999.99
NegotiatedRateCharges/ShipConfirmResponse/ShipmentResults/NegotiatedRateCharges N
o
One
conta
iner
N/A Negotiated Rates Charge
Container.
TotalCharge/ShipConfirmResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge N
o
One
conta
iner
N/A
Total charges container.Account Based Rates info.Total charges are onlyreturned for ABR eligibleshipper account/UserIdcombinations when the userincludes theNegotiatedRatesIndicator inthe request.
CurrencyCode
/ShipConfirmResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge/CurrencyCode Y
es
One
str
ing
3
Total charges currencycode.
MonetaryValue
/ShipConfirmResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge/MonetaryValue Y
es
One
str
ing
1..
19 Total charges monetary
value. Valid values are from0 to 9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 222
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FRSShipmentData/ShipConfirmResponse/ShipmentResults/FRSShipmentData C
ond
One
Conta
iner
N/A
Ground Freight PricingShipment data container.Ground Freight Pricingshipment data is onlyguaranteed to be returnedfor Ground Freight Pricingshipments only.
TransportationCharges/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges C
ond
One
Conta
iner
N/A
Transportation chargescontainer. Ground FreightPricing transportationcharges. These are onlyreturned for Ground FreightPricing enabled shipperaccount number when theuser includes theFRSShipmentIndicator in therequest.
GrossCharge
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge Y
es
One
Conta
iner
N/A
Gross Charges container. Itindicates the shipment levelgross FRS transportationcharges.
CurrencyCode
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge/CurrencyCode Y
es
One
Str
ing
3
Gross charges currencycode
MonetaryValue
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge/MonetaryValue Y
es
One
Str
ing
1..
19 Gross charges monetary
value. Valid values are from0 to 9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 223
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DiscountAmount
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount Y
es
One
Conta
iner
N/A
Discount Amount container.It indicates the shipmentlevel Ground Freight Pricingdiscount amount fortransportation charges.
CurrencyCode
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount/CurrencyCode Y
es
One
Str
ing
3
Discount Amount currencycode.
MonetaryValue
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount/MonetaryValue Y
es
One
Str
ing
1..
19 Discount amount monetary
value. Valid values are from0 to 9999999999999999.99
DiscountPercentage
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountPercentage Y
es
One
Str
ing
1..
5
It indicates the shipmentlevel discount percentage fortransportation charges.
NetCharge
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge Y
es
One
Conta
iner
N/A
Net Charges container. Itindicates the shipment levelnet Ground Freight Pricingtransportation charges.
CurrencyCode
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge/CurrencyCode Y
es
One
Str
ing
N/A
Net Charge currency code.
MonetaryValue
/ShipConfirmResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge/MonetaryValue Y
es
One
Str
ing
1..
19 Net charges monetary value.
Valid values are from 0 to9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 224
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
BillingWeight/ShipConfirmResponse/ShipmentResults/BillingWeight Y
es
One
conta
iner
N/A
Billing Weight container.
UnitOfMeasurement/ShipConfirmResponse/ShipmentResults/BillingWeight/UnitOfMeasurement Y
es
One
conta
iner
N/A
Billing weight unit ofmeasurement code. Theunit of measurement used inShipment request isreturned.
Code/ShipConfirmResponse/ShipmentResults/BillingWeight/UnitOfMeasurement/Code Y
es
One
str
ing
3
Code of the billing weightmeasurement units. Valuesare: KGS or LBS.
Description/ShipConfirmResponse/ShipmentResults/BillingWeight/UnitOfMeasurement/Description N
o
One
str
ing
1..
.35
Description of the billingweight measurement units.
Weight/ShipConfirmResponse/ShipmentResults/BillingWeight/Weight Y
es
One
str
ing
8
Billing weight. Higher of theactual shipment weightversus the shipmentdimensional weight. Set to 0for package type of letters orenvelopes.
ShipmentIdentificationNumber/ShipConfirmResponse/ShipmentResults/ShipmentIdentificationNumber Y
es
One
str
ing
18
Returned UPS shipment IDnumber. 1Z Number of thefirst package in theshipment.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 225
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentDigest/ShipConfirmResponse/ShipmentResults/ShipmentDigest C
ond
One
str
ing
unbounded Encoded shipment
parameters required to bepassed in the accept phase.Applicable only forShipConfirmResponse.
PackageResults/ShipConfirmResponse/ShipmentResults/PackageResults N
o
##
conta
iner
N/A
Returned PackageInformation. Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
TrackingNumber/ShipConfirmResponse/ShipmentResults/PackageResults/TrackingNumber Y
es
One
str
ing
18
Package 1Z number.Applicable only forShipConfirmResponse andShipAcceptResponse.
ServiceOptionsCharges/ShipConfirmResponse/ShipmentResults/PackageResults/ServiceOptionsCharges C
ond
One
Conta
iner
N/A
Shipment charges info.Shipment charges are onlyguaranteed to be returnedfor shipments whose origincountry is US or PuertoRico. Applicable only forShipConfirmResponse andShipAcceptResponse.
CurrencyCode
/ShipConfirmResponse/ShipmentResults/PackageResults/ServiceOptionsCharges/CurrencyCode Y
es
One
str
ing
3 Package accessorialcharges currency code type.The currency code used inthe Shipment request isreturned. Applicable only forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 226
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipConfirmResponse/ShipmentResults/PackageResults/ServiceOptionsCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Package accessorialcharges value amount. Validvalues are from 0 to99999999999999.99Applicable only forShipConfirmResponse andShipAcceptResponse.
ShippingLabel/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel C
ond
One
conta
iner
N/A
The container for UPSshipping label. Shipmentwithout return service, orwith PRL return service.Applicable only forShipConfirmResponse andShipAcceptResponse.
ImageFormat/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat Y
es
One
conta
iner
N/A
The container image format.Applicable only forShipConfirmResponse andShipAcceptResponse.
Code
/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat/Code Y
es
One
str
ing
3 Label image code that thelabels are generated. ValuesEPL = EPL2, SPL = SPL,ZPL = ZPL, GIF = gifimages, or PNG for PNGimages. Only EPL, SPL, ZPLand GIF are currentlysupported. Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
Description
/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat/Description N
o
One
str
ing
1..
.35
Description of the labelimage format code.Applicable only forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 227
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
GraphicImage/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/GraphicImage Y
es
One
Base
64
Encoded
unbounded
Base 64 encoded graphicimage. Applicable only forShipConfirmResponse andShipAcceptResponse.
InternationalSignatureGraphicImage
/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/InternationalSignatureGraphicImage C
ond
One
Base
64
Encoded
unbounded
Base 64 encoded graphicimage of the Warsaw textand signature box. EPL2,ZPL and SPL labels. Theimage will be returned fornon-US based shipments.One image will be given pershipment and it will be in thefirst PackageResultscontainer. Applicable only forShipConfirmResponse andShipAcceptResponse.
HTMLImage/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/HTMLImage Cond
One
Base
64
Encoded
unbounded
Base 64 encoded htmlbrowser image renderingsoftware. This is onlyreturned for gif and pngimage formats. Applicableonly forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 228
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PDF417/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingLabel/PDF417 C
ond
One
Base
64
Encoded
unbounded
PDF-417 is a two-dimensional barcode, whichcan store up to about 1,800printable ASCII characters or1,100 binary characters persymbol. The symbol isrectangular. The image isBase 64 encoded andreturned if theLabelImageFormat code isGIF. Shipment with PRLreturn service only.Applicable only forShipConfirmResponse andShipAcceptResponse.
ShippingReceipt/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingReceipt C
ond
One
conta
iner
N/A
Container for the receipt of areturn shipment. Notsupported for ERL or PRLshipments. Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
ImageFormat/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat Y
es
One
conta
iner
N/A
Container for a ImageFormat. Applicable only forShipConfirmResponse andShipAcceptResponse.
Code
/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat/Code Y
es
One
str
ing
4
Code representing theformat in which a receipt.Valid values: HTML = HTMLformat. Applicable only forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 229
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Description
/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat/Description N
o
One
str
ing
1..
.35
Description of the imageformat code. Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
GraphicImage/ShipConfirmResponse/ShipmentResults/PackageResults/ShippingReceipt/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded PRL
receipt in HTML format.Applicable only forShipConfirmResponse andShipAcceptResponse.
USPSPICNumber/ShipConfirmResponse/ShipmentResults/PackageResults/USPSPICNumber N
o
1
Str
ing
ControlLogReceipt/ShipConfirmResponse/ShipmentResults/ControlLogReceipt Cond
One
conta
iner
N/A
Container for the High Valuereports When forwardshipments declared valuebetween $999 and $50,000USD. Two copies of highvalue report needs to bepointed out. Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
ImageFormat/ShipConfirmResponse/ShipmentResults/ControlLogReceipt/ImageFormat Y
es
One
conta
iner
N/A
Container for the High Valuereport format, required ifparent exist Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 230
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipConfirmResponse/ShipmentResults/ControlLogReceipt/ImageFormat/Code Y
es
One
str
ing
4 Code for the type of GraphicImage for the High ValueReport. Values are: EPL =EPL2 (when user requestslabel in EPL2 format) SPL= SPL (when user requestslabel in SPL format) ZPL =ZPL (when user requestslabel in ZPL format) HTML=HTML (when user requestslabel in HTML format)Applicable only forShipConfirmResponse andShipAcceptResponse.
Description/ShipConfirmResponse/ShipmentResults/ControlLogReceipt/ImageFormat/Description N
o
One
str
ing
1..
35
Description of the formatcode. Applicable only forShipConfirmResponse andShipAcceptResponse.
GraphicImage/ShipConfirmResponse/ShipmentResults/ControlLogReceipt/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded html,
EPL2, ZPL or SPL image.Applicable only forShipConfirmResponse andShipAcceptResponse.
Form/ShipConfirmResponse/ShipmentResults/Form C
ond
One
conta
iner
N/A
Container tag for theInternational forms image.Applicable only forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 231
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipConfirmResponse/ShipmentResults/Form/Code Y
es
One
str
ing
2
Code that indicates the typeof form. Possible Values01 -All Requested InternationalForms. Applicable only forShipConfirmResponse andShipAcceptResponse.
Description/ShipConfirmResponse/ShipmentResults/Form/Description Y
es
One
str
ing
1..
.35
Description that indicates thetype of form. PossibleValues: All RequestedInternational Forms.Applicable only forShipConfirmResponse andShipAcceptResponse.
Image/ShipConfirmResponse/ShipmentResults/Form/Image C
ond
One
conta
iner
N/A
Container tag for theInternational forms image.Applicable only forShipConfirmResponse andShipAcceptResponse.
ImageFormat/ShipConfirmResponse/ShipmentResults/Form/Image/ImageFormat C
ond
One
conta
iner
N/A
Container tag for theInternational forms imageformat information.Applicable only forShipConfirmResponse andShipAcceptResponse.
Code/ShipConfirmResponse/ShipmentResults/Form/Image/ImageFormat/Code C
ond
One
str
ing
3 Code representing theformat in which the formsare generated. PossibleValues: PDF = pdfOnly.PDF is supported currently.Applicable only forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 232
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Description/ShipConfirmResponse/ShipmentResults/Form/Image/ImageFormat/Description N
o
One
str
ing
1..
35
Description of the formimage format code.Applicable only forShipConfirmResponse andShipAcceptResponse.
GraphicImage/ShipConfirmResponse/ShipmentResults/Form/Image/GraphicImage C
ond
One
Base
64
Encoded
unbounded Base 64 encoded
International forms image.Applicable only forShipConfirmResponse andShipAcceptResponse.
FormGroupId/ShipConfirmResponse/ShipmentResults/Form/FormGroupId C
ond
One
str
ing
1..
.26
Unique Id for later retrievalof saved version of thecompleted internationalforms. Always returnedwhen code = 0101represents internationalforms. Applicable only forShipConfirmResponse andShipAcceptResponse.
FormGroupIdName/ShipConfirmResponse/ShipmentResults/Form/FormGroupIdName N
o
One
str
ing
1..
.50
Contains description textwhich identifies the group ofInternational forms. Thiselement is part of bothrequest and response. Thiselement does not appear onthe forms. Applicable onlyfor ShipConfirmResponseand ShipAcceptResponse.
CODTurnInPage/ShipConfirmResponse/ShipmentResults/CODTurnInPage N
o
One
conta
iner
N/A
The container of the CODTurn In Page. Applicableonly forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 233
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Image/ShipConfirmResponse/ShipmentResults/CODTurnInPage/Image Y
es
One
conta
iner
N/A
The container of the imagefor COD Turn In Page.Applicable only forShipConfirmResponse andShipAcceptResponse.
ImageFormat/ShipConfirmResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat Y
es
One
conta
iner
N/A
The container for format ofCOD Turn In Page.Applicable only forShipConfirmResponse andShipAcceptResponse.
Code/ShipConfirmResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat/Code Y
es
One
Str
ing
4
Format code of thegenerated COD Turn InPage. Valid values: HTML =HTML format. Only HTMLformat is supported for CODTurn In Page. Applicableonly forShipConfirmResponse andShipAcceptResponse.
Description/ShipConfirmResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the formatcode of generated CODTurn In page. Applicableonly forShipConfirmResponse andShipAcceptResponse.
GraphicImage/ShipConfirmResponse/ShipmentResults/CODTurnInPage/Image/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded html
browser image renderingsoftware. Applicable only forShipConfirmResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 234
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
HighValueReport/ShipConfirmResponse/ShipmentResults/HighValueReport C
ond
One
Conta
iner
N/A
Container for the HighValueReport generated forImportControl or Returnshipments with high packagedeclared value. Applicablefor one passShipmentResponse and two-pass ShipAcceptResponse.
Image/ShipConfirmResponse/ShipmentResults/HighValueReport/Image Y
es*
One
Conta
iner
N/A
Container for the HighValueReport image for ImportControl Shipments.
ImageFormat/ShipConfirmResponse/ShipmentResults/HighValueReport/Image/ImageFormat Y
es*
One
Conta
iner
N/A
Container for the HighValueReport image formatinformation for ImportControl Shipments or returnShipments.
Code/ShipConfirmResponse/ShipmentResults/HighValueReport/Image/ImageFormat/Code Y
es*
One
Str
ing
3
Code representing theformat in which theHighValueReport isgenerated.|Possible Values:PDF = “pdf”
Description/ShipConfirmResponse/ShipmentResults/HighValueReport/Image/ImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the imageformat
GraphicImage/ShipConfirmResponse/ShipmentResults/HighValueReport/Image/GraphicImage Y
es*
One
Str
ing
unbounded
Base 64 Encoded PDFImage
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 235
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LabelURL/ShipConfirmResponse/ShipmentResults/LabelURL N
o
1
Str
ing
LabelURL is returned only ifthe LabelLinksIndicator isrequested for anImportControl shipment orfor a Return shipment. URLwill point to a label and canalso point toHighValueReport
LocalLanguageLabelURL/ShipConfirmResponse/ShipmentResults/LocalLanguageLabelURL N
o
1
Str
ing
LocalLanguageLabelURL isreturned only if theLabelLinksIndicator isrequested for anImportControl shipment orfor a Return shipment. URLwill point to a label and canalso point toHighValueReport
ReceiptURL/ShipConfirmResponse/ShipmentResults/ReceiptURL N
o
1
Str
ing
Receipt URL is returned ifthe LabelLinksIndicator isrequested for anImportControl shipment or aReturn shipment.
LocalLanguageReceiptURL/ShipConfirmResponse/ShipmentResults/LocalLanguageReceiptURL N
o
1
Str
ing
LocalLanguageReceiptURLis returned if theLabelLinksIndicator isrequested for anImportControl shipment or aReturn shipment. The URLwill contain the receipt in theCountry's local language ifsupported by UPS.
ShipAcceptResponse /ShipAcceptResponse Yes
One
conta
iner
N/A Shipment Response
Container
Response /ShipAcceptResponse/Response Yes
One
conta
iner
N/A
Response Container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 236
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ResponseStatus/ShipAcceptResponse/Response/ResponseStatus Y
es
One
conta
iner
N/A
Response Status Container.
Code/ShipAcceptResponse/Response/ResponseStatus/Code Y
es
One
str
ing
1
Identifies the success orfailure of the transaction. 1 =Successful
Description/ShipAcceptResponse/Response/ResponseStatus/Description Y
es
One
str
ing
1..
.35 Describes Response Status
Code. Returns text of"Success".
Alert /ShipAcceptResponse/Response/Alert No
One
conta
iner
N/A
Alert Container. There canbe zero to many alertcontainers with code anddescription.
Code /ShipAcceptResponse/Response/Alert/Code Yes*
One
str
ing
1..
.10
Warning code returned bythe system.
Description/ShipAcceptResponse/Response/Alert/Description Y
es*
One
str
ing
1..
.150
Warning messages returnedby the system.
TransactionReference/ShipAcceptResponse/Response/TransactionReference N
o
One
conta
iner
N/A Transaction Reference
Container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 237
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CustomerContext/ShipAcceptResponse/Response/TransactionReference/CustomerContext N
o
One
str
ing
1..
.512
The CustomerContextInformation which will beechoed during response.
ShipmentResults /ShipAcceptResponse/ShipmentResults Yes
One
conta
iner
N/A
Refer to theShipmentResults containertable for the elements underShipmentResults container.
ShipmentCharges/ShipAcceptResponse/ShipmentResults/ShipmentCharges C
ond
One
conta
iner
N/A
Shipment chargesContainer. Shipmentcharges info. Shipmentcharges are only guaranteedto be returned for shipmentswhose origin country is USor Puerto Rico.
RateChart/ShipAcceptResponse/ShipmentResults/ShipmentCharges/RateChart N
o
1
Str
ing
TransportationCharges/ShipAcceptResponse/ShipmentResults/ShipmentCharges/TransportationCharges Y
es
One
conta
iner
N/A Transport Charges
container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 238
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CurrencyCode
/ShipAcceptResponse/ShipmentResults/ShipmentCharges/TransportationCharges/CurrencyCode Y
es
One
str
ing
3
Transportation chargescurrency code type. Thecurrency code used in theShipment request isreturned.
MonetaryValue
/ShipAcceptResponse/ShipmentResults/ShipmentCharges/TransportationCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Transportation andsurcharges value amount.Valid values are from 0 to99999999999999.99
ServiceOptionsCharges/ShipAcceptResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges Y
es
One
conta
iner
N/A Service Option Charges
container.
CurrencyCode
/ShipAcceptResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges/CurrencyCode Y
es
One
str
ing
3
Accessorial chargescurrency code type. Thecurrency code used in theShipment request isreturned.
MonetaryValue
/ShipAcceptResponse/ShipmentResults/ShipmentCharges/ServiceOptionsCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Accessorial charges valueamount. Valid values arefrom 0 to99999999999999.99
TotalCharges/ShipAcceptResponse/ShipmentResults/ShipmentCharges/TotalCharges Y
es
One
conta
iner
N/A
Total charges container.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 239
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CurrencyCode/ShipAcceptResponse/ShipmentResults/ShipmentCharges/TotalCharges/CurrencyCode Y
es
One
str
ing
3
Total charges currency codetype. The currency codeused in the Shipmentrequest is returned.
MonetaryValue/ShipAcceptResponse/ShipmentResults/ShipmentCharges/TotalCharges/MonetaryValue Y
es
One
str
ing
1..
.19 Total charges value amount.
Valid values are from 0 to99999999999999.99
NegotiatedRateCharges/ShipAcceptResponse/ShipmentResults/NegotiatedRateCharges N
o
One
conta
iner
N/A Negotiated Rates Charge
Container.
TotalCharge/ShipAcceptResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge N
o
One
conta
iner
N/A
Total charges container.Account Based Rates info.Total charges are onlyreturned for ABR eligibleshipper account/UserIdcombinations when the userincludes theNegotiatedRatesIndicator inthe request.
CurrencyCode
/ShipAcceptResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge/CurrencyCode Y
es
One
str
ing
3
Total charges currencycode.
MonetaryValue
/ShipAcceptResponse/ShipmentResults/NegotiatedRateCharges/TotalCharge/MonetaryValue Y
es
One
str
ing
1..
19 Total charges monetary
value. Valid values are from0 to 9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 240
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
FRSShipmentData/ShipAcceptResponse/ShipmentResults/FRSShipmentData C
ond
One
Conta
iner
N/A
Ground Freight PricingShipment data container.Ground Freight Pricingshipment data is onlyguaranteed to be returnedfor Ground Freight Pricingshipments only.
TransportationCharges/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges C
ond
One
Conta
iner
N/A
Transportation chargescontainer. Ground FreightPricing transportationcharges. These are onlyreturned for Ground FreightPricing enabled shipperaccount number when theuser includes theFRSShipmentIndicator in therequest.
GrossCharge
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge Y
es
One
Conta
iner
N/A
Gross Charges container. Itindicates the shipment levelgross Ground Freight Pricingtransportation charges.
CurrencyCode
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge/CurrencyCode Y
es
One
Str
ing
3
Gross charges currencycode
MonetaryValue
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/GrossCharge/MonetaryValue Y
es
One
Str
ing
1..
19 Gross charges monetary
value. Valid values are from0 to 9999999999999999.99
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 241
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
DiscountAmount
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount Y
es
One
Conta
iner
N/A
Discount Amount container.It indicates the shipmentlevel Ground Freight Pricingdiscount amount fortransportation charges.
CurrencyCode
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount/CurrencyCode Y
es
One
Str
ing
3
Discount Amount currencycode.
MonetaryValue
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountAmount/MonetaryValue Y
es
One
Str
ing
1..
19 Discount amount monetary
value. Valid values are from0 to 9999999999999999.99
DiscountPercentage
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/DiscountPercentage Y
es
One
Str
ing
1..
5It indicates the shipmentlevel discount percentage fortransportation charges.
NetCharge
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge Y
es
One
Conta
iner
N/A
Net Charges container. Itindicates the shipment levelnet Ground Freight Pricingtransportation charges.
CurrencyCode
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge/CurrencyCode Y
es
One
Str
ing
N/A
Net Charge currency code.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 242
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
MonetaryValue
/ShipAcceptResponse/ShipmentResults/FRSShipmentData/TransportationCharges/NetCharge/MonetaryValue Y
es
One
Str
ing
1..
19 Net charges monetary value.
Valid values are from 0 to9999999999999999.99
BillingWeight/ShipAcceptResponse/ShipmentResults/BillingWeight Y
es
One
conta
iner
N/A
Billing Weight container.
UnitOfMeasurement/ShipAcceptResponse/ShipmentResults/BillingWeight/UnitOfMeasurement Y
es
One
conta
iner
N/A
Billing weight unit ofmeasurement code. Theunit of measurement used inShipment request isreturned.
Code/ShipAcceptResponse/ShipmentResults/BillingWeight/UnitOfMeasurement/Code Y
es
One
str
ing
3
Code of the billing weightmeasurement units. Valuesare: KGS or LBS.
Description/ShipAcceptResponse/ShipmentResults/BillingWeight/UnitOfMeasurement/Description No
One
str
ing
1..
.35
Description of the billingweight measurement units.
Weight/ShipAcceptResponse/ShipmentResults/BillingWeight/Weight Y
es
One
str
ing
8
Billing weight. Higher of theactual shipment weightversus the shipmentdimensional weight. Set to 0for package type of letters orenvelopes.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 243
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ShipmentIdentificationNumber/ShipAcceptResponse/ShipmentResults/ShipmentIdentificationNumber Y
es
One
str
ing
18
Returned UPS shipment IDnumber. 1Z Number of thefirst package in theshipment.
ShipmentDigest/ShipAcceptResponse/ShipmentResults/ShipmentDigest C
ond
One
str
ing
unbounded Encoded shipment
parameters required to bepassed in the accept phase.Applicable only forShipConfirmResponse.
PackageResults/ShipAcceptResponse/ShipmentResults/PackageResults N
o
##
conta
iner
N/A
Returned PackageInformation. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
TrackingNumber/ShipAcceptResponse/ShipmentResults/PackageResults/TrackingNumber Y
es
One
str
ing
18
Package 1Z number.Applicable only forShipmentResponse andShipAcceptResponse.
ServiceOptionsCharges/ShipAcceptResponse/ShipmentResults/PackageResults/ServiceOptionsCharges C
ond
One
Conta
iner
N/A
Shipment charges info.Shipment charges are onlyguaranteed to be returnedfor shipments whose origincountry is US or PuertoRico. Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 244
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
CurrencyCode
/ShipAcceptResponse/ShipmentResults/PackageResults/ServiceOptionsCharges/CurrencyCode Y
es
One
str
ing
3
Package accessorialcharges currency code type.The currency code used inthe Shipment request isreturned. Applicable only forShipmentResponse andShipAcceptResponse.
MonetaryValue
/ShipAcceptResponse/ShipmentResults/PackageResults/ServiceOptionsCharges/MonetaryValue Y
es
One
str
ing
1..
.19
Package accessorialcharges value amount. Validvalues are from 0 to99999999999999.99Applicable only forShipmentResponse andShipAcceptResponse.
ShippingLabel/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel C
ond
One
conta
iner
N/A
The container for UPSshipping label. Shipmentwithout return service, orwith PRL return service.Applicable only forShipmentResponse andShipAcceptResponse.
ImageFormat/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat Y
es
One
conta
iner
N/A
The container image format.Applicable only forShipmentResponse andShipAcceptResponse.
Code/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat/Code Y
es
One
str
ing
3
Label image code that thelabels are generated. ValuesEPL = EPL2, SPL = SPL,ZPL = ZPL, GIF = gifimages, or PNG for PNGimages. Only EPL, SPL, ZPLand GIF are currentlysupported. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 245
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Description
/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/ImageFormat/Description N
o
One
str
ing
1..
.35
Description of the labelimage format code.Applicable only forShipmentResponse andShipAcceptResponse.
GraphicImage/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/GraphicImage Y
es
One
Base
64
Encoded
unbounded
Base 64 encoded graphicimage. Applicable only forShipmentResponse andShipAcceptResponse.
InternationalSignatureGraphicImage
/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/InternationalSignatureGraphicImage C
ond
One
Base
64
Encoded
unbounded
Base 64 encoded graphicimage of the Warsaw textand signature box. EPL2,ZPL and SPL labels. Theimage will be returned fornon-US based shipments.One image will be given pershipment and it will be in thefirst PackageResultscontainer. Applicable only forShipmentResponse andShipAcceptResponse.
HTMLImage/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/HTMLImage C
ond
One
Base
64
Encoded
unbounded
Base 64 encoded htmlbrowser image renderingsoftware. This is onlyreturned for gif and pngimage formats. Applicableonly for ShipmentResponseand ShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 246
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
PDF417/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingLabel/PDF417 C
ond
One
Base
64
Encoded
unbounded
PDF-417 is a two-dimensional barcode, whichcan store up to about 1,800printable ASCII characters or1,100 binary characters persymbol. The symbol isrectangular. The image isBase 64 encoded andreturned if theLabelImageFormat code isGIF. Shipment with PRLreturn service only.Applicable only forShipmentResponse andShipAcceptResponse.
ShippingReceipt/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingReceipt C
ond
One
conta
iner
N/A
Container for the receipt of areturn shipment. Notsupported for ERL or PRLshipments. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
ImageFormat/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat Y
es
One
conta
iner
N/A
Container for a ImageFormat. Applicable only forShipmentResponse andShipAcceptResponse.
Code
/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat/Code Y
es
One
str
ing
4
Code representing theformat in which a receipt.Valid values: HTML = HTMLformat. Applicable only forShipmentResponse andShipAcceptResponse.
Description
/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingReceipt/ImageFormat/Description N
o
One
str
ing
1..
.35
Description of the imageformat code. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 247
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
GraphicImage/ShipAcceptResponse/ShipmentResults/PackageResults/ShippingReceipt/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded PRL
receipt in HTML format.Applicable only forShipmentResponse andShipAcceptResponse.
USPSPICNumber/ShipAcceptResponse/ShipmentResults/PackageResults/USPSPICNumber C
ond
One
str
ing
unbounded USPSPICNumber is USPS
Package Identification codewhich is returned at packagelevel for UPS ReturnsFlexible Access Shipments.
ControlLogReceipt/ShipAcceptResponse/ShipmentResults/ControlLogReceipt C
ond
One
conta
iner
N/A
Container for the High Valuereports When forwardshipments declared valuebetween $999 and $50,000USD. Two copies of highvalue report needs to bepointed out. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
ImageFormat/ShipAcceptResponse/ShipmentResults/ControlLogReceipt/ImageFormat Y
es
One
conta
iner
N/A
Container for the High Valuereport format, required ifparent exist Applicable onlyfor ShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 248
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Code/ShipAcceptResponse/ShipmentResults/ControlLogReceipt/ImageFormat/Code Y
es
One
str
ing
4 Code for the type of GraphicImage for the High ValueReport. Values are: EPL =EPL2 (when user requestslabel in EPL2 format) SPL= SPL (when user requestslabel in SPL format) ZPL =ZPL (when user requestslabel in ZPL format) HTML=HTML (when user requestslabel in HTML format)Applicable only forShipmentResponse andShipAcceptResponse.
Description/ShipAcceptResponse/ShipmentResults/ControlLogReceipt/ImageFormat/Description N
o
One
str
ing
1..
35
Description of the formatcode. Applicable only forShipmentResponse andShipAcceptResponse.
GraphicImage/ShipAcceptResponse/ShipmentResults/ControlLogReceipt/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded html,
EPL2, ZPL or SPL image.Applicable only forShipmentResponse andShipAcceptResponse.
Form /ShipAcceptResponse/ShipmentResults/Form Cond
One
conta
iner
N/A
Container tag for theInternational forms image.Applicable only forShipmentResponse andShipAcceptResponse.
Code/ShipAcceptResponse/ShipmentResults/Form/Code Y
es
One
str
ing
2
Code that indicates the typeof form. Possible Values01 -All Requested InternationalForms. Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 249
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Description/ShipAcceptResponse/ShipmentResults/Form/Description Y
es
One
str
ing
1..
.35
Description that indicates thetype of form. PossibleValues: All RequestedInternational Forms.Applicable only forShipmentResponse andShipAcceptResponse.
Image/ShipAcceptResponse/ShipmentResults/Form/Image C
ond
One
conta
iner
N/A
Container tag for theInternational forms image.Applicable only forShipmentResponse andShipAcceptResponse.
ImageFormat/ShipAcceptResponse/ShipmentResults/Form/Image/ImageFormat C
ond
One
conta
iner
N/A
Container tag for theInternational forms imageformat information.Applicable only forShipmentResponse andShipAcceptResponse.
Code/ShipAcceptResponse/ShipmentResults/Form/Image/ImageFormat/Code C
ond
One
str
ing
3 Code representing theformat in which the formsare generated. PossibleValues: PDF = pdfOnly.PDF is supported currently.Applicable only forShipmentResponse andShipAcceptResponse.
Description/ShipAcceptResponse/ShipmentResults/Form/Image/ImageFormat/Description N
o
One
str
ing
1..
35
Description of the formimage format code.Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 250
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
GraphicImage/ShipAcceptResponse/ShipmentResults/Form/Image/GraphicImage C
ond
One
Base
64
Encoded
unbounded Base 64 encoded
International forms image.Applicable only forShipmentResponse andShipAcceptResponse.
FormGroupId/ShipAcceptResponse/ShipmentResults/Form/FormGroupId C
ond
One
str
ing
1..
.26
Unique Id for later retrievalof saved version of thecompleted internationalforms. Always returnedwhen code = 0101represents internationalforms. Applicable only forShipmentResponse andShipAcceptResponse.
FormGroupIdName/ShipAcceptResponse/ShipmentResults/Form/FormGroupIdName N
o
One
str
ing
1..
.50
Contains description textwhich identifies the group ofInternational forms. Thiselement is part of bothrequest and response. Thiselement does not appear onthe forms. Applicable onlyfor ShipmentResponse andShipAcceptResponse.
CODTurnInPage/ShipAcceptResponse/ShipmentResults/CODTurnInPage N
o
One
conta
iner
N/A
The container of the CODTurn In Page. Applicableonly for ShipmentResponseand ShipAcceptResponse.
Image/ShipAcceptResponse/ShipmentResults/CODTurnInPage/Image Y
es
One
conta
iner
N/A
The container of the imagefor COD Turn In Page.Applicable only forShipmentResponse andShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 251
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
ImageFormat/ShipAcceptResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat Y
es
One
conta
iner
N/A
The container for format ofCOD Turn In Page.Applicable only forShipmentResponse andShipAcceptResponse.
Code/ShipAcceptResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat/Code Y
es
One
Str
ing
4
Format code of thegenerated COD Turn InPage. Valid values: HTML =HTML format. Only HTMLformat is supported for CODTurn In Page. Applicableonly for ShipmentResponseand ShipAcceptResponse.
Description/ShipAcceptResponse/ShipmentResults/CODTurnInPage/Image/ImageFormat/Description N
o
One
Str
ing
1..
.35
Description of the formatcode of generated CODTurn In page. Applicableonly for ShipmentResponseand ShipAcceptResponse.
GraphicImage/ShipAcceptResponse/ShipmentResults/CODTurnInPage/Image/GraphicImage Y
es
One
Base
64
Encoded
unbounded Base 64 encoded html
browser image renderingsoftware. Applicable only forShipmentResponse andShipAcceptResponse.
HighValueReport/ShipAcceptResponse/ShipmentResults/HighValueReport N
o
1
Conta
iner
Container for the HighValueReport generated forImportControl or Returnshipments with high packagedeclared value.Applicablefor one passShipmentResponse and two-pass ShipAcceptResponse.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 252
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
Image/ShipAcceptResponse/ShipmentResults/HighValueReport/Image Y
es
1
Conta
iner
Container for the HighValueReport image for ImportControl Shipments or forreturn shipments.
ImageFormat/ShipAcceptResponse/ShipmentResults/HighValueReport/Image/ImageFormat Y
es
1
Conta
iner Container for the HighValue
Report image formatinformation for ImportControl Shipments or forreturn shipments.
Code/ShipAcceptResponse/ShipmentResults/HighValueReport/Image/ImageFormat/Code Y
es
1
Str
ing
Code representing theformat in which theHighValueReport isgenerated.|Possible Values:PDF = “pdf”
Description/ShipAcceptResponse/ShipmentResults/HighValueReport/Image/ImageFormat/Description N
o
1
Str
ing
Description of the imageformat
GraphicImage/ShipAcceptResponse/ShipmentResults/HighValueReport/Image/GraphicImage Y
es
1
Str
ing
Base 64 Encoded PDFImage
LabelURL/ShipAcceptResponse/ShipmentResults/LabelURL N
o
1
Str
ing
LabelURL is returned only ifthe LabelLinksIndicator isrequested for anImportControl shipment orfor a Return shipment. URLwill point to a label and canalso point toHighValueReport
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 253
Name XPath Req
uir
ed
Max
Allo
wed
Typ
e
Len
gth
Description Validation Rules Sh
ipm
en
tO
nly
Retu
rnO
nly
CO
Naft
aC
O
Invo
ice
EE
I
Part
ialIV
LocalLanguageLabelURL/ShipAcceptResponse/ShipmentResults/LocalLanguageLabelURL N
o
1
Str
ing
LocalLanguageLabelURL isreturned only if theLabelLinksIndicator isrequested for anImportControl shipment orfor a Return shipment. URLwill point to a label and canalso point toHighValueReport
ReceiptURL/ShipAcceptResponse/ShipmentResults/ReceiptURL N
o
1
Str
ing
ReceiptURL is returned if theLabelLinksIndicator isrequested for anImportControl shipment or aReturn shipment.
LocalLanguageReceiptURL/ShipAcceptResponse/ShipmentResults/LocalLanguageReceiptURL N
o
1
Str
ing
LocalLanguageReceiptURLis returned if theLabelLinksIndicator isrequested for anImportControl shipment or aReturn shipment. The URLwill contain the receipt in theCountry's local language ifsupported by UPS.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 254
1.9 The Void Web Services Reference
This section documents the details of the Void Web Services message, including the request thatclients send to UPS and the response that UPS returns.
1.9.1 Void Web Service
1.9.1.1 Overview
Service Operations: Void Shipment
1.9.1.2 Shipment Operation
Type: Request-Response (client sends a request to UPS, and the UPS serverreplies with a response)
SOAPAction Header: https://wwwcie.ups.com/webservices/Void
Note: The Void Operation is a single pass way to void a shipment. With a singletransaction which sends a VoidShipmentWebServicesRequest and receives theVoidShipmentWebServicesResponse to confirm the void.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 255
1.9.2 Void Web Services Schema
NAME XPATH RE
QU
IRE
D
MA
XA
LL
OW
ED
TY
PE
LE
NG
TH
DESCRIPTION VALIDATION RULES
Request/VoidShipmentRequest/Request Y
es
One
Conta
iner
N/A
Request Container N/A
RequestOption/VoidShipmentRequest/Request/RequestOption N
o
One
Str
ing
1 Optional processing. No options Not used. Left for future uses
TransactionReference/VoidShipmentRequest/Request/TransactionReference N
o
One
Conta
iner
N/A
TransactionReference identifiestransactions betweenclient and server. N/A
CustomerContext
/VoidShipmentRequest/Request/TransactionReference/CustomerContext N
o
One
Str
ing
1..
.512
The client uses CustomerContextto synchronize Request /responsepairs. The client establishesCustomerContext, which cancontain any information you want,as along as it is valid XML; it isechoed back by the server. N/A
TransactionIdentifier
/VoidShipmentRequest/Request/TransactionReference/TransactionIdentifier N
o
One
Str
ing
4
The Unique Transaction Identifierfor a given transaction
Empty Tag. Not used. Left forfuture uses.
VoidShipment /VoidShipmentRequest/VoidShipment Yes
One
Conta
iner
1The container for the Ship VoidRequest N/A
ShipmentIdentificationNumber/VoidShipmentRequest/VoidShipment/ShipmentIdentificationNumber Y
es
One
Str
ing
18 The shipments identification
number
Alpha-numeric. Must pass 1Zrules. Must beupper case.
TrackingNumber/VoidShipmentRequest/VoidShipment/TrackingNumber N
o
One
Str
ing
18 The package's identification
number
Alpha-numeric. Must pass 1Zrules. Must beupper case
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 256
VoidShipmentResponse /VoidShipmentResponse Yes
One
conta
iner
N/A
Void Response Container.
Response /VoidShipmentResponse/Response Yes
One
conta
iner
N/A
Response Container.
ResponseStatus/VoidShipmentResponse/Response/ResponseStatus Y
es
One
conta
iner
N/A
Response Status Container.
Code/VoidShipmentResponse/Response/ResponseStatus/Code Y
es
One
str
ing
1
Identifies the success or failure ofthe transaction.1 = Successful
Description/VoidShipmentResponse/Response/ResponseStatus/Description Y
es
One
str
ing
1-3
5 Describes Response Status Code.Returns text ofSuccess
Alert /VoidShipmentResponse/Response/Alert No
One
conta
iner
N/A
Alert Container. There can be zeroto many alertcontainers with code anddescription.
Code/VoidShipmentResponse/Response/Alert/Code Y
es*
One
str
ing
1-1
0Warning code returned by thesystem
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 257
Description/VoidShipmentResponse/Response/Alert/Description Y
es*
One
str
ing
1-1
50
Warning messages returned bythe system.
TransactionReference/VoidShipmentResponse/Response/TransactionReference N
o
One
conta
iner
N/A
Transaction Reference Container.
CustomerContext/VoidShipmentResponse/Response/TransactionReference/CustomerContext N
o
One
str
ing
1-5
12 The CustomerContext Information
which will be echoedduring response.
TransactionIdentifier/VoidShipmentResponse/Response/TransactionReference/TransactionIdentifier N
o
One
str
ing
35
The Unique TransactionIdentifierInformation for thattransaction. This will be presentonly if requested in therequest.
SummaryResult /VoidShipmentResponse/SummaryResult Yes
One
Conta
iner
N/A
Container for the Summary Result
Status/VoidShipmentResponse/SummaryResult/Status Y
es
One
Conta
iner
N/A Container for the status of the
Summary Result
Code/VoidShipmentResponse/SummaryResult/Status/Code Y
es
One
Str
ing
1
Code for the status of theSummary Result
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 258
Description/VoidShipmentResponse/SummaryResult/Status/Description Y
es
One
Str
ing
1-3
5
Description of the status of theSummary Result
PackageLevelResult/VoidShipmentResponse/PackageLevelResult N
o
One
Conta
iner
N/A Contains the Package Level
Results
TrackingNumber/VoidShipmentResponse/PackageLevelResult/TrackingNumber *Y
es
One
Str
ing
18 The package's identification
number
Status/VoidShipmentResponse/PackageLevelResult/Status *
Yes
One
Conta
iner
1 Contains the status code tags.
Code/VoidShipmentResponse/PackageLevelResult/Status/Code *Y
es
One
Str
ing
1
The Package Level void statuscode. A numeric valuethat describes the status code.1 =Voided or AlreadyVoided; 0 = Not Voided
Description/VoidShipmentResponse/PackageLevelResult/Status/Description *Y
es
One
Str
ing
1..
.15
A text description of the statuscode.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 259
1.10 Customer Integration Environment
The Customer Integration Environment (CIE) allows customers to test their application prior tolaunch. This environment is intended for integration testing of customer applications with the UPSservers. No stress testing should ever be performed by customers against any UPS systems.
Once your application has been thoroughly tested, you should redirect the application to the UPSProduction Environment.
Please note that while CIE maintains system availability 24 hours, 7 days each week, there areoccasional system down times to allow for server maintenance.
1.10.1 Negotiated Rates
Negotiated Rates are available in the UPS Customer Integration Environment and arereturned when the Negotiated Rate indicator is provided in the rate request. The NegotiatedRates returned do not reflect the contractual rate and may vary. (Generally they are 1% offthe published rate.)
Also in the Customer Integration Environment the shipper eligibility for Negotiated Rates isnot fully verified. For shipper eligibility requirements refer to Negotiated Rates sectionwithin UPS Rates & Service Selection.
For integration testing, you should direct your test Shipping software to:
https://wwwcie.ups.com/webservices/Ship.
1.10.2 Testing and Deploying Applications
UPS maintains a special web site to support testing and staging of applications that rely onthe Shipping Web Services. This site lets developers test and debug their applications bysimulating transactions with UPS. The staging site responds to Web Services requests justlike the UPS production site; however, it does not initiate actual UPS business services.
For example, if you send a shipping request to the UPS production site, a UPS driver mayshow up at your location expecting to pick up a package (and expecting payment for theservice.) Sending the shipping request to the staging site will avoid this problem.
The web site for testing and staging is the UPS Customer Integration Environment. You canaccess this test site by using the domain name of wwwcie.ups.com. If you are usingdevelopment API that automatically generate messages based on the WSDL files, you mayneed to edit the WSDL files so that they direct the request to the staging site or theproduction site, as appropriate.
1.10.2.1 System Availability
The Customer Integration Environment is available 24 hours a day, 7 days a week.
1.10.2.2 Server Availability Check
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 260
All of the UPS services work using HTTPS POST. Using the same URL as youpoint your application to, perform an HTTPS GET. If the server is available, it willreply with the service name, remote user, server port, server name, and servlet path.To see this in action, type the following URL in your web browser:
https://wwwcie.ups.com/ups.app/xml/ShipConfirm
The following will be returned:
Service Name: ShipWSRemote User: nullServer Port: 443Server Name: wwwcie.ups.comServlet Path: /Ship
1.10.3 UPS Product Exchange Service
Email Pre-alert notification will be sent with a custom text in case of exchangeforward shipment, if user provided prealert notification Email in the request.
1.10.4 Production Access
NEW! UPS now grants both test and production access for the Shipping API immediately
without any further requests. To use production environment just point to the Production
URLs outlined below.
Prior to moving to the Production environment, you should verify that your XML is well-
formed (successful responses) and be able to produce the following:
Void Request
High Value Report
Label Recovery
A proportional UPS Address label
Questions about your XML request and response need to be directed to API Technical
Support. Please see section “Getting Technical Support”.
<Please refer to sample label at Appendix L as reference>
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 261
Once your testing is completed please direct your Shipping Package XML to the Production
URL:
https://onlinetools.ups.com/webservices/Ship
1.10.5 Label Verification for Contract Services
Returns Flexible Access (RFA) requires Label Certification. Please complete the steps
noted below.
Ask your Account Representative to submit a Label Testing Request Form to the Label
Verification Group prior to submitting your RFA labels for review
Request a UPS Return Label by sending an email with your pickup address to
Create 10 RFA shipments/labels with a return service code of PRL
Submit the RFA labels to the Label Verification Group using the UPS provided Return
Label
UPS will contact you via email within 5 business days to inform you of your approval status
for RFA. Once granted, please direct your Shipping Package XML to the Production URL:
https://onlinetools.ups.com/webservices/Ship
Note: UPS reserves the right to revoke shipping privileges from any customers who fail to
abide by the Certification Requirements outlined above.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 262
1.10.6 Other Shipping Tools
1.10.6.1 Voiding Package Shipments
Test your Void application using the set of 1Zs listed below:
NUMBER(S) EXPECTED RESULT
1ZISDE016691676846 A successful XML response will bereturned for a shipment level void request..
1Z2220060290602143 A successful XML response will bereturned for a shipment level voidrequest.
1Z2220060294314162 and Tracking Number1Z2220060291994175
A successful XML response will bereturned for a package level void request.The request will void the package in theshipment.
1Z2220060292690189 and Tracking Number1Z2220060292002190
A successful XML response will bereturned for a package level void request.The request will void the package in theshipment. .
1ZISDE016691609089 with Tracking Numbers1ZISDE016694068891 and 1ZISDE016690889305
A successful XML response will bereturned for a package level void request.The request will void all the packages.
1Z2220060290530202 with Tracking Number1Z2220060293874210 and 1Z2220060292634221
A successful XML response will bereturned with a partial void for a packagelevel void request. The request will voidpackage 1Z2220060293874210 butpackage 1Z2220060292634221 cannot bevoided.
This will ensure that your application has the ability to process success and errorresponses correctly.
For integration testing, you should direct your test Void Package Shipment softwareto:
https://wwwcie.ups.com/webservices/Void
1.10.6.2 System Availability
The Customer Integration Environment is available 24 hours a day, 7 days aweek.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 263
1.10.6.3 Server Availability Check
All of the UPS services work using HTTPS POST. Using the same URL as youpoint your application to, perform an HTTPS GET. If the server is available, it willreply with the service name, remote user, server port, server name, and servlet path.To see this in action, type the following URL in your web browser:
https://wwwcie.ups.com/webservices/Void
The following will be returned:
Service Name: VoidRemote User: nullServer Port: 443Server Name: wwwcie.ups.comServlet Path: /Void
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 264
Appendix A- Accessing Tech Support (US Site Example)
Go to ups.com and log in to myUPS with your ID and PW.
Hover over the “Support” tab, and select “Technology Support” from the drop-down.
From the Technology Support page select the Developer Resource Center link from the left navigation.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 265
From the Developer Resource Center page select the “Email UPS” link in right hand column.
Complete Name, email address, Support Category must be “Technical Support”, and Support Topic must be“Developer Resource”. Select the “Next” button.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 266
Scroll down the page and complete the remainder of the email form including “Your Telephone”, “Stage ofDevelopment”, “Developer Resource” which is which API you are integrating, “Attach File” where youattach your XML Request/Response Pair, and any pertinent description of the issues in the “What is yourquestion or comment?” field. Select “Send Email” button.
The screen below will appear. Please see “Technical Support (US)” within this document for tech supporthours of operation and response times.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 267
Appendix B - Shipping WebServices Error Codes
If you get a < ShipmentResponse > in a SOAP Envelope’s Body part, it means the request isprocessed 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 successfulresponse. When you get a SOAP FAULT, check the Errors and the sub-element ErrorDetail. Thevalue of <Severity> can be either Transient or Hard. When an error occurs there will also be anerror code, and an error description in PrimaryErrorCode element.
Success – Successful responses may or may not include Warnings. (without warnings) Request is processed as anticipated by the client. (with warnings) Warning messages indicate that UPS was able to process the request;
however (potentially) unanticipated results have also occurred. The warning containsinformation in the response that should be passed to the end user.
Errors – will return two different levels of severity. Transient errors are temporary errors, due to temporary high server loads or scheduled
maintenance, for example. The application may re-issue the request at a later time. Hard errors indicate that an error existed in the request that UPS could not resolve, it is a
user error. These errors are critical and prevent requests from processing.
Applications should not re-issue requests with Hard errors without first correcting the error.The following table lists the errors that UPS may return in response to a request.
Shipping Web Service specific errors:
Error Code Severity Description
120020 Hard Max packages per shipment exceeded
120021 Hard The same shipment cannot be requested to be created more than once.
120023 WarningUsing user generated forms is not permitted. Please attach your usergenerated forms with your shipment.
120024 WarningUploading of your user generated International Forms was not successful.Please attach the international forms to your shipment.
120100 Hard Missing or invalid shipper number
120101 Hard Missing or invalid shipper name
120102 Hard Missing or invalid shipper address line 1
120103 Hard Invalid shipper address line 2
120104 Hard Invalid shipper address line 3
120105 Hard Missing or invalid Shipper City
120106 Hard Missing or invalid Shipper StateProvinceCode
120107 Hard Missing or invalid Shipper PostalCode. (Description)
120108 Hard Missing or invalid Shipper CountryCode
120109 Hard Missing or invalid Shipper PhoneNumber
120110 Hard Missing or invalid Shipper AttentionName
120111 Hard Shipper EmailAddress cannot exceed a length of 50 characters
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 268
Error Code Severity Description
120112 Hard Shipper EmailAddress is an invalid format
120113 Hard Shipper number must contain alphanumeric characters only
120114 Hard Shipper phone extension cannot exceed the length of 4.
120115 Hard Shipper PhoneNumber must be at least 10 alphanumeric characters
120116 Hard Shipper phone extension must contain only numbers
120117 HardShipper phone extension is allowed only if the shipper is located in US,Puerto Rico or Canada
120118 Hard Shipper phone extension is only valid if a phone number is given.
120120 HardThe country associated with Shippers ShipperNumber must be the same asthe shipments Shippers country
120121 Hard The Shippers shipper number cannot be used for the shipment.
120122 Hard Invalid Shipper ShipperNumber
120124 Hard The requested service is unavailable between the selected locations
120125 Hard Consignee billing is only supported in US or Pureto Rico
120200 Hard Missing or invalid ShipTo CompanyName
120201 Hard Missing or invalid ShipTo AttentionName
120202 Hard Missing or invalid ShipTo AddressLine1
120203 Hard Invalid ShipTo AddressLine2
120204 Hard Invalid ShipTo AddressLine3
120205 Hard Missing or invalid ShipTo City
120206 Hard Missing or invalid ShipTo StateProvinceCode
120207 Hard Missing or invalid ShipTo PostalCode. (Description)
120208 Hard Missing or invalid ShipTo CountryCode
120209 Hard Missing or invalid ShipTo PhoneNumber
120210 Hard ShipTo EmailAddress cannot exceed a length of 50 characters
120211 Hard ShipTo EmailAddress is an invalid format
120212 Hard ShipTo PhoneExtension cannot exceed the length of 4.
120213 Hard ShipTo PhoneNumber must be at least 10 alphanumeric characters
120214 Hard ShipTo PhoneExtension must contain only numbers
120216 Hard ShipTo PhoneExtension is only valid if a phone number is given
120217 HardShipTo phone number and phone extension together cannot be more than15 digits long
120218 HardMissing or Invalid ShipTo tax identification. TaxID may not exceed alength of 15.
120300 Hard Missing or invalid ShipFrom CompanyName
120301 Hard Missing or invalid ShipFrom AttentionName
120302 Hard Missing or invalid ShipFrom AddressLine1
120303 Hard Invalid ShipFrom AddressLine2
120304 Hard Invalid ShipFrom AddressLine3
120305 Hard Missing or invalid ShipFrom City
120306 Hard Missing or invalid ShipFrom StateProvinceCode
120307 Hard Missing or invalid ShipFrom PostalCode. (Description)
120308 Hard Missing or invalid ShipFrom CountryCode
120309 Hard Missing or invalid ShipFrom PhoneNumber
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 269
Error Code Severity Description
120310 Hard ShipFrom EmailAddress cannot exceed a length of 50 characters
120311 Hard ShipFrom EmailAddress is an invalid format
120312 Hard ShipFromPhoneExtension cannot exceed the length of 4.
120313 Hard ShipFrom PhoneNumber must be at least 10 alphanumeric characters
120314 Hard ShipFromPhoneExtension must contain only numbers
120316 Hard ShipFromPhoneExtension is only valid if a phone number is given
120318 HardShipFrom phone number and phone extension together cannot be morethan 15 digits long
120400 Hard Missing or invalid shipment payment method
120402 Hard Missing or invalid credit card type
120403 Hard Missing or invalid credit card number
120404 Hard Missing or invalid credit card expiration date
120406 Hard creditcard number is not valid for the credit card type
120407 Hard The credit card provided as the payment method has expired.
120408 Hard Missing credit card type
120412 HardUPS account number that was provided as the payment method is missingor invalid.
120414 Hard Credit card authorization failed, contact your financial institution
120416 Hard A single billing option is required per shipment
120417 Hard The account number for FRS payment information is not FRS enabled
120437 Hard Third party or freight collect shippers postal code is missing or invalid.
120500 Hard Missing or invalid Service Code
120501 Hard Invalid Shipment ReferenceNumber Value
120502 Hard InvoiceLineTotal/MonetaryValue must be greater than 0
120503 Hard Shipment Description cannot exceed the length of 35 characters
120504 Hard InvoiceLineTotal is not allowed for this shipment
120505 Hard Saturday Delivery Option cannot be used for this shipment
120506 Hard Invalid Shipment ReferenceNumber Code
120512 Hard Shipment Description is required for this shipment.
120515 Hard { notification type} Memo cannot exceed the length of 150 characters
120517 HardThe {order} Email Address used for { notification type} exceeds themaximum length of 50 characters
120518 HardThe format of the {order} Email Address entered for { notification type} isinvalid
120519 HardThe {order} Email Address entered for { notification type} is missing orcontains invalid characters
120522 Hard Alternate Delivery Time is not valid for any available services
120523 HardShipment DocumentsOnly is invalid with the shipments origin/destinationpair
120524 Hard Package Pickup Request is not available with this shipments service
120526 Hard InvoiceLineTotal MonetaryValue may not exceed the length of 8
120530 Hard SuiteRoomID length of shipment pickup cannot exceed 8 characters
120531 Hard FloorID length of shipment pickup cannot exceed 3 characters
120532 Hard Location length of shipment pickup cannot exceed 11 characters
120533 Hard The earliest shipment pickup time is required
120534 Hard The latest shipment pickup time is required
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 270
Error Code Severity Description
120535 Hard Contact name of shipment pickup is required
120536 Hard Contact phone number of shipment pickup is required
120538 Hard Shipment Pickup Error: (further description is provided in XML)
120549 Hard Invalid ReferenceNumber BarCodeIndicator.
120597 HardInvalid COD currency code. Please use the destination country currencycode.
120598 HardPackage Delivery Confirmation is not allowed with the shipmentorigin/destination.
120600 Hard Missing Package Packaging Type Code
120601 Hard Missing or invalid Package weight
120602 HardMissing or invalid Combination of package length, width, and heightvalues.
120603 Hard Invalid Package Reference Value
120604 Hard Invalid package declared value
120605 Hard Mismatch package dimensions with package type
120606 Hard Mismatch package dimensions, package type and package weight
120607 Hard Invalid Package Reference Code
120608 Hard Package weight is required
120609 Hard All Package Dimensions are required and each must be greater than 0
120610 Hard Invalid COD monetary value
120611 Hard The contact name of verbal confirmation cannot exceed a length of 35
120612 HardThe contact phone number of verbal confirmation cannot exceed thelength of 15
120613 HardThe contact phone number of verbal confirmation must be at least 10alphanumeric characters
120614 HardThe contact phone extension of verbal confirmation cannot exceed thelength of 4
120615 HardThe contact phone extension of verbal confirmation must contain numbersonly
120616 Hard Package weight cannot exceed a length of 6
120617 Hard Package declared value cannot exceed a value of 999
120618 Hard Contact name is required for verbal confirmation of delivery
120619 Hard Contact phone number is required for verbal confirmation of delivery
120620 HardPackage PackageWeight, Package DimensionalWeight, PackageOversizePackage and Package Dimensions do not apply to UPS Envelopes
120621 HardPackage declared value cannot be greater than {Monetary Amount}{Currency Code}
120622 Hard Package description is required
120623 Hard Invalid Package description
120624 Hard Only one package is allowed for this movement.
120626 Hard The COD Funds Code is invalid. Please check the value entered
120644 Hard LabelDelivery is not valid with the shipment
120654 HardNo more than two email addresses for Receiver Return Notification areallowed in a shipment.
120655 Hard{0} of Receiver Return Notification is only allowed to be specified at thefirst package that has Receiver Return Notification.
120661 Hard For a shipment, the maximum number of {0} allowed for Quantum View
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 271
Error Code Severity Descriptionnotification is 1.
120662 Hard Invalid Subject Code of {Notification type}
120663 Hard Invalid From name of {Notification type}
120664 Hard Invalid UndeliverableEMailAddress of {Notification type}
120665 Hard Invalid FromEMailAddress of {Notification type}
120666 Hard Missing or invalid subject text of {Notification type}
120704 Hard Missing/Invalid LabelSpecification LabelStockSize Height
120705 Hard Missing/Invalid LabelSpecification LabelStockSize Width.
120759 Hard MovementReferenceNumber must contain alphanumeric characters only.
120760 Hard MovementReferenceNumber must be a length of 18 characters.
120761 HardInvalid MovementReferenceNumber . The 3rd and 4th Character Must bethe Shipper country ISO Code.
120801 Hard Address Validation Error on Shipper address
120802 Hard Address Validation Error on ShipTo address
120803 Hard Address Validation Error on ShipFrom address
120900 WarningUser Id and Shipper Number combination is not qualified to receivenegotiated rates.
120901 Warning Negotiated rates are unavailable at this time
121005 Hard The COD option cannot be combined with the Return Services option.
121006 Hard The COD option cannot be combined with the UPS Import Control option.
121011 Hard Dangerous Goods cannot be shipped using UPS Import Control.
121015 HardThe Saturday Delivery option cannot be combined with the ReturnServices option.
121020 HardThe Delivery Confirmation option cannot be combined with the ReturnServices option.
121021 HardThe Delivery Confirmation option cannot be combined with the UPSImport Control option.
121025 Hard The maximum declared amount $50,000 is exceeded
121030 Hard Packages must weigh more than zero pounds.
121031 Hard Packages must weigh more than zero kilogram
121035 Hard {description}
121036 Hard {description}
121040 Hard The Return Services are unavailable with the requested service.
121041 HardThe UPS Import Control accessories are unavailable with the requestedservice.
121045 Hard The Saturday Delivery option is unavailable with the requested service.
121047 HardSaturday Delivery may not be combined with the package type for thegiven product.
121050 Hard Package exceeds the maximum size total constraints { description}
121055 Hard Package exceeds the maximum length constraint of {description} inches. .
121056 Hard Package exceeds the maximum length constraint of {description} cm.
121057 Hard The measurement system is not valid
121063 Hard Accessorial cannot be shipped with the selected service.
121070 Hard {Rating error description}.
121085 Hard The requested accessory cannot be added to the shipment.
121087 Hard The Authorized Return Service option is not allowed for shipments.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 272
Error Code Severity Description
121090 Hard {Rating error description}
121091 Hard {Rating error description}
121100 Hard The selected service is invalid for the shipment origin.
121105 Hard The given accessory key is invalid for the shipment origin.
121106 Hard The specified country, origin or destination, is not supported.
121107 Hard A blank origin postal was specified.
121115 Hard The COD amount must be greater than zero
121120 HardThe COD amount cannot exceed $1,000 when a cashiers check or moneyorder is requested.
121121 HardThe COD value entered exceeds the maximum allowed for cash of{amount} ({currency code})
121125 Hard The COD amount cannot exceed $50,000.
121126 HardThe COD value entered exceeds the maximum allowed for check of{amount} ({currency code})
121131 HardThe Saturday Pickup option cannot be combined with the UPS ImportControl option.
121135 HardThe Saturday Pickup option cannot be combined with the SaturdayDelivery option.
121140 Hard Saturday Pickup is unavailable with the selected service.
121150 Hard Delivery confirmation is unavailable with the selected service.
121155 HardThe COD option is unavailable with the selected service, UPS accounttype, and/or with the shipments origin/destination pair.
121156 Hard Package Level COD is not valid for the shipment origin and/or destination
121160 Hard The accessory is invalid with the billing option.
121165 HardThe Verbal Confirmation of Deliveryoption cannot be combined with theReturn Services option.
121166 HardThe Verbal Confirmation of Delivery option cannot be combined with theUPS Import Control option.
121170 HardThe Delivery Confirmation option cannot be combined with the VerbalConfirmation of Delivery option.
121175 Hard Verbal Confirmation of Delivery is unavailable with the selected service.
121182 HardThe payer's transportation country is not valid for carbon neutralshipments.
121195 Hard The selected billing option is unavailable with the selected service.
121196 Hard The selected billing option is unavailable with UPS Letters.
121200 Hard Saturday Delivery is unavailable to desired destination.
121205 Hard Additional Handling is unavailable with the selected service.
121206 Hard Additional Handling is unavailable with UPS Letters.
121208 HardUPS Next Day Air Early A.M. service is not available to the requesteddestination. Please select UPS Next Day Air service as an alternative.
121210 Hard The selected service is not available from the origin to the destination.
121211 HardA package-level accessorial is not available with the shipments origin/destpair. (Description) will be a detailed description based on the shipment.
121212 HardThe requested package type is not allowed in a shipment from the origin tothe destination
121213 Hard {Rating error description}
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 273
Error Code Severity Description
121214 Hard UPS cannot ship from the origin country to the destination country
121215 Hard The selected service is not available to residential destinations.
121225 Hard Return Services are unavailable to the given destination.
121230 Hard Next Day Air Early AM Surcharge is unavailable with the selected service.
121231 Hard Switzerland Domestic Container must weigh greater than 2 KG
121232 HardWorldwide Express Plus from Europe to Switzerland must be UPSEnvelope or document only
121235 Hard {rating error description}
121255 Hard Shipper Duty Fee is unavailable with the selected service.
121260 Hard Shipper Duty Fee is unavailable with the selected billing option.
121261 Hard Accessory may not be combined with the product.
121262 Hard Accessory may not be combined with the accessory.
121265 Hard The selected billing option is unavailable to the desired country.
121266 Hard The currency code is invalid for the shipment.
121267 Hard The Ship From Country is invalid for the credit card.
121268 Hard The Billing address Country is invalid for the credit card.
121285 Hard {Rating error description}
121286 Hard {Rating error description}
121290 Hard The given billing option is invalid
121295 Hard {Rating error description}
121315 Hard The Authorized Return Service is unavailable with the selected accessorial.
121317 Hard The UPS Import Control option is unavailable with the selected accessory.
121320 Hard The Authorized Return Service is unavailable with the selected service.
121325 HardThe Authorized Return Service is unavailable with the selected billingoption.
121330 Hard The Certificate of Origin is unavailable with the selected accessorial.
121335 Hard The Certificate of Origin is unavailable with the selected service.
121340 Hard The Certificate of Origin is unavailable with the selected billing option.
121345 HardThe Shipper Export Declaration is unavailable with the selectedaccessorial.
121350 Hard The Shipper Export Declaration is unavailable with the selected service.
121355 HardThe Shipper Export Declaration is unavailable with the selected billingoption.
121360 HardThe Worldwide Express Plus Surcharge is unavailable with the selectedservice.
121363 Hard The One Time Pickup Surcharge is unavailable with the selected service.
121365 Hard Accessorial is not available with the selected access method.
121370 Hard Invalid access method.
121375 Hard
Letter service is invalid for shipments with more than 1 package.International shipment cannot be made with multiple 10KG or 25KGpackages
121452 HardAn Import Control option and a Return Service option are not valid on thesame shipment.
121460 HardShipments cannot exceed a COD amount of $5,000 when requesting acashiers check or money order.
121500 Hard {Rating error description}
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 274
Error Code Severity Description
121501 Hard {Rating error Description}
121502 Hard The selected country does not allow forward movements.
121510 Hard Unsupported package type.
121511 Hard Unsupported accessory type
121512 Hard Unsupported billing option
121513 Hard Unsupported service
121515 WarningWeight of (actual weight) exceeds maximum for rating the requestedcontainer. Using standard package rates.
121520 HardThe UPS account number specified for Transportation charges is invalidfor Split Duty VAT shipment.
121521 Hard Invalid payer of Duty and Tax
121523 Hard Invalid GoodsNotInFreeCirculationIndicator
121524 HardThe payer of Duty and Tax charges is not required for UPS Letter,Documents of No Commercial Value or Qualified Domestic Shipments.
121526 HardThe payment method specified for Transportation charges is invalid forreturn service.
121530 Hard The payer of Duty and Tax charges is required.
121531 Hard Invalid SplitDutyVATIndicator
121532 HardThe payer of Duty and Tax charges is invalid for Split Duty VATshipment.
121534 HardThe payer of Transportation charges and the payer of Duty and Taxcharges must not be the same for Split Duty VAT shipment.
121535 HardThe payer of Transportation charges is invalid for Split Duty VATshipment.
121536 Hard Bill Receiver is an invalid payer of an international return movement.
121538 HardFor a domestic return movement, the payer of the freight must be in thecountry of the return movement
121539 HardFor an EU return movement, the payer of the freight must be in an EUcountry.
121565 HardThe UPS Returns Flexible Access option is unavailable with the requestedaccessory.
121570 HardThe UPS Returns Flexible Access option is available only with ReturnServices Print Mail, Electronic Return Label, and Print Return Label.
121575 HardThe UPS Returns Flexible Access option is unavailable with AdditionalHandling.
121580 HardThe UPS Returns Flexible Access option is unavailable with LargePackage.
121585 HardThe UPS Returns Flexible Access option is available for US and PuertoRico shippers only.
121590 HardThe maximum per package weight for the UPS Returns Flexible Accessoption is ...
121595 HardThe maximum length (the longest side) of a UPS Returns Flexible Accesspackage is ...
121600 HardThe maximum length of the second-longest side of a UPS Returns FlexibleAccess package is ...
121605 HardThe maximum total size constraint (length + girth, where girth is 2 x widthplus 2 x height) of a UPS Returns Flexible Access package is …
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 275
Error Code Severity Description
121610 HardThe maximum declared value amount for the UPS Returns Flexible Accessoption is ...
121615 HardAll packages in the shipment must have the UPS Returns Flexible Accessoption if 1 package has it.
121780 Hard Commercial Invoice Removal is valid only for Import Control shipments.
121801 Hard {0}
121802 Hard {0}
123005 Warning (Description)
123010 Warning Package(s) in this shipment contains a warning: (Description)
123020 Warning Invalid Ship From postal code
123021 Warning Invalid Ship To postal code
123060 Warning{Rating Error Description} The weight exceeds the limit for the UPSLetter/Envelope rate and will be rated using the weight.
124022 Hard 'Invalid number of shipment level notifications
125000 Hard Missing or invalid shipment digest.
128001 HardInvalid or missing international forms form type. Valid values are 01, 02,03 or 04
128002 HardInvalid or missing forward agent company name. Valid length is 1 to 35alphanumeric
128003 HardInvalid or missing forward agent tax id. Valid length is 1 to 15alphanumeric
128004 HardInvalid or missing forward agent address line 1. Valid length is 1 to 35alphanumeric
128005 Hard Invalid forward agent address line 2. Valid length is 0 to 35 alphanumeric
128006 Hard Invalid forward agent address line 3. Valid length is 0 to 35 alphanumeric
128007 Hard Invalid or missing forward agent city. Valid length is 1 to 30 alphanumeric
128008 HardInvalid forward agent state province code. Valid length is 0 to 5alphanumeric
128009 Hard Invalid forward agent postal code. Valid length is 0 to 9 alphanumeric
128010 Hard Invalid or missing forward agent country code
128011 HardInvalid or missing ultimate consignee company name. Valid length is 1 to35 alphanumeric
128012 HardInvalid or missing ultimate consignee addressLine1. Valid length is 1 to 35alphanumeric
128013 HardInvalid ultimate consignee address line 2. Valid length is 0 to 35alphanumeric
128014 HardInvalid ultimate consignee address line 3. Valid length is 0 to 35alphanumeric
128015 HardInvalid or missing ultimate consignee city. Valid length is 1 to 30alphanumeric
128016 Hard Invalid ultimate consignee state province code. Valid length is 0 to 5alphanumeric
128017 Hard Invalid ultimate consignee postal code. Valid length is 0 to 9 alphanumeric
128018 Hard Invalid or missing ultimate consignee country code
128019 HardInvalid or missing intermediate consignee company name. Valid length is1 to 35 alphanumeric
128020 HardInvalid or missing intermediate consignee address line 1. Valid length is 1to 35 alphanumeric
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 276
Error Code Severity Description
128021 HardInvalid intermediate consignee address line 2. Valid length is 0 to 35alphanumeric
128022 HardInvalid intermediate consignee address line 3. Valid length is 0 to 35alphanumeric
128023 HardInvalid or missing intermediate consignee city. Valid length is 1 to 30alphanumeric
128024 Hard Invalid intermediate consignee state province code. Valid length is 0 to 5alphanumeric
128025 HardInvalid intermediate consignee postal code. Valid length is 0 to 9alphanumeric
128026 Hard Invalid or missing intermediate consignee country code
128027 Hard Invalid or missing producer option. Valid values are 01, 02, 03 or 04
128028 HardInvalid or missing producer company name. Valid length is 1 to 35alphanumeric
128029 HardInvalid or missing producer address line 1. Valid length is 1 to 35alphanumeric
128030 Hard Invalid producer address line 2. Valid length is 0 to 35 alphanumeric
128031 Hard Invalid producer address line 3. Valid length is 0 to 35 alphanumeric
128032 Hard Invalid or missing producer city. Valid length is 1 to 30 alphanumeric
128033 HardInvalid producer state province code. Valid length is 0 to 5 alphanumeric
128034 Hard Invalid producer postal code. Valid length is 0 to 9 alphanumeric
128035 Hard Invalid or missing producer country code
128036 Hard Invalid telephone number.
128030 Hard Invalid producer email address. Valid length is 0 to 50 alphanumeric
128030 Hard Invalid producer tax id. Valid length is 0 to 15 alphanumeric
128039 Hard Invalid number of products. Valid number of products are 1 to 50
128041 Hard The form specified for the product must be one of the requested forms.
128042 HardIf invoice is a requested international form, all specified products mustbelong to invoice
128043 HardInvalid or missing product unit number for product number {0}. Validlength is 1 to 7 numeric
128044 HardInvalid or missing Product/Unit/UnitOfMeasurement/Code for productnumber {0}. Valid length is 1 to 3 alphanumeric
128045 HardProduct/Unit/UnitOfMeasurement/Description is required whenProduct/Unit/UnitOfMeasurement/Code is ""OTH"" for product number{0}. Valid length is 1 to 3 alphanumeric
128046 HardInvalid or missing product unit value for product number {0}. Valid lengthis 1 to 12 numeric and it can hold up to 6 decimal places
128047 Hard Invalid part number. Valid length is 0 to 10 alphanumeric
128048 HardInvalid commodity code for product number {0}. Valid length is 6 to 15alphanumeric
128049 Hard Invalid or missing product origin country code for product number {0}
128050 HardInvalid or missing net cost code for product number {0}. Valid values areNC or NO
128051 HardInvalid or missing net cost date range begin date for product number {0}.Valid format is yyyyMMdd
128052 HardInvalid or missing net cost date range end date for product number {0}.Valid format is yyyyMMdd
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 277
Error Code Severity Description
128053 HardInvalid or missing preference criteria for product number {0}. Valid valuesare A through F
128054 HardInvalid or missing producer info for product number {0}. Valid values areYES, NO[1], NO[2] or NO[3]
128055 HardInvalid or missing marks and numbers for product number {0}. Validlength is 1 to 35 alphanumeric
128056 HardInvalid or missing product weight unit of measurement code for productnumber {0}. Valid values are KGS or LBS
128057 HardInvalid or missing product weight for product number {0}. Valid length is1 to 5 and it can hold up to 1 decimal places.
128058 HardInvalid product vehicle ID for product number {0}. Valid length is 1 to 25alphanumeric
128059 HardInvalid or missing product schedule B number for product number {0}.Valid length is 10 alphanumeric
128060 HardInvalid product schedule B quantity for product number {0}. Valid lengthis 0 to 10 numeric
128061 HardInvalid or missing product schedule B unit of measurement code forproduct number {0}. Valid length is 1 to 3 alphanumeric
128062 HardSchedule B quantity is required when the schedule B unit of measurementcode is not equal to X
128063 HardInvalid or missing export type for product number {0}. Valid values are D,F or M
128064 HardInvalid or missing SED total value for product number {0}. Valid length is1 to 15 numeric and can hold up to 2 decimal places
128065 Hard Invalid invoice number. Valid length is 0 to 35 alphanumeric
128066 Hard Invalid or missing invoice date. Valid format is yyyyMMdd
128067 Hard Invalid purchase order number. Valid length is 0 to 35 alphanumeric
128068 Hard Invalid terms of shipment.
128069 Hard Invalid or missing reason for export. Valid length is 1 to 20 alphanumeric
128070 Hard Invalid additional comments. Valid length is 0 to 150 alphanumeric
128071 Hard Invalid declaration statement. Valid length is 0 to 250 alphanumeric
128072 HardInvalid discount monetary value. Valid length is 0 to 15 numeric and canhold up to 2 decimal places. Discount can not be greater than the invoiceline total.
128073 HardInvalid freight charges monetary value. Valid length is 0 to 15 numeric andcan hold up to 2 decimal places.
128074 HardInvalid other charges monetary value. Valid length is 0 to 15 numeric andcan hold up to 2 decimal places.
128075 HardInvalid or missing other charges description. Valid length is 1 to 10alphanumeric
128076 Hard Invalid or missing blanket period begin date. Valid format is yyyyMMdd
128077 Hard Invalid or missing blanket period end date. Valid format is yyyyMMdd
128078 Hard Invalid or missing export date. Valid format is yyyyMMdd
128079 Hard Invalid or missing export carrier. Valid length is 1 to 35 alphanumeric
128080 Hard Invalid carrier ID. Valid length is 0 to 2 alphanumeric
128081 Hard Invalid or missing in bond code. Valid length is 2 alphanumeric
128082 HardEntry number is required when the in bond code is other than 70. ValidLength is 1 to 25 alpha numeric
128083 Hard Invalid or missing point of origin. Valid length is 1 to 5 alphanumeric
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 278
Error Code Severity Description128084 Hard Invalid or missing mode of transport. Valid length is 1 to 35 alphanumeric
128085 Hard Invalid port of export. Valid length is 0 to 35 alphanumeric
128086 HardInvalid port of unloading. Valid length is 0 to 35 alphanumeric
128087 Hard Invalid loading pier. Valid length is 0 to 35 alphanumeric
128088 Hard Invalid or missing parties to transaction. Valid values are R or N
128089 Hard Invalid license number. Valid length is 0 to 35 alphanumeric
128090 Hard Invalid or missing license date. Valid format is yyyyMMdd
128091 Hard Invalid license exception code. Valid length is 0 to 4 alphanumeric
128092 HardEither license number or license exception code must be present for a SEDform.
128093 Hard Invalid ECCN number code. Valid length is 1 to 8 alphanumeric
128094 HardSold to information is required when an invoice or NAFTA CO isrequested.
128095 HardInvalid or missing sold to company name. Valid length is 1 to 35alphanumeric
128096 HardInvalid or missing sold to address line 1. Valid length is 1 to 35alphanumeric
128097 Hard Invalid sold to address line 2. Valid length is 0 to 35 alphanumeric
128098 Hard Invalid sold to address line 3. Valid length is 0 to 35 alphanumeric
128099 Hard Invalid or missing sold to city. Valid length is 1 to 30 alphanumeric
128100 Hard Invalid sold to state province code. Valid length is 0 to 5 alphanumeric
128101 Hard Invalid sold to postal code. Valid length is 0 to 9 alphanumeric
128102 Hard Invalid or missing sold to country code
128103 Hard The selected international form is not valid for the shipment origin country
128104 HardThe selected international form is not valid for the shipment origin andproduct origin combination.
128105 HardThe selected international form is not valid for the shipment origin anddestination countries
128109 HardInvalid or missing sold to attention name. Valid value is 1 to 35alphanumeric
128110 Hard Invalid sold to option. Valid values are 01 or 02
128111 Hard Commodity code is required for NAFTA CO
128112 HardInvalid insurance monetary value. Valid length is 0 to 15 numeric and canhold up to 2 decimal places.
128113 HardInvalid product description for product number {0}. Product descriptionshould be present at least once. Valid range is 0 to 35 alphanumeric
128114 Hard Invalid or missing currency code. Valid length is 3 alphanumeric.
128115 HardInvalid or missing sold to phone number. Valid length is 1 to 15alphanumeric.
128116 HardInvalid sold to tax identification number. Valid length is 1 to 15alphanumeric.
128117 Hard Invalid or missing Shipper tax identification.
128118 HardInvalid license information. Either license number and license date orlicense exception code and ECCN number must be present. Both thecombinations can not be present together.
128119 HardInvalid or missing product NumberOfPackagesPerCommodity. Validlength is 1-3 Numerics.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 279
Error Code Severity Description
128120 HardOrigin country must be different than destination country.
128121 Hard Missing value of other unit of measurement.
128122 HardInvalid net cost date range.
128123 Hard Invoice cannot be requested for non-document forward shipments.
128124 Hard Invalid blanket period.
128125 Hard Invalid or missing ShipFrom tax identification.
128126 HardInvalid or missing SED filing option. SED filing option is required whenSED form is requested. Valid values are 01 and 02.
128201 HardInvalid or missing international forms form type for shipment with returnservice. Valid value is 01 or 05.
128202 Hard International forms can not be requested for letters or documents.
128203 Hard Duplicate contact information
128204 HardInvalid form group id name. valid range is 0 to 50 alphanumeric
128205 HardDuplicate International FormType Information. valid values are 01, 02, 03,04
128210 HardInvalid combination of international forms. Both partial and completeinvoice form cannot be selected together.
128211 Hard Invalid Email Address
128212 Hard Invalid or missing ShipTo tax identification.
128213 HardInvalid or missing producer attention name. Valid value is 1 to 35alphanumeric
128214 Hard Invalid telephone extension. Valid length is 1 to 4 alphanumeric.
128215 Hard Invalid telephone extension. Valid length is 1 to 4 alphanumeric.
128216 HardInvalid or missing international forms form type for ExcludeFromForm.Valid values are 04.
128217 HardA NAFTA Certificate of Origin must have at least one commodity in arequest.
128218 Hard A Commercial Invoice must have at least one commodity in a request.
128219 Hard A Blanket Period can not exceed 365 days.128220 Hard The Total Product units allocated to packages do not match.128221 Hard Product not associated with a package.128222 Hard Invalid number of products. The valid number of products is 1 to 1000.128223 Hard Invalid or missing DocumentID.128224 Hard Invalid or missing Product Currency Code.128225 Hard Invalid or missing Invoice Line Total.128226 Hard Exceeds maximum number of International Forms (13) allowed per
Shipment.128227 Hard Invalid or missing Package Number (Product is selected to be placed in a
Package that does not exist).128228 Hard Invalid or missing Product number.128229 Hard Invalid or missing packing list info.128230 Hard Invalid or missing package associated data.128231 Hard Invalid Product Id.128232 Hard Exceeds the maximum number of packages allowed for the packing list
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 280
Error Code Severity Description128233 Hard User generated forms size exceeds total allowable limit for shipment of
5MB.128234 Hard Invalid or missing Shipper Memo.128235 Hard Invalid PackageInfo object.128236 Hard Invalid or missing Tracking Number.128237 Hard No form data found for given formsGroupID.128238 Hard No PDF found for given documentId.128239 Hard Exceeds maximum number of Document IDs (13) allowed per Shipment.128240 Hard Invalid or missing User Created Form Data.128241 Hard A shipment can only contain one Commercial Invoice.
9120211 Hard Missing or invalid declared value currency code for package {0}.
9120212 Hard Missing or invalid declared value monetary value for package {0}.
9120213 Hard Shipper release is not allowed with return service.
9120214 HardThe verbal confirmation of delivery option cannot be combined with theReturn Services option.
9120215 Hard Missing verbal confirmation phone number for package {0}.
9120216 Hard Missing or invalid package notification code for package {0}.
9120217 Hard Missing package notification email information for package {0}.
9120218 Hard Missing or invalid notification email address for package {0}.
9120219 HardReceiver Return Notification is not allowed for the shipment withoutreturn service.
9120225 Hard Missing commodity information for package{0}
9120226 Hard Missing package NMFC prime code of commodity for package{0}
9120227 Hard Missing package weight container information for package{0}
9120228 Hard Missing packaging type for Package {0}.
9120241 Hard Missing label specification information.
9120242 Hard Missing label specification label image format.
9120243 Hard Missing label specification label image format Code.
9120244 Hard Missing label specification label stock size.
9120245 Hard Invalid label specification label stock dimensions.
9120300 Hard Cannot use multiple types of currency in a shipment.
9120301 Hard A shipment can have only one type of unit of measurement for dimensions.
9120302 Hard A shipment can have only one type of unit of measurement for a weight.
9120400 Hard Missing or invalid shipment digest.
9120401 Hard Invalid shipment object.
9120800 Hard Missing contact information.
9120801 Hard Missing sold to address information.
9120802 Hard No more than 3 address line information can be given for sold to address.
9120803 Hard Missing forward agent address information.
9120804 HardNo more than 3 address line information can be given for forward agentaddress.
9120805 Hard Missing intermediate consignee address information.
9120806 HardNo more than 3 address line information can be given for intermediateconsignee address.
9120807 Hard Missing ultimate consignee address information.
9120808 Hard No more than 3 address line information can be given for ultimate
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 281
Error Code Severity Descriptionconsignee address.
9120809 Hard Missing producer information.
9120810 Hard Missing producer address information.
9120811 HardNo more than 3 address line information can be given for produceraddress.
9120812 Hard Missing product weight information for product number {0}.
9120813 HardMissing product weight unit of measurement information for productnumber {0}.
9120814 Hard Missing product unit information for product number {0}.
9120815 Hard Missing product unit of measurement information for product number {0}.
9120816 Hard Missing schedule B information for product number {0}.
9120817 HardMissing schedule B unit of measurement information for product number{0}.
9120818 Hard Missing blanket period information.
9120819 Hard Missing license information.
9121000 Hard Invalid Ship Request Document
9129087 Hard Invalid Shipment Delivery Confirmation Type
129203 Hard Account is not authorized for UPS Exchange service
129204 Hard Account is not authorized for UPS Pack and Collect service
126086 Hard PreAlertNotification Phone Number is missing
126087 Hard PreAlert Notification Phone Number may not exceed length of 15
126088 Hard PreAlertNotification Dialect length must be less than or equal to 2
126089 Hard PreAlertNotification Language-Dialect Pair not valid
126090 HardPre-alert notification is valid only with UPS Returns Exchange and UPSReturns Pack and Collect shipments
126091 Hard Notification Language is missing
126092 Hard Notification Dialect is missing
126093 Hard Notification Language must be less than or equal to 3
9120246 Hard Missing/Invalid Label Instruction Code
9120247 Hard Invalid set of Label Instruction Codes
9120248 Hard LabelSpecification/Instruction is not allowed with the shipment
124998 Hard ReceiptSpecification applies only for PRL or Exchange Return Receipt.
124999 Hard Invalid ImageFormat code
9126005 Hard DryIce DryIceWeight Weight is absent or doesn't meet specification.
9126007 Hard DryIce DryIceWeight UnitOfMeasurment Code has invalid value.
9126044 Hard DryIce Regulation is required or has invalid value.
126000 Hard Shipper is not eligible to ship Dry Ice.
126008 HardAll packages with DryIce RegulationSet must contain the same RegulationSet.
126009 Hard DryIce RegulationSet for non-US PR origins destinations should be IATA.
126010 Hard DryIce DryIceWeight Weight cannot be larger than package weight.
126077 Hard Number of DryIce items per Package is greater than 1.
126078 Hard DryIce item cannot exist on the same package as another HazMat.
20004 Hard Cannot access the high level business components, {0}
20005 Hard Cannot access the low level business components, {0}
20007 Hard Missing required field, {0}
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 282
Error Code Severity Description
20008 Hard The field, {0}, contains invalid data, {1}
20010 Hard The phone number contains invalid characters
20011 Hard The Integration Indicator is no longer supported
250010 Hard Illegal Request Action
250011 Hard Illegal Request Option
250012 Hard No tool is requested
250019 Hard Invalid field value
250020 Hard Invalid developer license number
250021 Hard The data length is in error for CompanyName
250022 Hard The data length is in error for AddressLine1
250023 Hard The data length is in error for AddressLine2
250024 Hard The data length is in error for AddressLine3
250025 Hard The data length is in error for City
250026 Hard Invalid country code
250027 Hard The data is in error for StateProvinceCode
250028 Hard The data length is in error for PostalCode
250029 Hard The data is in error for phone number
250030 Hard Invalid e-mail address
250031 Hard Invalid URL
250032 Hard Invalid Country Code in AccessLicenseProfile
250033 Hard Invalid Language Code in AccessLicenseProfile
250034 Hard Invalid ToolVersion
250035 Hard The data length is in error for the name of contact person
250036 Hard The data length is in error for the title of contact person
250037 Hard The data is in error for fax number
250038 Hard Error in Shipper Number
250040 Hard Client software profile is missed for the 3rd party developer license
250041 Hard Invalid ToolID
250042 Hard Tool Version not available for the Access License
250043 Hard Tool ID not available for the Access License
250044 Hard Tool Version not licensed for developer
250045 Hard Tool already licensed
250046 Hard User already has a license
250047 Hard License number revoked
250048 Hard Missing License Agreement Text
250049 Hard Invalid License Agreement Text
250051 Hard Not allowed to create new license
250052 Hard Authorization system is currently unavailable
250060 Hard The data length is in error for the Software Installer
250061 Hard The data length is in error for the Software Product Name
250062 Hard The data length is in error for the Software Provider
250063 Hard The data length is in error for the Software Version Number
250064 Hard Invalid ToolID/ToolVersion
110001 Hard XML Rating and Service Selection Service Unavailable
120001 Hard XML Shipping System is unavailable, please try again later.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 283
Error Code Severity Description
150000 Hard Tracking service unavailable
9120068 Hard Either credit card or account number information is needed but not both.
128216 HardInvalid or missing international forms form type for ExcludeFromForm.Valid values are 04.
128217 HardA NAFTA Certificate of Origin must have at least one commodity in therequest.
128218 Hard A Commercial Invoice must have at least one commodity in the request.120910
WarningTPFCNegotiatedRatesIndicator is applicable only for Third party/FreightCollect shipments.
120911Warning
Shipper not authorized to request for the Third Party/Freight Collectnegotiated rates for this shipment.
126098 Warning Account authentication is required to be completed to get negotiated rates.
126099 Warning Credit Card is the only valid payment method for this type of account.
9126004 HardPackageServiceOption HazMat Quantity is absent or doesn't meetspecification.
9126006 Hard PackageServiceOption HazMat TransportationMode has invalid value.
9126030 Hard PackageServiceOption HazMat Regulation required or has invalid value.
126001 HardShipper is not eligible to ship Hazardous Material / InternationalDangerous Goods.
126004 Hard HazMat Quantity is absent or doesn't meet specification.
126006 Hard HazMat TransportationMode has invalid value.
126011 HardPackage/HazMatPackageInformation required with eitherAllPackedInOneIndicator/OverPackedIndicator values.
126032 Hard HazMat ClassDivisionNumber is required.
126033 Hard HazMat ClassDivisionNumber exceeds maximum length of 7 characters.
126034 Hard HazMat ClassDivisionNumber violates datatype. Only ASCII allowed.
126035 Hard HazMat Quantity is required.
126036 Hard HazMat Quantity exceeds maximum value.
126038 Hard HazMat UOM not set or invalid.
126039 Hard HazMat UOM value exceeds maximum length of 10 characters.
126040 Hard HazMat UOM violates datatype only ASCII allowed.
126041 Hard HazMat ProperShippingName is required and not set.
126042 Hard HazMat ProperShippingName exceeds maximum length of 150 characters.
126043 Hard HazMat ProperShippingName violates datatype only ASCII allowed.
126045 Hard HazMat ReferenceNumber exceeds maximum of 15 characters.
126046 Hard HazMat ReferenceNumber violates datatype only ASCII allowed.
126047 Hard HazMat ReportableQuantity exceeds maximum length of 2 characters.
126048 Hard HazMat ReportableQuantity violates datatype only ASCII allowed.
126051 Hard HazMat IDNumber Number exceeds maximum length of 6 characters.
126052 Hard HazMat IDNumber Number violates datatype only ASCII allowed.
126055 Hard HazMat PackagingGroupType exceeds maximum length of 5 characters.
126056 Hard HazMat PackagingGroupType violates datatype only ASCII allowed.
126059 Hard HazMat PackagingInstructionCode is Required.
126060 HardHazMat PackagingInstructionCode exceeds maximum length of 4characters.
126061 Hard HazMat PackagingInstructionCode violates datatype only ASCII allowed.
126062 Hard HazMat TransportationMode exceeds maximum length of 30 characters.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 284
Error Code Severity Description
126063 Hard HazMat TransportationMode violates datatype only ASCII allowed.
126064 Hard HazMat EmergencyPhone required since Regulation Set is TDG
126065 HardHazMat EmergencyPhone Number exceeds maximum length of 25characters.
126066 Hard HazMat EmergencyPhone Number violates datatype only ASCII allowed.
126069 HardHazMat AdditionalDescription Info exceeds maximum length of 255characters.
126070 Hard HazMat AdditionalDescription Info violates datatype only ASCII allowed.
126071 Hard HazMat PackagingType is required.
126072 Hard HazMat PackagingType exceeds maximum length of 255 characters.
126073 Hard HazMat PackagingType violates datatype only ASCII allowed.
126076 Hard Number of HazMat entities per package cannot be greater than 3.
126079 Hard HazMat EmergencyContact Information is required for this shipment
126080 HardHazMat EmergencyContact Information exceeds maximum length of 35characters.
126081 HardHazMat EmergencyContact Information violates datatype only ASCIIallowed.
126082 Hard Package HazMatPackageInformation AllPackedInOneIndicator is optional.
126083 Hard Package HazMatPackageInformation OverpackedIndicator is optional.
126084 HardPackage HazMatPackageInformation QValue must exist withRegulationSet IATA when AllPackedInOneIndicator present.
126085 HardHazMatPackageInformation QValue must be decimal value with onesignificant digit.
120444 Hard Invalid Bill-To type
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 285
Appendix C - Void Shipment Web Services Error Codes
If you get a < VoidShipmentResponse > in a SOAP Envelope’s Body part, it means the request isprocessed 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 successfulresponse. When you get a SOAP FAULT, check the Errors and the sub-element ErrorDetail. Thevalue of <Severity> can be either Transient or Hard. When an error occurs there will also be anerror code, and an error description in PrimaryErrorCode element.
Success – Successful responses may or may not include Warnings. (without warnings) Request is processed as anticipated by the client. (with warnings) Warning messages indicate that UPS was able to process the request;
however (potentially) unanticipated results have also occurred. The warning containsinformation in the response that should be passed to the end user.
Errors – will return two different levels of severity. Transient errors are temporary errors, due to temporary high server loads or scheduled
maintenance, for example. The application may re-issue the request at a later time. Hard errors indicate that an error existed in the request that UPS could not resolve, it is a
user error. These errors are critical and prevent requests from processing.
Applications should not re-issue requests with Hard errors without first correcting the error.The following table lists the errors that UPS may return in response to a request.
ErrorCode Severity Description
190001 Transient Void not available at this time
190002 Transient Invalid/Missing registration ID
190100 Hard Invalid ShipmentIdentificationNumber.
190101 Hard Time for voiding has expired.
190102 Hard No shipment found within the allowed void period
190103 HardThe Pickup Request associated with this shipment has alreadybeen completed
190104 Hard Return shipments cannot be voided.
190105 Hard Pickup Cancellation is not Available on this Pickup Request
190106 Hard Pickup Cancellation is not Available on this Pickup Request
190107 HardThe Pickup Request associated with this shipment has previouslybeen canceled
190108 HardThe Pickup Request associated with this shipment cannot becanceled
190109 Hard Invalid TrackingNumber
190110 Hard Invalid Void Package {0}
190111 Hard Package Void Limit Exceeded
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 286
ErrorCode Severity Description
190112 Hard Return Service Shipments cannot be Voided at the Package Level
190113 Hard International Shipments cannot be Voided at the Package Level
190114 Hard Invalid Return Service Void Date
190115 Hard Invalid Void Date
190116 HardA Label cannot be generated for a voided Return ServiceShipment
190117 Hard The Shipment has already been voided
190118 Hard Same Day Service Void Not Allowed.
190119 WarningThe requested Void was successful, but the associated Pickup wasnot Cancelled
190121 Hard None of the submitted packages were voided
190122 Hard Package(s) {0} selected to void is(are) invalid
190124 HardImport Control Shipment cannot be voided later than 3 am of theday after the shipment uploaded.
190125 HardImport Control Shipments does not allow package void in ashipment
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 287
Appendix D – Common error codes for all webservices
Common Errors can apply to all web services;
Code Severity Description
10001 Hard The XML document is not well formed
10002 Hard The XML document is well formed but the document is not valid
10003 Hard The XML document is either empty or null
10006 Hard
Although the document is well formed and valid, the element contentcontains values which do not conform to the rules and constraints containedin this specification
10013 Hard The message is too large to be processed by the Application
20001 Transient General process failure
20002 HardThe specified service name, {0}, and version number, {1}, combination isinvalid
20003 Hard Please check the server environment for the proper J2EE ws apis
20006 Hard Invalid request action
20012 Hard The Client Information exceeds its Maximum Limit of {0}
250000 Hard No XML declaration in the XML document
250001 Hard Invalid Access License for the tool. Please re-license.
250002 Hard Invalid UserId/Password
250003 Hard Invalid Access License number
250004 Hard Incorrect UserId or Password
250005 Hard No Access and Authentication Credentials provided
250006 Hard The maximum number of user access attempts was exceeded
250007 Hard The UserId is currently locked out; please try again in 24 hours.
250009 Hard License Number not found in the UPS database
250050 Transient License system not available
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 288
Appendix E - Country Codes
UPS country code abbreviations generally follow the recommendations of the InternationalStandards Organization, which publishes a list of currency abbreviations in ISO Standard 3166. Thefollowing table lists the ISO country codes that ISO had defined when this document was published.The latest information is available from the ISO web site.Please note that not all UPS services are available in every country. For more information on UPSservices, refer to the latest UPSRate and Service Guide available at http://www.ups.com.
CountryCode Country Name
ForwardOrigin
ReturnOrigin
AF Afghanistan
AX Åland Islands
AL Albania Yes
DZ Algeria
AS American Samoa
AD Andorra Yes
AO Angola
AI Anguilla Yes
AQ Antarctica
AG Antigua and Barbados Yes
AR Argentina Yes Yes
AM Armenia
AW Aruba
AU Australia Yes Yes
AT Austria Yes Yes
AZ Azerbaijan
BS Bahamas Yes
BH Bahrain Yes
BD Bangladesh
BB Barbados
BY Belarus
BE Belgium Yes Yes
BZ Belize
BJ Benin
BM Bermuda Yes Yes
BT Bhutan
BO Bolivia Yes
BA Bosnia and Herzegovina
BW Botswana
BV Bouvet Island
BR Brazil Yes Yes
IOBritish Indian OceanTerritory
BN Brunei Darussalam
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 289
CountryCode Country Name
ForwardOrigin
ReturnOrigin
BG Bulgaria Yes
BF Burkina Faso
BI Burundi
KH Cambodia
CM Cameroon
CA Canada Yes Yes
CV Cape Verde
KY Cayman Islands Yes
CF Central African Republic
TD Chad
CL Chile Yes Yes
CN China Yes Yes
CX Christmas Island
CC Cocos (Keeling) Islands
CO Colombia Yes Yes
KM Comoros
CG Congo
CDCongo, The DemocraticRepublic of
CK Cook Islands
CR Costa Rica Yes Yes
CI Côte Divoire
HR Croatia Yes
CU Cuba
CY Cyprus Yes
CZ Czech Republic Yes Yes
DK Denmark Yes Yes
DJ Djibouti
DM Dominica
DO Dominican Republic Yes Yes
EC Ecuador Yes Yes
EG Egypt Yes
SV El Salvador Yes Yes
GQ Equatorial Guinea
ER Eritrea
EE Estonia Yes
ET Ethiopia
FK Falkland Islands (Malvinas)
FO Faroe Islands
FJ Fiji
FI Finland Yes Yes
FR France Yes Yes
GF French Guiana
PF French Polynesia
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 290
CountryCode Country Name
ForwardOrigin
ReturnOrigin
TF French Southern Territories
GA Gabon
GM Gambia
GE Georgia
DE Germany Yes Yes
GH Ghana
GI Gibraltar
GR Greece Yes Yes
GL Greenland
GD Grenada Yes
GP Guadeloupe
GU Guam
GT Guatemala Yes Yes
GG Guernsey Yes Yes
GN Guinea
GW Guinea-Bissau
GY Guyana
HT Haiti Yes
HMHeard Island andMcDonald Islands
VAHoly See (Vatican CityState)
HN Honduras Yes Yes
HK Hong Kong Yes Yes
HU Hungary Yes Yes
IS Iceland Yes
IN India Yes Yes
ID Indonesia Yes Yes
IR Iran, Islamic Republic of
IQ Iraq
IE Ireland Yes Yes
IM Isle of Man
IL Israel Yes Yes
IT Italy Yes Yes
JM Jamaica Yes
JP Japan Yes Yes
JE Jersey Yes Yes
JO Jordan
KZ Kazakhstan
KE Kenya
KI Kiribati
KPKorea, Democratic PeoplesRepublic of
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 291
CountryCode Country Name
ForwardOrigin
ReturnOrigin
KR Korea, Republic of Yes Yes
KW Kuwait Yes
KG Kyrgyzstan
LALao Peoples DemocraticRepublic
LV Latvia Yes
LB Lebanon Yes
LS Lesotho
LR Liberia
LY Libyan Arab Jamahiriya
LI Liechtenstein Yes
LT Lithuania Yes
LU Luxembourg Yes
MO Macao Yes Yes
MKMacedonia, The FormerYugoslav Republic of
MG Madagascar
MW Malawi
MY Malaysia Yes Yes
MV Maldives
ML Mali
MT Malta Yes
MH Marshall Islands
MQ Martinique Yes
MR Mauritania
MU Mauritius
YT Mayotte
MX Mexico Yes Yes
FMMicronesia, FederatedStates of
MD Moldova, Republic of
MC Monaco Yes
MN Mongolia
ME Montenegro Yes
MS Montserrat Yes
MA Morocco
MZ Mozambique
MM Myanmar
NA Namibia
NR Nauru
NP Nepal
NL Netherlands Yes Yes
AN Netherlands Antilles
NC New Caledonia
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 292
CountryCode Country Name
ForwardOrigin
ReturnOrigin
NZ New Zealand Yes Yes
NI Nicaragua Yes Yes
NE Niger
NG Nigeria Yes
NG Nigeria
NU Niue
NF Norfolk Island
MP Northern Mariana Islands
NO Norway Yes Yes
OM Oman Yes
PK Pakistan Yes
PW Palau Yes
PSPalestinian Territory,Occupied
PA Panama Yes Yes
PG Papua New Guinea
PY Paraguay Yes Yes
PE Peru Yes Yes
PH Philippines Yes Yes
PN Pitcairn
PL Poland Yes Yes
PT Portugal Yes Yes
PR Puerto Rico Yes Yes
QA Qatar Yes
RE Réunion
RO Romania Yes Yes
RU Russian Federation Yes Yes
RW Rwanda
SH Saint Helena
KN Saint Kitts and Nevis Yes
LC Saint Lucia Yes
PM Saint Pierre and Miquelon
VCSaint Vincent and TheGrenadines Yes
WS Samoa
SM San Marino Yes
ST Sao Tome and Principe
SA Saudi Arabia Yes
SN Senegal
RS Serbia Yes
SC Seychelles
SL Sierra Leone
SG Singapore Yes Yes
SK Slovakia Yes
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 293
CountryCode Country Name
ForwardOrigin
ReturnOrigin
SI Slovenia Yes
SB Solomon Islands
SO Somalia
ZA South Africa Yes
GSSouth Georgia andThe South Sandwich Islands
ES Spain Yes Yes
LK Sri Lanka Yes
SD Sudan
SR Suriname Yes
SJ Svalbard and Jan Mayen
SZ Swaziland
SE Sweden Yes Yes
CH Switzerland Yes Yes
SY Syrian Arab Republic
TW Taiwan, Province of China Yes Yes
TJ Tajikistan
TZ Tanzania, United Republic of
TH Thailand Yes Yes
TL Timor-Leste
TG Togo
TK Tokelau
TO Tonga
TT Trinidad and Tobago
TN Tunisia Yes
TR Turkey Yes Yes
TM Turkmenistan
TC Turks and Caicos Islands Yes
TV Tuvalu
UG Uganda
UA Ukraine Yes
AE United Arab Emirates Yes
GB United Kingdom Yes Yes
US United States Yes Yes
UMUnited States MinorOutlying Islands
UY Uruguay Yes Yes
UZ Uzbekistan
VU Vanuatu
VE Venezuela Yes Yes
VN Viet Nam Yes
VG Virgin Islands, British
VI Virgin Islands, U.S. Yes Yes
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 294
CountryCode Country Name
ForwardOrigin
ReturnOrigin
WF Wallis and Futuna
EH Western Sahara
YE Yemen
ZM Zambia
ZW Zimbabwe
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 295
Appendix F - Currency Codes
UPS currency code abbreviations generally follow the recommendations of the InternationalStandards Organization, which publishes a list of currency abbreviations in ISO Standard 4217, forwhich the latest information is available from the ISO website. Exceptions are noted in bold in thetable below.Note that countries sometimes change their official currency. UPS may require some time after theintroduction of a new currency before it can fully support that currency. In addition, UPS maycontinue to support the older currency for an interim period in order to provide backwardscompatibility. UPS may also require the use of currencies other than the official currency for somecountries. For the latest information, please contact your UPS Developer API representative.
Country/Region Currency Name Currency Code
Afghanistan Afghani AFN
Albania Lek ALL
Algeria Algerian Dinar DZD
American Samoa US Dollar USD
Andorra Euro EUR
Angola Kwanza AOA
Anguilla East Caribbean Dollar XCD
Antigua And Barbuda East Caribbean Dollar XCD
Argentina Argentine Peso ARS
Armenia Armenian Dram AMD
Aruba Aruban Guilder AWG
Australia Australian Dollar AUD
Austria Euro EUR
Azerbaijan Azerbaijanian Manat AZN
Bahamas Bahamian Dollar BSD
Bahrain Bahraini Dinar BHD
Bangladesh Taka BDT
Barbados Barbados Dollar BBD
Belarus Belarussian Ruble BYR
Belgium Euro EUR
Belize Belize Dollar BZD
Benin CFA Franc BCEAO XOF
Bermuda
Bermudian Dollar(customarily known asBermuda Dollar) BMD
Bhutan Indian Rupee INR
Bhutan Ngultrum BTN
Bolivia Boliviano BOB
Bolivia Mvdol BOV
Bosnia and Herzegovina Convertible Marks BAM
Botswana Pula BWP
Bouvet Island Norwegian Krone NOK
Brazil Brazilian Real BRL
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 296
British Indian OceanTerritory US Dollar USD
Brunei Darussalam Brunei Dollar BND
Bulgaria Bulgarian Lev BGN
Burkina Faso CFA Franc BCEAO XOF
Burundi Burundi Franc BIF
Cambodia Riel KHR
Cameroon US Dollar USD
Canada Canadian Dollar CAD
Cape Verde Cape Verde Escudo CVE
Cayman Islands Cayman Islands Dollar KYD
Central African Republic CFA Franc BEAC XAF
Chad CFA Franc BEAC XAF
Chile Chilean Peso CLP
Chile Unidades de formento CLF
China Yuan Renminbi RMB
Christmas Island Australian Dollar AUD
Cocos (Keeling) Islands Australian Dollar AUD
Colombia Colombian Peso COP
Colombia Unidad de Valor Real COU
Comoros Comoro Franc KMF
Congo CFA Franc BEAC XAF
Congo, The Democratic Republic of Franc Congolais CDF
Cook Islands New Zealand Dollar NZD
Costa Rica Costa Rican Colon CRC
Côte Divoire CFA Franc BCEAO XOF
Croatia Croatian Kuna HRK
Cuba Cuban Peso CUP
Cyprus Euro EUR
Czech Republic Czech Koruna CZK
Denmark Danish Krone DKK
Djibouti Djibouti Franc DJF
Dominica East Caribbean Dollar XCD
Dominican Republic Dominican Peso DOP
Ecuador US Dollar USD
Egypt Egyptian Pound EGP
El Salvador El Salvador Colon SVC
El Salvador US Dollar USD
Equatorial Guinea CFA Franc BEAC XAF
Eritrea Nakfa ERN
Estonia Euro EUR
Ethiopia Ethiopian Birr ETB
Falkland Islands (Malvinas) Falkland Islands Pound FKP
Faroe Islands Danish Krone DKK
Fiji Fiji Dollar FJD
Finland Euro EUR
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 297
France Euro EUR
French Guiana Euro EUR
French Polynesia CFP Franc XPF
French Southern Territories Euro EUR
Gabon CFA Franc BEAC XAF
Gambia Dalasi GMD
Georgia Lari GEL
Germany Euro EUR
Ghana Cedi GHS
Gibraltar Gibraltar Pound GIP
Greece Euro EUR
Greenland Danish Krone DKK
Grenada East Caribbean Dollar XCD
Guadeloupe Euro EUR
Guam US Dollar USD
Guatemala Quetzal GTQ
Guernsey Pound Sterling GBP
Guinea Guinea Franc GNF
Guinea-Bissau Guinea-Bissau Peso GWP
Guinea-Bissau CFA Franc BCEAO XOF
Guyana Guyana Dollar GYD
Haiti Gourde HTG
Haiti US Dollar USD
Heard Island ondMcdonald Islands Australian Dollar AUD
Holy See (VaticanCity State) Euro EUR
Honduras Lempira HNL
Hong Kong Hong Kong Dollar HKD
Hungary Forint HUF
Iceland Iceland Krona ISK
India Indian Rupee INR
Indonesia Rupiah IDR
Iran (Islamic Republic of) Iranian Rial IRR
Iraq Iraqi Dinar IQD
Ireland Euro EUR
Israel New Israeli Sheqel ILS
Italy Euro EUR
Jamaica Jamaican Dollar JMD
Japan Yen JPY
Jersey Pound Sterling GBP
Jordan Jordanian Dinar JOD
Kazakhstan Tenge KZT
Kenya Kenyan Shilling KES
Kiribati Australian Dollar AUD
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 298
Korea, DemocraticPeoples Republic of North Korean Won KPW
Korea, Republic of Won KRW
Kuwait Kuwaiti Dinar KWD
Kyrgyzstan Som KGS
Lao Peoples DemocraticRepublic Kip LAK
Latvia Latvian Lats LVL
Lebanon Lebanese Pound LBP
Lesotho Rand ZAR
Lesotho Loti LSL
Liberia Liberian Dollar LRD
Libyan Arab Jamahiriya Libyan Dinar LYD
Liechtenstein Swiss Franc CHF
Lithuania Lithuanian Litas LTL
Luxembourg Euro EUR
Macao Pataca MOP
Macedonia, The FormerYugoslav Republic of Denar MKD
Madagascar Malagascy Ariary MGA
Malawi Kwacha MWK
Malaysia Malaysian Ringgit MYR
Maldives Rufiyaa MVR
Mali CFA Franc BCEAO XOF
Malta Euro EUR
Marshall Islands US Dollar USD
Martinique Euro EUR
Mauritania Ouguiya MRO
Mauritius Mauritius Rupee MUR
Mayotte Euro EUR
Mexico Mexican Peso MXN
MexicoMexican Unidad deInversion (UID) MXV
Micronesia (FederatedStates of) US Dollar USD
Moldova, Republic of Moldovan Leu MDL
Monaco Euro EUR
Mongolia Tugrik MNT
Montenegro Euro EUR
Montserrat East Caribbean Dollar XCD
Morocco Moroccan Dirham MAD
Mozambique Metical MZN
Myanmar Kyat MMK
Namibia Rand ZAR
Namibia Namibian Dollar NAD
Nauru Australian Dollar AUD
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 299
Nepal Nepalese Rupee NPR
Netherlands Euro EUR
Netherlands AntillesNetherlands AntillianGuilder ANG
New Caledonia CFP Franc XPF
New Zealand New Zealand Dollar NZD
Nicaragua Cordoba Oro NIO
Niger CFA Franc BCEAO XOF
Nigeria Naira NGN
Niue New Zealand Dollar NZD
Norfolk Island Australian Dollar AUD
Northern Mariana Islands US Dollar USD
Norway Norwegian Krone NOK
Oman Rial Omani OMR
Pakistan Pakistan Rupee PKR
Palau US Dollar USD
Panama Balboa PAB
Panama US Dollar USD
Papua New Guinea Kina PGK
Paraguay Guarani PYG
Peru Nuevo Sol PEN
Philippines Philippine Peso PHP
Pitcairn New Zealand Dollar NZD
Poland Zloty PLN
Portugal Euro EUR
Puerto Rico US Dollar USD
Qatar Qatari Rial QAR
Réunion Euro EUR
Romania New Leu RON
Russian Federation Russian Ruble RUB
Rwanda Rwanda Franc RWF
Saint Helena Saint Helena Pound SHP
Saint Kitts and Nevis East Caribbean Dollar XCD
Saint Lucia East Caribbean Dollar XCD
Saint Pierre and Miquelon Euro EUR
Saint Vincent and TheGrenadines East Caribbean Dollar XCD
Samoa Tala WST
San Marino Euro EUR
São Tome and Principe Dobra STD
Saudi Arabia Saudi Riyal SAR
Senegal CFA Franc BCEAO XOF
Serbia Serbian Dinar RSD
Seychelles Seychelles Rupee SCR
Sierra Leone Leone SLL
Singapore Singapore Dollar SGD
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 300
Slovakia Euro EUR
Slovenia Euro EUR
Solomon Islands Solomon Islands Dollar SBD
Somalia Somali Shilling SOS
South Africa Rand ZAR
Spain Euro EUR
Sri Lanka Sri Lanka Rupee LKR
Sudan Sudanese Dinar SDD
Suriname Surinam Dollar SRD
Svalbard and Jan Mayen Norwegian Krone NOK
Swaziland Lilangeni SZL
Sweden Swedish Krona SEK
Switzerland Swiss Franc CHF
Switzerland WIR Franc CHW
Switzerland WIR Euro CHE
Syrian Arab Republic Syrian Pound SYP
Taiwan, Province of China New Taiwan Dollar TWD
Tajikistan Somoni TJS
Tanzania, United Republicof Tanzanian Shilling TZS
Thailand Baht THB
Timor-Leste US Dollar USD
Togo CFA Franc BCEAO XOF
Tokelau New Zealand Dollar NZD
Tonga Paanga TOP
Trinidad And TobagoTrinidad and TobagoDollar TTD
Tunisia Tunisian Dinar TND
Turkey New Turkish Lira TRY
Turkmenistan Manat TMM
Turks And Caicos Islands US Dollar USD
Tuvalu Australian Dollar AUD
Uganda Uganda Shilling UGX
Ukraine Hryvnia UAH
United Arab Emirates UAE Dirham AED
United Kingdom Pound Sterling GBP
United States US Dollar USD
United States Minor Outlying Islands US Dollar USD
Uruguay Peso Uruguayo UYU
Uruguay
Uruguay Peso enUnidadesIndexadas UYI
Uzbekistan Uzbekistan Sum UZS
Vanuatu Vatu VUV
Venezuela Bolivar VEB
Viet Nam Dong VND
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 301
Virgin Islands (British) US Dollar USD
Virgin Islands (US) US Dollar USD
Wallis And Futuna CFP Franc XPF
Western Sahara Moroccan Dirham MAD
Yemen Yemeni Rial YER
Zambia Kwacha ZMK
Zimbabwe Zimbabwe Dollar ZWD
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 302
Appendix G - Service Codes
UPS offers a wide variety of package delivery services. The following tables list the service codevalues for these services; they are ordered by the origin of the shipment. The final table lists servicecodes for freight shipments. For more information on UPS services, refer to the latest UPS Rate andService Guide available at http://www.ups.com.
Description Category
ShippingServiceCode
RatingServiceCode
UPS Express Polish Domestic Shipments 07 07
UPS ExpeditedSM Polish Domestic Shipments 08 08
UPS Standard Polish Domestic Shipments 11 11
UPS Worldwide Express PlusSM Polish Domestic Shipments 54 54
UPS Saver Polish Domestic Shipments 65 65
UPS Today StandardSM Polish Domestic Shipments 82 82
UPS Today Dedicated CourrierSM Polish Domestic Shipments 83 83
UPS Today Express Polish Domestic Shipments 85 85
UPS Today Express Saver Polish Domestic Shipments 86 86
UPS Express Shipments Originating in Canada 01 01
UPS Worldwide ExpeditedSM Shipments Originating in Canada 08 02
UPS Standard Shipments Originating in Canada 11 11
UPS Three-Day Select® Shipments Originating in Canada 12 12
UPS Express Early A.M. SM Shipments Originating in Canada 14 14
UPS Saver SM Shipments Originating in Canada 65 13
UPS ExpressShipments Originating in Canadato the United States 01 07
UPS Express Shipments Originating in Mexico 07 07
UPS ExpeditedSM Shipments Originating in Mexico 08 08
UPS Standard Shipments Originating in Mexico 11 11
UPS Express Plus Shipments Originating in Mexico 54 54
UPS Saver Shipments Originating in Mexico 65 65
UPS Express Shipments Originating in Other Countries 07 07
UPS Worldwide ExpeditedSM Shipments Originating in Other Countries 08 08
UPS Standard Shipments Originating in Other Countries 11 11
UPS Worldwide Express PlusSM Shipments Originating in Other Countries 54 54
UPS Saver Shipments Originating in Other Countries 65 65
UPS Next Day Air® Shipments Originating in Puerto Rico 01 01
UPS Second Day Air® Shipments Originating in Puerto Rico 02 02
UPS Ground Shipments Originating in Puerto Rico 03 03
UPS Worldwide ExpressSM Shipments Originating in Puerto Rico 07 07
UPS Worldwide ExpeditedSM Shipments Originating in Puerto Rico 08 08
UPS Next Day Air® Early A.M. SM Shipments Originating in Puerto Rico 14 14
UPS Worldwide Express PlusSM Shipments Originating in Puerto Rico 54 54
UPS Saver Shipments Originating in Puerto Rico 65 65
UPS Express Shipments Originating in the European Union 07 07
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 303
UPS ExpeditedSM Shipments Originating in the European Union 08 08
UPS Standard Shipments Originating in the European Union 11 11
UPS Worldwide Express PlusSM Shipments Originating in the European Union 54 54
UPS Saver Shipments Originating in the European Union 65 65
UPS Next Day Air® Shipments Originating in United States 01 01
UPS Second Day Air® Shipments Originating in United States 02 02
UPS Ground Shipments Originating in United States 03 03
UPS Worldwide ExpressSM Shipments Originating in United States 07 07
UPS Worldwide ExpeditedSM Shipments Originating in United States 08 08
UPS Standard Shipments Originating in United States 11 11
UPS Three-Day Select® Shipments Originating in United States 12 12
UPS Next Day Air® Early A.M. SM Shipments Originating in United States 14 14
UPS Worldwide Express PlusSM Shipments Originating in United States 54 54
UPS Second Day Air A.M.® Shipments Originating in United States 59 59
UPS Saver Shipments Originating in United States 65 65
UPS Next Day Air® United States Domestic Shipments 01 01
UPS Second Day Air® United States Domestic Shipments 02 02
UPS Ground United States Domestic Shipments 03 03
UPS Three-Day Select® United States Domestic Shipments 12 12
UPS Next Day Air Saver® United States Domestic Shipments 13 13
UPS Next Day Air® Early A.M. SM United States Domestic Shipments 14 14
UPS Second Day Air A.M.® United States Domestic Shipments 59 59
UPS Saver United States Domestic Shipments 65 65
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 304
Appendix H - Reference Number Codes
Shipments and packages may include a reference number. The type of reference number may beindicated by a reference number code. The following table lists the reference number code values.
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
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
ST Store Number
TN Transaction Reference Number
EI Employer’s ID Number
TJ Federal Taxpayer ID No.
SY Social Security Number
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 305
Appendix I- International Forms Preference Criteria
Preference criteria are required in North American Free Trade Agreement Certificate of Origin(NAFTA CO) documents. The following table lists the defined criteria and their use.
Criteria Meaning
A
The good is \"wholly obtained or produced entirely\" in the territory of one or more of theNAFTA countries as referenced in Article 415.Note: The purchase of a good in the territorydoes 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 NAFTAcountries and satisfies the specific rule of origin, set out in Annex 401 thatapplies to its tariff classification. The rule may include a tariff classification change, regionalvalue-content requirement, or a combination there-of. The good must also satisfy all otherapplicable requirements of Chapter Four. If the good is an agricultural good, see also criterionF andAnnex 703.2. (Reference: Article 401(b))
C
The good is produced entirely in the territory of one or more of the NAFTA countries exclusivelyfrom originating materials. Under this criterion, one or more of the materials may not fall within thedefinition of \"wholly produced or obtained,\" as set out in Article 415. All materials used in theproduction 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: Article401(c).
D
Goods are produced in the territory of one or more of the NAFTA countries but do not meet theapplicable rule of origin, set out in is an agricultural good, see also criterion F andAnnex703.2. Reference: Article 401(c). Annex 401, because certain non-originating materials do notundergo the required change in tariff classification. The goods do nonetheless meet the regionalvalue-content requirement specified in Article 401 (d). This criterion is limited to the following twocircumstances: (1) The good was imported into the territory of a NAFTA country in an unassembledor disassembled form but was classified as an assembled good, pursuant to H.S. General Rule ofInterpretation 2(a). or (2).The good incorporated one or more non- originating materials, provided foras parts under the H.S., which could not undergo a change in tariff classification because theoriginating materials, provided for as parts under the H.S., which could not undergo a change in tariffclassification because the heading provided for both the good and its parts and was not furthersubdivided into subheadings, or the subheading provided for both the good and its parts and was notfurther 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 theterritory 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.1and is common to all NAFTA countries. (Reference: Annex 308.1)
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 306
Criteria Meaning
F
The good is an originating agricultural good under preference criterion A, B, or C aboveand is not subject to a quantitative restriction in the importing NAFTA countrybecause 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 iseligible for NAFTA preferential tariff treatment if it meets the definition of \"qualifying good\" inSection A of Annex 703.2. Note: This criterion does not apply to goods that wholly originatein Canada or the United States and are imported into either country. Note: A tariff rate quota isnot a quantitative restriction
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 307
Appendix J- Hong Kong District Codes
The following table lists the codes UPS uses to represent Hong Kong districts.
Code District
SD1 ABERDEEN
AD ADMIRALTY
SD2 AP LEI CHAU
CB CAUSEWAY BAY
CD CENTRAL
KT1 CHA KWO LING
CW1 CHAI WAN
CLK1 CHAK LAP KOK
ISL1 CHEUNG CHAU
CSW CHEUNG SHA WAN
CH CHOI HUNG
SD3 CHUNG HOM KOK
DH DAIMOND HILL
SD4 DEEP WATER BAY
ISL2 DISCOVERY BAY
FL FANLING
NP1 FORTRESS HILL
ST1 FOTAN
HV HAPPY VALLEY
HMT HO MAN TIN
HH HUNGHOM
JD JORDAN
NT1 KAM TIN
WD1 KENNEDY TOWN
KLB KOWLOON BAY
KLC KOWLOON CITY
KLT KOWLOON TONG
KC1 KWAI CHUNG
KC2 KWAI FONG
KC3 KWAI HING
KT2 KWUN TONG
LCK1 LAI CHI KOK
LCK2 LAI KING
LT3 LAM TIN
ISL3 LAMMA ISLAND
ISL4 LANTAU ISLAND
LF1 LOK FU
ST2 MA ON SHAN
LCK3 MEI FOO
SD5 MIDDLE BAY
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 308
Code District
ML1 MID-LEVEL
MK1 MONGKOK
WD2 MOUNT DAVIS
NTK NGAU TAU KOK
NP2 NORTH POINT
ISL5 PING CHAU
SD6 POK FU LAM
MK2 PRINCE EDWARD
QB QUARRY BAY
SD7 REPULSE BAY
SK SAI KUNG
WD3 SAI WAN
SWH SAI WAN HO
WD4 SAI YING PUN
SPK SAN PO KONG
SS1 SHA TAU KOK
SSP SHAM SHUI PO
NT2 SHAM TSENG
ST3 SHATIN
SKW SHAU KEI WAN
SKM SHEK KIP MEI
NT4 SHEK KONG
SD8 SHEK O
WD5 SHEK TONG TSUI
SS2 SHEUNG SHUI
SW SHEUNG WAN
SL SHUN LEE
ST4 SIU LEK YUEN
CW2 SIU SAI WAN
SD9 SOUTH BAY
SD10 SOUTHERN DISTRICT
SD11 STANLEY
ML2 TAI HANG
TKT TAI KOK TSUI
NT5 TAI LAM CHUNG
TP TAI PO
SD12 TAI TAM
ST5 TAI WAI
NT6 TAP SHEK KOK
ML3 THE PEAK
NP3 TIN HAU
NT7 TIN SHUI WAI
SD13 TIN WAN
TKW TO KWA WAN
TKO TSEUNG KWAN O
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 309
Code District
TST1 TSIM SHA TSUI
TST2 TSIM SHA TSUI EAST
NT8 TSING LUNG TAU
TY TSING YI
TW TSUEN WAN
TWS TSZ WAN SHAN
NT9 TUEN MUN
CLK2 TUNG CHUNG
SD14 WAH FU
WC WANCHAI
LF2 WANG TAU HOM
WD6 WESTERN DISTRICT
SD15 WONG CHUK HANG
WTS WONG TAI SIN
YMT YAU MA TEI
KT3 YAU TONG
NT10 YUEN LONG
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 310
Appendix K- Export License Exception Codes
License exception codes may be used in lieu of an export license in Shipper Export Declaration(SED) forms. The following table lists the defined export codes.
Code License Exception
AGR
Established for agricultural commodities to permit exports and re-exports toCuba that is not specifically identified on the Commerce Control List(CCL) and is classified as EAR99.
APRItems for export or re-export not controlled fornuclear nonproliferation, missile technology or crime control.
AVS U.S. aircraft or foreign sojourn into foreign country.
BAG Individual or exporting carriers crew members baggage.
CIV National security items for civil end users.
CTP Computer and parts of.
ENC Encrypted software and hardware - financial institutions.
GBSExport or re-export of Country Group B; controlledfor national security reasons.
GFTGift shipments; packages to individuals, religious,charitable or education institutions, donations of basic needs.
GOVGovernment 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.
RPLServicing and replacement of parts and equipment, onefor one replacement parts service or replacement of equipment.
TMPTemporary exports, export and re-export of itemstemporary in U.S., export and re-export of beta test software.
TSPASoftware or technology outside the scope of exportregulations.
TSRTechnology and software, national security reason,Country Group B.
TSU
Technology and software shipments, of basic requirements, data supportingprospective or actual bids, offers to sell, lease or supply an item. Softwareupdate for fixing programs, mass marketed software.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 311
Appendix L- Sample Shipping and Return Labels
The following figures are examples of UPS shipping and return labels.
Figure 1. Sample Shipping Label
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 312
Figure2. Sample Return Label
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 313
Appendix M- Shipping and Tracking Numbers for Testing
UPS has set aside several shipping identification and tracking numbers to help developers test theirapplications. These special numbers are only valid with the Customer Integration Environment atwwwcie.ups.com. The following table lists those special numbers and describes the results thatdevelopers should expect when attempting a VoidShipmentRequest. For each test case, the firstnumber listed is a shipment identification number; additional numbers, if present, are trackingnumbers.
Note that only these numbers may be used in the Customer Integration Environment when voidingshipments.
NUMBER(S) EXPECTED RESULT
1ZISDE016691676846
1Z2220060290602143
A successful XML response will be returned for ashipment level void request.
A successful XML response will be returned for ashipment level void request.
1Z2220060294314162 and Tracking Number1Z2220060291994175
A successful XML response will be returned for apackage level void request. The request will void thepackage in the shipment.
1Z2220060292690189 and Tracking Number1Z2220060292002190
A successful XML response will be returned for apackage level void request. The request will void thepackage in the shipment.
1ZISDE016691609089 with Tracking Numbers1ZISDE016694068891 and 1ZISDE016690889305
A successful XML response will be returned for apackage level void request. The request will void all thepackages
1Z2220060290530202 with Tracking Number1Z2220060293874210 and 1Z2220060292634221
A successful XML response will be returned with apartial void for a package level void request. The requestwill void package 1Z2220060293874210 but package1Z2220060292634221 cannot be voided.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 314
Appendix N- Valid Language-Dialect combination forPreAlertNotification
Valid Language Dialect
DAN 97
DEU 97
ENG GB
ENG US
FIN 97
FRA 97
FRA CA
ITA 97
NLD 97
POR 97
SPA 97
SWE 97
ENG CA
NOR 97
POL 97
CES 97
ELL 97
ENG CA
HEB 97
HUN 97
NLD 97
NOR 97
RUS 97
SLK 97
TUR 97
VIE 97
ZHO TW
RON RO
SPA PR
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 315
Appendix O – Valid Origin/Destination Combinations: for DC, DC-SR, and DC-ASR Accessorials
Origin Destination DC DC-SR DC-ASR
US50, PR P P P
CA, VI -- S S
US50
Intl (not CA, PR, VI) -- S S
CA P P P
US50, PR, VI -- S S
CA
Intl (not US, PR, VI) -- S S
PR, US50 P P P
CA, VI -- S S
PR
Intl (not US, CA, VI) -- S S
Intl RAVE-supported origin countries(not US, PR, CA, VI; see list below)
Intl (natl, transborder,worldwide) – per Mktgvalidation tables
-- S S
S = shipment-level accessorial; P= package-level accessorial. All the origin/destination pairsvalid for forward shipments only.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 316
Appendix P- Paperless Invoice Supported Countries
The following table lists those countries that support paperless (electronic submission) invoices. NOTE:Although a country may be prepared to accept Paperless Invoices, it is not guaranteed that all originsare allowed to send Paperless Invoices to such a country.Paperless Invoice countries are updated quarterly however guides are updated semi-annually in January andJuly. Changes may occur between releases of the guide.
CountryAustraliaAustriaBelgiumCanadaChinaCzech RepublicDenmarkEstoniaFinlandFranceGermanyGuernseyGreat BritainHong KongHungaryIndiaIndonesiaIrelandIsraelItalyJapanJerseyLatviaLithuaniaLuxembourgMacauMalaysiaMaltaNetherlandsNew ZealandNorwayPhilippinesPolandPortugalPuerto RicoRomaniaScotlandSingaporeSloveniaSouth KoreaSpainSwedenSwitzerlandTai wan
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 317
CountryThailandUnited StatesVietnam
Appendix Q- Paperless NAFTA Supported Countries
The following table lists those countries that support paperless (electronic submission) NAFTA.NOTE: Although a country may be prepared to accept Paperless NAFTA, it is not guaranteed that allorigins are allowed to send Paperless Invoices to such a country.Paperless Invoice countries are updated quarterly however guides are updated semi-annually in January andJuly. Changes may occur between releases of the guide.
Mexico as an origin is not currently supported
Origin Destination
US CAUS MXCA USCA PRCA MXPR CAPR MX
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 318
Appendix R- License exception code Possible values: Shipping API –Package
Values DescriptionAGR 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, massmarketed software
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 319
Appendix S - Frequently Asked Questions: Shipping API – Package
API Category Question AnswerShipping Account Based
Rates (ABR) orNegotiated Rates
Do the DeveloperAPIs support ABRalso known asNegotiated Rates?
Yes. Shipping and Rating APIs both XML & Web Servicessupport Negotiated Rates
Shipping Negotiated Rates How do get accessto negotiatedPackage rates?
To streamline your ability to view your negotiated rates through the[Shipping/Rating] API UPS has implemented a new process that nolonger requires you to wait for a UPS Sales Person to activate youraccount. Simply add a UPS Account to your myUPS ID AccountSummary as you previously would and your account will beactivated within 48 hours for negotiated rates provided you have acontract with UPS. Remember to select the “Negotiated RatesIndicator” within the XML Request to have your negotiated ratesreturned within the response.
Shipping Negotiated Rates What flags areneeded to returnNegotiated rates inthe request
Use the NegotiatedRatesIndicator within the API request to viewyour Negotiated rates and the customer was set up by their UPSAccount Rep for negotiated (Account Base rates).
Shipping Ground FreightPricing (GFP)
Are dimensionsrequired for GFP
Currently dimensions are not applicable to Ground Freight Pricing
Shipping Duty & Taxes How do you bill a3rd Party for Duty& Taxes?
In order to bill a 3rd Party for D&T, use the noted tags in yourrequest:<ShipmentCharge><Type>01</Type><BillShipper><AccountNumber>XXXXXX</AccountNumber></BillShipper></ShipmentCharge><ShipmentCharge><Type>02</Type><BillThirdParty><AccountNumber>XXXXXX</AccountNumber><ThirdParty><Address><PostalCode>XXXXX</PostalCode><CountryCode>XX</CountryCode></Address></ThirdParty></BillThirdParty></ShipmentCharge>
Shipping Scan-basedBilling
Does the ShippingAPI support Scan-Based Billing
Yes, it is supported by default meaning if they are not tendered toUPS they are not billed.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 320
API Category Question AnswerShipping Third
Party/FreightCollect Shipment
Does the Ship APIvalidate accountnumbers whenshipping ThirdParty and FreightCollect?
Yes, it validates if the account is active, valid for Manage Inboundcharges and the postal code of the account billed
Shipping AddressValidation
How do I turn offvalidation ofaddresses with theShipping API?
The value within the "ShipmentRequest/Request/RequestOption"tag of the request needs to be "nonvalidate".
Shipping AddressValidation
Will the ShippingAPI providevalidation forJapaneseaddresses withCity and Countryand no zip code?
No, the postal code must be included for validation.
Shipping AddressValidation
What validation isthe Shipping APIusing to validateaddresses for USand Internationaladdresses?
Shipping API does not do ANY address validation at the streetlevel. Only regional validation; city, state, country (postal codeoptional).
Shipping Rural & SuperRural
Does the ShippingAPI - Packagereturn Rural andSuper Ruralcharges?
Yes the Shipping API will return rural and super rural charges.These charges will automatically be applied to the transportationcharge portion of the rate
Shipping UPS Account How do I add aUPS account tomyUPS IDaccount summary?It is stating that Ihave to have aninvoice # andcontrol ID.
As a means of securing customer information, when adding anaccount to their My UPS profile or enroll for electronic billingoptions or Quantum View, customers are currently prompted toauthenticate their account by entering an invoice number, invoiceamount, and the invoice date from one of their last three billingcycles along with the Control ID printed just below the shippernumber on their invoice. This provides is an additional layer ofsecurity to protect our customer’s information. The Control ID iscurrently included in the following U.S. and Canada Invoice Mediatypes:• Online PDF Images• EDI Domestic and Import• Hard CopyInvoices
Shipping InternationalCommodities
Is there a limit ofthe number of lineitems for theCommercialInvoice?
Yes, when using international forms only 50 line items(commodities) can be associated per shipment using the ShippingAPI.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 321
API Category Question AnswerShipping HazMat - Dry Ice Does the Shipping
API for Packagesupport the DryIce indicator?
Yes, effective with the July 2011 release, the Shipping API willsupport Dry Ice, as long as; it does not include any other Hazmatmaterials in the shipment and meets the requirements. Please referto UPS.com for more information.
Shipping 99 AccountNumberLimitation
How do Iassociate morethan 99 accountnumbers for usewith the ShippingAPIs?
99 accounts is currently the maximum number available. If the userhas more than 99 accounts they must be spread across multipleUserIds.
Shipping ProactiveResponse
Is ProactiveResponseSupported?
No, the Shipping API does not support Proactive Response
Shipping DeliveryIntercept
Is UPS DeliveryIntercept availablethrough theShipping API?
No, it is not currently supported.
Shipping Shipper Release Is Shipper Releaseavailable with theShipping API?
Yes.
Shipping Resi/CommIndicator
Does the ShippingAPI classifyaddresses asresidential orcommercial?
The Shipping API will classify an address based on UPS” historyfor that address and the appropriate rate will be returned in theresponse
Shipping Returns Is there a URLONLY capabilityfor returns withinthe Shipping API?
No.
Shipping Returns Can a Return bevoided? If yes,what is the cutofftiming to void areturn?
A customer can void an RS label up to 2am/3am Eastern Time thefollowing night (e.g. Monday request, Tuesday 2am/3am voidcutoff). This is based on when our batch process starts sendingRS1/RS3 labels to the centers. After the cutoff, the customer willnot be able to void, and the UPS agent is also not able to void. Ifthe void is completed by the cutoff time then the customer will notbe charged.
For ERL and PRL, the labels can be voided up to 30 days aftergeneration. Please note that the Label generation fee, if applied isnot voidable and that unused labels will not be billed transportationcharges.
Shipping Returns Does the ShippingAPI supportinternationalreturns and returnsin internationalcountries wherethe Shipping APIis supported?
Yes. Please see the UPS Developer’s Guide for the specificcountries supported
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 322
API Category Question AnswerShipping Print Return
LabelsFor the printreturn labeloption, if a Yahoomerchant needs toreprint the returnlabel, how muchtime does hehave? Is it 10days after theinitial request?
UPS does not provide a mechanism to "reprint" a Print ReturnLabel (PRL) the vendor must save the label locally if they wish toreprint. Only the ERL (Electronic Return Label) option providesthat capability.
Shipping UPS ReturnLabels
Does UPS chargethe accessorial feefor a return labelwhen using theAPI?
Yes, the customer will be charged the accessorial fee once theyrequest a return label.
Shipping Returns Does the ShippingAPI - Packagesupport Returnscapabilities?
Yes.
Shipping Electronic ReturnLabel DaysAvailable
Does the customerhave to utilize thelabel recoverycapability withinthe Ship API toreprint anelectronic returnlabel? Either way,how many days isthe label availableto reprint?
Yes, effective with the July 2010 Release, the time limit forretrieving an Electronic Return Label has been extended to 30 days.The prior limit was 10 days. This is noted in the latest ShippingDevelopers Guide. An Electronic Return Label is specified byusing Shipment/ReturnService/Code “8” in the Shipment ConfirmRequest. The ERL email will contain a link to the label so therecipient can print the label to attach to a package.
Shipping Returns Are the Returnscapabilities thesame within theWeb Serviceversus XMLversions of theShipping API -Package?
Yes. The Returns capabilities are the same.
Shipping 128 ReferenceNumber Barcode
Can the ShippingAPI - Packagegenerate a 128Reference numberbarcode below the1Z? Can itgenerate aPDF417Reference numberbarcode below the1Z?
Yes. A 128 Reference number barcode can be generated below the1z number, as the Shipping API can print a barcode in referencefield 1. The Shipping API - Package does not create a PDF417 asthey are not required. The purpose of the PDF417 was as a backupin case the PLD did not transmit from a shipping system. That isnot possible with the Shipping API - Package because a label isonly returned after the receipt of PLD.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 323
API Category Question AnswerShipping Currency
ConversionDoes the ShippingAPI - Packagesupportconversion ofJapanese Yen toUS Dollars?
No. The Shipping API - Package does not support currencyconversions.
Shipping From Suite/Apt#on Label
How does acustomer includethe Suite/Apt#within "From"address on thelabel returned forthe Shipping API -Package?
The customer needs to include the suite/apt # in delivery addresslines 2 or 3 within the request.
Shipping High ValueReport
How does theShipping API -Package workwith High Values?Does thepaperworkcomeback as aGIF image and getprinted on athermal printer?Or, does thecustomer need toproduce thesethemselves?
The High Value Report is returned in the response in one of thesupported formats specified by the developer. In each case it willbe a Base64 encoded file that must be decoded and printed. 2copies should be printed, both will be signed by the driver and thedriver will leave one copy as a receipt. The file, once decoded is asimple HTML file that can be printed locally
Shipping Pickup request Can a Pickup berequested throughthe Shipping API -Package?
No. All pickup requests must be made through the Pickup webservice. Details are available at the Developer resource center onups.com at: https://www.ups.com/upsdeveloperkit.
For customers who implemented the Shipping API - Package priorto January 2010 can continue to request a pickup through theShipping API as part of their shipping request. Please not thebilling of pickups changed in January 2010 and the customer willbe charged for each request regardless of the service type shipped.Please review the Rate & Service Guide for more details aboutpickup charges and services.
Shipping Label/Receipt Does the ShippingAPI - Packageprovide a labeland receipt butdoes not email areceipt for the usernor provide aconfirmationnumber?
The output of the Shipping API is a label. There is no receiptprovided. In addition, Ship API only provides the ability to havethe label emailed with the ERL (Electronic Return Label) serviceand not for forward shipments
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 324
API Category Question AnswerShipping Commerical
InvoiceCan a APIcustomer exportshipments to printa copy of thecommercialinvoice after thefact?
The API will return a commercial invoice as part of the responsefile. Therefore, the customer must save the image from theresponse file to retrieve it later. If they didn’t save the responsethen the API does not store it for retrieval.
Shipping Reprinting Labels Can a customerusing the ShippingAPI reprint alabel? No, at this time the Shipping API does not provide the ability to
reprint labels.
Shipping Oracle Are there anyknown issues withimplementingOracle with theShipping API -Package?
UPS is not aware of any issues customers have implementing theShipping API - Package using Oracle at this time. The UPSDeveloper APIs are designed so that they can be implemented inalmost any environment as long as the customer application canopen a secure connection of SSL and perform an HTTP Post.
Shipping Trade Direct Does the ShippingAPI support TradeDirect?
No, the Shipping API does not support Trade Direct shipments.
Shipping Paperless Invoice Does the ShippingAPI - Packagesupport PaperlessInvoice?
Yes. The developer guide for the Shipping API - Package lists thevalid countries for paperless invoice. See theAdditionalDocumentIndicator Element within the Interface Specwithin the developer guide. Once the shipment is processed anEDI (paperless invoice) or EDI PULL (paperless invoice andadditional export document indicator) will appear on the bottomright corner of the label image returned in the ShipAcceptResponselabel digest. This indicates that Paperless Invoicing has beenrequested.
Shipping Paperless Invoicevoids
Can a PaperlessInvoice shipmentbe voided throughthe Shipping API -Package? If yes,what happens tothe invoiceinformation?
Yes a Paperless Invoice shipment can be voided via the ShippingAPI - Package. If a shipment is voided and consequently thepackage is never tendered to UPS, then the paperless invoice datathat was uploaded with the shipment is not used to create aninvoice image and it is eventually purged.
Shipping Paperless InvoiceShipment
How doesPaperless Invoicework in terms ofthe documentationbeing forwarded?
Those customers setup for paperless invoicing shippinginternationally to a paperless supported country with the necessarydata for paperless will have the invoice automatically sent tobrokerage.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 325
API Category Question AnswerShipping Paperless Invoice
ConditionsWhat are the pre-conditionsrequired for acustomer to be setup on PaperlessInvoice?
The process to support Paperless Invoice using the Shipping APIare listed below:1. The Sold To country must be the same as the Ship To country.2. The customer must have a paperless invoice contract and be setup in UPS back end systems. (The UPS Account Manager shouldset this up.)3. The shipment is a non-document package forward shipmentrequiring a commercial invoice.4. The destination country is a valid paperless invoice destination.(A list of those destinations is available in the Developer’s Guide.)5. If additional export documents are required for the movement,the customer must specify an <AddtionalDocumentIndicator/> inthe XML request.If the above conditions have been met an EDI (paperless invoice)or EDI PULL (paperless invoice and additional export documentindicator) will appear on the bottom right corner of the label whichis returned in the ShipAcceptResponse XML. This indicates thatPaperless Invoicing has been requested.To implement paperless invoicing an <InternationalForms>container must be present in the XML to provide the informationnecessary to replace a paper invoice with a paperless (electronic)invoice. There is a section devoted to International Forms in theDeveloper’s Guide which provides the XML structure forCertificate of Origin (CO), Invoice, North American Free TradeAgreement Certificate of Origin (NAFTA CO), or Shipper's ExportDeclaration (SED) as appropriate. The shipper needs to add thecontainer along with the necessary international forms informationfor the shipment.
Shipping Ref Number 1 -Text Values onLabel
Can a customerimplementing theShipping API -Package "rename"reference valueone through theAPI
No, The reference field descriptions cannot be modified at thistime. You must use one of the values provided in the Developer’sGuide.
Shipping Batch Processing Does the ShippingAPI supportBatch?
No, the Shipping API only supports transactional requests.
Shipping Resi/CommIndicator
How do youindicate the "ShipTO" asresidential?
Use the ResidentialAddress element outlined within the ShippingAPI - Package developer guide.
Shipping Voids How are voidsprocessed? For forward and return movements send a VoidShipmentRequest
element and UPS will return a VoidShipmentResponse. Forwardmovements must be voided within 28 days of creating the label.Return shipments must be voided within 24 hours.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 326
API Category Question AnswerShipping Tracking
NumbersCan a customercreate their owntracking numbersusing the ShippingAPI - Package?
No…a customer cannot create their own tracking numbers usingthe Shipping API - Package. The tracking numbers will beautomatically created and returned in the response
Shipping UPS World Ease Does the ShippingAPI - Packagesupport UPSWorld Ease?
No…the Shipping API - Package does not support UPS WorldEase at this time.
Shipping InternationalForms
Does the ShippingAPI - Packagesupportinternationalforms?
Yes.
Shipping Shipper's ExportDeclaration(SED)
Does the customerhas to completetheir SED filing oris there an optionfor UPS to do thatfor the customervia the ShippingAPI?
Yes, the customer has to complete their own filing and you canidentify it has been filed in your request but the Shipping API doesnot provide an option UPS to file a customer's SED.
Shipping Label Does the WebServices versionof the ShippingAPI - Packagebehave differentlyin rendering alabel than theXML version ofthe Shipping API -Package?
The Web Services Shipping API - Package behaves similarly as theXML Shipping API - Package in that the label elements returned inthe Shipment Accept response consist of two parts, both of whichare base64 encoded data which must be decoded. Part one consistsof the label image and part two contains the HTML which is usedto properly size the label image in a browser for display andprinting. When the two parts are combined they form a unit whichwill satisfy the requirements for printing a proper label to apply toa package. This ensures the label will meet the standards necessaryfor UPS to scan and process the label within the shipping system.
Shipping MaximumPackages withina shipment
Is there adifferencebetween theShipping API -Package WebService versusXML versions inthe number ofpackages that canbe included withina forwardmovement?
There is no difference between the Shipping XML Tool and WebService Tool regarding the maximum number of packages allowedfor forward movements. The Web Service Developer Guideindicates 200 is the maximum.
Shipping CWT andShipping API
Is there a solutionusing the ship API(or other solution)that would prompt
No, there is no solution in place for the Ship API.In order to obtain the CWT price with the Ship API, the pkgs.would have to be processed as one shipment, the UserId being used
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 327
API Category Question AnswerUPS billing orPLD upload orother to aggregatesingle piecepackages intohundredweightpricing (shipment)after the packagehas beenprocessed?
must be ABR enabled and you must include the<NegotiatedRatesIndicator> tags to receive the Hundredweightrates.
Shipping ReferenceNumber Rules
What does theShipping API -Package supportin terms ofReferenceNumbers?
Supports Two Shipment Level Reference Numbers or two packagelevel reference numbers You cannot use the Shipment Level andPackage Level Reference numbers at the same time within a SHIPAPI shipment.Shipment Level Reference Numbers are only allowed forshipments that are not US to US (origin\destination) or PR to PR(origin\destination)Package Level Reference Numbers are only allowed for shipmentsthat are US to US (origin\destination) or PR to PR(origin\destination).Reference Number Propagation1. In a Ship API Shipment, if there is no Package Level. Ref# onthe 1st package of the shipment, the Shipment Level. Referencenumber(s) will be propagated to all packages.Reference Number PropagationIn a Ship API Shipment, if there is no Shipment level referencenumber and there is Package Level. Reference number on the 1stpackage, the 1st package's reference number will be propagated upto the Shipment Level.
Shipping Labeling Does the ShippingAPI support ASCBIO labels likeWorldShip does?
The Ship API does not support ASC BIO on the label it is acontract service that is not supported by the Shipping
Shipping Label ReferenceNumber
Can any of thereference fields beblocked fromprinting on thelabel through aShipping API?
At this time we are unaware of a facility which suppressesreference number printing on the label when they are included inthe shipment data. However, please note that reference numbers arenot required and may be omitted if there is no need for them.
Shipping Certification What is requiredto certify for theShipping API -Package?
Please review the Customer Integration Environment section ofUPS Developer’s Guide for certification requirements. EssentiallyUPS needs to see the source XML and copies of your labels tocertify you.
Shipping SignatureRequired
Does the ShippingAPI - Packagesupport SignatureRequired service?
Yes.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 328
API Category Question AnswerShipping Future Date
ShippingIs there a futuredate shippingcapability withinthe Shipping API -Package?
No. We do not support future date shipping. All packages areconsidered tendered on the date of their transaction.
Shipping Security forCredit cards
Please describethe security on theUPS web server?Is the credit cardinformationsubmitted over anencrypted (secure)connection?
Yes, we use 128 bit encryption for all aspects of the APIs. Inaddition credit card information is “tokenized” once we receive it,so we never store it in plain text
All General - security Does UPS supportchained orunchained digitalcertificates?
Yes, we support chained digital certificates.
All API availability Within whatcountries are theDeveloper APIsavailable?
The Developer APIs are available in the countries listed at ups.comby API and by country under the UPS Developer Resource centerlocated at: https://www.ups.com/upsdeveloperkit
All Mail Innovations Is MailInnovationsavailable withinany of theDeveloper APIs? No, Mail Innovations is not available within a Developer API.
All UPS Logos HighResolution
How do I getaccess to higherresolution logosthan what areavailable withinthe downloads forthe UPSDeveloper Kit -Developer APIs?
Customers are not routinely provided these UPS shield graphicswithout having a design/layout submitted to UPS BrandManagement for approval.The customer needs to visit:https://www.upsbrandexchange.com/brandHome.awspThis site will take them through the process for downloading alimited set of sample images for layout, and how to secure anapproval for customer use, as well as the high-resolution graphics.
All TechnicalSupport emailform
Is XPCI a requiredfield within theemail supportform? No. it is not required.
All TechnicalSupport
How do I gettechnical supportfor the APIs atups.com?
Go to the Developer Resource Center and select email supportunder the UPS Developer Kit Support Column (link noted):http://www.ups.com/content/us/en/resources/techsupport/developercenter.html
All Characters Can JapaneseKanji character berecognized byUPS DeveloperAPIs? No.
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 329
API Category Question AnswerAll Basic Do any of the
Developer APIssupport Basicservice? No. Basic is not supported within the Shipping API.
All ASMX Are the WebServices versionsof the APIsASMX based?
No. All Web Services are XML based. This is described in thesection 'UPS OnLine API Technologies' of every developer's guide
All Pointing to thewrong URL forAPI
I keep getting,"XML documentis well formed butthe document isnot valid." errormessage. Whatam I doingwrong?
The "XML document is well formed but the document is not valid"error message is generally returned when an element in the XMLrequest does not adhere to the formatting defined within the Xpathsection of that API's developer guide. When the API returns thiserror it indicates the field which is not valid in theErrorLocationElementName element in the XML response. Whenwe test the XML provided by you earlier in this email chain we areable to receive a successful response.
Most likely you may be posting to an incorrect URL. The errormessage returned from the API should have contained a linesimilar to the following:
<ErrorLocationElementName>XPATH TO FIRST ELEMENTWHERE XML DOESN’T MATCH EXPECTEDFORMAT</ErrorLocationElementName>
All Phone Support Is phone supportprovided for theUPS DeveloperKit - DeveloperAPIs? If so, whatis the number andwhat are the hoursof operation?
Yes. Phone support is provided for basic API questions. Thisincludes integration questions and production questions. However,customer's questions that cannot be answered verbally will bedirected to the email support form at ups.com.Phone Support Hours:M-F 730am- 9pm ESTSa-Su 9am - 6pm EST800-247-9035
All Examples of APIImplementations
Are there anyexamples ofimplementationsthat we can reviewto understand howbest to utilize theAPIs? No, we do not provide implementation examples.
All Code languagessupported
Do the APIssupport PHP orPerl with codesample within theDeveloper Guidesor the developerkit zip files? Yes, We currently support PHP or Perl with sample code.
All Passwordchanges
Are there newlogin passwordrequirements? Yes, for new or updated passwords the following rules apply:
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 330
API Category Question Answer
Must be 8 to 26 characters long
Must include 3 of the following categories:o Lowercase lettero Uppercase lettero Numbero Special character (#, %, @,*)o Space
Must not contain any of the following information:o User IDo Nameo E-mail address
Note: (must be at least 8 characters), at the minimum itmust also include upper and lower case letters and anumber.For example: PaSSword22