Shipping Package WebServices Developers Guide
Shipping Package WebServices Developers Guide
7/09/2012
Shipping Package
Web Services
Developers Guide
July 9, 2012
Notice
In all communications with UPS concerning this document, please refer to the document date located on the
cover.
Copyright
The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any
form or by any means without the written permission of United Parcel Service is strictly prohibited.
© Copyright 2012 United Parcel Service of America, Inc. All Rights Reserved.
Trademarks
Some of the UPS corporate applications use U.S. city, state, and postal code information obtained by United
Parcel Service of America, Inc. under a non-exclusive license from the United States Postal Service.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 2
Shipping Package – WebServices 7/09/2012
Table of Contents
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 3
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 4
Shipping Package – WebServices 7/09/2012
Your development of an application using the UPS Web Service APIs are governed by the UPS
Technology Agreement or UPS Customer Technology Agreement you entered into with UPS. The
following are key legal requirements from these agreements for the UPS Web Service APIs. For
more information on all requirements for the UPS Web Service APIs, please refer to the UPS
Technology Agreement or the Customer Technology Agreement.
Permitted Territories
This document can only be used in the countries listed in Exhibit C of the UPS Technology
Agreement or UPS Customer Technology Agreement.
Use
The application must not be designed to allow distribution of information received through
the UPS Web Service APIs to third parties, other than to persons having a bona fide interest
in such information (e.g., the shipper, receiver or the third party payer).
All screens or forms generated by your application including information received through
the UPS Web Service APIs must include (1) the UPS Mark positioned in reasonable
proximity to the Information and of an appropriate size to readily identify the source of the
Information as UPS and (2) the following language at the bottom of every screen that
displays the UPS Mark: "UPS, the UPS brand mark, and the Color Brown are trademarks of
United Parcel Service of America, Inc. All Rights Reserved". Except as set forth in the
preceding sentence, you have no right to use the UPS Mark without the prior written
approval of UPS.
You shall not use the UPS Mark in association with any third party trademarks in a manner
that might suggest co-branding or otherwise create potential confusion as to source or
sponsorship 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 of
empty 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 Mark
must be 1/3x, where x equals the height of the UPS Mark.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 5
Shipping Package – WebServices 7/09/2012
UPS Customers that may find value in this new service include shippers in the
high-value, high-tech, healthcare and retail business segments and are in need
of improved reverse logistics processes because they are currently facing the
challenges where shipper have difficulty collecting the exchange package and
customers do not have the correct packing materials.
2. For all exchanges that are not like-for-like, printed text on the label
will be:
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 6
Shipping Package – WebServices 7/09/2012
Both services are available in Canada, China, Europe, United States, and a
number of other countries both for origin and destination services (please see
appendix or UPS Rate and Service Guide).
Note: There are no guarantees for the service other than the service level
chosen for transportation movements.
Dry Ice Overview
Coolants and refrigerants which are used to keep temperature-sensitive
products cold or frozen while in transit. Dry ice (frozen carbon dioxide) and
gel packs are the most common types of coolants / refrigerants used for
transport. This type of shipment must be marked as "Dry Ice" and its medical
purpose noted.
Please refer to UPS.com to review the rules, for Preparing Dry Ice Shipments
under IATA or 49 CFR.
The Paperless Invoice and Paperless NAFTA C/O shipper will be allowed to
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 7
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 8
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 9
Shipping Package – WebServices 7/09/2012
UPS Label Delivery: Labels and Receipts are supported in local language for
the above mentioned countries.
Lables and Receipts are supported in Local languages for Bulgaria, Estonia,
Greece, Latvia, Lithuania
If you receive an email that your case log has been escalated
the following hours apply
For more details please download and review the latest updated
Developer Guides.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 10
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 11
Shipping Package – WebServices 7/09/2012
Details for accessing UPS Developer API Web Services are defined within Web Services Definition
Language (WSDL) files that are part of the UPS Developer Kit. Most modern development
environments include support for automatically importing WSDL files and generating skeleton code
to access the services. Although the specific details depend on the particular development
environment, the general procedure is as follows.
1. Review the UPS Technology Agreement available at www.ups.com. This agreement requires that
you 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, this
step will result in skeleton code (such as Java or C# classes) for accessing the Web Services
3. 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 done
at myups.com.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 12
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
The UPS Developer APIs can be implemented withal of these types of applications and
many others. Virtually any software that needs instant, up-to date access to UPS services
can take advantage of UPS Developer APIs.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 14
Shipping Package – WebServices 7/09/2012
UPS should receive attribution and branding in all applications (including websites and
software applications) that use the Developer API Web Services. No End User, Third Party
Developer or Access User should be permitted to use the Developer API Web Services
without providing branded recognition to UPS. Your use of the UPS logo can in no way
imply endorsement, sponsorship or certification of your e-commerce web site or enterprise
application by UPS. You are not allowed to use or alter the information returned by the UPS
Developer API Web Service in a way that misrepresents the information or the functionality
of the web service.
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 your
application. UPS may review each application for compliance with the UPS Technology
Agreement. See the Customer Integration Environment chapter for more information on the
certification process.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 15
Shipping Package – WebServices 7/09/2012
Figure 5: The Eclipse Web Tools Platform (WTP) project provides support for Web Services in a Java
development environment.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 16
Shipping Package – WebServices 7/09/2012
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 be
similar or the same. Web Services development relies on a technology known as Web
Services Definition Language (WSDL). This technology is a formal language based on the
Extensible Markup Language (XML). WSDL precisely and completely describes Web
Services, and standard Web Services documents themselves by “publishing” one or more
WSDL files. The UPS Developer APIs support three different Web Services, each of which
it documents in a separate WSDL file. These WSDL files are included in the UPS
Developer 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 central
repository accessible on the Internet, most often the Universal Description, Discovery and
Integration (UDDI) at http://uddi.xml.org/. UPS does not publish its WSDLs through these
repositories. As a result, the development tool should be directed to import the WSDL
locally rather than through a public directory.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 17
Shipping Package – WebServices 7/09/2012
There are four channels for obtaining support for the UPS Developer Kit (UDK) APIs all of which
are 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
1. Go to www.UPS.com.
2. Mouse over the Support tab and select Technology Support
3. 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 Developer
Resource Center web page. This is the support channel for technical support and questions
regarding API integration. It is accessed by logging in to myUPS and attaching your XML
Request/Response files and any other pertinent information about your integration [please
see Appendix A for detailed instructions and screen shots]. UPS Email Technical Support
can only support the XML Request/Response pair. They cannot consult customers and
developers 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 Developer
Resource Center web page. This is a community forum for developers to answer one
another’s questions and share information therefore the response times may be slower. If
you have an immediate need for technical support contact UPS Email Tech Support above
and they will respond within 4 business hours (see hours below). The remainder of the site
contains online versions of all API developer guides and FAQs.
UPS Developer Kit Knowledge Base- available in the right hand column of the UPS
Developer Resource Center web page. This is a self-service support .pdf document that can
be opened or downloaded. It contains over 240 frequently asked questions about every
mode and service supported by the UDK APIs. It’s also available in an online version at
the UPS Developer Kit Community.
General Question Phone Support (U.S. only) – available in the right hand column of the
UPS Developer Resource Center web page. Phone support is the least comprehensive
support mechanism for the developer. This channel of support addresses questions about
the user interface at ups.com and how to gain access to the APIs and navigate the Access
Key request process. They do not provide technical support for XML Request/Response
issues and questions. Those types of questions must go through Email Technical Support.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 18
Shipping Package – WebServices 7/09/2012
(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 Friday
and 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 the
initial request. Business hours are defined as hours of operation of the tech support desks when
service technicians are working.
This means if you submit an email tech support request after business hours the 4 hour response
clock will not begin until the following morning at 7:30am EST M-F and 9am EST Saturday and
Sunday (UPS Holidays excluded).
PLEASE NOTE:
If you are sent an email from 1st Level Email Tech Support stating your case log # has been
escalated, the 24 hour planned response clock starts from the time you receive the email from 1 st
Level Email Tech Support (provided the Escalation Support desk is open). If not, then the clock
will begin when the Escalation Support desk opens.
c. Hours of operation: 8am to 8pm EST Monday through Friday. The desk is closed weekends and on
UPS Holidays.
d. Escalation Support desk response time is planned to be within 24 hours during normal hours of
operation.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 19
Shipping Package – WebServices 7/09/2012
This means if your case log is escalated at 8:30pm on Friday, you will not receive an email
response 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 24
hours 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 it
appears as if it’s taking too long. Below is a brief example where the planned response time is met
but nothing happened over the weekend.
Example –
Customer submits tech support email at 7am on Friday. The clock for 4 hour response will not
begin until 7:30am EST for the 1st level tech support team. They respond within 4 hours at
11: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 the
problem and have planned to either update the customer within 24 hours or solve the problem
within 24 hours. Either way, the customer will hear from the escalation desk within 24 hours with
some type of disposition on their case log. The escalation desk clock begins when they receive a
case log from 1st level tech support during business hours, M-F 8am to 8pm EST. In this case, the
clock begins at 11:30am EST if the escalation desk does not have an answer by 8pm EST on Friday
the desk has until 11:30am EST the following Monday to either provide a resolution or a status
update to the customer on the case log. The Escalation Desk continues work on the case log on
Monday beginning at 8am EST. They receive resolution at 1030am EST Monday and send the
resolution to the customer. The Escalation Desk has met their 24 hour planned response time.
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 escalations
may delay the process. If a quicker response is required, please access the US web site directly and
complete an email technical support form from the US web site.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 20
Shipping Package – WebServices 7/09/2012
e-mail of updates and changes to the Developer APIs. You can return to the UPS Support
area of ups.com for the latest updated information about UPS Developer APIs.
In addition, UPS recommends that you complete the secondary contact information
to ensure that your organization receives the latest updates.
You should update your profile when changes or responsibilities for the UPS
Developer APIs change within your company.
To change your profile information, go to UPS.com and log in using your MyUPS.com
User ID.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 21
Shipping Package – WebServices 7/09/2012
As the figure illustrates, XML distinguishes different parts of a document with labels
known as tags. Tags in the example include <book>, <title>, <author>, <firstname>, etc. In
this 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 the
World 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 Access
Protocol (SOAP) defines the methods that Web Services use to transfer those documents.
The SOAP standard defines several different approaches for sending XML documents, but
most Web Services (including those from UPS) rely on a single approach. That method uses
the Hypertext Transfer Protocol (HTTP) to send a message from a Web Services client to a
server. The server replies in the HTTP response. Figure 2 shows an example of a SOAP
header portion of a web services message.
SOAP, like XML, is governed by the World Wide Web Consortium. More information can
be found on the Internet at the W3C’s XML Protocol Working Group’s page, located at
http://www.w3.org/standards/xml/
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 22
Shipping Package – WebServices 7/09/2012
This security header block provides a mechanism for attaching security-related information
targeted at a specific recipient in the form of a SOAP actor/role. UPSSecurity is a container
element which provides the user access verification for the API Web Service.
<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>
Figure 2: A sample of the UPSSecurity header portion of a web services message which structures its
content as an XML document.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 23
Shipping Package – WebServices 7/09/2012
currently publish WSDL documents for UPS Developer APIs in such directories. Instead,
UPS delivers the WSDL documents as part of the software development kit.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 24
Shipping Package – WebServices 7/09/2012
<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>
Figure 3: WSDL documents are specialized XML documents that define Web Services. Example
ONLY.
Figure 4: SSL creates a secure channel across a network and protects confidential
communications using that channel.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 25
Shipping Package – WebServices 7/09/2012
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 have
issues when SSL Certificates are renewed. It is recommended that UPS Developer Kit users not store UPS
Certificates internally; however if a customer finds this necessary due to specific needs within their
company, 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 proper
certificate is by placing a UPS Developer Kit URL, https://onlinetools.ups.com/ups.app/webservices/Ship
for example, in a browser, connect to the URL, and double-click on the "lock" on the bottom right of the
window (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 been
provided with the following certificate which should allow you to connect once it has been successfully
added. You should be able to paste the following string into Notepad and save the file locally. Then, it will
be necessary to have the client application reference the file so that it will know that this is the trusted
certificate 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+hYxDANBgkqhkiG9w0BAQUFADCB
wTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTwwOgYDVQQL
EzNDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5
IC0gRzIxOjA4BgNVBAsTMShjKSAxOTk4IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1
dGhvcml6ZWQgdXNlIG9ubHkxHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv
cmswHhcNMDkwMzI1MDAwMDAwWhcNMTkwMzI0MjM1OTU5WjCBtTELMAkGA1UEBhMC
VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBU
cnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93
d3cudmVyaXNpZ24uY29tL3JwYSAoYykwOTEvMC0GA1UEAxMmVmVyaVNpZ24gQ2xh
c3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzIwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQDUVo9XOzcopkBj0pXVBXTatRlqltZxVy/iwDSMoJWzjOE3JPMu
7UNFBY6J1/raSrX4Po1Ox/lJUEU3QJ90qqBRVWHxYISJpZ6AjS+wIapFgsTPtBR/
RxUgKIKwaBLArlwH1/ZZzMtiVlxNSf8miKtUUTovStoOmOKJcrn892g8xB85essX
gfMMrQ/cYWIbEAsEHikYcV5iy0PevjG6cQIZTiapUdqMZGkD3pz9ff17Ybz8hHyI
XLTDe+1fK0YS8f0AAZqLW+mjBS6PLlve8xt4+GaRCMBeztWwNsrUqHugffkwer/4
3RlRKyC6/qfPoU6wZ/WAqiuDLtKOVImOHikLAgMBAAGjggKpMIICpTA0BggrBgEF
BQcBAQQoMCYwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnZlcmlzaWduLmNvbTAS
BgNVHRMBAf8ECDAGAQH/AgEAMHAGA1UdIARpMGcwZQYLYIZIAYb4RQEHFwMwVjAo
BggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL2NwczAqBggrBgEF
BQcCAjAeGhxodHRwczovL3d3dy52ZXJpc2lnbi5jb20vcnBhMDQGA1UdHwQtMCsw
KaAnoCWGI2h0dHA6Ly9jcmwudmVyaXNpZ24uY29tL3BjYTMtZzIuY3JsMA4GA1Ud
DwEB/wQEAwIBBjBtBggrBgEFBQcBDARhMF+hXaBbMFkwVzBVFglpbWFnZS9naWYw
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 26
Shipping Package – WebServices 7/09/2012
ITAfMAcGBSsOAwIaBBSP5dMahqyNjmvDz4Bq1EgYLHsZLjAlFiNodHRwOi8vbG9n
by52ZXJpc2lnbi5jb20vdnNsb2dvLmdpZjApBgNVHREEIjAgpB4wHDEaMBgGA1UE
AxMRQ2xhc3MzQ0EyMDQ4LTEtNTIwHQYDVR0OBBYEFKXvCxHOwEEDo0plkEiyHOBX
LX1HMIHnBgNVHSMEgd8wgdyhgcekgcQwgcExCzAJBgNVBAYTAlVTMRcwFQYDVQQK
Ew5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy
eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5
OCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYD
VQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrghB92f4Hz6getxB5Z/uniTTGMA0G
CSqGSIb3DQEBBQUAA4GBAGN0Lz1Tqi+X7CYRZhr+8d5BJxnSf9jBHPniOFY6H5Cu
OcUgdav4bC1nHynCIdcUiGNLsJsnY5H48KMBJLb7j+M9AgtvVP7UzNvWhb98lR5e
YhHB2QmcQrmy1KotmDojYMyimvFu6M+O0Ro8XhnF15s1sAIjJOUFuNWI4+D6ufRf
-----END CERTIFICATE-----
Finally, for more information on installing the latest VeriSign CA Root Certificate, please click on the links
below:
https://knowledge.verisign.com/support/ssl-certificates-
support/index?page=content&id=SO7154&actp=search&viewlocale=en_US&searchid=1308235124970
https://knowledge.verisign.com/support/ssl-certificates-
support/index?page=content&actp=CROSSLINK&id=AR1553
https://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 client
applications are authorized to access UPS customer information. To gain that authorization, client
applications must supply a username, password, and license key in all requests, as the example in Figure 5
shows. UPS corporate applications verify this information before returning sensitive information for the
client applications
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 27
Shipping Package – WebServices 7/09/2012
</env:Header>
<env:Body>
<!-- the content of the message goes here -->
</env:Body>
</env:Envelope>
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 appropriate
messages that client applications can use to pass the security credentials as SOAP header
elements. Development tools can import the WSDL document and automatically format the
request messages appropriately.
Client: The request that the client application sent was not valid.
Server: Although the client application’s request did not have any errors itself, the
UPS Developer APIs encountered an error when trying to process it.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 28
Shipping Package – WebServices 7/09/2012
The Shipping API makes UPS shipping WebServices available to client applications
that communicate with UPS using the Internet. With this API, applications can
prepare or schedule small package shipments, manage returns, or cancel previously
scheduled shipments.
1.7.1.1 Shipments
Shipping Web Services give your applications many ways to manage the shipment
of small packages to their destination. UPS offers a range of delivery time frames
from same day to standard ground transportation. Shipments may be within the
United States or international, and they may range from letter documents to large
packages. (Note: for freight services, please refer to section on UPS Freight Web
Services.)
UPS also supports many valued added services for shipments, including collect on
delivery (COD), declared value, delivery confirmation, and automatic notification
of delivery status.
For full details on all UPS shipping services, please consult the latest UPS Rate and
Service Guide available at http://www.ups.com. Note that these shipments are
sometimes called forward shipments or outbound shipments to distinguish them
from returns.
1.7.1.2 Cancellations (Voids)
If you need to cancel, or void, a previously scheduled shipment, the UPS Shipping
Services let client applications automate that task.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 29
Shipping Package – WebServices 7/09/2012
1.7.1.3 Returns
The Shipping API also supports UPS returns services. (Note: UPS can provide a
label for a return shipment even if it did not provide a label for the forward
shipment.) 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 label
to your customer, or request a UPS driver to pick up the package at the your
customer’s location. As with forward shipments, details on return shipment services
can be found in the latest UPS Rate and Service Guide at http://www.ups.com.
Because forward and return shipments share many of the same characteristics (they have an
origin, destination, service type, etc.), UPS APIs use the same procedure and message types
for both services. Cancelling or voiding a shipment requires its own procedure and message
types.
1.7.2.1 Two-Stage Shipments and Returns
For forward and return services client applications may use a two-stage procedure
to process a shipment. As Figure 1shows, the procedure begins when a client
application sends a ShipConfirmRequest to UPS. This request provides details of
the shipment and the desired UPS services. UPS replies to this request with a
ShipConfirmResponse, which completes the first stage of the process.
ShipConfirmResponses include estimated rates for the shipment. If the rates and
services are acceptable to the client, it may move to the second stage by sending a
ShipAcceptRequest to UPS. This message authorizes UPS to charge for the
shipment and process the shipment data. UPS acknowledges the request by
returning a ShipAcceptResponse. For forward shipments and for preprinted return
labels, this response includes a label for the shipment..
1 ShipConfirmRequest
2
Shipping ShipConfirmResponse Client
API Application
3
ShipAcceptRequest
ShipAcceptRequest
4 ShipAcceptResponse
Figure 1. Forward and return shipments may use four separate messages to complete the
shipment processing.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 30
Shipping Package – WebServices 7/09/2012
Clients that want to include preprinted labels as part of forward shipments must
perform this four-step procedure twice. One time processes the forward shipment,
and the second time retrieves the return label.
Shipment
1 Request
Shipping Client
API Internet Application
t Shipment
2
Response
Figure 2. Clients may also process a shipment with a single request and response .
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 31
Shipping Package – WebServices 7/09/2012
VoidShipment
1 Request
Shipping Client
API Internet Application
VoidShipment
2
Response
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 32
Shipping Package – WebServices 7/09/2012
1.8.1.1 Overview
Service Operations: Shipment, ShipConfirm, ShipAccept
Type: Request-Response (client sends a request to UPS, and the UPS server replies
with a response)
SOAPAction Header: https://wwwcie.ups.com/webservices/Ship
Note: The Shipment Operation is a single pass way to create a shipment and
generate all the accompanying documents and labels. With a single transaction
which sends a ShipmentRequest and receives the ShipmentResponse, the shipment
is complete.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 33
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
One
Yes
N/A
ShipmentRequest /ShipmentRequest
container
One
Yes
N/A
Request /ShipmentRequest/Request Request Container N/A
Optional Processing.
nonvalidate = No address
validation. validate = Fail on
failed address validation.
Defaults to validate. Note:
Full address validation is not
performed. Therefore, it is
the responsibility of the
Shipping Tool User to
ensure the address entered
1...15
string
One
Yes
TransactionReference
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 34
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The client uses
CustomerContext to
synchronize
request/response pairs. The
client establishes
CustomerContext, which can
contain any information you
1...512
want, as along as it is valid
string
One
/ShipmentRequest/Request/TransactionRefer XML; it is echoed back by
No
CustomerContext ence/CustomerContext the server. N/A
container
Refer to the Shipment
container table for the
One
Yes
N/A
elements under Shipment
Shipment /ShipmentRequest/Shipment Shipment Container container.
Required if all of the listed
conditions are true:
ShipFrom and ShipTo
countries are not the
The Description of Goods for same; The packaging
the shipment. Applies to type is not UPS Letter;
international shipments only. The ShipFrom and or
Provide a detailed ShipTo countries are not
description of items being in the European Union or
shipped for documents and the ShipFrom and ShipTo
non-documents. Provide countries are both in the
String
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 35
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Return Service types:|‘2’ =
1
UPS Print and Mail (PNM)|‘3’
= UPS Return Service 1-
Attempt (RS1) |‘5’ = UPS
Return Service 3-Attempt
(RS3)|‘8’ = UPS Electronic
Return Label (ERL)|‘9’ =
UPS Print Return Label
(PRL)|‘10’ = UPS Exchange
Print Return Label|‘11’ =
UPS Pack & Collect Service
1-Attempt Box 1|‘12’ = UPS
Pack & Collect Service 1-
Attempt Box 2|‘13 = UPS
Pack & Collect Service 1-
Attempt Box 3|‘14’ = UPS
Pack & Collect Service 1-
Attempt Box 4|‘15’ = UPS
Pack & Collect Service 1-
Attempt Box 5|‘16’ = UPS
Pack & Collect Service 3-
Attempt Box 1|‘17’ = UPS
Pack & Collect Service 3-
Attempt Box 2|‘18’ = UPS
Pack & Collect Service 3-
Attempt Box 3|‘19’ = UPS
Pack & Collect Service 3-
Attempt Box 4|‘20’ = UPS
string
Yes*
One
/ShipmentRequest/Shipment/ReturnService/D
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 36
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Indicates a shipment
0
contains written, typed, or
printed communication of no
commercial value. If
DocumentsOnly is not
specified then it implies that Empty Tag. Valid only for
the shipment contains non shipments with different
documents or documents of origin and destination
commercial value. Default is countries. The origin
a shipment contains non- country is not US, and the
string
One
/ShipmentRequest/Shipment/DocumentsOnlyI documents or documents of destination country is not
No
DocumentsOnlyIndicator ndicator commercial value. CA, PR or MX.
Container
One
Yes
N/A
Container tag for Shipper's
Shipper /ShipmentRequest/Shipment/Shipper information N/A
1...35
string
One
Yes
Required if destination is
international. Required if
Shipper's Attention Name. Invoice and Co
For forward Shipment 35 International forms are
characters are accepted, but requested and the
1...35
string
Cond
One
Conditionally required if
SED form (International
forms) is requested and
1...15
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 37
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Cond
One
N/A
Container tag for Phone
Phone /ShipmentRequest/Shipment/Shipper/Phone Number N/A
Valid values are 0 - 9.If
Shipper country is US,
PR, CA, and VI, the
layout is area code, 7
digit PhoneNumber or
area code, 7 digit
PhoneNumber, 4 digit
extension number; for
other countries, the layout
is CountryCode, area
code, 7 digit number. A
String
phone number is required
1...15
Yes*
One
/ShipmentRequest/Shipment/Shipper/Phone/ if destination is
Number Number Shipper's phone Number. international.
String
1...4
One
/ShipmentRequest/Shipment/Shipper/Phone/
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 38
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
6
Size must be six
alphanumeric characters.
Must be associated with
the UserId specified in the
AccessRequest XML The
account must be a valid
UPS account number that
is active. For US, PR and
CA accounts, the account
must be either a daily
pickup account, an
occasional account, or a
customer B.I.N account.
Drop Shipper accounts
are valid for return service
shipments only if the
account is Trade Direct
(TD) enabled. All other
accounts must be either a
string
One
Yes
/ShipmentRequest/Shipment/Shipper/Shipper Shipper's six digit account daily pickup account, or
ShipperNumber Number number. an occasional account.
String
1...14
One
/ShipmentRequest/Shipment/Shipper/FaxNum
No
/ShipmentRequest/Shipment/Shipper/EMailAd
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 39
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The package should be
returned to this address if
the package is
undeliverable. This
address appears on the
upper left hand corner of
the label. Note: If the
ShipFrom container is not
present then this address
will be used as the
ShipFrom address. If this
Container
address is used as the
ShipFrom the shipment
One
Yes
N/A
will be rated from this
Address /ShipmentRequest/Shipment/Shipper/Address Address tag Container. origin address.
The Ship from street
address including name and
number (when applicable).
Up to three occurrences are
allowed; only the first is
printed on the label. 35
characters are accepted, but
for the first occurrence, only
30 characters will be printed
on the label for return
shipments, and for RFA
Shipments only 20
Three
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 40
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Required if shipper is in
the US or CA. If Shipper
country is US or CA, then
the value must be a valid
Shipper's state or province US State/ Canadian
code. For forward Shipment Province code. If the
5 characters are accepted, country is Ireland, the
string
Cond
2...5
One
/ShipmentRequest/Shipment/Shipper/Address but only 2 characters will be StateProvinceCode will
StateProvinceCode /StateProvinceCode printed on the label. contain the county.
If Shipper country is US
or Puerto Rico, 5 or 9
digits are required. . The
character - may be used
to separate the first five
digits and the last four
digits. If the Shipper
country is CA, then the
postal code is required
and must be 6
alphanumeric characters
whose format is A#A#A#
where A is an uppercase
letter and # is a digit. For
all other countries the
postal code is optional
and must be no more
string
Cond
1...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 41
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Must be a valid UPS
2
Billing country code. For
Forward shipments it
must also be an allowable
UPS origin country. For
Return Shipment the
country code must meet
the following conditions:
1) At least two of the
following country codes
are the same: ShipTo,
ShipFrom, and Shipper.2)
None of the following
country codes are the
same and are a member
of the EU: ShipTo,
ShipFrom, and Shipper.3)
If any of the two following
Shipper’s country country codes: ShipTo/
code.Refer to Origin Country ShipFrom/ Shipper are
Information table for valid members in EU otherwise
string
One
/ShipmentRequest/Shipment/Shipper/Address Yes origin countries and their check if the shipper has
CountryCode /CountryCode UPS Billing codes. Third Country Contract.
Container
One
Yes
N/A
Consignee’s company
name. For RFA Shipment 35
characters are accepted, but
1...35
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 42
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
1...15
One
/ShipmentRequest/Shipment/ShipTo/TaxIdent Consignee’s tax
No
TaxIdentificationNumber ificationNumber identification number. N/A
Container
Cond
One
N/A
Phone /ShipmentRequest/Shipment/ShipTo/Phone Container for Phone Number N/A
Required for: UPS Next
Day Air Early A.M.
service, and when Ship
To country is different
than the ShipFrom
country. If ShipTo country
is US, PR, CA, and VI,
the layout is area code, 7
digit PhoneNumber or
area code, 7 digit
PhoneNumber, 4 digit
extension number;
String number; for other
countries, the layout is
1...15
Yes*
One
If ShipTo country is US
String
10 digits allowed,
1...15
One
/ShipmentRequest/Shipment/ShipTo/EMailAd
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 43
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
One
Yes
N/A
Address /ShipmentRequest/Shipment/ShipTo/Address Address Container. N/A
Address Line of the
consignee. For RFA
Shipment 35 characters are
accepted, but only 25
String
Three
characters will be printed on
1...35
Yes
/ShipmentRequest/Shipment/ShipTo/Address/ the label from AddressLine Max Occurrence can be
AddressLine AddressLine elements. 3.
Consignee’s city. For RFA
Shipment 30 characters are
accepted, but only 16
characters will be printed on
the label. For Shipment
other than RFA 30
1...30
string
One
Yes
/ShipmentRequest/Shipment/ShipTo/Address/ characters are accepted, but
City City only 15 are accepted. N/A
2
If destination is US or CA,
then the value must be a
valid US State/ Canadian
Province code. If the
Consignee’s state or country is Ireland, the
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 44
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
If the ShipTo country is
US or Puerto Rico, 5 or 9
digits are required. . The
character - may be used
to separate the first five
digits and the last four
digits. If the ShipTo
country is CA, then the
postal code is required
and must be 6
alphanumeric characters
whose format is A#A#A#
where A is an uppercase
letter and # is a digit.
Otherwise optional. For
all other countries the
postal code is optional
and must be no more
string
Cond
1...9
One
/ShipmentRequest/Shipment/ShipTo/Address/ than 9 alphanumeric
PostalCode PostalCode Consignee’s postal code. characters long.
Must be a valid UPS
2
Billing country code. For
Return Shipment the
country code must meet
the following conditions:
1) At least two of the
following country codes
are the same: ShipTo,
ShipFrom, and Shipper.
2) None of the following
country codes are the
same and are a member
of the EU: ShipTo,
ShipFrom, and Shipper.
3) If any of the two
following country codes:
ShipTo/ ShipFrom/
Shipper are members in
EU otherwise check if the
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 45
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
0
This field is a flag to indicate
if the receiver is a residential
String
location.True if
One
/ShipmentRequest/Shipment/ShipTo/Address/ ResidentialAddressIndicator
No
ResidentialAddressIndicator ResidentialAddressIndicator tag exists; false otherwise Empty Tag.
String
identifier referring to a alphanumeric characters.
3...10
One
/ShipmentRequest/Shipment/ShipTo/LocationI specific shipping/receiving All letters must be
No
LocationID D location. capitalized.
container
shipment. Required if
pickup location is different
Cond
One
N/A
from the shipper's
ShipFrom /ShipmentRequest/Shipment/ShipFrom Ship From Container address.
1...35
string
Yes*
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 46
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
If ShipFrom country is
US, PR, CA, and VI, the
layout is area code, 7
digit phone number or
area code, 7 digit phone
number, 4 digit extension
number; for other
countries, the layout is
CountryCode, area code,
Container
7 digit number. Required
if ShipFrom tag is in the
Cond
One
N/A
XML and International
Phone /ShipmentRequest/Shipment/ShipFrom/Phone Container for Phone Number forms is requested
String
1...15
Yes*
One
/ShipmentRequest/Shipment/ShipFrom/Phone The Ship from phone
Number /Number Number. N/A
String
1...4
One
/ShipmentRequest/Shipment/ShipFrom/Phone No The Ship from phone
Extension /Extension extension. N/A
If Ship from country is US
String
10 digits allowed,
1...15
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 47
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Three
on the label, and for RFA
1...35
string
Yes
/ShipmentRequest/Shipment/ShipFrom/Addre Shipment only 20 characters
AddressLine ss/AddressLine are printed on Label. Max Occurrence can be 3
The Ship from city. 30
characters are accepted, but
for return Shipment only 15
characters will be printed on
the label, and for RFA
1...30
string
One
Yes
/ShipmentRequest/Shipment/ShipFrom/Addre Shipment only 11 characters Required if ShipFrom tag
City ss/City are printed on Label. is in the XML.
Required if ShipFrom tag
2
is in the XML, and
ShipFrom/Country is US.
If ShipFrom country is US
or CA, then the value
must be a valid US State/
Canadian Province code.
string If the country is Ireland,
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 48
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Required if ShipFrom tag
is in the XML and the
ShipFrom country is the
US, Puerto Rico. For US,
Puerto Rico must be valid
5 or 9 digit postal code.
The character - may be
used to separate the first
five digits and the last
four digits. If the
ShipFrom country is CA,
then the postal code must
be 6 alphanumeric
characters whose format
is A#A#A# where A is an
uppercase letter and # is
a digit. For all other
The ship from location's countries the postal code
postal code. 9 characters is optional and must be
are accepted, but for RFA no more than 9
string
Cond
1...9
One
/ShipmentRequest/Shipment/ShipFrom/Addre shipment only 5 characters alphanumeric characters
PostalCode ss/PostalCode are printed on the label. long.
Required if ShipFrom tag
2
is in the XML. For Return
Shipment the country
code must meet the
following conditions: 1) At
least two of the following
country codes are the
same: ShipTo, ShipFrom,
and Shipper.2) None of
the following country
codes are the same and
are a member of the EU:
ShipTo, ShipFrom, and
Shipper.3) If any of the
two following country
codes: ShipTo/ ShipFrom/
Shipper are members in
EU otherwise check if the
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 49
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Payment information
container for detailed
shipment charges. The two
container
shipment charges that are
available for specification It is required for non-
Cond
One
N/A
/ShipmentRequest/Shipment/PaymentInforma are Transportation charges Ground Freight Pricing
PaymentInformation tion and Duties and Taxes. shipments only.
If Duty and Tax charges
are applicable to a
shipment and a payer is
Container
not specified, the default
payer of Duty and Tax
Two
Yes
N/A
/ShipmentRequest/Shipment/PaymentInforma charges is Bill to
ShipmentCharge tion/ShipmentCharge Shipment charge container Receiver.
A shipment charge type
2
of 01 = Transportation is
required. A shipment
charge type of 02 =
Duties and Taxes is not
required; however, this
charge type is invalid for
Qualified Domestic
Shipments. A Qualified
Domestic Shipment is any
shipment in which one of
the following applies: 1)
The origin and destination
country is the same2) US
to PR shipment3) PR to
US shipment4) The origin
and destination country
are both European Union
Countries and the
GoodsNotInFreeCirculatio
n indicator is not
Values are present5) The origin and
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 50
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This element or its sibling
Container for the BillShipper element, BillReceiver,
billing option. The two BillThirdParty or
Container
payment methods that are ConsigneeBilledIndicator,
available for the Bill Shipper must be present but no
One
N/A
/ShipmentRequest/Shipment/PaymentInforma billing option are account more than one can be
No
BillShipper tion/ShipmentCharge/BillShipper number or credit card. present.
Must be the same UPS
6
account number as the
one provided in
Shipper/ShipperNumber.
Either this element or the
sibling element
/ShipmentRequest/Shipment/PaymentInforma CreditCard must be
string
Cond
One
tion/ShipmentCharge/BillShipper/AccountNum provided, but both may
AccountNumber ber UPS account number not be provided.
Required if
/ShipmentRequest/Shipm
ent/PaymentInformation
/ShipmentCharge/BillShip
per/AccountNumber is not
Container
present. Credit card
payment is valid for
Cond
One
N/A
/ShipmentRequest/Shipment/PaymentInforma Credit card information shipments without return
CreditCard tion/ShipmentCharge/BillShipper/CreditCard container service only.
2
Values are 01 = American
Express, 03 = Discover, 04 = Valid values are: 01, 03,
/ShipmentRequest/Shipment/PaymentInforma MasterCard, 05 = Optima, 04 and 06. For Discover
string
Yes*
One
/ShipmentRequest/Shipment/PaymentInforma
9...16
string
Yes*
One
tion/ShipmentCharge/BillShipper/CreditCard/
Number Number Credit Card number N/A
6
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 51
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Valid values are 3 or 4
digits. It is required to
provide the security code
if credit card information
is provided and when the
ShipFrom countries are
other than the below
mentioned countries.
Three or four digits that can Argentina Bahamas
be found either on top of Costa Rica
credit card number or on the Dominican Rep
/ShipmentRequest/Shipment/PaymentInforma back of credit card. Number Guatemala
string
Yes*
3...4
One
tion/ShipmentCharge/BillShipper/CreditCard/S of digits varies for different Panama Puerto Rico
SecurityCode ecurityCode type of credit card. Russia
It is required to provide
billing address if credit
Container
card information is
/ShipmentRequest/Shipment/PaymentInforma provided and when the
Cond
One
N/A
tion/ShipmentCharge/BillShipper/CreditCard/A Container to hold the Credit ShipFrom country is the
Address ddress card Billing Address. US, PR, and CA.
Three
/ShipmentRequest/Shipment/PaymentInforma Address Line 1 of the credit
1...35
string
Yes*
/ShipmentRequest/Shipment/PaymentInforma 1...30
string
Yes*
One
/ShipmentRequest/Shipment/PaymentInforma
string
Yes*
2...5
One
/ShipmentRequest/Shipment/PaymentInforma
string
Yes*
1...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 52
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This element or its sibling
element, BillShipper,
BillThirdParty or
Consignee Billed, must
be present but no more
container
than one can be present.
For a return shipment, Bill
Cond
One
N/A
/ShipmentRequest/Shipment/PaymentInforma Container for the Receiver is invalid for
BillReceiver tion/ShipmentCharge/BillReceiver BillReceiver billing option. Transportation charges.
The account must be a
6
valid UPS account
number that is active. For
US, PR and CA accounts,
the account must be a
daily pickup account, an
occasional account, a
customer B.I.N account,
or a dropper shipper
account. All other
accounts must be either a
daily pickup account, an
/ShipmentRequest/Shipment/PaymentInforma occasional account, a
string
Yes*
tion/ShipmentCharge/BillReceiver/AccountNu One drop shipper account, or
AccountNumber mber The UPS account number. a non-shipping account
container
Container for additional
information for the bill
One
N/A
/ShipmentRequest/Shipment/PaymentInforma receiver’s UPS accounts
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 53
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The postal code must be
the same as the UPS
account pickup address
postal code. Required for
United States and
Canadian UPS accounts
and/or if the UPS account
pickup address has a
postal code. If the UPS
accounts pickup country
is US or Puerto Rico, the
postal code is 5 or 9
digits. The character -
may be used to separate
the first five digits and the
last four digits. If the UPS
The postal code for the UPS accounts pickup country
account's pickup address. is CA, the postal code is 6
The pickup postal code was alphanumeric characters
/ShipmentRequest/Shipment/PaymentInforma entered in the UPS system whose format is A#A#A#
string
Cond
0...9
One
tion/ShipmentCharge/BillReceiver/Address/Po when the account was set- where A is an uppercase
PostalCode stalCode up. letter and # is a digit.
This element or its sibling
element, BillShipper,
container BillReceiver or Consignee
Billed, must be present
Cond
One
N/A
/ShipmentRequest/Shipment/PaymentInforma Container for the third party but no more than one can
BillThirdParty tion/ShipmentCharge/BillThirdParty billing option. be present.
6
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 54
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
Container for additional
One
Yes
N/A
/ShipmentRequest/Shipment/PaymentInforma information for the third party
Address tion/ShipmentCharge/BillThirdParty/Address UPS accounts address. N/A
The postal code must be
the same as the UPS
account pickup address
postal code. Required for
United States and
Canadian UPS accounts
and/or if the UPS account
pickup address has a
postal code. If the UPS
accounts pickup country
is US or Puerto Rico, the
postal code is 5 or 9
digits. The character -
may be used to separate
the first five digits and the
last four digits. If the UPS
The postal code for the UPS accounts pickup country
account's pickup address. is CA, the postal code is 6
The pickup postal code was alphanumeric characters
/ShipmentRequest/Shipment/PaymentInforma entered in the UPS system whose format is A#A#A#
string
Cond
0...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 55
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Empty Tag. This element
0
or its sibling element,
BillShipper, BillReceiver
or BillThirdParty, must be
present but no more than
Consignee Billing payment one can be present. This
option indicator. The billing option is valid for a
presence indicates shipment charge type of
consignee billing option is Transportation only. Only
/ShipmentRequest/Shipment/PaymentInforma selected. The absence applies to US/PR and
string
Cond
One
tion/ShipmentCharge/ConsigneeBilledIndicato indicates one of the other PR/US shipment origins
ConsigneeBilledIndicator r payment options is selected. and destination.
Split Duty VAT Indicator.The
0
presence indicates the payer
specified for Transportation
Charges will pay Empty Tag. The payment
transportation charges and method for Transportation
any duties that apply to the charges must be UPS
shipment.The payer account. The UPS
String
specified for Duties and account must be a daily
One
/ShipmentRequest/Shipment/PaymentInforma Taxes will pay the VAT pickup account or an
SplitDutyVATIndicator tion/SplitDutyVATIndicator No (Value-Added Tax) only. occasional account.
N/A
Valid codes:
String
01=Prepaid
One
Yes
/ShipmentRequest/Shipment/FRSPaymentInf 02=FreightCollect
Code ormation/Type/Code 03=PrepaidThirdParty
50
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 56
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
If the Ground Freight
6
Pricing indicator is
present in the request,
This account number
String
must be validated to
One
Yes
/ShipmentRequest/Shipment/FRSPaymentInf check if it is Ground
AccountNumber ormation/AccountNumber The UPS account number. Freight Pricing enabled.
Container
Container to hold the Note: The Address is
information for the required only when the
Cond
One
N/A
/ShipmentRequest/Shipment/FRSPaymentInf FreightCollect and billing option is Freight
Address ormation/Address PrepaidThirdParty Address. collect or ThirdParty.
String
Ground Freight Pricing
Cond
0...9
One
/ShipmentRequest/Shipment/FRSPaymentInf payment information
PostalCode ormation/Address/PostalCode address.
2
The country code for the
String
Ground Freight Pricing
One
Yes
N/A
/ShipmentRequest/Shipment/ShipmentRating ShipmentRatingOptions
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 57
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Negotiated Rates are of
0
two types Account Based
Rates (ABR) and Web
Discount Rates.
Negotiated Rates are only
returned for qualified
Shipper Account
Numbers. Eligibility is
determined using the
combination of Userid
and the ShipperÂ’s
Shipper Account Number.
If the user is qualified,
both Published rates and
Negotiated rates are
returned to the user. If the
Userid and Shipper
Account Number are not
qualified for Negotiated
rates, a warning message
is returned that indicates
ineligibility and only the
Published rates are
Negotiated Rates option returned in the response.
indicator. If the indicator is As per discount eligibility
present and the Shipper is of user, negotiated rates
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 58
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
String
/ShipmentRequest/Shipment/ShipmentRating
No
RateChartIndicator Options/RateChartIndicator
1
String
Movement Reference
/ShipmentRequest/Shipment/MovementRefer Number (MRN) information
No
MovementReferenceNumber enceNumber container
2
container
N/A
/ShipmentRequest/Shipment/ReferenceNumb Reference Number
No
ReferenceNumber er information container. N/A
Empty Tag. Allowed for
0
shipment with return
service only. Only one
shipment-level or
package-level reference
number can be bar coded
per shipment. In order to
barcode a reference
number, its value must be
no longer than 14
If the indicator is present alphanumeric characters
then the reference numbers or 24 numeric characters
string
One
Valid if the
1...35
string
Yes*
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 59
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Values are: 01 = Next Day
2
Air, 02 = 2nd Day Air, 03 =
Ground, 07 = Express, 08 =
Expedited, 11 = UPS
Standard, 12 = 3 Day Select,
13 = Next Day Air Saver, 14
= Next Day Air Early AM, 54 The following Services
= Express Plus, 59 = 2nd are not available to return
Day Air A.M., 65 = UPS shipment: 13 - Next Day
Saver, 82 = UPS Today Air Saver, 14 - Next Day
Standard, 83 = UPS Today Air Early AM, 59 - 2nd
Dedicated Courier, 84 = Day Air A.M., 82 = UPS
UPS Today Intercity, 85 = Today Standard, 83 =
UPS Today Express, 86 = UPS Today Dedicated
UPS Today Express Saver. Courier, 84 = UPS Today
String
Note: Only service code 03 Intercity, 85 = UPS Today
One
Yes
is used for Ground Freight Express, 86 = UPS Today
Code /ShipmentRequest/Shipment/Service/Code Pricing shipments Express Saver.
1...35
string
One
/ShipmentRequest/Shipment/Service/Descripti Day Air, Worldwide Express,
No
OTHER DESTINATIONS
the InvoiceLineTotal in
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 60
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
One
N/A
/ShipmentRequest/Shipment/ShipmentServic Container for Shipment
No
ShipmentServiceOptions eOptions Service Option N/A
Saturday delivery indicator.
0
The presence indicates
String
Saturday delivery; the
One
/ShipmentRequest/Shipment/ShipmentServic absence indicates not
No
X
X
SaturdayDeliveryIndicator eOptions/SaturdayDeliveryIndicator Saturday delivery. Empty Tag.
Indicates COD is
requested. Shipment
COD is only available for
EU origin countries and
for shipper's account type
Container
Daily Pickup and Drop
Shipping. Not available
One
N/A
/ShipmentRequest/Shipment/ShipmentServic to shipment with return
No
COD eOptions/COD COD container service.
1
Values are: 1 = cash; 9 =
String
check, cashiers check or
Yes*
One
/ShipmentRequest/Shipment/ShipmentServic money order - no cash
CODFundsCode eOptions/COD/CODFundsCode Container allowed. N/A
Yes*
One
N/A
/ShipmentRequest/Shipment/ShipmentServic
CODAmount eOptions/COD/CODAmount COD Amount Container. N/A
3
string
Yes*
One
1...8
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 61
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container for the Quantum
View Notification (QVN) is
valid for all shipments
including Return service,
Container
Import Control and Returns
Flexible Access. Valid return
One
N/A
/ShipmentRequest/Shipment/ShipmentServic service types are: ERL, PRL,
No
Notification eOptions/Notification PNM, RS1, or RS3. N/A
The type of notification
1
requested. Valid Value: 2 -
Return Notification or Label Return Notification or
Creation Notification 5 - QV Label Creation
In-transit Notification 6 - QV Notification is allowed for
Ship Notification 7 - QV return shipments only.
Exception Notification 8 - QV In-transit Notification
QV Delivery Notification is allowed for return
Note:QVN Exception shipments only. QV Ship
String
notification and return Notification is allowed for
Yes*
One
/ShipmentRequest/Shipment/ShipmentServic notification are not forward moving
NotificationCode eOptions/Notification/NotificationCode applicable to GFP. shipments only
Container
Yes*
One
N/A
/ShipmentRequest/Shipment/ShipmentServic Container for Email
EMail eOptions/Notification/EMail Information N/A
Up to five email
Five
String
notification. Up to two
1...50
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 62
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
/ShipmentRequest/Shipment/ShipmentServic address. The From field of
1...50
Cond
One
eOptions/Notification/EMail/FromEMailAddres the message header
FromEMailAddress s contains [email protected]. Return Notification only.
1...35
string
One
/ShipmentRequest/Shipment/ShipmentServic appear to be from. Defaults type of Quantum View
No
FromName eOptions/Notification/EMail/FromName to the Shipper Name. Shipment Notifications.
1...150
only once for each type of
string
One
/ShipmentRequest/Shipment/ShipmentServic User defined text that will be Quantum View Shipment
No
Memo eOptions/Notification/EMail/Memo included in the eMail. Notifications.
1...75
string
One
/ShipmentRequest/Shipment/ShipmentServic The eMail's subject. Defaults
No
Subject eOptions/Notification/EMail/Subject to text provided by UPS Return Notification only.
Specifies a reference code
2
and reference number to
display in the subject of the
Notification. The valid
subject codes are: 01 -
Shipment Reference
Number 1 02 - Shipment For return notification: If
Reference Number 2 03 - the subject code tag is
package Reference Number not provided and the
1 04 - package Reference subject text is provided,
Number 2 08 - Subject the subject of the
Text (Return Notification notification will be the
only) If a subject code is not subject text. If the subject
provided or provided that text is provided and the
refers to a nonexistent subject code tag exists,
reference number, the then the subject code
subject will default to value must be 08. If
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 63
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container for the Label
Delivery accessorial|Note:
Currently Label delivery
accessorial is not applicable
to GFP Required for
shipments with either
Electronic Return Label
Return Service or
ImportControl Electronic
LabelMethod type. If this
Container
container is present, either
of the LabelLinksIndicator or Valid for shipments with a
One
N/A
/ShipmentRequest/Shipment/ShipmentServic Email container should be Electronic Return Label
No
X
LabelDelivery eOptions/LabelDelivery provided. Return Service.
container
One
N/A
/ShipmentRequest/Shipment/ShipmentServic Container for the email
No
X
EMail eOptions/LabelDelivery/EMail message. N/A
1...50
string
Yes*
One
/ShipmentRequest/Shipment/ShipmentServic address for the Label
X
EMailAddress eOptions/LabelDelivery/EMail/EMailAddress Delivery. N/A
X
UndeliverableEMailAddress MailAddress undeliverable. FromEMailAddress.
The e-mail address specifies
the Reply To E-mail
/ShipmentRequest/Shipment/ShipmentServic address. The From field of
1...50
string
Yes*
One
X
FromEMailAddress ess contains [email protected]. N/A
String
X
FromName eOptions/LabelDelivery/EMail/FromName to the Shipper Name N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 64
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...150
string
One
/ShipmentRequest/Shipment/ShipmentServic User defined text that will be
No
X
Memo eOptions/LabelDelivery/EMail/Memo included in the email. N/A
The eMail's subject. Defaults
to the Label Delivery
Notification plus the
1...75
string
One
/ShipmentRequest/Shipment/ShipmentServic shipment ID. Defaults to text
No
X
Subject eOptions/LabelDelivery/EMail/Subject provided by UPS N/A
If the subject code tag is
2
not provided and the
subject text is provided,
the subject of the
notification will be the
Specifies a reference code subject text. If the subject
and reference number to text is provided, and the
display in the subject of the subject code tag exists,
Label Delivery notification. then the subject code
When the subject code is value must be 08;If
provided, the subject will Subject code is 08,
contain the following: UPS subject text must exist. If
Label Delivery. The a subject code is provided
reference code (the that refers to a
reference code will be nonexistent reference
mapped to the number, the subject will
string
One
X
SubjectCode eOptions/LabelDelivery/EMail/SubjectCode Plus the reference number. identification number.
Indicates the Label and
0
X
LabelLinksIndicator eOptions/LabelDelivery/LabelLinksIndicator Electronic Labels
Container
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 65
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Possible Values are: 01 -
2
Invoice; 02 - SED03 -
CO; 04 - NAFTA CO; 05
- Partial Invoice;
06 - Packinglist, 07 -
Customer Generated
Forms
. For shipment with
return service, 01 or 05
*Yes to Six
are the only valid values.
Note: 01 and 05 are
mutually exclusive and 05
string
One
Req
Req
Req
Req
Req
/ShipmentRequest/Shipment/ShipmentServic Indicates the name of the is only valid for return
FormType eOptions/InternationalForms/FormType International form requested. shipments only.
N/A
Container
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 66
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
26
Unbounded
DocumentID represents a
String
/ShipmentRequest/Shipment/ShipmentServic document uploaded to
Yes
DocumentID eOptions/InternationalForms/UserCreatedFor Forms History.
m/DocumentID
This indicator should be
0
set when the shipper
intends to utilize UPS
paperless invoice
functionality AND the
shipper has SELF-
PREPARED other
International Forms (SED,
CO, NAFTACO) to
accompany the shipment.
It is evaluated only when:
1. Account is paperless
enabled. 2. Movement
requires an invoice.3.
Destination country
accepts paperless
Presence of the indicator invoice. 4. Invoice data is
/ShipmentRequest/Shipment/ShipmentServic means user will supply supplied by the client and
string
One
Opt
Opt
Opt
Opt
eOptions/InternationalForms/AdditionalDocum additional document, such the data passes
No
0
AdditionalDocumentIndicator entIndicator as SED, NAFTA_CO or CO. validation.
Contains description text
50
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/FormGroupIdNa element does not appear on
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 67
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Indicates the SED filing
2
option. If UPS files SED on Applicable for SED form
shipper's behalf, there is and is required. Valid
string
Cond
One
Req
N/A
N/A
N/A
N/A
/ShipmentRequest/Shipment/ShipmentServic additional $10 charge to the values is: 01 - Shipper
SEDFilingOption eOptions/InternationalForms/SEDFilingOption shipper filing SED
Container
information is required for
Holds the contact SED. Producer contact
Cond
N/A
One
N/A
N/A
N/A
N/A
N/A
/ShipmentRequest/Shipment/ShipmentServic information of various information is required for
Contacts eOptions/InternationalForms/Contacts parties. NAFTA CO
Cond Req
Container
company or person acting as
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic agent in the trans-shipping
One
N/A
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar of freight to the destination Applicable for SED form
No
ForwardAgent dAgent country. only.
Sec Sec
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic Company Name or the
1...35
string
*Yes
N/A
N/A
N/A
One
N/A
eOptions/InternationalForms/Contacts/Forwar Individual name of the Applicable for SED form
CompanyName dAgent/CompanyName Forwarding agent. only.
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic
1...15
string
*Yes
N/A
N/A
One
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Tax ID of the Forwarding Applicable for SED form
TaxIdentificationNumber dAgent/TaxIdentificationNumber agent. only.
Container
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Address information of the Applicable for SED form
Address dAgent/Address Forwarding agent. only.
Sec 5a
Three
/ShipmentRequest/Shipment/ShipmentServic
1...35
string
*Yes
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Address line of the Max Occurrence must be
AddressLine dAgent/Address/AddressLine Forwarding agent. 3
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 68
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic
1...30
string
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Applicable for SED form
City dAgent/Address/City City of the Forwarding agent. only.
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic Applicable for SED form
string
Cond
1...5
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar State of the Forwarding only. Required for certain
StateProvinceCode dAgent/Address/StateProvinceCode agent. countries.
Sec 5a
String
/ShipmentRequest/Shipment/ShipmentServic
1...30
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Town of the Forwarding
No
Town dAgent/Address/Town Agent
Applicable for SED form
only. Required for certain
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic countries. The length of
string
Cond
1...9
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Postal code of the the postal code depends
PostalCode dAgent/Address/PostalCode Forwarding agent. on the country code.
Sec 5a
/ShipmentRequest/Shipment/ShipmentServic
string
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Forwar Country code of the Applicable for SED form
CountryCode dAgent/Address/CountryCode Forwarding agent. only.
The ultimate consignee is
the person or company who
receives the goods for end-
Container
Req Sec 4a
use or the person or
Sec 4a
/ShipmentRequest/Shipment/ShipmentServic company listed on the export Applicable for SED form
1...35
Cond
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat license. This is the end-user only. Required when the
UltimateConsignee eConsignee of the goods. form requested is SED.
Sec 4a
/ShipmentRequest/Shipment/ShipmentServic Company Name or the
1...35
string
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat Individual name of the Applicable for SED form
CompanyName eConsignee/CompanyName Ultimate consignee. only.
Container
Sec 4a
/ShipmentRequest/Shipment/ShipmentServic
1...50
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat Address information of the Applicable for SED form
Address eConsignee/Address Ultimate consignee. only.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 69
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Sec 4a
Three
/ShipmentRequest/Shipment/ShipmentServic
1...35
string
*Yes
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat Address line of the Ultimate Max Occurrence must be
AddressLine eConsignee/Address/AddressLine consignee. 3
Sec 4a
1...30
/ShipmentRequest/Shipment/ShipmentServic
string
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat City of the Ultimate Applicable for SED form
City eConsignee/Address/City consignee. only.
Sec 4a
/ShipmentRequest/Shipment/ShipmentServic Applicable for SED form
string
Cond
1...5
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat State of the Ultimate only. Required for certain
StateProvinceCode eConsignee/Address/StateProvinceCode consignee. countries
Sec 4a
String
1...30
/ShipmentRequest/Shipment/ShipmentServic
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat Town of the Ultimate
No
Town eConsignee/Address/Town consignee
Applicable for SED form
only. Required for certain
Sec 4a
String
/ShipmentRequest/Shipment/ShipmentServic countries. The length of
Cond
1...9
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat Postal code of the Ultimate the postal code depends
PostalCode eConsignee/Address/PostalCode consignee. on the country code.
Sec 4a
String
/ShipmentRequest/Shipment/ShipmentServic
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Ultimat Country code of the Ultimate Applicable for SED form
CountryCode eConsignee/Address/CountryCode consignee. only.
Opt Sec 4b
The intermediate consignee
Container
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme makes final delivery to the Applicable for SED form
No
Cond Req 4b
/ShipmentRequest/Shipment/ShipmentServic Company Name or the
1...35
string
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme Individual name of the Applicable for SED form
CompanyName diateConsignee/CompanyName Intermediate consignee. only.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 70
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Cond Req
Container
/ShipmentRequest/Shipment/ShipmentServic
1...50
*Yes
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme Address information of the Applicable for SED form
4b
Address diateConsignee/Address Intermediate Consignee. only.
Cond Req 4b
Three
/ShipmentRequest/Shipment/ShipmentServic
1...35
string
*Yes
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme Address line of the Max Occurrence must be
AddressLine diateConsignee/Address/AddressLine Intermediate Consignee. 3
Cond Req
/ShipmentRequest/Shipment/ShipmentServic
1...30
string
*Yes
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme City of the Intermediate Applicable for SED form
4b
City diateConsignee/Address/City Consignee. only.
Cond Req 4b
/ShipmentRequest/Shipment/ShipmentServic Applicable for SED form
string
Cond
1...5
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme State of the Intermediate only. Required for certain
StateProvinceCode diateConsignee/Address/StateProvinceCode Consignee. countries.
Req 4b
Cond
String
/ShipmentRequest/Shipment/ShipmentServic
1...30
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme Town of the Intermediate
No
Req 4b
Cond
/ShipmentRequest/Shipment/ShipmentServic countries. The length of
string
Cond
1...9
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme Postal code of the the postal code depends
PostalCode diateConsignee/Address/PostalCode Intermediate Consignee. on the country code.
2
Req 4b
Cond
/ShipmentRequest/Shipment/ShipmentServic
string
*Yes
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Interme Country code of the Applicable for SED form
CountryCode diateConsignee/Address/CountryCode Intermediate Consignee. only.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 71
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Information of the producer.
The NAFTA Certificate of
Origin must be completed,
signed, and dated by the
exporter. When the
Certificate is completed by
the producer for use by the
exporter, it must be
completed, signed, and
Container
dated by the producer. The
/ShipmentRequest/Shipment/ShipmentServic date must be the date the Applies to NAFTA CO.
1...35
Cond
N/A
N/A
N/A
One
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Certificate was completed Required for NAFTA CO
Producer er and signed. forms
The text associated with the
2
code will be printed in the
producer section instead of
producer contact
information. Use attached
List if more than one
producer’s good is included
on the Certificate, attach a Applies to NAFTA CO.
list of additional producers, Possible Values are:01:
including the legal name, AVAILABLE TO
address (including country), CUSTOMS UPON
and legal tax identification REQUEST02: SAME AS
/ShipmentRequest/Shipment/ShipmentServic number, cross-referenced to EXPORTER03:
string
N/A
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc the goods described in the ATTACHED LIST04:
No
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Individual name of the Producer option is not
CompanyName er/CompanyName Producer. specified.
Applies to NAFTA CO.
/ShipmentRequest/Shipment/ShipmentServic
1...15
N/A
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc producer option is empty
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 72
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to NAFTA CO.
Only applicable if
producer option is empty
or not present.
Container
Conditionally required for:
/ShipmentRequest/Shipment/ShipmentServic NAFTA CO, when
1...50
Cond
N/A
N/A
N/A
One
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Address information of the Producer option is not
Address er/Address Producer. specified.
Three
/ShipmentRequest/Shipment/ShipmentServic
1...35
string
*Yes
N/A
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Address line of the Max Occurrence must be
AddressLine er/Address/AddressLine Producer. 3
1...30
string
*Yes
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Producer option is not
City er/Address/City City of the Producer. specified.
string
Cond
1...5
N/A
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Required for certain
StateProvinceCode er/Address/StateProvinceCode State of the Producer. countries
String
/ShipmentRequest/Shipment/ShipmentServic
1...30
N/A
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc
No
1...9
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc the postal code depends
PostalCode er/Address/PostalCode Postal code of the Producer. on the country code.
/ShipmentRequest/Shipment/ShipmentServic
string
*Yes
1...2
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Contacts/Produc Country code of the
CountryCode er/Address/CountryCode Producer. Applies to NAFTA CO
1
String
/ShipmentRequest/Shipment/ShipmentServic
eOptions/InternationalForms/Contacts/Produc Contact name at the
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 73
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
Container
/ShipmentRequest/Shipment/ShipmentServic
eOptions/InternationalForms/Contacts/Produc
No
Phone er/Phone
1
String
/ShipmentRequest/Shipment/ShipmentServic
Yes
eOptions/InternationalForms/Contacts/Produc The location's phone number
Number er/Phone/Number of the Producer
1
String
/ShipmentRequest/Shipment/ShipmentServic
eOptions/InternationalForms/Contacts/Produc The location's phone
No
Extension er/Phone/Extension extension of the Producer
1
String
/ShipmentRequest/Shipment/ShipmentServic
eOptions/InternationalForms/Contacts/Produc
No
EMailAddress er/EMailAddress Producer email address.
container
One
N/A
/ShipmentRequest/Shipment/ShipmentServic
No
/ShipmentRequest/Shipment/ShipmentServic
1...35
string
Yes*
One
eOptions/InternationalForms/Contacts/SoldTo
Name /Name Company Name.
/ShipmentRequest/Shipment/ShipmentServic
1...35
string
Yes*
One
eOptions/InternationalForms/Contacts/SoldTo
AttentionName /AttentionName Sold to contact name.
/ShipmentRequest/Shipment/ShipmentServic
1...15
string
One
/ShipmentRequest/Shipment/ShipmentServic
One
N/A
eOptions/InternationalForms/Contacts/SoldTo
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 74
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
/ShipmentRequest/Shipment/ShipmentServic
1...15
string
Yes*
One
eOptions/InternationalForms/Contacts/SoldTo Sold To contact's phone
Number /Phone/Number number
/ShipmentRequest/Shipment/ShipmentServic
string
One
eOptions/InternationalForms/Contacts/SoldTo Sold To contact's phone
No
?
Extension /Phone/Extension extension
The text associated with the
2
code will be printed in the
sold to section of the NAFTA
/ShipmentRequest/Shipment/ShipmentServic CO form. the values Applies to NAFTA CO
string
One
eOptions/InternationalForms/Contacts/SoldTo indicate the following 01 – form. Possible Values
No
Option /Option Unknown are 01 and 02
container
/ShipmentRequest/Shipment/ShipmentServic
Yes*
One
N/A
eOptions/InternationalForms/Contacts/SoldTo
Address /Address Address Container.
35
/ShipmentRequest/Shipment/ShipmentServic Three
string
Yes
eOptions/InternationalForms/Contacts/SoldTo
City /Address/City SoldTo location’s city.
5
/ShipmentRequest/Shipment/ShipmentServic
string
Cond
One
/ShipmentRequest/Shipment/ShipmentServic
string
One
eOptions/InternationalForms/Contacts/SoldTo
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 75
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
10
/ShipmentRequest/Shipment/ShipmentServic
string
Cond
One
eOptions/InternationalForms/Contacts/SoldTo SoldTo location’s postal
PostalCode /Address/PostalCode code.
2
/ShipmentRequest/Shipment/ShipmentServic
string
One
Yes
eOptions/InternationalForms/Contacts/SoldTo SoldTo location’s country
CountryCode /Address/CountryCode code.
1
String
/ShipmentRequest/Shipment/ShipmentServic
eOptions/InternationalForms/Contacts/SoldTo
No
EMailAddress /EMailAddress SoldTo email address.
Applies to SED, Invoice,
Partial Invoice, CO and
NAFTA CO. When any
International form is
*Yes to fifty
requested Product must
Container
be present at least once
but no more than 50.
1...50
Opt
One
Req
Req
Req
Req
/ShipmentRequest/Shipment/ShipmentServic Contains the commodity/ Note: For Partial Invoice
Product eOptions/InternationalForms/Product product information this container is optional.
Applies to all International
Forms. Optional for
Partial Invoice. Must be
/ShipmentRequest/Shipment/ShipmentServic 1...35 present at least once and
string
*Yes
Opt
One
Req
Req
Req
Req
eOptions/InternationalForms/Product/Descripti can occur for a maximum
Description on Description of the product. of 3 times
Container
Opt
One
N/A
N/A
N/A
N/A
N/A
/ShipmentRequest/Shipment/ShipmentServic information of each product. forms and optional for
Unit eOptions/InternationalForms/Product/Unit (also called as commodity) Partial Invoice.
Total quantity of each Required for Invoice
commodity to be shipped, forms and optional for
/ShipmentRequest/Shipment/ShipmentServic measured in the units Partial Invoice. Must be
string
*Yes
1...7
Opt
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Product/Unit/Nu specified in the Unit of numeric. Valid characters
Number mber Measure field are 0-9.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 76
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
/ShipmentRequest/Shipment/ShipmentServic Container tag for the Unit of Required for Invoice
*Yes
N/A
Opt
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Product/Unit/Unit measurement for the forms and optional for
UnitOfMeasurement OfMeasurement commodity. Partial Invoice.
Required for Invoice
forms and optional for
Partial Invoice. Valid
entries 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 = Proof
Liters, PKG = Package ,
PR = Pair, PRS = Pairs,
RL = Roll, SET = Set,
SME = Square Meters,
/ShipmentRequest/Shipment/ShipmentServic Code for the Unit of SYD = Square Yards, TU
string
1... 3
*Yes
N/A
Opt
One
N/A
N/A
N/A
eOptions/InternationalForms/Product/Unit/Unit measurement of the = Tube, YD = Yard, OTH
Code OfMeasurement/Code commodity units. = Other.
Applies to Invoice and
Partial Invoice forms.
Conditionally Required for
the Invoice and Partial
Invoice form if OTH is
/ShipmentRequest/Shipment/ShipmentServic The Unit of Measure if OTH entered as the units
string
Cond
1...3
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Product/Unit/Unit (Other) is entered as the UnitOfMeasurement
Description OfMeasurement/Description UnitOfMeasurement code. Code
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 77
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice and
Partial Invoice form.
Required for Invoice
forms and optional for
Partial Invoice. Amount
should be greater than
zero. Valid characters
are 0-9 and. (Decimal
point). Limit to 6 digits
after the decimal. The
maximum length of the
field is 19 including '.' and
can hold up to 6 decimal
places.(#####.######,
######.#####,
#######.####,
########.###,
#########.##,########
##.#,############)The
value of this product and
the other products should
be such that the invoice
line total which is the sum
Monetary amount used to of ( number*values) of all
/ShipmentRequest/Shipment/ShipmentServic specify the worth or price of products should not
1...19
string
*Yes
N/A
N/A
Opt
One
N/A
N/A
eOptions/InternationalForms/Product/Unit/Val the commodity. Amount exceed
Value ue should be greater than zero 9999999999999999.99
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 78
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice, Partial
Invoice and NAFTA CO.
Required for NAFTA CO
and optional for Partial
Invoice. Should be at
least 6 alphanumeric. For
NAFTA CO: For each
good described in
Description of Goods
field, identify the H.S.
N/A
N/A
N/A
N/A
tariff classification to six
digits. If the good is
subject to a specific rule
of origin in Annex 401
that requires eight digits,
identify to eight digits,
6-to-15-alphanumeric using the H.S. tariff
commodity code. Customs classification of the
/ShipmentRequest/Shipment/ShipmentServic uses this code to determine country into whose
6...15
string
Cond
One
Opt
eOptions/InternationalForms/Product/Commo what duties should be territory the good is
CommodityCode dityCode assessed on the commodity. imported.
The part number or Applies to Invoice and
reference number for the Partial Invoice. Required
1...10
/ShipmentRequest/Shipment/ShipmentServic product contained in the for Invoice forms and
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 79
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice, Partial
2
Invoice, CO and NAFTA
CO. Required for Invoice
and CO forms. Optional
for Partial Invoice.
Conditionally required for
NAFTA CO if
JointProductionIndicator
is not present. For all
other originating goods
exported to Canada,
indicate appropriately MX
or US if the goods
N/A
originate in that NAFTA
country, within the
The country in which the meaning of the NAFTA
good was manufactured, Rules of Origin
produced, or grown. For Regulations, and any
detailed information on subsequent processing in
country of origin, certificate the other NAFTA country
of origin, rules of origin, and does not increase the
any related matters, please transaction value of the
refer to the U.S. Customs goods by more than
and Border Protection Web seven percent; otherwise
/ShipmentRequest/Shipment/ShipmentServic string site at www.customs.gov or use the
Cond
Req
Req
One
Req
Opt
eOptions/InternationalForms/Product/OriginC contact your country's JointProductionIndicator
OriginCountryCode ountryCode Customs authority. for joint production.
N/A
N/A
N/A
N/A
N/A
EMPTY
N/A
N/A
N/A
N/A
N/A
One
N/A
eOptions/InternationalForms/Product/NetCost net cost method; otherwise, CO. Possible Values:
NetCostCode Code indicate NO. NCNO
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 80
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
/ShipmentRequest/Shipment/ShipmentServic
N/A
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Product/NetCost Date Range for regional Applies to NAFTA CO
No
NetCostDateRange DateRange value content (RVC) only.
8
If the RVC is calculated over
a period of time, it should be
identified by the begin date
/ShipmentRequest/Shipment/ShipmentServic (yyyyMMdd) of that period. Applies to NAFTA CO
string
*Yes
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Product/NetCost (Reference: Articles 402.1, only. Format is
BeginDate DateRange/BeginDate 402.5). yyyyMMdd
If the RVC is calculated over
8
a period of time, it should be
identified by the End date
/ShipmentRequest/Shipment/ShipmentServic (yyyyMMdd) of that period. Applies to NAFTA CO
string
*Yes
N/A
N/A
N/A
One
N/A
N/A
eOptions/InternationalForms/Product/NetCost (Reference: Articles 402.1, only. Format is
EndDate DateRange/EndDate 402.5). yyyyMMdd
Indicates the criterion (A
1
through F) for each good
described in the Description
of Goods field if applicable.
The rules of origin are
contained in Chapter Four
and Annex 401. Additional
rules are described in Annex
703.2 (certain agricultural
goods), Annex 300-B,
Appendix 6 (certain textile
goods) and Annex 308.1
/ShipmentRequest/Shipment/ShipmentServic (certain automatic data Applicable for NAFTA CO
string
Cond
N/A
One
N/A
N/A
N/A
N/A
eOptions/InternationalForms/Product/Preferen processing goods and their and is required. Possible
PreferenceCriteria ceCriteria parts). Values: ABCDEF.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 81
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Indicate the following: Yes -
If shipper is the producer of
the good. If not, state 02, 03,
and 04 depending on
whether this certificate was
based upon: No [1] -
Knowledge of whether the
good qualifies as an
originating good. No [2] -
Reliance on the producers
written representation (other
than a Certificate of Origin)
that the good qualifies as an
originating good. No [3] - A
completed and signed Applicable for NAFTA CO
3 0r 5
/ShipmentRequest/Shipment/ShipmentServic Certificate for the good and is required. Possible
string
Cond
N/A
N/A
One
N/A
N/A
N/A
eOptions/InternationalForms/Product/Produce voluntarily provided to the Values: Yes, No[1], No[2],
ProducerInfo rInfo exporter by the producer. and No[3]
Opt Sec
Opt Sec
Opt Sec
N/A
N/A
2a
2a
2a
/ShipmentRequest/Shipment/ShipmentServic Any special marks, codes,
1...35
string
One
eOptions/InternationalForms/Product/MarksA and numbers that may
No
MarksAndNumbers ndNumbers appear on package Applies to CO Only
1...3
One
N/A
eOptions/InternationalForms/Product/Product This weight does not include forms only. Required for
ProductWeight Weight carrier equipment. CO and SED forms.
Container
/ShipmentRequest/Shipment/ShipmentServic
*Yes
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 82
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
/ShipmentRequest/Shipment/ShipmentServic Applies to CO and SED
string
*Yes
One
eOptions/InternationalForms/Product/Product Code for unit of forms only. Possible
Code Weight/UnitOfMeasurement/Code Measurement of weight values: KGS, LBS.
String
/ShipmentRequest/Shipment/ShipmentServic
1...20
One
eOptions/InternationalForms/Product/Product Description of the Unit of
No
Description Weight/UnitOfMeasurement/Description Measure
Applies to CO and SED
forms only. Valid
characters are 0-9 and '.'
(Decimal point). Limit to 1
digit after the decimal.
The maximum length of
/ShipmentRequest/Shipment/ShipmentServic the field is 5 including '.'
string
*Yes
1...5
One
eOptions/InternationalForms/Product/Product and can hold up to 1
Weight Weight/Weight Weight decimal place.
Includes the following
information for used self-
propelled vehicles as
defined in Customs
regulations 19 CFR 192.1:
The unique Vehicle
Identification Number (VIN)
in the proper format. Or The
Product Identification
Number (PIN) for those used
/ShipmentRequest/Shipment/ShipmentServic self propelled vehicles for
1...25
string
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 83
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
A unique 10-digit commodity
10
classification code for the
item being exported. (To
classify a commodity access
the following Web page:
/ShipmentRequest/Shipment/ShipmentServic http://www.census.gov/foreig Applies to SED forms
string
*Yes
One
eOptions/InternationalForms/Product/Schedul n- only. Has to be 10
Number eB/Number trade/schedules/b/#search). characters.
The count of how many
Schedule B units of the Applies to SED forms
current good are in the only. Conditionally
shipment (SED only).For required for SED forms if
example, if the Schedule B ScheduleB
unit of measure is dozens UnitOfMeasurement is
/ShipmentRequest/Shipment/ShipmentServic and eight dozen, is being not X. Should be
1...10
string
Cond
One
eOptions/InternationalForms/Product/Schedul shipped, indicate 8 in this Numeric. Valid characters
Quantity eB/Quantity field. are 0 -9.
Container
/ShipmentRequest/Shipment/ShipmentServic *Yes The unit of measure
One
N/A
eOptions/InternationalForms/Product/Schedul indicated on the Export Applies to SED forms
UnitOfMeasurement eB/UnitOfMeasurement License. only.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 84
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to SED forms
only. Required for the
SED form. Possible
Values: BBL: Barrels,
CAR: Carat, CKG:
Content Kilogram, CM2:
Square Centimeters,
CTN: Content Ton, CUR:
Curie, CYK: Clean Yield
Kilogram, DOZ: Dozen,
DPC: Dozen Pieces,
DPR: Dozen Pairs, FBM:
Fiber Meter, GCN: Gross
Containers, GM: Gram,
GRS: Gross, HUN:
Hundred, KG: Kilogram,
KM3: 1,000 Cubic Meters,
KTS: Kilogram Total
Sugars, L: Liter, M: Meter,
M2: Square Meters, M3:
Cubic Meters, MC:
Millicurie, NO: Number,
PCS: Pieces, PFL: Proof
The unit of measure Liter, PK: Pack, PRS:
indicated on the Export Pairs, RBA: Running
/ShipmentRequest/Shipment/ShipmentServic License. Enter an X if there Bales, SQ: Square, T:
string
*Yes
1...3
One
/ShipmentRequest/Shipment/ShipmentServic
1...20
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 85
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Code indicating Domestic:
1
Exports that have been
produced, manufactured, or
grown in the United States
or Puerto Rico. This includes
imported merchandise which
has been enhanced in value
or changed from the form in
which imported by further
manufacture or processing
in the United States or
Puerto Rico. Foreign:
Merchandise that has
entered the United States
and is being exported again
in the same condition as
when imported. Applies to SED forms
ForeignMilitary: Exported only. Required for SED
/ShipmentRequest/Shipment/ShipmentServic merchandise that is sold form. Possible Values:
string
Cond
One
eOptions/InternationalForms/Product/ExportT under the foreign military D: Domestic; F: Foreign;
ExportType ype sales program. M: Foreign Military
Applies to SED forms
only. Required for SED
form. Valid characters are
0-9 and '.' (Decimal
point). Limit to 2 digit after
the decimal. The
maximum length of the
field is 15 including '.' and
can hold up to 2 decimal
places. Note: This value
is calculated based on the
Product/Unit/Value and
/Product/Unit/Number
(Number of Units * Price
The value of the S.E.D. per Unit). If the total value
/ShipmentRequest/Shipment/ShipmentServic commodity contained on the is incorrect it will be
1...15
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 86
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
determining whether or not the DEFAULT is selected
/ShipmentRequest/Shipment/ShipmentServic to exclude product which is "none" and all
One
N/A
eOptions/InternationalForms/Product/Exclude information from a particular products will appear on all
No
ExcludeFromForm FromForm form. forms.
unbounded
that if this is used and you
Indicates the name of the DO NOT have the
String
/ShipmentRequest/Shipment/ShipmentServic International form requested corresponding form type
Yes
1..2
eOptions/InternationalForms/Product/Exclude to NOT have product requested this will be
FormType FromForm/FormType information. IGNORED.
Container
Unbounded
/ShipmentRequest/Shipment/ShipmentS Data Container holding
Yes*
erviceOptions/InternationalForms/Produc package related
PackingListInfo t/PackingListInfo information
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 87
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Yes
t/PackingListInfo/PackageAssociated/Pro package
ProductAmount ductAmount
Applies to Invoice and
Partial Invoice forms only.
Required for Invoice
1...35
string
One
/ShipmentRequest/Shipment/ShipmentServic Commercial Invoice number forms and optional for
No
InvoiceNumber eOptions/InternationalForms/InvoiceNumber assigned by the exporter Partial Invoice.
Applies to Invoice and
8
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Required
for Invoice form for
forward shipments. For
shipment with return
service, the user input will
be ignored, and the field
string Date when the Invoice is will be blank on the
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 88
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Applies to Invoice and
Partial Invoice forms only.
Possible values are: CFR:
Cost and Freight, CIF:
Cost, Insurance and
Freight, CIP: Carriage
and Insurance Paid, CPT:
Carriage Paid To, DAF:
Delivered at Frontier,
DDP: Delivery Duty Paid,
DDU: Delivery Duty
Unpaid, DEQ: Delivered
Ex Quay, DES: Delivered
Ex Ship, EXW: Ex Works,
/ShipmentRequest/Shipment/ShipmentServic FAS: Free Alongside
string
One
eOptions/InternationalForms/TermsOfShipme Indicates the rights to the Ship, FCA: Free Carrier,
No
TermsOfShipment nt seller from the buyer. FOB: Free On Board.
1...20
string
Cond
One
eOptions/InternationalForms/ReasonForExpor INTERCOMPANYDATA, Partial Invoice. No
ReasonForExport t Any other reason validation
1...150
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 89
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This is the legal explanation,
used by Customs, for the
delivering of this shipment. It
must be identical to the set
of declarations actually used
by Customs. Examples of
declarations that might be
entered in this field are: I
hereby certify that the goods
covered by this shipment
qualify as originating goods
for purposes of preferential
tariff treatment under the Applies to Invoice and
NAFTA. I hereby certify that Partial Invoice forms only.
the information on this On the invoice for return
invoice is true and correct shipment, the verbiage is
and the contents and value as follows (user input is
of this shipment is as stated ignored): The exporter of
above. EEA statement: The the products covered by
exporter of the products this document declares
covered by this document that except where
declares that except where otherwise clearly
1...550
/ShipmentRequest/Shipment/ShipmentServic otherwise clearly indicated indicated these products
string
One
eOptions/InternationalForms/DeclarationState these products are of EEA are of EEA preferential
No
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 90
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
15
Applies to Invoice and
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Valid
characters are 0-9 and '.'
(Decimal point). Limit to 2
digit after the decimal.
The maximum length of
the field is 15 including '.'
and can hold up to 2
decimal places. This
value should be greater
The discount to be than or equal to zero or
/ShipmentRequest/Shipment/ShipmentServic subtracted from the sum of less than or equal to the
string
*Yes
One
eOptions/InternationalForms/Discount/Moneta the total value on the value of all goods listed
MonetaryValue ryValue invoice. on the invoice.
Container
One
N/A
/ShipmentRequest/Shipment/ShipmentServic Container tag that holds the Applies to Invoice and
No
/ShipmentRequest/Shipment/ShipmentServic
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 91
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
0...15
string
*Yes
One
eOptions/InternationalForms/InsuranceCharg shipment if it is lost or and can hold up to 2
MonetaryValue es/MonetaryValue damaged decimal places.
Container
information of amount that
covers additional charges
One
N/A
/ShipmentRequest/Shipment/ShipmentServic not already listed on the Applies to Invoice and
No
OtherCharges eOptions/InternationalForms/OtherCharges invoice Partial Invoice forms only.
Applies to Invoice and
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Valid
characters are 0-9 and '.'
(Decimal point). Limit to 2
digit after the decimal.
The maximum length of
/ShipmentRequest/Shipment/ShipmentServic the field is 15 including '.'
0...15
string
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 92
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This field should be entered
if the NAFTA Certificate
covers multiple shipments of
identical goods as described
in the Description of Goods
field that are imported into a
NAFTA country for a
specified period of up to one
year (the blanket period).
The importation of a good for Applies to NAFTA CO
Container
which preferential treatment form only. Required for
is claimed based on this NAFTA CO. This is not
Cond
One
N/A
/ShipmentRequest/Shipment/ShipmentServic certificate must occur valid for a paperless
BlanketPeriod eOptions/InternationalForms/BlanketPeriod between these dates. shipment.
Begin date of the blanket
8
period. It is the date upon
which the Certificate Applies to NAFTA CO
becomes applicable to the form only. Required for
good covered by the blanket NAFTA CO. Format is
/ShipmentRequest/Shipment/ShipmentServic Certificate (it may be prior to yyyyMMdd. This is not
string
*Yes
One
eOptions/InternationalForms/BlanketPeriod/B the date of signing this valid for a paperless
BeginDate eginDate Certificate). shipment.
Applies to NAFTA CO
8
form only. Required for
End Date of the blanket NAFTA CO. Format is
/ShipmentRequest/Shipment/ShipmentServic period. It is the date upon yyyyMMdd. This is not
string
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 93
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The four-character Standard
Carrier Alpha Code (SCAC)
for vessel, rail, and truck
shipments. For air shipment,
enter the two or three
character International Air
1...17
string
One
/ShipmentRequest/Shipment/ShipmentServic Transport Association (IATA) Applies to SED forms
No
CarrierID eOptions/InternationalForms/CarrierID code only. No Validations.
2
Applies to SED forms
only. Required for SED
forms. Valid values are:
70: Not in bond; 36:
Warehouse withdrawal for
IE; 37: Warehouse
withdrawal for T and E;
62: T and E; 63: IE; 67:
string
Cond
One
/ShipmentRequest/Shipment/ShipmentServic The two-character In Bond IE from a FTZ; 68: T and
InBondCode eOptions/InternationalForms/InBondCode Code E from a FTZ
1...25
string
Cond
One
1...5
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 94
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Mode of transport by which
the goods are exported.
Possible values: Air,
AirContainerized, Auto,
FixedTransportInstallations,
Mail, Applies to SED forms
PassengerHandcarried, only. Required for SED.
Pedestrian, Rail, Rail, Only allowed values can
Containerized, RoadOther, be entered. Only 10
SeaBarge, Characters can appear on
/ShipmentRequest/Shipment/ShipmentServic SeaContainerized, the form. Anything greater
1...35
string
Cond
One
eOptions/InternationalForms/ModeOfTranspor SeaNoncontainerized, than 10 characters will be
ModeOfTransport t Truck, TruckContainerized truncated on the form.
Should be one of the
following-Overland: The U.S.
Customs port where the
carrier crosses the U.S.
border. -Vessel and Air: The
U.S. Customs port where the
goods are loaded on the
carrier to be exported from
the U.S. -Postal: The U.S.
1...35
string
/ShipmentRequest/Shipment/ShipmentServic One Postal Office from where the Applies to SED forms
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 95
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Information about parties to
1
transaction. Use Related, if
the parties to the transaction
are related. A related party is
an export from a U.S.
businessperson or business
to a foreign business or from
a U.S. business to a foreign
person or business where
the person has at least 10
percent of the voting shares
of the business during the
/ShipmentRequest/Shipment/ShipmentServic fiscal year. If unincorporated, Applies to SED forms
string
Cond
One
eOptions/InternationalForms/PartiesToTransa then an equivalent interest in only. Valid values are: R
PartiesToTransaction ction the business. - Related, N - Non-related
EMPTY
/ShipmentRequest/Shipment/ShipmentServic (or other) agent to export the
One
N/A
RoutedExportTransactionIndicato eOptions/InternationalForms/RoutedExportTra merchandise outside the Applies to SED forms
No
N/A
eOptions/InternationalForms/ContainerizedInd This applies to vessel Applies to SED forms
No
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 96
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to SED forms
only. Either License
number or License
exception code should be
present for SED form,
both License number and
License Exception code
1...35
string
Cond
One
/ShipmentRequest/Shipment/ShipmentServic The license number that cannot be present for
Number eOptions/InternationalForms/License/Number authorizes ship product. SED form.
Applies to SED forms
only. Conditionally
required for SED forms if
there is a license number.
Only applicable when
License Number is
string
Cond
1...8
One
/ShipmentRequest/Shipment/ShipmentServic provided. Format
Date eOptions/InternationalForms/License/Date License Date yyyyMMdd
1...4
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 97
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The application will
automatically provide a copy
of the invoice or NAFTA/CO
with each response
regardless of whether the
user has enabled Paperless
String
/ShipmentRequest/Shipment/ShipmentServic account. The user now has
eOptions/InternationalForms/OverridePaperle the option to print or ignore
No
1
OverridePaperlessIndicator ssIndicator the copy provided.
String
Text for the shipper to add
300
/ShipmentRequest/Shipment/ShipmentServic additional information
No
1
ShipperMemo eOptions/InternationalForms/ShipperMemo
container
For a list of valid
origin/destination countries
One
N/A
/ShipmentRequest/Shipment/ShipmentServic please refer to the table in
No
DeliveryConfirmation eOptions/DeliveryConfirmation Appendix N Forwards Only
/ShipmentRequest/Shipment/ShipmentServic
No
/ShipmentRequest/Shipment/ShipmentServic is an ImportControl
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 98
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Type of ImportControl
Label.|This container is This container is
One
N/A
/ShipmentRequest/Shipment/ShipmentServic applicable only for applicable only for
No
LabelMethod eOptions/LabelMethod ImportControl shipments. ImportControl shipments.
2
LabelMethod types:'01' =
ImportControl Print and
Mail'02' = ImportControl
One-Attempt'03' =
ImportControl Three-
String
Attempt'04' = ImportControl
Yes*
One
/ShipmentRequest/Shipment/ShipmentServic Electronic Label'05' =
Code eOptions/LabelMethod/Code ImportControl Print Label
String
1...35
One
/ShipmentRequest/Shipment/ShipmentServic
No
Description eOptions/LabelMethod/Description LabelMethod description
CommercialInvoiceRemovalI
0
ndicator allows a shipper to
dictate that UPS remove the
Commercial Invoice from the
String
/ShipmentRequest/Shipment/ShipmentServic user's shipment before the
One
providing Pre-Alert
Container
Notifications to the
consignee for UPS
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 99
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
This container is used for
Populating EMailMessage
One
N/A
/ShipmentRequest/Shipment/ShipmentServic details for
No
EMailMessage eOptions/PreAlertNotification/EMailMessage PreAlertNotification
1…50
String
/ShipmentRequest/Shipment/ShipmentServic
One
Yes
eOptions/PreAlertNotification/EMailMessage/ EMailAddress where
EMailAddress EMailAddress PreAlertNotification is sent.
1…50
String
/ShipmentRequest/Shipment/ShipmentServic when EMailAddress for
One
eOptions/PreAlertNotification/EMailMessage/ PreAlertNotification is
No
UndeliverableEMailAddress UndeliverableEMailAddress undeliverable.
Container
VoiceMessage container is
used for specifying phone
One
N/A
/ShipmentRequest/Shipment/ShipmentServic No number for receiving voice
VoiceMessage eOptions/PreAlertNotification/VoiceMessage preAlertNotification
1…15
/ShipmentRequest/Shipment/ShipmentServic String
One
Yes
TextMessage container is
used for specifying phone
One
N/A
/ShipmentRequest/Shipment/ShipmentServic
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 100
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
This container is used for
providing Language and
One
Yes
N/A
/ShipmentRequest/Shipment/ShipmentServic dialect details for
Locale eOptions/PreAlertNotification/Locale PreAlertNotifications.
3
Valid language-dialect
combinations 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|
String
/ShipmentRequest/Shipment/ShipmentServic NOR97| RUS97| SLK97|
One
Yes
eOptions/PreAlertNotification/Locale/Languag TUR97| VIE97| ZHOTW|
Language e Valid Language RONRO| SPAPR
2
Valid language-dialect
combinations 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|
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 101
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
##
packages are allowed.
US/PR origin return
Yes
N/A
Package Information movements are limited to
Package /ShipmentRequest/Shipment/Package container. only one package.
1...35
string
Cond
One
/ShipmentRequest/Shipment/Package/Descri Merchandise description of Required for shipment
Description ption package. with return service
container
Packaging type is
required for Ground
Cond
One
N/A
/ShipmentRequest/Shipment/Package/Packag Freight Pricing
Packaging ing Packaging Container Shipments only
2
Package type 24, or 25
Package types. Values are: or 30 is only allowed for
01 = UPS Letter, 02 = shipment without return
Customer Supplied service. Packaging type
Package, 03 = Tube, 04 = must be valid for all the
PAK, 21 = UPS Express following: ShipTo
Box, 24 = UPS 25KG Box, country, ShipFrom
25 = UPS 10KG Box, 30 = country, a shipment going
Pallet, 2a = Small Express from ShipTo country to
Box, 2b = Medium Express ShipFrom country, all
Box, 2c = Large Express Accessorials at both the
Box. Note: Only packaging shipment and package
string
Yes*
One
Description of packaging
String
1...35
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 102
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Length + 2*(Width +
Height) must be less than
Dimensions information or equal to 130 IN or 330
container
container. Note: Currently CM. Dimensions are
dimensions are not required for GB to GB
Cond
One
N/A
/ShipmentRequest/Shipment/Package/Dimen applicable to Ground Freight and Poland to Poland
Dimensions sions Pricing Shipments.
container
One
Yes
N/A
/ShipmentRequest/Shipment/Package/Dimen UnitOfMeasurement
UnitOfMeasurement sions/UnitOfMeasurement container N/A
Package dimensions
2
measurement code. Codes
are: IN = Inches, CM =
Centimeters, 00 = Metric
Units Of Measurement, 01 = The unit of measurement
string
One
Yes
/ShipmentRequest/Shipment/Package/Dimen English Units of must be valid for the
Code sions/UnitOfMeasurement/Code Measurement. Shipper country.
1...35
string
/ShipmentRequest/Shipment/Package/Dimen One dimensions measurement
No
Package weight is a
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 103
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Container to hold
One
Yes
N/A
/ShipmentRequest/Shipment/Package/Packag UnitOfMeasurement
UnitOfMeasurement eWeight/UnitOfMeasurement information. N/A
3
Package weight unit of
measurement code. Codes
string
One
Yes
/ShipmentRequest/Shipment/Package/Packag are: LBS = Pounds, KGS =
Code eWeight/UnitOfMeasurement/Code Kilograms.
1...35
string
One
/ShipmentRequest/Shipment/Package/Packag Description of the package
No
Description eWeight/UnitOfMeasurement/Description weight measurement units. N/A
Only {Average}package
Packages weight. Weight weight is required for
string
Yes*
1...5
One
/ShipmentRequest/Shipment/Package/Packag accepted for Ground Freight Pricing
Weight eWeight/Weight letters/envelopes. Shipment
0
Presence of the indicator
string
One
/ShipmentRequest/Shipment/Package/LargeP No mentions that the package is
LargePackageIndicator ackageIndicator Large Package. Empty Tag.
container
One
N/A
/ShipmentRequest/Shipment/Package/Refere Package reference number
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 104
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
Reference number type
code, for the entire
shipment. The code
specifies the Reference Valid if the
name. Refer to the origin/destination pair is
string
One
/ShipmentRequest/Shipment/Package/Refere Reference Number Code US/US or PR/PR.2
No
Code nceNumber/Code table. character alpha-numeric.
Valid if the
origin/destination pair is
US/US or PR/PR.
Supports up to 2
customer supplied
combinations of
1...35
string
Yes*
One
/ShipmentRequest/Shipment/Package/Refere Customer supplied reference Reference code- value
Value nceNumber/Value number. combinations.
0
Additional Handling
Required.The presence
indicates additional handling
is required, the absence
string
One
/ShipmentRequest/Shipment/Package/Additio No indicates no additional
AdditionalHandlingIndicator nalHandlingIndicator handling is required. Empty Tag.
container
One
N/A
/ShipmentRequest/Shipment/Package/Packag PackageServiceOtioncontain
No
N/A
Delivery Confirmation 2
- Delivery Confirmation
Signature Required 3 -
/ShipmentRequest/Shipment/Package/Packag Delivery Confirmation
string
Yes*
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 105
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Delivery Confirmation
/ShipmentRequest/Shipment/Package/Packag
1...11
Control number associated
string
One
eServiceOptions/DeliveryConfirmation/DCISN with the delivery
No
DCISNumber umber confirmation for the package Forwards Only
container
One
N/A
/ShipmentRequest/Shipment/Package/Packag
No
DeclaredValue eServiceOptions/DeclaredValue Container for DeclaredValue N/A
container
One
N/A
/ShipmentRequest/Shipment/Package/Packag Container for Declared
No
Type eServiceOptions/DeclaredValue/Type Value Type N/A
The user cannot specify
2
different type of declared
value for the shipment.
You can either have
shipper declared value
(DVS) or declared value
(EVS) but not both at
package level. Note: The
Declared value type. Valid Shipper Declared Value is
value are 01=EVS, 02=DVS. applicable for forward
Defaults to 01 i.e. EVS if shipments when the
string
*Yes
One
/ShipmentRequest/Shipment/Package/Packag
1...35
string
One
eServiceOptions/DeclaredValue/Type/Descrip
No
/ShipmentRequest/Shipment/Package/Packag
1...19
string
Yes*
One
eServiceOptions/DeclaredValue/MonetaryVal
MonetaryValue ue Declared value amount.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 106
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Indicates COD is
requested. Package level
COD is available for
shipment without return
service from US/PR to
US/PR, CA to CA, and
CA to US.CA to US COD
container
is not allowed for package
Letter/ Envelope. COD is
One
N/A
/ShipmentRequest/Shipment/Package/Packag not valid for return service
No
COD eServiceOptions/COD COD container movements.
Values are: 0 = check,
1
cashiers check or money
order - no cash allowed, 8 =
string
Yes*
One
/ShipmentRequest/Shipment/Package/Packag cashiers check or money
CODFundsCode eServiceOptions/COD/CODFundsCode order - no cash allowed. N/A
container
Yes*
One
N/A
/ShipmentRequest/Shipment/Package/Packag
CODAmount eServiceOptions/COD/CODAmount CODAmount container N/A
/ShipmentRequest/Shipment/Package/Packag 3
string
One
Yes
/ShipmentRequest/Shipment/Package/Packag
string
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 107
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Optional if the Shipper's
AttentionName,
PhoneNumber, and
PhoneExtension(optional)
are given and are the
Container
desired name, phone
/ShipmentRequest/Shipment/Package/Packag number and extension,
Cond
One
N/A
eServiceOptions/VerbalConfirmation/ContactI respectively, to be used for
ContactInfo nfo verbal confirmation. N/A
Optional if Shipper/
AttentionName is given
Name of the person to be and that is the name of
/ShipmentRequest/Shipment/Package/Packag the person to be
1...35
contacted for confirmation.
string
Cond
One
eServiceOptions/VerbalConfirmation/ContactI Defaults to Shipper contacted else required
Name nfo/Name AttentionName if given. for verbal confirmation.
Container
/ShipmentRequest/Shipment/Package/Packag
One
N/A
eServiceOptions/VerbalConfirmation/ContactI No
Phone nfo/Phone Phone Container N/A
String
/ShipmentRequest/Shipment/Package/Packag
1...15
Yes*
One
eServiceOptions/VerbalConfirmation/ContactI
Number nfo/Phone/Number Contact Phone Number N/A
String
/ShipmentRequest/Shipment/Package/Packag
1...4
One
eServiceOptions/VerbalConfirmation/ContactI
No
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 108
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
String
Yes*
One
/ShipmentRequest/Shipment/Package/Packag 3 - Receiver Return
NotificationCode eServiceOptions/Notification/NotificationCode Notification Code Notification
Container
Yes*
One
N/A
/ShipmentRequest/Shipment/Package/Packag Container for the e-mail
EMail eServiceOptions/Notification/EMail Message. N/A
String
/ShipmentRequest/Shipment/Package/Packag The destination email
1...50
Yes*
One
eServiceOptions/Notification/EMail/EMailAddr address of the receiver
EMailAddress ess returns notification email. N/A
String
/ShipmentRequest/Shipment/Package/Packag message is sent if the FromEMailAddress. Only
1...50
One
eServiceOptions/Notification/EMail/Undelivera Receiver Return Notification allowed at the first
UndeliverableEMailAddress bleEMailAddress No email is undeliverable. package.
/ShipmentRequest/Shipment/Package/Packag User defined text that will be Only allowed at the first
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 109
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
to the UPS Receiver Return
1...75
One
/ShipmentRequest/Shipment/Package/Packag Notification plus the Only allowed at the first
No
Subject eServiceOptions/Notification/EMail/Subject shipment ID. package
2
If the subject code tag is
not provided and the
subject text is provided,
the subject of the
notification will be the
subject text. If the subject
Specifies a reference code text is provided, and
and reference number to subject code tag exists,
display in the subject of the then the subject code
Receiver Return Notification. value must be 08;If the
When the subject code is subject code is 08, the
provided, the subject will subject text must exist. If
contain the following: UPS a subject code is provided
Receiver Return Notification. that refers to a
The reference code (the nonexistent reference
reference code will be number, the subject will
String
/ShipmentRequest/Shipment/Package/Packag mapped to the default to the tracking
One
eServiceOptions/Notification/EMail/SubjectCo corresponding ANSI value) number. Only allowed at
No
X
DryIce eServiceOptions/DryIce combined with <Hazmat> Hazmat
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 110
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
Regulation set for dryIce
Shipment. Valid values are :
CFR = HazMat regulated by
US Dept of Transportation
within the U.S. or ground
String
shipments to Canada,
Yes
3..4
/ShipmentRequest/Shipment/Package/Packag IATA= Worldwide Air The following values are
X
RegulationSet eServiceOptions/DryIce/RegulationSet movement valid: IATA,CFR
1
Container
Yes
N/A
/ShipmentRequest/Shipment/Package/Packag
X
DryIceWeight eServiceOptions/DryIce/DryIceWeight
1
Container
/ShipmentRequest/Shipment/Package/Packag
Yes
N/A
eServiceOptions/DryIce/DryIceWeight/UnitOf
X
UnitOfMeasurement Measurement
DryIce weight unit of
1 measurement code. Valid
values are: 00 = KG(Metric
String Unit of Measurements), 01 =
/ShipmentRequest/Shipment/Package/Packag LB(English Unit of The following values are
Yes
2..3
eServiceOptions/DryIce/DryIceWeight/UnitOf Measurements), KG, LB, valid : 00 , 01, KG , KGS ,
X
Code Measurement/Code KGS, LBS LBS
1
String
/ShipmentRequest/Shipment/Package/Packag
0..20
X
Description Measurement/Description UnitOfMeasurement
Cannot be more than
1
X
Weight eServiceOptions/DryIce/DryIceWeight/Weight Weight decimal place.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 111
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Presence/Absence Indicator.
0
Any value inside is ignored.
Relevant only in CFR
regulation set. If present it is
used to designate the dry Ice
is for any medical use and
String
rates are adjusted for dryIce
/ShipmentRequest/Shipment/Package/Packag weight more than 2.5 Kgs or
No
X
MedicalUseIndicator eServiceOptions/DryIce/MedicalUseIndicator 5.7 LBs
Container
It is required if the Ground
Freight Pricing Shipment
Cond
One
N/A
/ShipmentRequest/Shipment/Package/Comm Container to hold the indicator is present in the
Commodity odity Commodity information request.
10
Freight Classification.
String
Freight class partially Required for Ground
One
Yes
/ShipmentRequest/Shipment/Package/Comm determines the freight rate Freight Pricing
FreightClass odity/FreightClass for the article. Shipments only
Container
One
4..6
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 112
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Container used to define the Required for shipment
properties required by the without return service, or
Cond
One
N/A
user to print and/or display shipment with PRL return
LabelSpecification /ShipmentRequest/LabelSpecification the UPS shipping label. service.
Container
One
Yes
N/A
/ShipmentRequest/LabelSpecification/LabelIm LabelImageFormat
LabelImageFormat ageFormat Container N/A
Label print method code that
3
the Labels are to be
generated for EPL2 For shipments without
formatted Labels use EPL, return service the valid
for SPL formatted Labels value is GIF, ZPL, EPL
use SPL, for ZPL formatted and SPL. For shipments
Labels use ZPL and for with PRL return service,
String
image formats use GIF, for the valid values are EPL,
One
Yes
/ShipmentRequest/LabelSpecification/LabelIm Star Printer format formatted ZPL, SPL, STARPL and
Code ageFormat/Code Labels use STARPL. GIF.
String
1...35
One
N/A
/ShipmentRequest/LabelSpecification/LabelSt Container for the EPL2, ZPL, For EPL2, ZPL, STARPL
X
LabelStockSize ockSize STARPL or SPL label size and SPL Labels.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 113
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
only scale up to 4 X 6,
1...3
One
Yes
/ShipmentRequest/LabelSpecification/LabelSt Height of the label image. even when requesting 4 X
X
Height ockSize/Height For IN, use whole inches. 8.
String
Image will only scale up
1...3
One
Yes
/ShipmentRequest/LabelSpecification/LabelSt Width of the label image. For to 4 X 6, even when
X
Width ockSize/Width IN, use whole inches. requesting 4 X 8.
unbounded
Container
N/A
/ShipmentRequest/LabelSpecification/Instructi Routing Instruction
No
Instruction on Container
For Exchange Forward
2
Shipment, by default Label
will have Exchange Routing
instruction Text as
EXCHANGE-LIKE ITEM
ONLY. |If code value is :|01-
EXCHANGE-LIKE ITEM
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 114
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
Container
Yes
/ShipmentRequest/ReceiptSpecification/Imag
ImageFormat eFormat ImageFormat Container
1
String
Yes
/ShipmentRequest/ReceiptSpecification/Imag Print code that determines
Code eFormat/Code the receipt format.
1
String
/ShipmentRequest/ReceiptSpecification/Imag Description of the receipt
No
Description eFormat/Description format code.
container
One
Yes
N/A
ShipConfirmRequest /ShipConfirmRequest Request Container N/A
container
One
Yes
N/A
Request /ShipConfirmRequest/Request Request Container N/A
Optional
Processing.‘nonvalidate’ =
No address
validation.‘validate’ = Fail on
failed address
validation.Defaults to
‘validate’.Note: Full address
validation is not performed.
Therefore, it is the
responsibility of the Shipping
Tool User to ensure the
address entered is correct to
1...15
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 115
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
TransactionReference
One
N/A
/ShipConfirmRequest/Request/TransactionRe identifies transactions
No
TransactionReference ference between client andserver. N/A
1...512
information you want, as
string
One
/ShipConfirmRequest/Request/TransactionRe along as it is valid XML; it is
No
CustomerContext ference/CustomerContext echoed back by the server. N/A
container
Refer to the Shipment
container table for the
One
Yes
N/A
elements under Shipment
Shipment /ShipConfirmRequest/Shipment Shipment Container container.
Required if all of the listed
conditions are true:
ShipFrom and ShipTo
countries are not the
The Description of Goods for same; The packaging
the shipment. Applies to type is not UPS Letter;
international shipments only. The ShipFrom and or
Provide a detailed ShipTo countries are not
description of items being in the European Union or
shipped for documents and the ShipFrom and ShipTo
non-documents. Provide countries are both in the
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 116
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Type of Return service.
When this container exists,
One
N/A
/ShipConfirmRequest/Shipment/ReturnServic the shipment is a return
No
ReturnService e shipment. N/A
Return Service types:‘2’ =
1
UPS Print and Mail (PNM)‘3’
= UPS Return Service 1-
Attempt (RS1) ‘5’ = UPS
Return Service 3-Attempt
(RS3)‘8’ = UPS Electronic
string
Yes*
One
/ShipConfirmRequest/Shipment/ReturnServic Return Label (ERL)‘9’ = UPS
Code e/Code Print Return Label (PRL) N/A
String
1...35
One
/ShipConfirmRequest/Shipment/ReturnServic
No
Description e/Description Return Service description N/A
Indicates a shipment
0
contains written, typed, or
printed communication of no
commercial value. If
DocumentsOnly is not
specified then it implies that Empty Tag. Valid only for
the shipment contains non shipments with different
documents or documents of origin and destination
commercial value. Default is countries. The origin
a shipment contains non- country is not US, and the
string
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 117
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
string
One
Yes
/ShipConfirmRequest/Shipment/Shipper/Nam
Name e Shipper’s company name. N/A
Required if destination is
international. Required if
Invoice and Co
International forms are
requested and the
1...35
string
Cond
One
/ShipConfirmRequest/Shipment/Shipper/Atten ShipFrom address is not
AttentionName tionName Shipper’s Attention Name present.
Conditionally required if
SED form (International
forms) is requested and
1...15
string
Cond
One
/ShipConfirmRequest/Shipment/Shipper/TaxId Shipper’s Tax Identification ship From is not
TaxIdentificationNumber entificationNumber Number mentioned.
Container
Cond
One
N/A
/ShipConfirmRequest/Shipment/Shipper/Phon Container tag for Phone
Phone e Number N/A
Valid values are 0 - 9.If
Shipper country is US,
PR, CA, and VI, the
layout is area code, 7
digit PhoneNumber or
area code, 7 digit
PhoneNumber, 4 digit
extension number; for
String
/ShipConfirmRequest/Shipment/Shipper/Phon
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 118
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Size must be six
6
alphanumeric characters.
Must be associated with
the UserId specified in the
AccessRequest XML The
account must be a valid
UPS account number that
is active. For US, PR and
CA accounts, the account
must be either a daily
pickup account, an
occasional account, or a
customer B.I.N account.
Drop Shipper accounts
are valid for return service
shipments only if the
account is Trade Direct
(TD) enabled. All other
accounts must be either a
string
One
Yes
/ShipConfirmRequest/Shipment/Shipper/Ship Shipper’s six digit account daily pickup account, or
ShipperNumber perNumber number. an occasional account.
String
1...14
One
/ShipConfirmRequest/Shipment/Shipper/FaxN
No
/ShipConfirmRequest/Shipment/Shipper/EMail
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 119
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The package should be
returned to this address if
the package is
undeliverable. This
address appears on the
upper left hand corner of
the label. Note: If the
ShipFrom container is not
present then this address
will be used as the
ShipFrom address. If this
Container
address is used as the
ShipFrom the shipment
One
Yes
N/A
/ShipConfirmRequest/Shipment/Shipper/Addr will be rated from this
Address ess Shipper’s email address. origin address.
Three
1...35
The shipper's street address,
string
Yes
/ShipConfirmRequest/Shipment/Shipper/Addr including name and number Maximum Occurrence
AddressLine ess/AddressLine (when applicable). should be three.
1...30
string
One
/ShipConfirmRequest/Shipment/Shipper/Addr Yes
City ess/City The shipper's City N/A
Required if shipper is in
the US or CA. If Shipper
country is US or CA, then
the value must be a valid
US State/ Canadian
Province code. If the
country is Ireland, the
string
Cond
2...5
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 120
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
If Shipper country is US
or Puerto Rico, 5 or 9
digits are required. . The
character - may be used
to separate the first five
digits and the last four
digits. If the Shipper
country is CA, then the
postal code is required
and must be 6
alphanumeric characters
whose format is A#A#A#
where A is an uppercase
letter and # is a digit. For
all other countries the
postal code is optional
and must be no more
string
Cond
1...9
One
/ShipConfirmRequest/Shipment/Shipper/Addr than 9 alphanumeric
PostalCode ess/PostalCode Shipper's postal code. characters long.
Must be a valid UPS
2
Billing country code. For
Forward shipments it
must also be an allowable
UPS origin country. For
Return Shipment the
country code must meet
the following conditions:1)
At least two of the
following country codes
are the same: ShipTo,
ShipFrom, and Shipper.2)
None of the following
country codes are the
same and are a member
of the EU: ShipTo,
ShipFrom, and Shipper.3)
None of the following
country codes are the
same and at least one of
them is not a member of
the EU, the shipper must
have Third Country
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 121
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
One
Yes
N/A
ShipTo /ShipConfirmRequest/Shipment/ShipTo Ship To Container N/A
1...35
string
One
Yes
Name /ShipConfirmRequest/Shipment/ShipTo/Name Consignee's company name. N/A
1...35
string
Cond
One
/ShipConfirmRequest/Shipment/ShipTo/Attent Contact name at the International form is
AttentionName ionName consignee's location. requested
String
1...15
/ShipConfirmRequest/Shipment/ShipTo/TaxId One Consignee's tax
No
N/A
/ShipConfirmRequest/Shipment/ShipTo/Phon
Phone e Container for Phone Number N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 122
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Required for: UPS Next
Day Air Early A.M.
service, and when Ship
To country is different
than the ShipFrom
country. If ShipTo country
is US, PR, CA, and VI,
the layout is area code, 7
digit PhoneNumber or
area code, 7 digit
PhoneNumber, 4 digit
extension number;
number; for other
String
countries, the layout is
1...15
Yes*
One
/ShipConfirmRequest/Shipment/ShipTo/Phon CountryCode, area code,
Number e/Number Consignee's phone Number. 7 digit number.
String
1...4
One
/ShipConfirmRequest/Shipment/ShipTo/Phon Consignee's phone
No
Extension e/Extension extension. N/A
If ShipTo country is US
String
10 digits allowed,
1...15
One
/ShipConfirmRequest/Shipment/ShipTo/FaxN otherwise 1-15 digits
No
/ShipConfirmRequest/Shipment/ShipTo/EMail
No
N/A
/ShipConfirmRequest/Shipment/ShipTo/Addre
Address ss Address Container. N/A
String
Three
1...35
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 123
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...30
string
One
Yes
/ShipConfirmRequest/Shipment/ShipTo/Addre
City ss/City Consignee's city. N/A
If destination is US or CA,
2
then the value must be a
valid US State/ Canadian
Province code. If the
Consignee's state or country is Ireland, the
string
Cond
One
/ShipConfirmRequest/Shipment/ShipTo/Addre province code. Required for StateProvinceCode will
StateProvinceCode ss/StateProvinceCode US or Canada. contain the county.
If the ShipTo country is
US or Puerto Rico, 5 or 9
digits are required. . The
character - may be used
to separate the first five
digits and the last four
digits. If the ShipTo
country is CA, then the
postal code is required
and must be 6
alphanumeric characters
whose format is A#A#A#
where A is an uppercase
letter and # is a digit.
Otherwise optional. For
all other countries the
postal code is optional
and must be no more
string
Cond
1...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 124
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Must be a valid UPS
2
Billing country code. For
Return Shipment the
country code must meet
the following conditions:1)
At least two of the
following country codes
are the same: ShipTo,
ShipFrom, and Shipper.
2) None of the following
country codes are the
same and are a member
of the EU: ShipTo,
ShipFrom, and Shipper.
3) None of the following
country codes are the
same and at least one of
them is not a member of
the EU, the shipper must
have Third Country
string
One
Yes
/ShipConfirmRequest/Shipment/ShipTo/Addre contract service: ShipTo,
CountryCode ss/CountryCode Consignee's country code. ShipFrom, and Shipper.
This field is a flag to indicate
0
if the receiver is a residential
String location. True if
One
/ShipConfirmRequest/Shipment/ShipTo/Addre ResidentialAddressIndicator
No
shipment. Required if
pickup location is different
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 125
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
is in the XML and Invoice
string
Cond
One
/ShipConfirmRequest/Shipment/ShipFrom/Att The ship from Attention or CO International forms
AttentionName entionName name. is requested.
1...15
string
Cond
One
/ShipConfirmRequest/Shipment/ShipFrom/Ta Number at the pick up SED form (International
TaxIdentificationNumber xIdentificationNumber location forms) is requested
If ShipFrom country is
US, PR, CA, and VI, the
layout is area code, 7
digit phone number or
area code, 7 digit phone
number, 4 digit extension
number; for other
countries, the layout is
CountryCode, area code,
Container
7 digit number. Required
if ShipFrom tag is in the
Cond
One
N/A
/ShipConfirmRequest/Shipment/ShipFrom/Ph XML and International
Phone one Container for Phone Number forms is requested.
String
1...15
Yes*
One
10 digits allowed,
1...15
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 126
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The package will be
originating from or being
shipped from this
address. The shipment
container
will be rated from this
origin address to the
One
Yes
N/A
/ShipConfirmRequest/Shipment/ShipFrom/Ad Ship from Address destination ship to
Address dress Container. address..
Three
The Ship from street
1...35
string
Yes
/ShipConfirmRequest/Shipment/ShipFrom/Ad address including name and
AddressLine dress/AddressLine number (when applicable). Max Occurrence can be 3
1...30
string
One
Yes
/ShipConfirmRequest/Shipment/ShipFrom/Ad Required if ShipFrom tag
City dress/City The Ship from city. is in the XML.
2
Required if ShipFrom tag
is in the XML, and
ShipFrom/Country is US.
If ShipFrom country is US
or CA, then the value
must be a valid US State/
Canadian Province code.
If the country is Ireland,
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 127
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Required if ShipFrom tag
is in the XML and the
ShipFrom country is the
US, Puerto Rico. For US,
Puerto Rico must be valid
5 or 9 digit postal code.
The character - may be
used to separate the first
five digits and the last
four digits. If the
ShipFrom country is CA,
then the postal code must
be 6 alphanumeric
characters whose format
is A#A#A# where A is an
uppercase letter and # is
a digit. For all other
countries the postal code
is optional and must be
no more than 9
string
Cond
1...9
One
/ShipConfirmRequest/Shipment/ShipFrom/Ad The ship from location's alphanumeric characters
PostalCode dress/PostalCode postal code. long.
Required if ShipFrom tag
2
is in the XML. For Return
Shipment the country
code must meet the
following conditions:1) At
least two of the following
country codes are the
same: ShipTo, ShipFrom,
and Shipper.2) None of
the following country
codes are the same and
are a member of the EU:
ShipTo, ShipFrom, and
Shipper.3) None of the
following country codes
are the same and at least
one of them is not a
member of the EU, the
shipper must have Third
Country contract service:
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 128
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Payment information
container for detailed
shipment charges. The two
container
shipment charges that are
available for specification It is required for non-
Cond
One
N/A
/ShipConfirmRequest/Shipment/PaymentInfor are Transportation charges Ground Freight Pricing
PaymentInformation mation and Duties and Taxes. shipments only.
If Duty and Tax charges
are applicable to a
shipment and a payer is
Container
not specified, the default
payer of Duty and Tax
One
Yes
N/A
/ShipConfirmRequest/Shipment/PaymentInfor charges is Bill to
ShipmentCharge mation/ShipmentCharge Shipment charge container Receiver.
A shipment charge type
2
of 01 = Transportation is
required. A shipment
charge type of 02 =
Duties and Taxes is not
required; however, this
charge type is invalid for
Qualified Domestic
Shipments. A Qualified
Domestic Shipment is any
shipment in which one of
the following applies:1)
The origin and destination
country is the same2) US
to PR shipment3) PR to
US shipment4) The origin
and destination country
are both European Union
Countries and the
GoodsNotInFreeCirculatio
n indicator is not
Values are: 01 = present5) The origin and
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 129
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This element or its sibling
Container for the BillShipper element, BillReceiver,
billing option. The two BillThirdParty or
Container
payment methods that are ConsigneeBilledIndicator,
available for the Bill Shipper must be present but no
One
N/A
/ShipConfirmRequest/Shipment/PaymentInfor billing option are account more than one can be
No
BillShipper mation/ShipmentCharge/BillShipper number or credit card. present.
Must be the same UPS
6
account number as the
one provided in
Shipper/ShipperNumber.
Either this element or the
sibling element
/ShipConfirmRequest/Shipment/PaymentInfor CreditCard must be
string
Cond
One
mation/ShipmentCharge/BillShipper/AccountN provided, but both may
AccountNumber umber UPS account number not be provided.
Required if
/ShipConfirmRequest/Shi
pment/PaymentInformatio
n
/ShipmentCharge/BillShip
per/AccountNumber is not
Container
present. Credit card
/ShipConfirmRequest/Shipment/PaymentInfor payment is valid for
Cond
One
N/A
mation/ShipmentCharge/BillShipper/CreditCar Credit card information shipments without return
CreditCard d container service only.
2 Values are 01 = American
Express, 03 = Discover, 04 = Valid values are: 01, 03,
/ShipConfirmRequest/Shipment/PaymentInfor MasterCard, 05 = Optima, 04 and 06.For Discover
string
Yes*
One
/ShipConfirmRequest/Shipment/PaymentInfor
9...16
string
Yes*
One
mation/ShipmentCharge/BillShipper/CreditCar
Number d/Number Credit Card number N/A
6
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 130
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Valid values are 3 or 4
digits. It is required to
provide the security code
if credit card information
is provided and when the
ShipFrom countries are
other than the below
mentioned countries.
Three or four digits that can Argentina
be found either on top of Bahamas Costa
credit card number or on the Rica Dominican
/ShipConfirmRequest/Shipment/PaymentInfor back of credit card. Number Rep Guatemala
string
Yes*
One
3..4
mation/ShipmentCharge/BillShipper/CreditCar of digits varies for different Panama Puerto
SecurityCode d/SecurityCode type of credit card. Rico Russia
It is required to provide
billing address if credit
Container
card information is
/ShipConfirmRequest/Shipment/PaymentInfor provided and when the
Cond
One
N/A
mation/ShipmentCharge/BillShipper/CreditCar Container to hold the Credit ShipFrom country is the
Address d/Address card Billing Address. US, PR, and CA.
/ShipConfirmRequest/Shipment/PaymentInfor Yes* Address Line 1 of the credit
Thre
1...3
strin
mation/ShipmentCharge/BillShipper/CreditCar card billing address. Usually Max of three AddressLine
e
g
5
AddressLine d/Address/AddressLine Street address information. can be provided.
1...30
/ShipConfirmRequest/Shipment/PaymentInfor string
Yes*
One
/ShipConfirmRequest/Shipment/PaymentInfor
string
Yes*
2...5
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 131
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
than one can be present.
For a return shipment, Bill
Cond
One
N/A
/ShipConfirmRequest/Shipment/PaymentInfor Container for the Receiver is invalid for
BillReceiver mation/ShipmentCharge/BillReceiver BillReceiver billing option. Transportation charges.
The account must be a
6
valid UPS account
number that is active. For
US, PR and CA accounts,
the account must be a
daily pickup account, an
occasional account, a
customer B.I.N account,
or a dropper shipper
account. All other
accounts must be either a
daily pickup account, an
/ShipConfirmRequest/Shipment/PaymentInfor occasional account, a
string
Yes*
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 132
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The postal code must be
the same as the UPS
account pickup address
postal code. Required for
United States and
Canadian UPS accounts
and/or if the UPS account
pickup address has a
postal code. If the UPS
accounts pickup country
is US or Puerto Rico, the
postal code is 5 or 9
digits. The character -
may be used to separate
the first five digits and the
last four digits. If the UPS
The postal code for the UPS accounts pickup country
accounts pickup address. is CA, the postal code is 6
The pickup postal code was alphanumeric characters
/ShipConfirmRequest/Shipment/PaymentInfor entered in the UPS system whose format is A#A#A#
string
Cond
0...9
One
mation/ShipmentCharge/BillReceiver/Address when the account was set- where A is an uppercase
PostalCode /PostalCode up. letter and # is a digit.
This element or its sibling
element, BillShipper,
container BillReceiver or Consignee
Billed, must be present
Cond
One
N/A
/ShipConfirmRequest/Shipment/PaymentInfor Container for the third party but no more than one can
BillThirdParty mation/ShipmentCharge/BillThirdParty billing option. be present.
The account must be a
6
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 133
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
/ShipConfirmRequest/Shipment/PaymentInfor Container for additional
One
Yes
N/A
mation/ShipmentCharge/BillThirdParty/Addres information for the third party
Address s UPS accounts address. N/A
The postal code must be
the same as the UPS
account pickup address
postal code. Required for
United States and
Canadian UPS accounts
and/or if the UPS account
pickup address has a
postal code. If the UPS
accounts pickup country
is US or Puerto Rico, the
postal code is 5 or 9
digits. The character -
may be used to separate
the first five digits and the
last four digits. If the UPS
The postal code for the UPS accounts pickup country
accounts pickup address. is CA, the postal code is 6
The pickup postal code was alphanumeric characters
/ShipConfirmRequest/Shipment/PaymentInfor entered in the UPS system whose format is A#A#A#
string
Cond
0...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 134
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Empty Tag. This element
0
or its sibling element,
BillShipper, BillReceiver
or BillThirdParty, must be
present but no more than
Consignee Billing payment one can be present. This
option indicator. The billing option is valid for a
presence indicates shipment charge type of
consignee billing option is Transportation only. Only
/ShipConfirmRequest/Shipment/PaymentInfor selected. The absence applies to US/PR and
string
Cond
One
mation/ShipmentCharge/ConsigneeBilledIndic indicates one of the other PR/US shipment origins
ConsigneeBilledIndicator ator payment options is selected. and destination.
Split Duty VAT Indicator.
0
The presence indicates the
payer specified for
Transportation Charges will Empty Tag. The payment
pay transportation charges method for Transportation
and any duties that apply to charges must be UPS
the shipment. The payer account. The UPS
String
specified for Duties and account must be a daily
One
/ShipConfirmRequest/Shipment/PaymentInfor Taxes will pay the VAT pickup account or an
SplitDutyVATIndicator mation/SplitDutyVATIndicator No (Value-Added Tax) only. occasional account.
Container
Container to hold the
Payment information for the Required for Ground
Cond
One
N/A
/ShipConfirmRequest/Shipment/FRSPaymentI Ground Freight Pricing Freight Pricing
FRSPaymentInformation nformation Shipments Shipments only
Container
N/A
/ShipConfirmRequest/Shipment/FRSPaymentI 02=FreightCollect
Code nformation/Type/Code 03=PrepaidThirdParty
50
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 135
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
If the Ground Freight
6
Pricing indicator is
present in the request,
This account number
String
must be validated to
One
Yes
/ShipConfirmRequest/Shipment/FRSPaymentI check if it is Ground
AccountNumber nformation/AccountNumber The UPS account number. Freight Pricing enabled.
Container
Container to hold the Note: The Address is
information for the required only when the
Cond
One
N/A
/ShipConfirmRequest/Shipment/FRSPaymentI FreightCollect and billing option is Freight
Address nformation/Address PrepaidThirdParty Address. collect or ThirdParty.
String
Ground Freight Pricing
Cond
0...9
One
/ShipConfirmRequest/Shipment/FRSPaymentI payment information
PostalCode nformation/Address/PostalCode address.
2
The country code for the
String
Ground Freight Pricing
One
Yes
/ShipConfirmRequest/Shipment/FRSPaymentI payment information
CountryCode nformation/Address/CountryCode address.
0
Empty Tag. This indicator
is invalid for a package
string
One
N/A
/ShipConfirmRequest/Shipment/ShipmentRati ShipmentRatingOptions
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 136
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The Shipper account and
0
UserId combination must
be qualified to receive
Negotiated rates. If the
indicator is present and
the Shipper is qualified
then Negotiated rates will
be returned in the
response. Only the
Shipper account number
Negotiated Rates option taken from
indicator. If the indicator is /ShipConfirmRequest/Shi
present and the Shipper is pment/Shipper/ShipperNu
String
authorized then Negotiated mber is used when
One
/ShipConfirmRequest/Shipment/ShipmentRati Rates should be returned in checking qualification for
No
NegotiatedRatesIndicator ngOptions/NegotiatedRatesIndicator the response. Negotiated rates.
The Shipper account
0
number must be qualified
to receive Ground Freight
Pricing Shipment rates.
Only the Shipper account
Ground Freight Pricing number taken from
Rates option indicator. If the /ShipConfirmRequest/Shi
Ground Freight Pricing pment/ Ground Freight
Shipment indicator is Pricing
enabled and Shipper PaymentInformation/Acco
number is authorized then untNumber is used when
String
/ShipConfirmRequest/Shipment/ShipmentRati
No
RateChartIndicator ngOptions/RateChartIndicator
Must contain alphanumeric
18
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 137
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
N/A
/ShipConfirmRequest/Shipment/ReferenceNu Reference Number
No
ReferenceNumber mber information container. N/A
0
Empty Tag. Allowed for
shipment with return
service only. Only one
shipment-level or
package-level reference
number can be bar coded
per shipment. In order to
barcode a reference
number, its value must be
no longer than 14
If the indicator is present alphanumeric characters
then the reference numbers or 24 numeric characters
string
One
/ShipConfirmRequest/Shipment/ReferenceNu value will be bar coded on and cannot contain
No
BarCodeIndicator mber/BarCodeIndicator the label. spaces.
2
Shipment Reference number
type code. The code
specifies the Reference Valid if the
name. Refer to the origin/destination pair is
string
One
Valid if the
1...35
string
Yes*
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 138
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Values are: 01 = Next Day
2
Air, 02 = 2nd Day Air, 03 =
Ground, 07 = Express, 08 =
Expedited, 11 = UPS
Standard, 12 = 3 Day Select,
13 = Next Day Air Saver, 14
= Next Day Air Early AM, 54 The following Services
= Express Plus, 59 = 2nd are not available to return
Day Air A.M., 65 = UPS shipment:13 - Next Day
Saver, 82 = UPS Today Air Saver, 14 - Next Day
Standard, 83 = UPS Today Air Early AM, 59 - 2nd
Dedicated Courier, 84 = Day Air A.M., 82 = UPS
UPS Today Intercity, 85 = Today Standard, 83 =
UPS Today Express, 86 = UPS Today Dedicated
UPS Today Express Saver. Courier, 84 = UPS Today
String
Note: Only service code 03 Intercity, 85 = UPS Today
One
Yes
is used for Ground Freight Express, 86 = UPS Today
Code /ShipConfirmRequest/Shipment/Service/Code Pricing shipments Express Saver.
1...35
string
One
/ShipConfirmRequest/Shipment/Service/Descr No Day Air, Worldwide Express,
Description iption and Ground. N/A
Required for forward
shipments whose origin is
the US and destination is
Puerto Rico or Canada.
Not available for any
other shipments. FOR
Container
OTHER DESTINATIONS
the InvoiceLineTotal in
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 139
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer Container for Shipment
No
ShipmentServiceOptions viceOptions Service Option N/A
0
Saturday delivery indicator.
The presence indicates
String
Saturday delivery; the
One
/ShipConfirmRequest/Shipment/ShipmentSer absence indicates not
No
SaturdayDeliveryIndicator viceOptions/SaturdayDeliveryIndicator Saturday delivery. Empty Tag.
Indicates COD is
requested. Shipment
COD is only available for
EU origin countries and
for shipper's account type
Container
Daily Pickup and Drop
Shipping. Not available
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer No to shipment with return
COD viceOptions/COD COD container service.
1
Values are: 1 = cash; 9 =
String
check, cashiers check or
Yes*
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer
CODAmount viceOptions/COD/CODAmount COD Amount Container. N/A
3
string
Yes*
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 140
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
/ShipConfirmRequest/Shipment/ShipmentSer
string
Yes*
1...8
One
viceOptions/COD/CODAmount/MonetaryValu COD Amount monetary
MonetaryValue e value.
Container
Container for the Quantum
ViewTM notifications (QVN)
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer or Return Notification (aka
No
Notification viceOptions/Notification Label Creation Notification). N/A
The type of notification
1
requested. Valid Value: 5 -
QV In-transit Notification 6 -
QV Ship Notification 7 - QV
Exception Notification 8 - QV
Delivery Notification 2 -
Return Notification or Label
Creation Notification
Note:QVN Exception
notification and return Quantum View TM
notification are not Notification (QVN) is only
applicable to GFP QV In- allowed for shipment
String transit and Return without return service;
Notifications are only valid Return Notification is only
Yes*
One
N/A
Up to five email
addresses are allowed for
each type of Quantum
View TM shipment
String
notification. Up to two
1...50
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 141
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
/ShipConfirmRequest/Shipment/ShipmentSer message is sent if the eMail ss for each type of
1...50
One
viceOptions/Notification/EMail/UndeliverableE with the notification is Quantum View Shipment
No
UndeliverableEMailAddress MailAddress undeliverable. Notifications.
The e-mail address specifies
the Reply To E-mail
String
/ShipConfirmRequest/Shipment/ShipmentSer address. The From field of
1...50
Cond
One
viceOptions/Notification/EMail/FromEMailAddr the message header
FromEMailAddress ess contains [email protected]. Return Notification only.
1...35
string
One
/ShipConfirmRequest/Shipment/ShipmentSer appear to be from. Defaults type of Quantum View
No
FromName viceOptions/Notification/EMail/FromName to the Shipper Name. Shipment Notifications.
The Memo must occur
1...150
only once for each type of
string
One
/ShipConfirmRequest/Shipment/ShipmentSer User defined text that will be Quantum View Shipment
No
Memo viceOptions/Notification/EMail/Memo included in the eMail. Notifications.
1...75
string
One
/ShipConfirmRequest/Shipment/ShipmentSer The eMail's subject. Defaults
No
Subject viceOptions/Notification/EMail/Subject to text provided by UPS Return Notification only.
Specifies a reference code
2
and reference number to
display in the subject of the
Notification. The valid
subject codes are: 01 -
Shipment Reference
Number 1 02 - Shipment For return notification: If
Reference Number 2 03 - the subject code tag is
package Reference Number not provided and the
1 04 - package Reference subject text is provided,
Number 2 08 - Subject the subject of the
Text (Return Notification notification will be the
only) If a subject code is not subject text. If the subject
provided or provided that text is provided and the
refers to a nonexistent subject code tag exists,
reference number, the then the subject code
subject will default to value must be 08. If
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 142
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container for the Label
Delivery accessorial.Note:
Currently Label delivery
accessorial is not applicable
to GFP Required for
shipments with either
Electronic Return Label
Return Service or
ImportControl Electronic
LabelMethod type. If this
Container
container is present, either
of the LabelLinksIndicator or Valid for shipments with a
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer Email container should be Electronic Return Label
No
LabelDelivery viceOptions/LabelDelivery provided. Return Service.
container
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer Container for the email
No
EMail viceOptions/LabelDelivery/EMail message. N/A
1...50
string
Yes*
One
viceOptions/LabelDelivery/EMail/EMailAddres address for the Label
EMailAddress s Delivery. N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 143
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1..150
string
One
/ShipConfirmRequest/Shipment/ShipmentSer User defined text that will be
No
Memo viceOptions/LabelDelivery/EMail/Memo included in the email. N/A
1...75
string
One
/ShipConfirmRequest/Shipment/ShipmentSer shipment ID. Defaults to text
No
Subject viceOptions/LabelDelivery/EMail/Subject provided by UPS N/A
2
If the subject code tag is
not provided and the
subject text is provided,
the subject of the
notification will be the
Specifies a reference code subject text. If the subject
and reference number to text is provided, and the
display in the subject of the subject code tag exists,
Label Delivery notification. then the subject code
When the subject code is value must be 08;If
provided, the subject will Subject code is 08,
contain the following: UPS subject text must exist. If
Label Delivery. The a subject code is provided
reference code (the that refers to a
reference code will be nonexistent reference
mapped to the number, the subject will
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 144
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
REFER TO
InternationalForms
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer International Forms Interface Spec for the
No
InternationalForms viceOptions/InternationalForms information expansion of this node.
2
Possible Values are: 01
- Invoice 02 - SED03 -
CO 04 - NAFTA CO 05
- Partial Invoice. For
shipment with return
service, 01 or 05 are the
*Yes to Four
only valid values. Note:
01 and 05 are mutually
exclusive and 05 is only
string
One
/ShipConfirmRequest/Shipment/ShipmentSer Indicates the name of the valid for return shipments
FormType viceOptions/InternationalForms/FormType International form requested. only.
This indicator should be
0
set when the shipper
intends to utilize UPS
paperless invoice
functionality AND the
shipper has SELF-
PREPARED other
International Forms (SED,
CO, NAFTACO) to
accompany the shipment.
It is evaluated only
when:1. Account is
paperless enabled. 2.
Movement requires an
invoice.3. Destination
country accepts
Presence of the indicator paperless invoice. 4.
/ShipConfirmRequest/Shipment/ShipmentSer means user will supply Invoice data is supplied
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 145
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
50
Contains description text
which identifies the group of
/ShipConfirmRequest/Shipment/ShipmentSer International forms. This
string
One
viceOptions/InternationalForms/FormGroupId element does not appear on
No
FormGroupIdName Name the forms.
2
Applicable for SED form
/ShipConfirmRequest/Shipment/ShipmentSer and is required. Valid
string
Cond
One
viceOptions/InternationalForms/SEDFilingOpti Indicates the SED filing values is:01 - Shipper
SEDFilingOption on option filing SED
Applicable for SED form
and NAFTA CO only.
Required for NAFTA CO
and SED. Ultimate
consignee contact
Container
information is required for
Holds the contact SED. Producer contact
Cond
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer information of various information is required for
Contacts viceOptions/InternationalForms/Contacts parties. NAFTA CO
The forwarding agent is the
Container
company or person acting as
/ShipConfirmRequest/Shipment/ShipmentSer One agent in the trans-shipping
N/A
viceOptions/InternationalForms/Contacts/For of freight to the destination Applicable for SED form
No
/ShipConfirmRequest/Shipment/ShipmentSer
1...15
string
*Yes
One
/ShipConfirmRequest/Shipment/ShipmentSer
*Yes
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 146
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Three
/ShipConfirmRequest/Shipment/ShipmentSer
1...35
string
*Yes
viceOptions/InternationalForms/Contacts/For Address line of the Max Occurrence must be
AddressLine wardAgent/Address/AddressLine Forwarding agent. 3
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
string
*Yes
One
viceOptions/InternationalForms/Contacts/For Applicable for SED form
City wardAgent/Address/City City of the Forwarding agent. only.
string
Cond
1...5
One
viceOptions/InternationalForms/Contacts/For State of the Forwarding only. Required for certain
StateProvinceCode wardAgent/Address/StateProvinceCode agent. countries.
String
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
One
viceOptions/InternationalForms/Contacts/For Town of the Forwarding
No
Town wardAgent/Address/Town agent
Applicable for SED form
only. Required for certain
/ShipConfirmRequest/Shipment/ShipmentSer countries. The length of
string
Cond
1...9
One
viceOptions/InternationalForms/Contacts/For Postal code of the the postal code depends
PostalCode wardAgent/Address/PostalCode Forwarding agent. on the country code.
2
/ShipConfirmRequest/Shipment/ShipmentSer
string
*Yes
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 147
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
/ShipConfirmRequest/Shipment/ShipmentSer
*Yes
One
N/A
viceOptions/InternationalForms/Contacts/Ulti Address information of the Applicable for SED form
Address mateConsignee/Address Ultimate consignee. only.
Three
/ShipConfirmRequest/Shipment/ShipmentSer
1...35
string
*Yes
viceOptions/InternationalForms/Contacts/Ulti Address line of the Ultimate Max Occurrence must be
AddressLine mateConsignee/Address/AddressLine consignee. 3
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
string
*Yes
One
viceOptions/InternationalForms/Contacts/Ulti City of the Ultimate Applicable for SED form
City mateConsignee/Address/City consignee. only.
string
Cond
1...5
viceOptions/InternationalForms/Contacts/Ulti One State of the Ultimate only. Required for certain
StateProvinceCode mateConsignee/Address/StateProvinceCode String consignee. countries
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
One
1...9
One
/ShipConfirmRequest/Shipment/ShipmentSer
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 148
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
is the person or company in
/ShipConfirmRequest/Shipment/ShipmentSer the importing country that
1...35
One
viceOptions/InternationalForms/Contacts/Inter makes final delivery to the Applicable for SED form
No
IntermediateConsignee mediateConsignee ultimate consignee. only.
1...35
string
*Yes
One
viceOptions/InternationalForms/Contacts/Inter Individual name of the Applicable for SED form
CompanyName mediateConsignee/CompanyName Intermediate consignee. only.
Container
/ShipConfirmRequest/Shipment/ShipmentSer
1...50
*Yes
One
viceOptions/InternationalForms/Contacts/Inter Address information of the Applicable for SED form
Address mediateConsignee/Address Intermediate Consignee. only.
Three
/ShipConfirmRequest/Shipment/ShipmentSer
1...35
string
*Yes
viceOptions/InternationalForms/Contacts/Inter Address line of the Max Occurrence must be
AddressLine mediateConsignee/Address/AddressLine Intermediate Consignee. 3
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
string
*Yes
One
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/InternationalForms/Contacts/Inter Applicable for SED form
string
Cond
1...5
One
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
One
1...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 149
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
/ShipConfirmRequest/Shipment/ShipmentSer
string
*Yes
One
viceOptions/InternationalForms/Contacts/Inter Country code of the Applicable for SED form
CountryCode mediateConsignee/Address/CountryCode Intermediate Consignee. only.
Information of the producer.
The NAFTA Certificate of
Origin must be completed,
signed, and dated by the
exporter. When the
Certificate is completed by
the producer for use by the
exporter, it must be
completed, signed, and
Container
dated by the producer. The
/ShipConfirmRequest/Shipment/ShipmentSer date must be the date the Applies to NAFTA CO.
1...35
Cond
One
viceOptions/InternationalForms/Contacts/Prod Certificate was completed Required for NAFTA CO
Producer ucer and signed. forms
The text associated with the
2
code will be printed in the
producer section instead of
producer contact
information. Use attached
List if more than one
producers good is included
on the Certificate, attach a Applies to NAFTA CO.
list of additional producers, Possible Values are:01:
including the legal name, AVAILABLE TO
address (including country), CUSTOMS UPON
and legal tax identification REQUEST, 02: SAME AS
/ShipConfirmRequest/Shipment/ShipmentSer number, cross-referenced to EXPORTER, 03:
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 150
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...15
string
One
viceOptions/InternationalForms/Contacts/Prod producer option is empty
No
TaxIdentificationNumber ucer/TaxIdentificationNumber Tax ID of the Producer. or not present
Applies to NAFTA CO.
Only applicable if
producer option is empty
or not present.
Container
Conditionally required for:
/ShipConfirmRequest/Shipment/ShipmentSer NAFTA CO, when
1...50
Cond
One
viceOptions/InternationalForms/Contacts/Prod Address information of the Producer option is not
Address ucer/Address Producer. specified.
Three
/ShipConfirmRequest/Shipment/ShipmentSer
1...35
string
*Yes
viceOptions/InternationalForms/Contacts/Prod Address line of the Max Occurrence must be
AddressLine ucer/Address/AddressLine Producer. 3
1...30
string
*Yes
One
viceOptions/InternationalForms/Contacts/Prod Producer option is not
City ucer/Address/City City of the Producer. specified.
1...5
One
/ShipConfirmRequest/Shipment/ShipmentSer
1...30
One
viceOptions/InternationalForms/Contacts/Prod
No
1...9
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 151
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
/ShipConfirmRequest/Shipment/ShipmentSer
string
*Yes
1...2
One
viceOptions/InternationalForms/Contacts/Prod Country code of the
CountryCode ucer/Address/CountryCode Producer. Applies to NAFTA CO
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/InternationalForms/Contacts/Prod
No
AttentionName ucer/AttentionName Producer Contact Name
1
Container
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/InternationalForms/Contacts/Prod
No
Phone ucer/Phone Phone Container
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
Yes
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/InternationalForms/Contacts/Prod Producer contact's Phone
No
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/InternationalForms/Contacts/Prod Producer contact's email
No
/ShipConfirmRequest/Shipment/ShipmentSer
One
N/A
viceOptions/InternationalForms/Contacts/Sold
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 152
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
/ShipConfirmRequest/Shipment/ShipmentSer
string
1..35
Yes*
One
viceOptions/InternationalForms/Contacts/Sold
Name To/Name Company Name.
/ShipConfirmRequest/Shipment/ShipmentSer
string
1..35
Yes*
One
viceOptions/InternationalForms/Contacts/Sold
AttentionName To/AttentionName Contact Name.
/ShipConfirmRequest/Shipment/ShipmentSer
string
1..15
One
viceOptions/InternationalForms/Contacts/Sold SoldTo Tax Identification
No
TaxIdentificationNumber To/TaxIdentificationNumber Number
container
/ShipConfirmRequest/Shipment/ShipmentSer
One
N/A
viceOptions/InternationalForms/Contacts/Sold
No
/ShipConfirmRequest/Shipment/ShipmentSer
string
1..15
Yes*
One
/ShipConfirmRequest/Shipment/ShipmentSer
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 153
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
/ShipConfirmRequest/Shipment/ShipmentSer
Yes*
One
N/A
viceOptions/InternationalForms/Contacts/Sold
Address To/Address Address Container.
35
Three
/ShipConfirmRequest/Shipment/ShipmentSer
string
Yes
viceOptions/InternationalForms/Contacts/Sold SoldTo location's street Max Occurrence must be
AddressLine To/Address/AddressLine address. 3
30
/ShipConfirmRequest/Shipment/ShipmentSer
string
One
Yes
viceOptions/InternationalForms/Contacts/Sold
City To/Address/City SoldTo location's city.
5
/ShipConfirmRequest/Shipment/ShipmentSer
string
Cond
/ShipConfirmRequest/Shipment/ShipmentSer
string
One
viceOptions/InternationalForms/Contacts/Sold
No
/ShipConfirmRequest/Shipment/ShipmentSer
string
Cond
One
/ShipConfirmRequest/Shipment/ShipmentSer
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 154
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/InternationalForms/Contacts/Sold Sold To contact's email
No
EMailAddress To/EMailAddress address.
Applies to SED, Invoice,
Partial Invoice, CO and
NAFTA CO. When any
International form is
*Yes to fifty
requested Product must
Container
be present at least once
but no more than 50.
1...50
One
/ShipConfirmRequest/Shipment/ShipmentSer Contains the commodity/ Note: For Partial Invoice
Product viceOptions/InternationalForms/Product product information this container is optional.
Applies to all International
Forms. Optional for
Partial Invoice. Must be
/ShipConfirmRequest/Shipment/ShipmentSer present at least once and
1...35
string
*Yes
One
viceOptions/InternationalForms/Product/Descr can occur for a maximum
Description iption Description of the product. of 3 times
Container
Container tag for the unit's Required for Invoice
1...20
Cond
One
1...7
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 155
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Required for Invoice
forms and optional for
Partial Invoice. Valid
entries 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 = Proof
Liters, PKG = Package ,
PR = Pair, PRS = Pairs,
RL = Roll, SET = Set,
SME = Square Meters,
/ShipConfirmRequest/Shipment/ShipmentSer Code for the Unit of SYD = Square Yards, TU
string
1... 3
*Yes
One
1..3
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 156
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice and
Partial Invoice form.
Required for Invoice
forms and optional for
Partial Invoice. Amount
should be greater than
zero. Valid characters
are 0-9 and .(Decimal
point). Limit to 6 digits
after the decimal. The
maximum length of the
field is 12 including . and
can hold up to 6 decimal
places.(#####.######,
######.#####,
#######.####,
########.###,
#########.##,########
##.#,############)The
value of this product and
the other products should
be such that the invoice
line total which is the sum
Monetary amount used to of ( number*values) of all
/ShipConfirmRequest/Shipment/ShipmentSer specify the worth or price of products should not
1...12
string
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 157
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice, Partial
Invoice and NAFTA CO.
Required for NAFTA CO
and optional for Partial
Invoice. Should be at
least 6 alphanumeric. For
NAFTA CO: For each
good described in
Description of Goods
field, identify the H.S.
tariff classification to six
digits. If the good is
subject to a specific rule
of origin in Annex 401
that requires eight digits,
identify to eight digits,
6-to-15-alphanumeric using the H.S. tariff
commodity code. Customs classification of the
/ShipConfirmRequest/Shipment/ShipmentSer uses this code to determine country into whose
6...15
string
Cond
One
viceOptions/InternationalForms/Product/Com what duties should be territory the good is
CommodityCode modityCode assessed on the commodity. imported.
The part number or Applies to Invoice and
reference number for the Partial Invoice. Required
1...10
/ShipConfirmRequest/Shipment/ShipmentSer product contained in the for Invoice forms and
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 158
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice, Partial
2
Invoice, CO and NAFTA
CO. Required for Invoice
and CO forms. Optional
for Partial Invoice.
Conditionally required for
NAFTA CO if
JointProductionIndicator
is not present. For all
other originating goods
exported to Canada,
indicate appropriately MX
or US if the goods
originate in that NAFTA
country, within the
The country in which the meaning of the NAFTA
good was manufactured, Rules of Origin
produced, or grown. For Regulations, and any
detailed information on subsequent processing in
country of origin, certificate the other NAFTA country
of origin, rules of origin, and does not increase the
any related matters, please transaction value of the
refer to the U.S. Customs goods by more than
and Border Protection Web seven percent; otherwise
/ShipConfirmRequest/Shipment/ShipmentSer string site at www.customs.gov or use the
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 159
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Optional
/ShipConfirmRequest/Shipment/ShipmentSer
One
N/A
viceOptions/InternationalForms/Product/NetC Date Range for regional Applies to NAFTA CO
NetCostDateRange ostDateRange value content (RVC) only.
If the RVC is calculated over
8
a period of time, it should be
identified by the begin date
/ShipConfirmRequest/Shipment/ShipmentSer (yyyyMMdd) of that period. Applies to NAFTA CO
string
*Yes
One
viceOptions/InternationalForms/Product/NetC (Reference: Articles 402.1, only. Format is
BeginDate ostDateRange/BeginDate 402.5). yyyyMMdd
If the RVC is calculated over
8
a period of time, it should be
identified by the End date
/ShipConfirmRequest/Shipment/ShipmentSer (yyyyMMdd) of that period. Applies to NAFTA CO
string
*Yes
One
viceOptions/InternationalForms/Product/NetC (Reference: Articles 402.1, only. Format is
EndDate ostDateRange/EndDate 402.5). yyyyMMdd
Indicates the criterion (A
1
through F) for each good
described in the Description
of Goods field if applicable.
The rules of origin are
contained in Chapter Four
and Annex 401. Additional
rules are described in Annex
703.2 (certain agricultural
goods), Annex 300-B,
Appendix 6 (certain textile
goods) and Annex 308.1
/ShipConfirmRequest/Shipment/ShipmentSer (certain automatic data Applicable for NAFTA CO
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 160
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Indicate the following: Yes -
If shipper is the producer of
the good. If not, state 02, 03,
and 04 depending on
whether this certificate was
based upon: No[1] -
Knowledge of whether the
good qualifies as an
originating good. No[2] -
Reliance on the producers
written representation (other
than a Certificate of Origin)
that the good qualifies as an
originating good. No[3] - A
completed and signed Applicable for NAFTA CO
3 0r 5
/ShipConfirmRequest/Shipment/ShipmentSer Certificate for the good and is required. Possible
string
Cond
One
viceOptions/InternationalForms/Product/Produ voluntarily provided to the Values: Yes, No[1], No[2],
ProducerInfo cerInfo exporter by the producer. or No[3]
1...35
string
viceOptions/InternationalForms/Product/Mark One and numbers that may
No
1...3
One
N/A
viceOptions/InternationalForms/Product/Produ This weight does not include forms only. Required for
ProductWeight ctWeight carrier equipment. CO and SED forms.
Container
/ShipConfirmRequest/Shipment/ShipmentSer
*Yes
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 161
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
/ShipConfirmRequest/Shipment/ShipmentSer Applies to CO and SED
string
*Yes
One
viceOptions/InternationalForms/Product/Produ Code for unit of forms only. Possible
Code ctWeight/UnitOfMeasurement/Code Measurement of weight values :KGS, LBS
String
/ShipConfirmRequest/Shipment/ShipmentSer
1...20
One
viceOptions/InternationalForms/Product/Produ Description of the Unit of
No
Description ctWeight/UnitOfMeasurement/Description Measure
Applies to CO and SED
forms only. Valid
characters are 0-9 and
.(Decimal point). Limit to
1 digit after the decimal.
The maximum length of
/ShipConfirmRequest/Shipment/ShipmentSer the field is 5 including .
string
*Yes
1...5
One
viceOptions/InternationalForms/Product/Produ and can hold up to 1
Weight ctWeight/Weight Weight decimal place.
Includes the following
information for used self-
propelled vehicles as
defined in Customs
regulations 19 CFR 192.1:
The unique Vehicle
Identification Number (VIN)
in the proper format. Or The
Product Identification
Number (PIN) for those used
/ShipConfirmRequest/Shipment/ShipmentSer self propelled vehicles for
1...25
string
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 162
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
10
A unique 10-digit commodity
classification code for the
item being exported. (To
classify a commodity access
the following Web page:
/ShipConfirmRequest/Shipment/ShipmentSer http://www.census.gov/foreig Applies to SED forms
string
*Yes
One
viceOptions/InternationalForms/Product/Sche n- only. Has to be 10
Number duleB/Number trade/schedules/b/#search). characters.
The count of how many
Schedule B units of the Applies to SED forms
current good are in the only. Conditionally
shipment (SED only).For required for SED forms if
example, if the Schedule B ScheduleB
unit of measure is dozens UnitOfMeasurement is
/ShipConfirmRequest/Shipment/ShipmentSer and eight dozen, is being not X. Should be
1...10
string
Cond
One
viceOptions/InternationalForms/Product/Sche shipped, indicate 8 in this Numeric. Valid characters
Quantity duleB/Quantity field. are 0 -9.
Container
/ShipConfirmRequest/Shipment/ShipmentSer The unit of measure
*Yes
One
N/A
viceOptions/InternationalForms/Product/Sche indicated on the Export Applies to SED forms
UnitOfMeasurement duleB/UnitOfMeasurement License. only.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 163
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to SED forms
only. Required for the
SED form. Possible
Values: BBL: Barrels,
CAR: Carat, CKG:
Content Kilogram, CM2:
Square Centimeters,
CTN: Content Ton, CUR:
Curie, CYK: Clean Yield
Kilogram, DOZ: Dozen,
DPC: Dozen Pieces,
DPR: Dozen Pairs, FBM:
Fiber Meter, GCN: Gross
Containers, GM: Gram,
GRS: Gross, HUN:
Hundred, KG: Kilogram,
KM3: 1,000 Cubic Meters,
KTS: Kilogram Total
Sugars, L: Liter, M: Meter,
M2: Square Meters, M3:
Cubic Meters, MC:
Millicurie, NO: Number,
PCS: Pieces, PFL: Proof
The unit of measure Liter, PK: Pack, PRS:
indicated on the Export Pairs, RBA: Running
/ShipConfirmRequest/Shipment/ShipmentSer License. Enter an X if there Bales, SQ: Square, T:
string
*Yes
One
/ShipConfirmRequest/Shipment/ShipmentSer
1...20
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 164
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Code indicating Domestic:
1
Exports that have been
produced, manufactured, or
grown in the United States
or Puerto Rico. This includes
imported merchandise which
has been enhanced in value
or changed from the form in
which imported by further
manufacture or processing
in the United States or
Puerto Rico. Foreign:
Merchandise that has
entered the United States
and is being exported again
in the same condition as
when imported. Applies to SED forms
ForeignMilitary: Exported only. Required for SED
/ShipConfirmRequest/Shipment/ShipmentSer merchandise that is sold form. Possible Values:
string
Cond
One
viceOptions/InternationalForms/Product/Expor under the foreign military D: Domestic, F: Foreign,
ExportType tType sales program. M: Foreign Military.
Applies to SED forms
only. Required for SED
form. Valid characters are
0-9 and .(Decimal point).
Limit to 2 digit after the
decimal. The maximum
length of the field is 15
including . and can hold
up to 2 decimal places.
Note: This value is
calculated based on the
Product/Unit/Value and
/Product/Unit/Number
(Number of Units * Price
The value of the S.E.D. per Unit). If the total value
/ShipConfirmRequest/Shipment/ShipmentSer commodity contained on the is incorrect it will be
1...15
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 165
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
If this container is not
Container tag for present we assume that
Container
determining whether or not the DEFAULT is selected
/ShipConfirmRequest/Shipment/ShipmentSer to exclude product which is "none" and all
One
N/A
viceOptions/InternationalForms/Product/Exclu information from a particular products will appear on all
No
ExcludeFromForm deFromForm form. forms.
Possible Values are 04 –
NAFTA CO. Please note
unbounded
that if this is used and you
Indicates the name of the DO NOT have the
String
/ShipConfirmRequest/Shipment/ShipmentSer International form requested corresponding form type
Yes
1..2
viceOptions/InternationalForms/Product/Exclu to NOT have product requested this will be
FormType deFromForm/FormType information. IGNORED.
1...35
string
One
viceOptions/InternationalForms/InvoiceNumbe Commercial Invoice number forms and optional for
No
InvoiceNumber r assigned by the exporter Partial Invoice.
Applies to Invoice and
8
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Required
for Invoice form for
forward shipments. For
shipment with return
service, the user input will
be ignored, and the field
Date when the Invoice is will be blank on the
string
Cond
One
/ShipConfirmRequest/Shipment/ShipmentSer
1...35
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 166
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice and
3
Partial Invoice forms only.
Possible values are: CFR:
Cost and Freight, CIF:
Cost, Insurance and
Freight, CIP: Carriage
and Insurance Paid, CPT:
Carriage Paid To. DAF:
Delivered at Frontier,
DDP: Delivery Duty Paid,
DDU: Delivery Duty
Unpaid, DEQ: Delivered
Ex Quay, DES: Delivered
Ex Ship, EXW: Ex Works,
/ShipConfirmRequest/Shipment/ShipmentSer FAS: Free Alongside
string
One
viceOptions/InternationalForms/TermsOfShip Indicates the rights to the Ship, FCA: Free Carrier,
No
TermsOfShipment ment seller from the buyer. FOB: Free On Board.
1...20
string
Cond
1...150
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 167
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This is the legal explanation,
used by Customs, for the
delivering of this shipment. It
must be identical to the set
of declarations actually used
by Customs. Examples of
declarations that might be
entered in this field are: I
hereby certify that the goods
covered by this shipment
qualify as originating goods
for purposes of preferential
tariff treatment under the Applies to Invoice and
NAFTA.I hereby certify that Partial Invoice forms only.
the information on this On the invoice for return
invoice is true and correct shipment, the verbiage is
and the contents and value as follows (user input is
of this shipment is as stated ignored): The exporter of
above. EEA statement: The the products covered by
exporter of the products this document declares
covered by this document that except where
declares that except where otherwise clearly
1...550
/ShipConfirmRequest/Shipment/ShipmentSer otherwise clearly indicated indicated these products
string
One
viceOptions/InternationalForms/DeclarationSt these products are of EEA are of EEA preferential
No
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 168
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice and
15
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Valid
characters are 0-9 and
.(Decimal point). Limit to
2 digit after the decimal.
The maximum length of
the field is 15 including .
and can hold up to 2
decimal places. This
value should be greater
The discount to be than or equal to zero or
/ShipConfirmRequest/Shipment/ShipmentSer subtracted from the sum of less than or equal to the
string
*Yes
One
viceOptions/InternationalForms/Discount/Mon the total value on the value of all goods listed
MonetaryValue etaryValue invoice. on the invoice.
Container
/ShipConfirmRequest/Shipment/ShipmentSer
One
N/A
viceOptions/InternationalForms/FreightCharge Container tag that holds the Applies to Invoice and
No
FreightCharges s Freight Charges Partial Invoice forms only.
Applies to Invoice and
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Valid
characters are 0-9 and
.(Decimal point). Limit to
2 digit after the decimal.
The maximum length of
/ShipConfirmRequest/Shipment/ShipmentSer the field is 15 including .
0...15
string
*Yes
One
/ShipConfirmRequest/Shipment/ShipmentSer
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 169
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to Invoice and
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Valid
characters are 0-9 and
.(Decimal point). Limit to
The amount the shipper or 2 digit after the decimal.
receiver pays to cover the The maximum length of
/ShipConfirmRequest/Shipment/ShipmentSer cost of replacing the the field is 15 including .
0...15
string
*Yes
One
viceOptions/InternationalForms/InsuranceCha shipment if it is lost or and can hold up to 2
MonetaryValue rges/MonetaryValue damaged decimal places.
Container
information of amount that
covers additional charges
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer not already listed on the Applies to Invoice and
No
OtherCharges viceOptions/InternationalForms/OtherCharges invoice Partial Invoice forms only.
Applies to Invoice and
Partial Invoice forms only.
Required for Invoice
forms and optional for
Partial Invoice. Valid
characters are 0-9 and
.(Decimal point). Limit to
2 digit after the decimal.
The maximum length of
/ShipConfirmRequest/Shipment/ShipmentSer the field is 15 including .
0...15
string
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 170
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
This field should be entered
if the NAFTA Certificate
covers multiple shipments of
identical goods as described
in the Description of Goods
field that are imported into a
NAFTA country for a
specified period of up to one
year (the blanket period).
The importation of a good for
Container
which preferential treatment
is claimed based on this Applies to NAFTA CO
Cond
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer certificate must occur form only. Required for
BlanketPeriod viceOptions/InternationalForms/BlanketPeriod between these dates. NAFTA CO.
Begin date of the blanket
8
period. It is the date upon
which the Certificate
becomes applicable to the
good covered by the blanket Applies to NAFTA CO
/ShipConfirmRequest/Shipment/ShipmentSer Certificate (it may be prior to form only. Required for
string
*Yes
One
viceOptions/InternationalForms/BlanketPeriod the date of signing this NAFTA CO. Format is
BeginDate /BeginDate Certificate). yyyyMMdd
8
End Date of the blanket Applies to NAFTA CO
/ShipConfirmRequest/Shipment/ShipmentSer period. It is the date upon form only. Required for
string
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 171
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The four-character Standard
Carrier Alpha Code (SCAC)
for vessel, rail, and truck
shipments. For air shipment,
enter the two or three
character International Air
1...17
string
One
/ShipConfirmRequest/Shipment/ShipmentSer Transport Association (IATA) Applies to SED forms
No
CarrierID viceOptions/InternationalForms/CarrierID code only. No Validations.
2
Applies to SED forms
only. Required for SED
forms. Valid values are:
70: Not in bond; 36:
Warehouse withdrawal for
IE; 37: Warehouse
withdrawal for T and E;
62: T and E; 63: IE; 67:
string
Cond
One
/ShipConfirmRequest/Shipment/ShipmentSer The two-character In Bond IE from a FTZ; 68: T and
InBondCode viceOptions/InternationalForms/InBondCode Code E from a FTZ
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 172
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Contains one of the
following: The two-digit U.S.
Postal Service abbreviation
for the state from which the
goods were shipped to the
port of export. The state that
is the source for the good
with the highest value. The
state of consolidation. The
Foreign Trade Zone number
of the zone from where the
exports are leaving. If the
string
Cond
1...5
One
/ShipConfirmRequest/Shipment/ShipmentSer goods were shipped from Applies to SED forms
PointOfOrigin viceOptions/InternationalForms/PointOfOrigin Puerto Rico, enter PR. only. Required for SED
Mode of transport by which
the goods are exported.
Possible values: Air,
AirContainerized, Auto,
FixedTransportInstallations,
Mail, Applies to SED forms
PassengerHandcarried, only. Required for SED.
Pedestrian, Rail, Only allowed values can
RailContainerized, be entered. Only 10
RoadOther, SeaBarge, Characters can appear on
/ShipConfirmRequest/Shipment/ShipmentSer SeaContainerized, the form. Anything greater
1...35
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 173
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
string
One
viceOptions/InternationalForms/PortOfUnloadi carrier. For vessel and air Applies to SED forms
No
PortOfUnloading ng shipments only. only. No validation.
1...35
string
One
/ShipConfirmRequest/Shipment/ShipmentSer loaded. For vessel Applies to SED forms
No
LoadingPier viceOptions/InternationalForms/LoadingPier shipments only only. No validation.
1
Information about parties to
transaction. Use Related, if
the parties to the transaction
are related. A related party is
an export from a U.S.
businessperson or business
to a foreign business or from
a U.S. business to a foreign
person or business where
the person has at least 10
percent of the voting shares
of the business during the
/ShipConfirmRequest/Shipment/ShipmentSer fiscal year. If unincorporated, Applies to SED forms
string
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 174
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
EMPTY
/ShipConfirmRequest/Shipment/ShipmentSer goods are containerized.
One
N/A
viceOptions/InternationalForms/Containerized This applies to vessel Applies to SED forms
No
ContainerizedIndicator Indicator shipments only only
Container for License
information. If the product is
not licensable, a valid
license exception code
needs to be entered. If
shipping different products
Container
that are covered under
different licenses or license Applies to SED forms
Cond
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer exceptions, then separate only. Required for SED
License viceOptions/InternationalForms/License SEDs must be created. forms.
1...8
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 175
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Applies to SED forms
only. Either License
number or License
exception code should be
present for SED form,
both License number and
License Exception code
/ShipConfirmRequest/Shipment/ShipmentSer cannot be present for
string
Cond
1...4
One
viceOptions/InternationalForms/License/Exce Please refer to Appendix Q SED form. Validated for
ExceptionCode ptionCode for values and descriptions. possible values
8
Export Control Classification
Number. This number Applies to SED forms
identifies categories, product only. ECCN is required
groups, strategic level of one of the following
control, and country groups. License Exception Codes
string
Cond
One
/ShipConfirmRequest/Shipment/ShipmentSer Some products have an is entered: CIV, CTP,
ECCNNumber viceOptions/InternationalForms/ECCNNumber ECCN number. ENC, KMI, or LVS
The application will
1
automatically provide a copy
of the invoice or NAFTA/CO
with each response
regardless of whether the
String user has enabled Paperless
/ShipConfirmRequest/Shipment/ShipmentSer account. The user now has
viceOptions/InternationalForms/OverridePape the option to print or ignore
No
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 176
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
/ShipConfirmRequest/Shipment/ShipmentSer
1...20
One
viceOptions/DeliveryConfirmation/DCISNumb
No
DCISNumber er DCIS Number
0
The flag indicates the
String
ReturnOfDocument Valid for Poland to Poland
One
/ShipConfirmRequest/Shipment/ShipmentSer accessorial has been without return service
No
ReturnOfDocumentIndicator viceOptions/ReturnOfDocumentIndicator requested only.
0
String
Indicates that the Shipment
One
/ShipConfirmRequest/Shipment/ShipmentSer is an ImportControl
No
ImportControlIndicator viceOptions/ImportControlIndicator shipment.
Container
This container is
One
N/A
/ShipConfirmRequest/Shipment/ShipmentSer applicable only for
No
2 LabelMethod types:'01' =
ImportControl Print and
Mail'02' = ImportControl
One-Attempt'03' =
ImportControl Three-
String
Attempt'04' = ImportControl
Yes*
One
/ShipConfirmRequest/Shipment/ShipmentSer
Description viceOptions/LabelMethod/Description LabelMethod description
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 177
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
0
CommercialInvoiceRemovalI
ndicator allows a shipper to
dictate that UPS remove the
Commercial Invoice from the
String
/ShipConfirmRequest/Shipment/ShipmentSer user's shipment before the
One
CommercialInvoiceRemovalIndic viceOptions/CommercialInvoiceRemovalIndic shipment is delivered to the
No
ator ator ultimate consignee.
0
UPS carbon neutral indicator
String
presence at shipment level
One
/ShipConfirmRequest/Shipment/ShipmentSer is required to create carbon
No
UPScarbonneutralIndicator viceOptions/UPScarbonneutralIndicator neutral Shipments.
unbounded
Container
/ShipConfirmRequest/Shipment/ShipmentSer
No
PreAlertNotification viceOptions/PreAlertNotification
1
Container
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/PreAlertNotification/EMailMessag
No
EMailMessage e
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
Yes
viceOptions/PreAlertNotification/EMailMessag
EMailAddress e/EMailAddress
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 178
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/PreAlertNotification/EMailMessag
No
UndeliverableEMailAddress e/UndeliverableEMailAddress
1
Container
/ShipConfirmRequest/Shipment/ShipmentSer
viceOptions/PreAlertNotification/VoiceMessag
No
VoiceMessage e
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
Yes
viceOptions/PreAlertNotification/VoiceMessag
PhoneNumber e/PhoneNumber
1
Container
/ShipConfirmRequest/Shipment/ShipmentSer
No
TextMessage viceOptions/PreAlertNotification/TextMessage
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
Yes
viceOptions/PreAlertNotification/TextMessage
PhoneNumber /PhoneNumber
1
Container
Yes
/ShipConfirmRequest/Shipment/ShipmentSer
Locale viceOptions/PreAlertNotification/Locale
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
Yes
viceOptions/PreAlertNotification/Locale/Langu
Language age
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 179
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
Yes
viceOptions/PreAlertNotification/Locale/Dialec
Dialect t
1
String
/ShipConfirmRequest/Shipment/ShipmentSer
No
ExchangeForwardIndicator viceOptions/ExchangeForwardIndicator
##
For Return Shipments up
to and including 20
Container
packages are allowed.
US/PR origin return
Yes
N/A
Package Information movements are limited to
Package /ShipConfirmRequest/Shipment/Package container. only one package.
1...35
string
Cond
One
Packaging type is
required for Ground
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 180
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
Package type 24, or 25
Package types. Values are: or 30 is only allowed for
01 = UPS Letter, 02 = shipment without return
Customer Supplied service. Packaging type
Package, 03 = Tube, 04 = must be valid for all the
PAK, 21 = UPS Express following: ShipTo
Box, 24 = UPS 25KG Box, country, ShipFrom
25 = UPS 10KG Box, 30 = country, a shipment going
Pallet, 2a = Small Express from ShipTo country to
Box, 2b = Medium Express ShipFrom country, all
Box, 2c = Large Express Accessorials at both the
Box. Note: Only packaging shipment and package
string
Yes*
One
/ShipConfirmRequest/Shipment/Package/Pac type code 02 is applicable to level, and the shipment
Code kaging/Code Ground Freight Pricing service type.
Description of packaging
String
1...35
type. Examples are letter,
One
/ShipConfirmRequest/Shipment/Package/Pac customer supplied, express
No
Length + 2*(Width +
Height) must be less than
Dimensions information or equal to 130 IN or 330
container
N/A
N/A
/ShipConfirmRequest/Shipment/Package/Dim UnitOfMeasurement
UnitOfMeasurement ensions/UnitOfMeasurement container N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 181
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Package dimensions
2
measurement code. Codes
are: IN = Inches, CM =
Centimeters, 00 = Metric
Units Of Measurement, 01 = The unit of measurement
string
One
Yes
/ShipConfirmRequest/Shipment/Package/Dim English Units of must be valid for the
Code ensions/UnitOfMeasurement/Code Measurement. Shipper country.
1...35
string
One
/ShipConfirmRequest/Shipment/Package/Dim dimensions measurement
No
Description ensions/UnitOfMeasurement/Description units. N/A
Package length. Refer to
3
Universal Rules table for
additional information.Length
string
Yes*
One
/ShipConfirmRequest/Shipment/Package/Dim must be the longest Valid values are 0 to 108
Length ensions/Length dimension of the container. IN and 0 to 270 CM.
3
Package width. Refer to
string
Yes*
One
/ShipConfirmRequest/Shipment/Package/Dim Universal Rules table for
Width ensions/Width additional information. N/A
3
Package height. Refer to
string
Yes*
One
Package weight is a
Cond
One
N/A
Container to hold
One
Yes
N/A
/ShipConfirmRequest/Shipment/Package/Pac UnitOfMeasurement
UnitOfMeasurement kageWeight/UnitOfMeasurement information. N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 182
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Package weight unit of
measurement code. Codes
string
One
Yes
/ShipConfirmRequest/Shipment/Package/Pac are: LBS = Pounds, KGS =
Code kageWeight/UnitOfMeasurement/Code Kilograms.
1...35
string
One
/ShipConfirmRequest/Shipment/Package/Pac Description of the package
No
Description kageWeight/UnitOfMeasurement/Description weight measurement units. N/A
Only {Average}package
weight is required for
string
Yes*
1...5
One
/ShipConfirmRequest/Shipment/Package/Pac Packages weight. Set to 1.0 Ground Freight Pricing
Weight kageWeight/Weight for package type letter. Shipment
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 183
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
0
Empty Tag. Allowed for
shipment with return
service only. Only one
shipment-level or
package-level reference
number can be bar coded
per shipment. In order to
barcode a reference
number, its value must be
no longer than 14
If the indicator is present alphanumeric characters
then the reference numbers or 24 numeric characters
string
One
/ShipConfirmRequest/Shipment/Package/Ref value will be bar coded on and cannot contain
No
BarCodeIndicator erenceNumber/BarCodeIndicator the label. spaces.
2
Reference number type
code, for the entire
shipment. The code
specifies the Reference Valid if the
name. Refer to the origin/destination pair is
string
/ShipConfirmRequest/Shipment/Package/Ref One Reference Number Code US/US or PR/PR.2
No
Additional Handling
Required.The presence
indicates additional handling
is required, the absence
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 184
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac PackageServiceOtioncontain
No
PackageServiceOptions kageServiceOptions er N/A
container
For a list of valid
origin/destination countries
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac please refer to the table in
No
DeliveryConfirmation kageServiceOptions/DeliveryConfirmation Appendix N Forwards Only
1
Valid values are: 1 -
Delivery Confirmation 2
- Delivery Confirmation
Signature Required 3 -
/ShipConfirmRequest/Shipment/Package/Pac Delivery Confirmation
string
Yes*
One
kageServiceOptions/DeliveryConfirmation/DCI Adult Signature Required.
DCISType SType Type of delivery confirmation Forwards Only
Delivery Confirmation
/ShipConfirmRequest/Shipment/Package/Pac 1...11 Control number associated
string
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac
No
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 185
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The user cannot specify
2
different type of declared
value for the shipment.
You can either have
shipper declared value
(DVS) or declared value
(EVS) but not both at
package level. Note: The
Declared value type. Valid Shipper Declared Value is
value are 01=EVS, 02=DVS. applicable for forward
/ShipConfirmRequest/Shipment/Package/Pac Defaults to 01 i.e. EVS if shipments when the
string
*Yes
One
kageServiceOptions/DeclaredValue/Type/Cod declared value type is not billing option is freight
Code e provided. collect or third party
/ShipConfirmRequest/Shipment/Package/Pac
1...35
string
One
kageServiceOptions/DeclaredValue/Type/Des
No
Description cription Declared value Description N/A
3
Declared value amount
/ShipConfirmRequest/Shipment/Package/Pac currency type. Defaults to Code must represent a
string
Yes*
One
/ShipConfirmRequest/Shipment/Package/Pac
1...19
string
Yes*
One
kageServiceOptions/DeclaredValue/Monetary
MonetaryValue Value Declared value amount.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 186
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Indicates COD is
requested. Package level
COD is available for
shipment without return
service from US/PR to
US/PR, CA to CA, and
CA to US.CA to US COD
container
is not allowed for package
Letter/ Envelope. COD is
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac not valid for return service
No
COD kageServiceOptions/COD COD container movements.
1
Values are: 0 = check,
cashiers check or money
order - no cash allowed, 8 =
string
Yes*
One
/ShipConfirmRequest/Shipment/Package/Pac cashiers check or money
CODFundsCode kageServiceOptions/COD/CODFundsCode order - no cash allowed. N/A
container
Yes*
One
/ShipConfirmRequest/Shipment/Package/Pac N/A
CODAmount kageServiceOptions/COD/CODAmount CODAmount container N/A
3
/ShipConfirmRequest/Shipment/Package/Pac
string
One
Yes
/ShipConfirmRequest/Shipment/Package/Pac
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 187
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac Allowed for shipment
No
VerbalConfirmation kageServiceOptions/VerbalConfirmation Verbal Confirmation Info. without return service.
Optional if the Shipper's
AttentionName,
PhoneNumber, and
PhoneExtension(optional)
are given and are the
Container
desired name, phone
/ShipConfirmRequest/Shipment/Package/Pac number and extension,
Cond
One
N/A
kageServiceOptions/VerbalConfirmation/Cont respectively, to be used for
ContactInfo actInfo verbal confirmation. N/A
Optional if Shipper/
AttentionName is given
Name of the person to be and that is the name of
/ShipConfirmRequest/Shipment/Package/Pac contacted for confirmation. the person to be
1...35
string
Cond
One
kageServiceOptions/VerbalConfirmation/Cont Defaults to Shipper contacted else required
Name actInfo/Name AttentionName if given. for verbal confirmation.
/ShipConfirmRequest/Shipment/Package/Pac Container
One
kageServiceOptions/VerbalConfirmation/Cont N/A
No
/ShipConfirmRequest/Shipment/Package/Pac
1...15
Yes*
One
kageServiceOptions/VerbalConfirmation/Cont
Number actInfo/Phone/Number Contact Phone Number N/A
String
/ShipConfirmRequest/Shipment/Package/Pac
1...4
One
kageServiceOptions/VerbalConfirmation/Cont
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 188
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
0
The presence indicates that
the package may be Empty Tag. Only
String
released by driver without a available for US50/PR to
One
/ShipConfirmRequest/Shipment/Package/Pac signature from the US50/PR packages
No
ShipperReleaseIndicator kageServiceOptions/ShipperReleaseIndicator consignee without return service.
Container
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac Applicable for Shipment
No
Notification kageServiceOptions/Notification Receiver Return Notification with returne service.
1
String
/ShipConfirmRequest/Shipment/Package/Pac
Yes*
One
kageServiceOptions/Notification/NotificationC 3 - Receiver Return
NotificationCode ode Notification Code Notification
Container
Yes*
One
N/A
/ShipConfirmRequest/Shipment/Package/Pac Container for the e-mail
EMail kageServiceOptions/Notification/EMail Message. N/A
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 189
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The email address listed in
the Reply To field of the
message header, includes
name and e-mail address of
String
/ShipConfirmRequest/Shipment/Package/Pac
1...50
sender. The From field of
One
kageServiceOptions/Notification/EMail/FromE the message header Only allowed at the first
No
FromEMailAddress MailAddress contains [email protected]. package.
String
/ShipConfirmRequest/Shipment/Package/Pac The name the receiver Defaults to the Shipper
1...35
One
kageServiceOptions/Notification/EMail/FromN return notification will appear Name. Only allowed at
No
FromName ame to be from. the first package.
1...150
String
One
/ShipConfirmRequest/Shipment/Package/Pac User defined text that will be Only allowed at the first
No
Memo kageServiceOptions/Notification/EMail/Memo included in the email. package.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 190
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
If the subject code tag is
not provided and the
subject text is provided,
the subject of the
notification will be the
subject text. If the subject
Specifies a reference code text is provided, and
and reference number to subject code tag exists,
display in the subject of the then the subject code
Receiver Return Notification. value must be 08;If the
When the subject code is subject code is 08, the
provided, the subject will subject text must exist. If
contain the following: UPS a subject code is provided
Receiver Return Notification. that refers to a
The reference code (the nonexistent reference
reference code will be number, the subject will
String
/ShipConfirmRequest/Shipment/Package/Pac mapped to the default to the tracking
One
kageServiceOptions/Notification/EMail/Subjec corresponding ANSI value) number. Only allowed at
No
SubjectCode tCode Plus the reference number. the first package.
Returns Flexible Access
0
Indicator presence at
package level is required for
UPS Returns Flexible
Access Shipments. All
packages in the shipment
String
/ShipConfirmRequest/Shipment/Package/Pac must have the Returns
One
X
DryIce kageServiceOptions/DryIce Hazmat
Regulation set for dryIce
1
shipments to Canada,
Yes
3..4
X
RegulationSet kageServiceOptions/DryIce/RegulationSet movement valid: IATA,CFR
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 191
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
Container
Yes
N/A
/ShipConfirmRequest/Shipment/Package/Pac
X
DryIceWeight kageServiceOptions/DryIce/DryIceWeight
1
Container
/ShipConfirmRequest/Shipment/Package/Pac
Yes
N/A
kageServiceOptions/DryIce/DryIceWeight/Unit
X
UnitOfMeasurement OfMeasurement
1
DryIce weight unit of
measurement code. Valid
values are: 00 = KG(Metric
Unit of Measurements), 01 =
String
/ShipConfirmRequest/Shipment/Package/Pac Yes LB(English Unit of The following values are
2..3
kageServiceOptions/DryIce/DryIceWeight/Unit Measurements), KG, LB, valid : 00 , 01, KG , KGS ,
X
Code OfMeasurement/Code 1 KGS, LBS LBS
String
/ShipConfirmRequest/Shipment/Package/Pac
0..20
X
Description OfMeasurement/Description UnitOfMeasurement
Cannot be more than
1
X
Weight ght Weight decimal place.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 192
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
0
Presence/Absence Indicator.
Any value inside is ignored.
Relevant only in CFR
regulation set. If present it is
used to designate the dry Ice
is for any medical use and
String
/ShipConfirmRequest/Shipment/Package/Pac rates are adjusted for dryIce
kageServiceOptions/DryIce/MedicalUseIndica weight more than 2.5 Kgs or
No
X
MedicalUseIndicator tor 5.7 LBs
Container
It is required if the
Cond
One
N/A
/ShipConfirmRequest/Shipment/Package/Co Container to hold the FRSShipment indicator is
Commodity mmodity Commodity information present in the request.
10
Freight Classification.
String
N/A
4..6
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 193
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
String
One
/ShipConfirmRequest/Shipment/Package/Co Specifies the Commodity's
No
SubCode mmodity/NMFC/SubCode NMFC sub code
Container
Container used to define the Required for shipment
properties required by the without return service, or
Cond
One
N/A
user to print and/or display shipment with PRL return
LabelSpecification /ShipConfirmRequest/LabelSpecification the UPS shipping label. service.
Container
One
Yes
N/A
/ShipConfirmRequest/LabelSpecification/Labe LabelImageFormat
LabelImageFormat lImageFormat Container N/A
Label print method code that
3
the Labels are to be
generated for EPL2 For shipments without
formatted Labels use EPL, return service the valid
for SPL formatted Labels value is GIF, ZPL, EPL
use SPL, for ZPL formatted and SPL. For shipments
Labels use ZPL and for with PRL return service,
String
image formats use GIF, for the valid values are EPL,
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 194
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Required if
/ShipConfirmRequest/Lab
elSpecificationLabelSpeci
fication/LabelImageForma
Browser HTTPUserAgent t/Code = Gif. Default to
String
String. This is the preferred Mozilla/4.5 if this field is
1...64
Cond
One
/ShipConfirmRequest/LabelSpecification/HTT way of identifying GIF image missing or has invalid
HTTPUserAgent PUserAgent type to be generated value.
Container
One
Yes
N/A
/ShipConfirmRequest/LabelSpecification/Labe Container for the EPL2, ZPL, For EPL2, ZPL, STARPL
X
LabelStockSize lStockSize STARPL or SPL label size and SPL Labels.
only scale up to 4 X 6,
1...3
One
Yes
X
Height lStockSize/Height For IN, use whole inches. 8.
X
Width lStockSize/Width IN, use whole inches. requesting 4 X 8.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 195
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
unbounded
Container
/ShipConfirmRequest/LabelSpecification/Instr Routing Instruction
No
Instruction uction Container
1
String
Yes
/ShipConfirmRequest/LabelSpecification/Instr For Exchange Forward
Code uction/Code Shipment
1
String
/ShipConfirmRequest/LabelSpecification/Instr Description of the label
No
Description uction/Description Instruction code.
1
Container
Container used to allow the
user a to choose to print a
No
/ShipConfirmRequest/ReceiptSpecification/Im
ImageFormat ageFormat ImageFormat Container
1
String
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 196
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
Yes
N/A
ShipAcceptRequest /ShipAcceptRequest Request Container N/A
container
One
Yes
N/A
Request /ShipAcceptRequest/Request Request Container N/A
Optional Processing.
'nonvalidate' = No address
validation. 'validate' = Fail
on failed address validation.
Defaults to validate. Note:
Full address validation is not
performed. Therefore, it is
the responsibility of the
Shipping Tool User to
ensure the address entered
1...15
string
One
Yes
is correct to avoid an Values blank, validate, or
RequestOption /ShipAcceptRequest/Request/RequestOption address correction fee. nonvalidate.
Container
TransactionReference
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 197
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
unbounded
String
Encoded shipment
One
Yes
parameters required to be
ShipmentDigest /ShipAcceptRequest/ShipmentDigest passed in the accept phase. Base 64 Encoded
container
One
Yes
N/A
Shipment Response
ShipmentResponse /ShipmentResponse Container
container
One
Yes
N/A
Response /ShipmentResponse/Response Response Container.
container
One
Yes
N/A
/ShipmentResponse/Response/ResponseStat
ResponseStatus us Response Status Container.
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 198
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...10
string
Yes*
One
Warning code returned by
Code /ShipmentResponse/Response/Alert/Code the system.
1...150
string
Yes*
One
/ShipmentResponse/Response/Alert/Descripti Warning messages returned
Description on by the system.
container
One
N/A
/ShipmentResponse/Response/TransactionR Transaction Reference
No
TransactionReference eference Container.
1...512
The CustomerContext
string
/ShipmentResponse/Response/TransactionR One Information which will be
No
Refer to the
ShipmentResults container
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 199
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Shipment charges
Container. Shipment
charges info. Shipment
container
charges are only guaranteed
to be returned for shipments
Cond
One
N/A
/ShipmentResponse/ShipmentResults/Shipme whose origin country is US
ShipmentCharges ntCharges or Puerto Rico.
1
String
/ShipmentResponse/ShipmentResults/Shipme
No
RateChart ntCharges/RateChart
container
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Shipme Transport Charges
TransportationCharges ntCharges/TransportationCharges container.
3
Transportation charges
currency code type. The
/ShipmentResponse/ShipmentResults/Shipme currency code used in the
string
One
Yes
Transportation and
/ShipmentResponse/ShipmentResults/Shipme
1...19
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 200
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Shipme Service Option Charges
ServiceOptionsCharges ntCharges/ServiceOptionsCharges container.
3
Accessorial charges
currency code type. The
/ShipmentResponse/ShipmentResults/Shipme currency code used in the
string
One
Yes
ntCharges/ServiceOptionsCharges/CurrencyC Shipment request is
CurrencyCode ode returned.
1...19
string
One
Yes
ntCharges/ServiceOptionsCharges/Monetary from 0 to
MonetaryValue Value 99999999999999.99
container
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Shipme
TotalCharges ntCharges/TotalCharges Total charges container.
3
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 201
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
N/A
/ShipmentResponse/ShipmentResults/Negoti Negotiated Rates Charge
No
NegotiatedRateCharges atedRateCharges Container.
Total charges container.
Account Based Rates info.
Total charges are only
returned for ABR eligible
shipper account/UserId
container
combinations when the user
includes the
One
N/A
/ShipmentResponse/ShipmentResults/Negoti NegotiatedRatesIndicator in
No
TotalCharge atedRateCharges/TotalCharge the request.
3
string
One
Yes
/ShipmentResponse/ShipmentResults/Negoti Total charges currency
CurrencyCode atedRateCharges/TotalCharge/CurrencyCode code.
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 202
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Transportation charges
container. Ground Freight
Pricing transportation
charges. These are only
returned for Ground Freight
Pricing enabled shipper
Container
account number when the
user includes the
Cond
One
N/A
/ShipmentResponse/ShipmentResults/FRSSh FRSShipmentIndicator in the
TransportationCharges ipmentData/TransportationCharges request.
Container
Gross Charges container. It
/ShipmentResponse/ShipmentResults/FRSSh indicates the shipment level
One
Yes
N/A
ipmentData/TransportationCharges/GrossCha gross Ground Freight Pricing
GrossCharge rge transportation charges.
3
String
/ShipmentResponse/ShipmentResults/FRSSh
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 203
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
String
/ShipmentResponse/ShipmentResults/FRSSh
One
Yes
ipmentData/TransportationCharges/DiscountA Discount Amount currency
CurrencyCode mount/CurrencyCode code.
String
/ShipmentResponse/ShipmentResults/FRSSh Discount amount monetary
1..19
One
Yes
ipmentData/TransportationCharges/DiscountA value. Valid values are from
MonetaryValue mount/MonetaryValue 0 to 9999999999999999.99
String
/ShipmentResponse/ShipmentResults/FRSSh It indicates the shipment
One
Yes
1..5
ipmentData/TransportationCharges/DiscountP level discount percentage for
DiscountPercentage ercentage transportation charges.
/ShipmentResponse/ShipmentResults/FRSSh
One
Yes
N/A
ipmentData/TransportationCharges/NetCharg
CurrencyCode e/CurrencyCode Net Charge currency code.
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 204
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Billing
BillingWeight Weight Billing Weight container.
container
measurement code. The
unit of measurement used in
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Billing Shipment request is
UnitOfMeasurement Weight/UnitOfMeasurement returned.
3
Code of the billing weight
string
One
Yes
/ShipmentResponse/ShipmentResults/Billing measurement units. Values
Code Weight/UnitOfMeasurement/Code are: KGS or LBS.
1...35
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 205
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
unbounded
Encoded shipment
parameters required to be
passed in the accept phase.
string
Cond
One
/ShipmentResponse/ShipmentResults/Shipme Applicable only for
ShipmentDigest ntDigest ShipConfirmResponse.
##
container
Returned Package
Information. Applicable only
N/A
/ShipmentResponse/ShipmentResults/Packag for ShipmentResponse and
No
PackageResults eResults ShipAcceptResponse.
18
Package 1Z number.
Applicable only for
string
One
Yes
country is US or Puerto
Rico. Applicable only for
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 206
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Package accessorial
charges value amount. Valid
values are from 0 to
99999999999999.99Applica
/ShipmentResponse/ShipmentResults/Packag ble only for
1...19
string
One
Yes
eResults/ServiceOptionsCharges/MonetaryVa ShipmentResponse and
MonetaryValue lue ShipAcceptResponse.
The container for UPS
shipping label. Shipment
without return service, or
container
with PRL return service.
Applicable only for
Cond
One
N/A
/ShipmentResponse/ShipmentResults/Packag ShipmentResponse and
ShippingLabel eResults/ShippingLabel ShipAcceptResponse.
container
The container image format.
Applicable only for
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Packag ShipmentResponse and
ImageFormat eResults/ShippingLabel/ImageFormat ShipAcceptResponse.
Label image code that the
3
labels are generated. Values
EPL = EPL2, SPL = SPL,
ZPL = ZPL, GIF = gif
images, or PNG for PNG
images. Only EPL, SPL, ZPL
and GIF are currently
supported. Applicable only
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 207
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Base 64 Encoded
unbounded
Base 64 encoded graphic
image. Applicable only for
One
Yes
/ShipmentResponse/ShipmentResults/Packag ShipmentResponse and
GraphicImage eResults/ShippingLabel/GraphicImage ShipAcceptResponse.
Base 64 encoded graphic
image of the Warsaw text
and signature box.EPL2,
ZPL and SPL labels. The
image will be returned for
Base 64 Encoded
non-US based shipments.
One image will be given per
unbounded
shipment and it will be in the
first PackageResults
/ShipmentResponse/ShipmentResults/Packag container. Applicable only for
Cond
One
InternationalSignatureGraphicIma eResults/ShippingLabel/InternationalSignatur ShipmentResponse and
ge eGraphicImage ShipAcceptResponse.
Base 64 Encoded
Base 64 encoded html
browser image rendering
unbounded
software. This is only
returned for gif and png
image formats. Applicable
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 208
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
PDF-417 is a two-
dimensional barcode, which
can store up to about 1,800
printable ASCII characters or
1,100 binary characters per
symbol. The symbol is
rectangular. The image is
Base 64 encoded and
Base 64 Encoded
returned if the
LabelImageFormat code is
unbounded
GIF. Shipment with PRL
return service only.
Applicable only for
Cond
One
/ShipmentResponse/ShipmentResults/Packag ShipmentResponse and
PDF417 eResults/ShippingLabel/PDF417 ShipAcceptResponse.
container
supported for ERL or PRL
Cond shipments. Applicable only
One
N/A
/ShipmentResponse/ShipmentResults/Packag for ShipmentResponse and
ShippingReceipt eResults/ShippingReceipt ShipAcceptResponse.
container
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 209
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
string
One
eResults/ShippingReceipt/ImageFormat/Desc for ShipmentResponse and
No
Description ription ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded PRL
receipt in HTML format.
Applicable only for
One
Yes
/ShipmentResponse/ShipmentResults/Packag ShipmentResponse and
GraphicImage eResults/ShippingReceipt/GraphicImage ShipAcceptResponse.
unbounded
USPSPICNumber is USPS
Package Identification code
which is returned at package
string
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 210
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
report format, required if
parent exist. Applicable only
One
Yes
N/A
/ShipmentResponse/ShipmentResults/Control for ShipmentResponse and
ImageFormat LogReceipt/ImageFormat ShipAcceptResponse.
4
Code for the type of Graphic
Image for the High Value
Report. Values are: =
EPL2 (when user requests
label in EPL2 format) SPL
= SPL (when user requests
label in SPL format) ZPL =
ZPL (when user requests
label in ZPL format) HTML=
HTML (when user requests
label in HTML format)
Applicable only for
string
One
Yes
/ShipmentResponse/ShipmentResults/Control ShipmentResponse and
Code LogReceipt/ImageFormat/Code ShipAcceptResponse.
N/A
ShipmentResponse and
Form /ShipmentResponse/ShipmentResults/Form ShipAcceptResponse.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 211
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
Code that indicates the type
of form. Possible Values01 -
All Requested International
Forms. Applicable only for
string
One
Yes
/ShipmentResponse/ShipmentResults/Form/C ShipmentResponse and
Code ode ShipAcceptResponse.
1...35
string
One
Yes
/ShipmentResponse/ShipmentResults/Form/D ShipmentResponse and
Description escription ShipAcceptResponse.
container
International forms image.
Applicable only for
Cond
One
N/A
/ShipmentResponse/ShipmentResults/Form/I ShipmentResponse and
Image mage ShipAcceptResponse.
Container tag for the
International forms image
container
format information.
Applicable only for
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 212
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Code representing the
format in which the forms
are generated. Possible
Values: PDF = pdfOnly.
PDF is supported currently.
Applicable only for
string
Cond
One
/ShipmentResponse/ShipmentResults/Form/I ShipmentResponse and
Code mage/ImageFormat/Code ShipAcceptResponse.
string
1..35
One
/ShipmentResponse/ShipmentResults/Form/I ShipmentResponse and
No
Description mage/ImageFormat/Description ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded
International forms image.
Applicable only for
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 213
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...50
string
One
/ShipmentResponse/ShipmentResults/Form/F for ShipmentResponse and
No
FormGroupIdName ormGroupIdName ShipAcceptResponse.
container
The container of the COD
Turn In Page. Applicable
One
N/A
/ShipmentResponse/ShipmentResults/CODTu only for ShipmentResponse
No
CODTurnInPage rnInPage and ShipAcceptResponse.
N/A
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 214
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
4
Format code of the
generated COD Turn In
Page. Valid values: HTML =
HTML format. Only HTML
format is supported for COD
String
Turn In Page. Applicable
One
Yes
/ShipmentResponse/ShipmentResults/CODTu only for ShipmentResponse
Code rnInPage/Image/ImageFormat/Code and ShipAcceptResponse.
String
Turn In page. Applicable
1...35
One
/ShipmentResponse/ShipmentResults/CODTu only for ShipmentResponse
No
Description rnInPage/Image/ImageFormat/Description and ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded html
browser image rendering
software. Applicable only for
One
Yes
N/A
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 215
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
Container for the HighValue
Report image format
Yes*
One
N/A
/ShipmentResponse/ShipmentResults/HighVa information for Import
ImageFormat lueReport/Image/ImageFormat Control Shipments.
3
Code representing the
format in which the
String
HighValueReport is
Yes*
One
/ShipmentResponse/ShipmentResults/HighVa generated. Possible Values:
Code lueReport/Image/ImageFormat/Code PDF = 'pdf'
String
1...35
One
/ShipmentResponse/ShipmentResults/HighVa Description of the image
No
Description lueReport/Image/ImageFormat/Description format
unbounded
String
Yes*
One
HighValueReport,
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 216
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
LocalLanguageLabelURL is
returned only if the
LabelLinksIndicator is
requested for an
ImportControl shipment or
for a Return shipment. URL
will point to a label and can
also point to
unbounded
HighValueReport,
CustomsInvoice and
String
ImportControl instructions in
Cond
One
/ShipmentResponse/ShipmentResults/LocalL the Country's local language
LocalLanguageLabelURL anguageLabelURL if supported by UPS.
unbounded
ReceiptURL is returned if the
LabelLinksIndicator is
String
requested for an
Cond
One
/ShipmentResponse/ShipmentResults/Receipt ImportControl shipment or a
ReceiptURL URL Return shipment.
LocalLanguageReceiptURL
is returned if the
LabelLinksIndicator is
requested for an
unbounded
ImportControl shipment or a
Return shipment. The URL
String
N/A
Shipment Response
ShipConfirmResponse /ShipConfirmResponse Container
container
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 217
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
Yes
N/A
/ShipConfirmResponse/Response/ResponseS
ResponseStatus tatus Response Status Container.
1
Identifies the success or
string
One
Yes
/ShipConfirmResponse/Response/ResponseS failure of the transaction. 1 =
Code tatus/Code Successful
1...35
string
One
Yes
/ShipConfirmResponse/Response/ResponseS Code. Returns text of
Description tatus/Description Success.
container
Alert Container. There can
be zero to many alert
One
N/A
containers with code and
No
1...10
string
Yes*
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 218
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...512
The CustomerContext
string
One
/ShipConfirmResponse/Response/Transactio Information which will be
No
CustomerContext nReference/CustomerContext echoed during response.
container
Refer to the
ShipmentResults container
One
Yes
N/A
table for the elements under
ShipmentResults /ShipConfirmResponse/ShipmentResults ShipmentResults container.
Shipment charges
Container. Shipment
charges info. Shipment
container
charges are only guaranteed
to be returned for shipments
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/Ship whose origin country is US
ShipmentCharges mentCharges or Puerto Rico.
1
String
/ShipConfirmResponse/ShipmentResults/Ship
No
RateChart mentCharges/RateChart
container
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 219
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Transportation charges
currency code type. The
/ShipConfirmResponse/ShipmentResults/Ship currency code used in the
string
One
Yes
mentCharges/TransportationCharges/Currenc Shipment request is
CurrencyCode yCode returned.
Transportation and
/ShipConfirmResponse/ShipmentResults/Ship surcharges value amount.
1...19
string
One
Yes
mentCharges/TransportationCharges/Monetar Valid values are from 0 to
MonetaryValue yValue 99999999999999.99
container
One
Yes
N/A
/ShipConfirmResponse/ShipmentResults/Ship Service Option Charges
ServiceOptionsCharges mentCharges/ServiceOptionsCharges container.
3
Accessorial charges
currency code type. The
/ShipConfirmResponse/ShipmentResults/Ship currency code used in the
string
One
Yes
mentCharges/ServiceOptionsCharges/Moneta from 0 to
MonetaryValue ryValue 99999999999999.99
container
One
Yes
N/A
/ShipConfirmResponse/ShipmentResults/Ship
TotalCharges mentCharges/TotalCharges Total charges container.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 220
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Total charges currency code
type. The currency code
string
One
Yes
/ShipConfirmResponse/ShipmentResults/Ship used in the Shipment
CurrencyCode mentCharges/TotalCharges/CurrencyCode request is returned.
1...19
string
One
Yes
/ShipConfirmResponse/ShipmentResults/Ship Valid values are from 0 to
MonetaryValue mentCharges/TotalCharges/MonetaryValue 99999999999999.99
container
One
N/A
/ShipConfirmResponse/ShipmentResults/Neg Negotiated Rates Charge
No
NegotiatedRateCharges otiatedRateCharges Container.
N/A
/ShipConfirmResponse/ShipmentResults/Neg NegotiatedRatesIndicator in
No
/ShipConfirmResponse/ShipmentResults/Neg
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 221
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
shipment data is only
guaranteed to be returned
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/FRS for Ground Freight Pricing
FRSShipmentData ShipmentData shipments only.
Transportation charges
container. Ground Freight
Pricing transportation
charges. These are only
returned for Ground Freight
Pricing enabled shipper
Container
account number when the
user includes the
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/FRS FRSShipmentIndicator in the
TransportationCharges ShipmentData/TransportationCharges request.
Container
N/A
/ShipConfirmResponse/ShipmentResults/FRS
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 222
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
It indicates the shipment
/ShipConfirmResponse/ShipmentResults/FRS level Ground Freight Pricing
One
Yes
N/A
ShipmentData/TransportationCharges/Discou discount amount for
DiscountAmount ntAmount transportation charges.
3
String
/ShipConfirmResponse/ShipmentResults/FRS
One
Yes
ShipmentData/TransportationCharges/Discou Discount Amount currency
CurrencyCode ntAmount/CurrencyCode code.
String
/ShipConfirmResponse/ShipmentResults/FRS Discount amount monetary
1..19
One
Yes
ShipmentData/TransportationCharges/Discou value. Valid values are from
MonetaryValue ntAmount/MonetaryValue 0 to 9999999999999999.99
String
/ShipConfirmResponse/ShipmentResults/FRS It indicates the shipment
One
Yes
1..5
ShipmentData/TransportationCharges/Discou level discount percentage for
DiscountPercentage ntPercentage transportation charges.
Container
N/A
/ShipConfirmResponse/ShipmentResults/FRS
One
Yes
N/A
ShipmentData/TransportationCharges/NetCha
CurrencyCode rge/CurrencyCode Net Charge currency code.
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 223
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
Yes
N/A
/ShipConfirmResponse/ShipmentResults/Billin
BillingWeight gWeight Billing Weight container.
container
measurement code. The
unit of measurement used in
One
Yes
N/A
/ShipConfirmResponse/ShipmentResults/Billin Shipment request is
UnitOfMeasurement gWeight/UnitOfMeasurement returned.
3
Code of the billing weight
string
One
Yes
/ShipConfirmResponse/ShipmentResults/Billin measurement units. Values
Code gWeight/UnitOfMeasurement/Code are: KGS or LBS.
1...35
string
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 224
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
unbounded
Encoded shipment
parameters required to be
passed in the accept phase.
string
Cond
One
/ShipConfirmResponse/ShipmentResults/Ship Applicable only for
ShipmentDigest mentDigest ShipConfirmResponse.
##
container
Returned Package
Information. Applicable only
N/A
/ShipConfirmResponse/ShipmentResults/Pac for ShipConfirmResponse
No
PackageResults kageResults and ShipAcceptResponse.
18
Package 1Z number.
Applicable only for
string
One
Yes
country is US or Puerto
Rico. Applicable only for
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 225
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Package accessorial
charges value amount. Valid
values are from 0 to
99999999999999.99Applica
/ShipConfirmResponse/ShipmentResults/Pac
1...19
ble only for
string
One
Yes
kageResults/ServiceOptionsCharges/Monetar ShipConfirmResponse and
MonetaryValue yValue ShipAcceptResponse.
container
with PRL return service.
Applicable only for
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/Pac ShipConfirmResponse and
ShippingLabel kageResults/ShippingLabel ShipAcceptResponse.
The container image format.
contai
Applicable only for
One
Yes
N/A
ner
/ShipConfirmResponse/ShipmentResults/Pac ShipConfirmResponse and
ImageFormat kageResults/ShippingLabel/ImageFormat ShipAcceptResponse.
Label image code that the
3
labels are generated. Values
EPL = EPL2, SPL = SPL,
ZPL = ZPL, GIF = gif
images, or PNG for PNG
images. Only EPL, SPL, ZPL
and GIF are currently
/ShipConfirmResponse/ShipmentResults/Pac supported. Applicable only
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 226
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Base 64 Encoded
unbounded
Base 64 encoded graphic
image. Applicable only for
One
Yes
/ShipConfirmResponse/ShipmentResults/Pac ShipConfirmResponse and
GraphicImage kageResults/ShippingLabel/GraphicImage ShipAcceptResponse.
Base 64 Encoded
non-US based shipments.
One image will be given per
unbounded
shipment and it will be in the
first PackageResults
/ShipConfirmResponse/ShipmentResults/Pac container. Applicable only for
Cond
One
InternationalSignatureGraphicIma kageResults/ShippingLabel/InternationalSigna ShipConfirmResponse and
ge tureGraphicImage ShipAcceptResponse.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 227
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
PDF-417 is a two-
dimensional barcode, which
can store up to about 1,800
printable ASCII characters or
1,100 binary characters per
symbol. The symbol is
rectangular. The image is
Base 64 encoded and
Base 64 Encoded
returned if the
LabelImageFormat code is
unbounded
GIF. Shipment with PRL
return service only.
Applicable only for
Cond
One
/ShipConfirmResponse/ShipmentResults/Pac ShipConfirmResponse and
PDF417 kageResults/ShippingLabel/PDF417 ShipAcceptResponse.
container
supported for ERL or PRL
shipments. Applicable only
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/Pac for ShipConfirmResponse
ShippingReceipt kageResults/ShippingReceipt and ShipAcceptResponse.
container
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 228
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
string
One
kageResults/ShippingReceipt/ImageFormat/D for ShipConfirmResponse
No
Description escription and ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded PRL
receipt in HTML format.
Applicable only for
One
Yes
/ShipConfirmResponse/ShipmentResults/Pac ShipConfirmResponse and
GraphicImage kageResults/ShippingReceipt/GraphicImage ShipAcceptResponse.
1
String
/ShipConfirmResponse/ShipmentResults/Pac
No
USPSPICNumber kageResults/USPSPICNumber
Container for the High Value
reports When forward
shipments declared value
between $999 and $50,000
USD. Two copies of high
container
N/A
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 229
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
4
Code for the type of Graphic
Image for the High Value
Report. Values are: EPL =
EPL2 (when user requests
label in EPL2 format) SPL
= SPL (when user requests
label in SPL format) ZPL =
ZPL (when user requests
label in ZPL format) HTML=
HTML (when user requests
label in HTML format)
Applicable only for
string
One
Yes
/ShipConfirmResponse/ShipmentResults/Cont ShipConfirmResponse and
Code rolLogReceipt/ImageFormat/Code ShipAcceptResponse.
string
1..35
One
/ShipConfirmResponse/ShipmentResults/Cont ShipConfirmResponse and
No
Description rolLogReceipt/ImageFormat/Description ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded html,
EPL2, ZPL or SPL image.
Applicable only for
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 230
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
2
Code that indicates the type
of form. Possible Values01 -
All Requested International
Forms. Applicable only for
string
One
Yes
/ShipConfirmResponse/ShipmentResults/For ShipConfirmResponse and
Code m/Code ShipAcceptResponse.
1...35
string
One
Yes
/ShipConfirmResponse/ShipmentResults/For ShipConfirmResponse and
Description m/Description ShipAcceptResponse.
container
International forms image.
Applicable only for
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/For ShipConfirmResponse and
Image m/Image ShipAcceptResponse.
N/A
/ShipConfirmResponse/ShipmentResults/For ShipConfirmResponse and
ImageFormat m/Image/ImageFormat ShipAcceptResponse.
Code representing the
3
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 231
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
string
1..35
One
/ShipConfirmResponse/ShipmentResults/For ShipConfirmResponse and
No
Description m/Image/ImageFormat/Description ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded
International forms image.
Applicable only for
Cond
One
/ShipConfirmResponse/ShipmentResults/For ShipConfirmResponse and
GraphicImage m/Image/GraphicImage ShipAcceptResponse.
1...26
string
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 232
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
The container of the image
container
for COD Turn In Page.
Applicable only for
One
Yes
N/A
/ShipConfirmResponse/ShipmentResults/CO ShipConfirmResponse and
Image DTurnInPage/Image ShipAcceptResponse.
container
COD Turn In Page.
Applicable only for
One
Yes
N/A
/ShipConfirmResponse/ShipmentResults/CO ShipConfirmResponse and
ImageFormat DTurnInPage/Image/ImageFormat ShipAcceptResponse.
4
Format code of the
generated COD Turn In
Page. Valid values: HTML =
HTML format. Only HTML
format is supported for COD
Turn In Page. Applicable
String
only for
One
/ShipConfirmResponse/ShipmentResults/CO Yes ShipConfirmResponse and
Code DTurnInPage/Image/ImageFormat/Code ShipAcceptResponse.
Description of the format
code of generated COD
Turn In page. Applicable
String
1...35 only for
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 233
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container for the HighValue
Report generated for
ImportControl or Return
shipments with high package
Container
declared value. Applicable
for one pass
Cond
One
N/A
/ShipConfirmResponse/ShipmentResults/High ShipmentResponse and two-
HighValueReport ValueReport pass ShipAcceptResponse.
Container
Container for the HighValue
Yes*
One
N/A
/ShipConfirmResponse/ShipmentResults/High Report image for Import
Image ValueReport/Image Control Shipments.
Container
Report image format
information for Import
Yes*
One
N/A
/ShipConfirmResponse/ShipmentResults/High Control Shipments or return
ImageFormat ValueReport/Image/ImageFormat Shipments.
3
Code representing the
format in which the
String
HighValueReport is
Yes*
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 234
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
LabelURL is returned only if
1
the LabelLinksIndicator is
requested for an
ImportControl shipment or
for a Return shipment. URL
String
will point to a label and can
/ShipConfirmResponse/ShipmentResults/Lab also point to
No
LabelURL elURL HighValueReport
1
LocalLanguageLabelURL is
returned only if the
LabelLinksIndicator is
requested for an
ImportControl shipment or
for a Return shipment. URL
String
will point to a label and can
/ShipConfirmResponse/ShipmentResults/Loc also point to
No
LocalLanguageLabelURL alLanguageLabelURL HighValueReport
Receipt URL is returned if
1
the LabelLinksIndicator is
String
requested for an
/ShipConfirmResponse/ShipmentResults/Rec No ImportControl shipment or a
ReceiptURL eiptURL Return shipment.
1 LocalLanguageReceiptURL
is returned if the
LabelLinksIndicator is
requested for an
ImportControl shipment or a
Return shipment. The URL
String
N/A
Shipment Response
ShipAcceptResponse /ShipAcceptResponse Container
container
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 235
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
One
Yes
N/A
/ShipAcceptResponse/Response/ResponseSt
ResponseStatus atus Response Status Container.
1
Identifies the success or
string
One
Yes
/ShipAcceptResponse/Response/ResponseSt failure of the transaction. 1 =
Code atus/Code Successful
1...35
string
One
Yes
/ShipAcceptResponse/Response/ResponseSt Code. Returns text of
Description atus/Description "Success".
container
Alert Container. There can
be zero to many alert
One
N/A
containers with code and
No
1...10
string
Yes*
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 236
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...512
The CustomerContext
string
One
/ShipAcceptResponse/Response/Transaction Information which will be
No
CustomerContext Reference/CustomerContext echoed during response.
container
Refer to the
ShipmentResults container
One
Yes
N/A
table for the elements under
ShipmentResults /ShipAcceptResponse/ShipmentResults ShipmentResults container.
Shipment charges
Container. Shipment
charges info. Shipment
container
charges are only guaranteed
to be returned for shipments
Cond
One
N/A
/ShipAcceptResponse/ShipmentResults/Ship whose origin country is US
ShipmentCharges mentCharges or Puerto Rico.
1
String
/ShipAcceptResponse/ShipmentResults/Ship
No
RateChart mentCharges/RateChart
container
One
Yes
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 237
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Transportation charges
currency code type. The
/ShipAcceptResponse/ShipmentResults/Ship currency code used in the
string
One
Yes
mentCharges/TransportationCharges/Currenc Shipment request is
CurrencyCode yCode returned.
Transportation and
/ShipAcceptResponse/ShipmentResults/Ship surcharges value amount.
1...19
string
One
Yes
mentCharges/TransportationCharges/Monetar Valid values are from 0 to
MonetaryValue yValue 99999999999999.99
container
One
Yes
N/A
/ShipAcceptResponse/ShipmentResults/Ship Service Option Charges
ServiceOptionsCharges mentCharges/ServiceOptionsCharges container.
3
Accessorial charges
currency code type. The
/ShipAcceptResponse/ShipmentResults/Ship currency code used in the
string
One
Yes
mentCharges/ServiceOptionsCharges/Moneta from 0 to
MonetaryValue ryValue 99999999999999.99
container
One
Yes
N/A
/ShipAcceptResponse/ShipmentResults/Ship
TotalCharges mentCharges/TotalCharges Total charges container.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 238
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Total charges currency code
type. The currency code
string
One
Yes
/ShipAcceptResponse/ShipmentResults/Ship used in the Shipment
CurrencyCode mentCharges/TotalCharges/CurrencyCode request is returned.
1...19
string
One
Yes
/ShipAcceptResponse/ShipmentResults/Ship Valid values are from 0 to
MonetaryValue mentCharges/TotalCharges/MonetaryValue 99999999999999.99
container
One
N/A
/ShipAcceptResponse/ShipmentResults/Nego Negotiated Rates Charge
No
NegotiatedRateCharges tiatedRateCharges Container.
N/A
/ShipAcceptResponse/ShipmentResults/Nego NegotiatedRatesIndicator in
No
/ShipAcceptResponse/ShipmentResults/Nego
string
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 239
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
shipment data is only
guaranteed to be returned
Cond
One
N/A
/ShipAcceptResponse/ShipmentResults/FRS for Ground Freight Pricing
FRSShipmentData ShipmentData shipments only.
Transportation charges
container. Ground Freight
Pricing transportation
charges. These are only
returned for Ground Freight
Pricing enabled shipper
Container
account number when the
user includes the
Cond
One
N/A
/ShipAcceptResponse/ShipmentResults/FRS FRSShipmentIndicator in the
TransportationCharges ShipmentData/TransportationCharges request.
Container
Gross Charges container. It
/ShipAcceptResponse/ShipmentResults/FRS indicates the shipment level
One
Yes
N/A
ShipmentData/TransportationCharges/GrossC gross Ground Freight Pricing
GrossCharge harge transportation charges.
3
String
/ShipAcceptResponse/ShipmentResults/FRS
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 240
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Container
It indicates the shipment
/ShipAcceptResponse/ShipmentResults/FRS level Ground Freight Pricing
One
Yes
N/A
ShipmentData/TransportationCharges/Discou discount amount for
DiscountAmount ntAmount transportation charges.
3
String
/ShipAcceptResponse/ShipmentResults/FRS
One
Yes
ShipmentData/TransportationCharges/Discou Discount Amount currency
CurrencyCode ntAmount/CurrencyCode code.
String
/ShipAcceptResponse/ShipmentResults/FRS Discount amount monetary
1..19
One
Yes
ShipmentData/TransportationCharges/Discou value. Valid values are from
MonetaryValue ntAmount/MonetaryValue 0 to 9999999999999999.99
String
1..5
ShipmentData/TransportationCharges/Discou level discount percentage for
DiscountPercentage ntPercentage transportation charges.
Container
N/A
/ShipAcceptResponse/ShipmentResults/FRS
One
Yes
N/A
ShipmentData/TransportationCharges/NetCha
CurrencyCode rge/CurrencyCode Net Charge currency code.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 241
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
String
/ShipAcceptResponse/ShipmentResults/FRS Net charges monetary value.
1..19
One
Yes
ShipmentData/TransportationCharges/NetCha Valid values are from 0 to
MonetaryValue rge/MonetaryValue 9999999999999999.99
container
One
Yes
N/A
/ShipAcceptResponse/ShipmentResults/Billin
BillingWeight gWeight Billing Weight container.
container
measurement code. The
unit of measurement used in
One
Yes
N/A
/ShipAcceptResponse/ShipmentResults/Billin Shipment request is
UnitOfMeasurement gWeight/UnitOfMeasurement returned.
3
string Code of the billing weight
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 242
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
18
Returned UPS shipment ID
number. 1Z Number of the
string
One
Yes
/ShipAcceptResponse/ShipmentResults/Ship first package in the
ShipmentIdentificationNumber mentIdentificationNumber shipment.
unbounded
Encoded shipment
parameters required to be
passed in the accept phase.
string
Cond
One
/ShipAcceptResponse/ShipmentResults/Ship Applicable only for
ShipmentDigest mentDigest ShipConfirmResponse.
##
container
Returned Package
Information. Applicable only
N/A
/ShipAcceptResponse/ShipmentResults/Pack for ShipmentResponse and
No
Package 1Z number.
Applicable only for
string
One
Yes
country is US or Puerto
Rico. Applicable only for
Cond
One
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 243
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
3
Package accessorial
charges currency code type.
The currency code used in
the Shipment request is
/ShipAcceptResponse/ShipmentResults/Pack returned. Applicable only for
string
One
Yes
ageResults/ServiceOptionsCharges/Currency ShipmentResponse and
CurrencyCode Code ShipAcceptResponse.
Package accessorial
charges value amount. Valid
values are from 0 to
99999999999999.99Applica
/ShipAcceptResponse/ShipmentResults/Pack ble only for
1...19
string
One
Yes
ageResults/ServiceOptionsCharges/Monetary ShipmentResponse and
MonetaryValue Value ShipAcceptResponse.
The container for UPS
shipping label. Shipment
without return service, or
container
with PRL return service.
Cond Applicable only for
One
N/A
/ShipAcceptResponse/ShipmentResults/Pack ShipmentResponse and
ShippingLabel ageResults/ShippingLabel ShipAcceptResponse.
The container image format.
contai
N/A
ner
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 244
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
string
One
ageResults/ShippingLabel/ImageFormat/Desc ShipmentResponse and
No
Description ription ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded graphic
image. Applicable only for
One
Yes
/ShipAcceptResponse/ShipmentResults/Pack ShipmentResponse and
GraphicImage ageResults/ShippingLabel/GraphicImage ShipAcceptResponse.
Base 64 Encoded
non-US based shipments.
One image will be given per
unbounded
shipment and it will be in the
first PackageResults
/ShipAcceptResponse/ShipmentResults/Pack container. Applicable only for
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 245
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
PDF-417 is a two-
dimensional barcode, which
can store up to about 1,800
printable ASCII characters or
1,100 binary characters per
symbol. The symbol is
rectangular. The image is
Base 64 encoded and
Base 64 Encoded
returned if the
LabelImageFormat code is
unbounded
GIF. Shipment with PRL
return service only.
Applicable only for
Cond
One
/ShipAcceptResponse/ShipmentResults/Pack ShipmentResponse and
PDF417 ageResults/ShippingLabel/PDF417 ShipAcceptResponse.
container
supported for ERL or PRL
shipments. Applicable only
Cond
One
N/A
/ShipAcceptResponse/ShipmentResults/Pack for ShipmentResponse and
ShippingReceipt ageResults/ShippingReceipt ShipAcceptResponse.
container
Container for a Image
Format. Applicable only for
One
Yes
N/A
/ShipAcceptResponse/ShipmentResults/Pack ShipmentResponse and
ImageFormat ageResults/ShippingReceipt/ImageFormat ShipAcceptResponse.
4
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 246
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Base 64 Encoded
unbounded
Base 64 encoded PRL
receipt in HTML format.
Applicable only for
One
Yes
/ShipAcceptResponse/ShipmentResults/Pack ShipmentResponse and
GraphicImage ageResults/ShippingReceipt/GraphicImage ShipAcceptResponse.
unbounded
USPSPICNumber is USPS
Package Identification code
which is returned at package
string
Cond
One
/ShipAcceptResponse/ShipmentResults/Pack level for UPS Returns
USPSPICNumber ageResults/USPSPICNumber Flexible Access Shipments.
N/A
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 247
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Code for the type of Graphic
4
Image for the High Value
Report. Values are: EPL =
EPL2 (when user requests
label in EPL2 format) SPL
= SPL (when user requests
label in SPL format) ZPL =
ZPL (when user requests
label in ZPL format) HTML=
HTML (when user requests
label in HTML format)
Applicable only for
string
One
Yes
/ShipAcceptResponse/ShipmentResults/Contr ShipmentResponse and
Code olLogReceipt/ImageFormat/Code ShipAcceptResponse.
string
1..35
One
/ShipAcceptResponse/ShipmentResults/Contr ShipmentResponse and
No
Description olLogReceipt/ImageFormat/Description ShipAcceptResponse.
Base 64 Encoded
unbounded
Base 64 encoded html,
EPL2, ZPL or SPL image.
Applicable only for
One
Yes
N/A
ShipmentResponse and
Form /ShipAcceptResponse/ShipmentResults/Form ShipAcceptResponse.
2
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 248
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1...35
string
One
Yes
/ShipAcceptResponse/ShipmentResults/Form ShipmentResponse and
Description /Description ShipAcceptResponse.
container
International forms image.
Applicable only for
Cond
One
N/A
/ShipAcceptResponse/ShipmentResults/Form ShipmentResponse and
Image /Image ShipAcceptResponse.
container
format information.
Applicable only for
Cond
One
N/A
/ShipAcceptResponse/ShipmentResults/Form ShipmentResponse and
ImageFormat /Image/ImageFormat ShipAcceptResponse.
Code representing the
3
format in which the forms
are generated. Possible
Values: PDF = pdfOnly.
PDF is supported currently.
Applicable only for
string
Cond
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 249
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
Base 64 Encoded
unbounded
Base 64 encoded
International forms image.
Applicable only for
Cond
One
/ShipAcceptResponse/ShipmentResults/Form ShipmentResponse and
GraphicImage /Image/GraphicImage ShipAcceptResponse.
1...26
string
Cond
One
/ShipAcceptResponse/ShipmentResults/Form ShipmentResponse and
FormGroupId /FormGroupId ShipAcceptResponse.
N/A
N/A
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 250
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
container
COD Turn In Page.
Applicable only for
One
Yes
N/A
/ShipAcceptResponse/ShipmentResults/COD ShipmentResponse and
ImageFormat TurnInPage/Image/ImageFormat ShipAcceptResponse.
4
Format code of the
generated COD Turn In
Page. Valid values: HTML =
HTML format. Only HTML
format is supported for COD
String
Turn In Page. Applicable
One
Yes
/ShipAcceptResponse/ShipmentResults/COD only for ShipmentResponse
Code TurnInPage/Image/ImageFormat/Code and ShipAcceptResponse.
String
Turn In page. Applicable
1...35
/ShipAcceptResponse/ShipmentResults/COD One only for ShipmentResponse
No
declared value.Applicable
for one pass
/ShipAcceptResponse/ShipmentResults/High ShipmentResponse and two-
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 251
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
Container
Container for the HighValue
Report image for Import
Yes
/ShipAcceptResponse/ShipmentResults/High Control Shipments or for
Image ValueReport/Image return shipments.
1
Container for the HighValue
Container
Report image format
information for Import
Yes
/ShipAcceptResponse/ShipmentResults/High Control Shipments or for
ImageFormat ValueReport/Image/ImageFormat return shipments.
1
Code representing the
format in which the
String
HighValueReport is
/ShipAcceptResponse/ShipmentResults/High Yes generated.|Possible Values:
Code ValueReport/Image/ImageFormat/Code PDF = “pdf”
1
String
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 252
Shipping Package – WebServices 7/09/2012
Shipment Only
Max Allowed
Return Only
Required
Partial IV
Nafta CO
Invoice
Length
Type
EEI
CO
Name XPath Description Validation Rules
1
LocalLanguageLabelURL is
returned only if the
LabelLinksIndicator is
requested for an
ImportControl shipment or
for a Return shipment. URL
String
will point to a label and can
/ShipAcceptResponse/ShipmentResults/Local also point to
No
LocalLanguageLabelURL LanguageLabelURL HighValueReport
1
ReceiptURL is returned if the
LabelLinksIndicator is
String
requested for an
/ShipAcceptResponse/ShipmentResults/Recei ImportControl shipment or a
No
ReceiptURL ptURL Return shipment.
1
LocalLanguageReceiptURL
is returned if the
LabelLinksIndicator is
requested for an
ImportControl shipment or a
Return shipment. The URL
String
will contain the receipt in the
/ShipAcceptResponse/ShipmentResults/Local Country's local language if
No
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 253
Shipping Package – WebServices 7/09/2012
1.9.1.1 Overview
Service Operations: Void Shipment
Type: Request-Response (client sends a request to UPS, and the UPS server
replies 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 single
transaction which sends a VoidShipmentWebServicesRequest and receives the
VoidShipmentWebServicesResponse to confirm the void.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 254
Shipping Package – WebServices 7/09/2012
REQUIRED
ALLOWED
LENGTH
TYPE
MAX
NAME XPATH DESCRIPTION VALIDATION RULES
Container
One
Yes
N/A
/VoidShipmentRequest/Re
Request quest Request Container N/A
String
One
/VoidShipmentRequest/Re
No
1
RequestOption quest/RequestOption Optional processing. No options Not used. Left for future uses
Container
TransactionReference identifies
One
N/A
/VoidShipmentRequest/Re transactions between
No
TransactionReference quest/TransactionReference client and server. N/A
The client uses CustomerContext
to synchronize Request /response
pairs. The client establishes
CustomerContext, which can
1...512
String
/VoidShipmentRequest/Re contain any information you want,
One
quest/TransactionReference/CustomerCont as along as it is valid XML; it is
No
CustomerContext ext echoed back by the server. N/A
String
/VoidShipmentRequest/Re
quest/TransactionReference/TransactionIde One The Unique Transaction Identifier Empty Tag. Not used. Left for
No
4
TransactionIdentifier ntifier for a given transaction future uses.
Container
One
Yes
Stri
18
18
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 255
Shipping Package – WebServices 7/09/2012
container
One
Yes
N/A
VoidShipmentResponse /VoidShipmentResponse Void Response Container.
container
One
Yes
N/A
Response /VoidShipmentResponse/Response Response Container.
container
One
Yes
N/A
/VoidShipmentResponse/R
ResponseStatus esponse/ResponseStatus Response Status Container.
string
One
Yes
/VoidShipmentResponse/Response/Respon Identifies the success or failure of
1
Code seStatus/Code the transaction.1 = Successful
string
1-35
One
Yes
/VoidShipmentResponse/Response/Respon Returns text of
Description seStatus/Description Success
container
Alert Container. There can be zero
to many alert
One
N/A
containers with code and
No
string
Yes*
1-10
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 256
Shipping Package – WebServices 7/09/2012
1-150
string
Yes*
One
/VoidShipmentResponse/Response/Alert/D Warning messages returned by
Description escription the system.
container
One
N/A
/VoidShipmentResponse/Response/Transa
No
TransactionReference ctionReference Transaction Reference Container.
1-512
The CustomerContext Information
string
One
/VoidShipmentResponse/Response/Transa which will be echoed
No
CustomerContext ctionReference/CustomerContext during response.
string
One
/VoidShipmentResponse/Response/Transa only if requested in the
No
35
TransactionIdentifier ctionReference/TransactionIdentifier request.
Container
One
Yes
N/A
SummaryResult /VoidShipmentResponse/SummaryResult Container for the Summary Result
Container
One
Yes
N/A
/VoidShipmentResponse/SummaryResult/S Container for the status of the
Status tatus Summary Result
String
One
Yes
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 257
Shipping Package – WebServices 7/09/2012
String
1-35
One
Yes
/VoidShipmentResponse/SummaryResult/S Description of the status of the
Description tatus/Description Summary Result
Container
One
N/A
/VoidShipmentResponse/PackageLevelRes Contains the Package Level
No
PackageLevelResult ult Results
String
*Yes
One
/VoidShipmentResponse/PackageLevelRes The package's identification
18
TrackingNumber ult/TrackingNumber number
Container
* Yes
One
/VoidShipmentResponse/PackageLevelRes
1
Status ult/Status Contains the status code tags.
String
that describes the status code.1 =
*Yes
One
/VoidShipmentResponse/PackageLevelRes Voided or Already
1
Code ult/Status/Code Voided; 0 = Not Voided
String
1...15
*Yes
One
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 258
Shipping Package – WebServices 7/09/2012
Negotiated Rates are available in the UPS Customer Integration Environment and are
returned when the Negotiated Rate indicator is provided in the rate request. The Negotiated
Rates returned do not reflect the contractual rate and may vary. (Generally they are 1% off
the published rate.)
Also in the Customer Integration Environment the shipper eligibility for Negotiated Rates is
not fully verified. For shipper eligibility requirements refer to Negotiated Rates section
within UPS Rates & Service Selection.
For integration testing, you should direct your test Shipping software to:
https://wwwcie.ups.com/webservices/Ship.
UPS maintains a special web site to support testing and staging of applications that rely on
the Shipping Web Services. This site lets developers test and debug their applications by
simulating transactions with UPS. The staging site responds to Web Services requests just
like 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 may
show up at your location expecting to pick up a package (and expecting payment for the
service.) 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 can
access this test site by using the domain name of wwwcie.ups.com. If you are using
development API that automatically generate messages based on the WSDL files, you may
need to edit the WSDL files so that they direct the request to the staging site or the
production site, as appropriate.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 259
Shipping Package – WebServices 7/09/2012
All of the UPS services work using HTTPS POST. Using the same URL as you
point your application to, perform an HTTPS GET. If the server is available, it will
reply 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: ShipWS
Remote User: null
Server Port: 443
Server Name: wwwcie.ups.com
Servlet Path: /Ship
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
Label Recovery
Questions about your XML request and response need to be directed to API Technical
Support. Please see section “Getting Technical Support”.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 260
Shipping Package – WebServices 7/09/2012
Once your testing is completed please direct your Shipping Package XML to the Production
URL:
https://onlinetools.ups.com/webservices/Ship
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
[email protected]
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.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 261
Shipping Package – WebServices 7/09/2012
Test your Void application using the set of 1Zs listed below:
This will ensure that your application has the ability to process success and error
responses correctly.
For integration testing, you should direct your test Void Package Shipment software
to:
https://wwwcie.ups.com/webservices/Void
1.10.6.2 System Availability
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 262
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 263
Shipping Package – WebServices 7/09/2012
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 .
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 264
Shipping Package – WebServices 7/09/2012
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.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 265
Shipping Package – WebServices 7/09/2012
Scroll down the page and complete the remainder of the email form including “Your Telephone”, “Stage of
Development”, “Developer Resource” which is which API you are integrating, “Attach File” where you
attach your XML Request/Response Pair, and any pertinent description of the issues in the “What is your
question or comment?” field. Select “Send Email” button.
The screen below will appear. Please see “Technical Support (US)” within this document for tech support
hours of operation and response times.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 266
Shipping Package – WebServices 7/09/2012
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.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 267
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 268
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 269
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 270
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 271
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 272
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 273
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 274
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 275
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 276
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 277
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 278
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 279
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 280
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 281
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 282
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 283
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 284
Shipping Package – WebServices 7/09/2012
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.
Error
Code 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.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 285
Shipping Package – WebServices 7/09/2012
Error
Code Severity Description
190112 Hard Return Service Shipments cannot be Voided at the Package Level
The requested Void was successful, but the associated Pickup was
190119 Warning not Cancelled
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 286
Shipping Package – WebServices 7/09/2012
10002 Hard The XML document is well formed but the document is not valid
10003 Hard The XML document is either empty or null
Although the document is well formed and valid, the element content
contains values which do not conform to the rules and constraints contained
10006 Hard in this specification
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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 287
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 288
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 289
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 290
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 291
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 292
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 293
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 294
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 295
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 296
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 297
Shipping Package – WebServices 7/09/2012
Korea, Democratic
Peoples Republic of North Korean Won KPW
Korea, Republic of Won KRW
Kuwait Kuwaiti Dinar KWD
Kyrgyzstan Som KGS
Lao Peoples Democratic
Republic 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 Former
Yugoslav 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
Mexican Unidad de
Mexico Inversion (UID) MXV
Micronesia (Federated
States 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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 298
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 299
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 300
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 301
Shipping Package – WebServices 7/09/2012
Shipping Rating
Service Service
Description Category Code Code
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
Shipments Originating in Canada
UPS Express to 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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 302
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 303
Shipping Package – WebServices 7/09/2012
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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 304
Shipping Package – WebServices 7/09/2012
Criteria Meaning
The good is \"wholly obtained or produced entirely\" in the territory of one or more of the
NAFTA countries as referenced in Article 415.Note: The purchase of a good in the territory
does not necessarily render it\" wholly obtained or produced.\" If the good is an
A agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a) and 415)
The good is produced entirely in the territory of one or more of the NAFTA
countries and satisfies the specific rule of origin, set out in Annex 401 that
applies to its tariff classification. The rule may include a tariff classification change, regional
value-content requirement, or a combination there-of. The good must also satisfy all other
applicable requirements of Chapter Four. If the good is an agricultural good, see also criterionF and
B Annex 703.2. (Reference: Article 401(b))
The good is produced entirely in the territory of one or more of the NAFTA countries exclusively
from originating materials. Under this criterion, one or more of the materials may not fall within the
definition of \"wholly produced or obtained,\" as set out in Article 415. All materials used in the
production of the good must qualify as \"originating\" by meeting the rules of Article 401(a) through
(d). If the good is an agricultural good, see also criterion F and Annex703.2. Reference: Article
C 401(c).
Goods are produced in the territory of one or more of the NAFTA countries but do not meet the
applicable rule of origin, set out in is an agricultural good, see also criterion F and
Annex703.2. Reference: Article 401(c). Annex 401, because certain non-originating materials do not
undergo the required change in tariff classification. The goods do nonetheless meet the regional
value-content requirement specified in Article 401 (d). This criterion is limited to the following two
circumstances: (1) The good was imported into the territory of a NAFTA country in an unassembled
or disassembled form but was classified as an assembled good, pursuant to H.S. General Rule of
Interpretation 2(a). or (2).The good incorporated one or more non- originating materials, provided for
as parts under the H.S., which could not undergo a change in tariff classification because the
originating materials, provided for as parts under the H.S., which could not undergo a change in tariff
classification because the heading provided for both the good and its parts and was not further
subdivided into subheadings, or the subheading provided for both the good and its parts and was not
further subdivided. Note: This criterion does not apply to Chapters 61 through 63 of the H.S.
D (Reference: Article 401(d))
Certain automatic data processing goods and their parts, specified in Annex308.1,
that do not originate in the territory are considered originating upon importation into the
territory of a NAFTA country from the territory of another NAFTA country when the
most-favored- nation tariff rate of the good conforms to the rate established in Annex 308.1
E and is common to all NAFTA countries. (Reference: Annex 308.1)
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 305
Shipping Package – WebServices 7/09/2012
Criteria Meaning
The good is an originating agricultural good under preference criterion A, B, or C above
and is not subject to a quantitative restriction in the importing NAFTA country
because it is a \"qualifying good\" as defined in Annex 703.2, Section A or B (please specify).
A good listed in Appendix 703.2B.7 is also exempt from quantitative restrictions and is
eligible for NAFTA preferential tariff treatment if it meets the definition of \"qualifying good\" in
Section A of Annex 703.2. Note: This criterion does not apply to goods that wholly originate
in Canada or the United States and are imported into either country. Note: A tariff rate quota is
F not a quantitative restriction
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 306
Shipping Package – WebServices 7/09/2012
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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 307
Shipping Package – WebServices 7/09/2012
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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 308
Shipping Package – WebServices 7/09/2012
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
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 309
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 310
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 311
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 312
Shipping Package – WebServices 7/09/2012
Note that only these numbers may be used in the Customer Integration Environment when voiding
shipments.
NUMBER(S) EXPECTED RESULT
1Z2220060294314162 and Tracking Number A successful XML response will be returned for a
1Z2220060291994175 package level void request. The request will void the
package in the shipment.
1Z2220060292690189 and Tracking Number A successful XML response will be returned for a
1Z2220060292002190 package level void request. The request will void the
package in the shipment.
1ZISDE016691609089 with Tracking Numbers A successful XML response will be returned for a
1ZISDE016694068891 and 1ZISDE016690889305 package level void request. The request will void all the
packages
1Z2220060290530202 with Tracking Number A successful XML response will be returned with a
1Z2220060293874210 and 1Z2220060292634221 partial void for a package level void request. The request
will void package 1Z2220060293874210 but package
1Z2220060292634221 cannot be voided.
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 313
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 314
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 315
Shipping Package – WebServices 7/09/2012
Country
Australia
Austria
Belgium
Canada
China
Czech Republic
Denmark
Estonia
Finland
France
Germany
Guernsey
Great Britain
Hong Kong
Hungary
India
Indonesia
Ireland
Israel
Italy
Japan
Jersey
Latvia
Lithuania
Luxembourg
Macau
Malaysia
Malta
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Puerto Rico
Romania
Scotland
Singapore
Slovenia
South Korea
Spain
Sweden
Switzerland
Tai wan
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 316
Shipping Package – WebServices 7/09/2012
Country
Thailand
United States
Vietnam
Origin Destination
US CA
US MX
CA US
CA PR
CA MX
PR CA
PR MX
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 317
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 318
Shipping Package – WebServices 7/09/2012
Shipping Scan-based Does the Shipping Yes, it is supported by default meaning if they are not tendered to
Billing API support Scan- UPS they are not billed.
Based Billing
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 319
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 320
Shipping Package – WebServices 7/09/2012
For ERL and PRL, the labels can be voided up to 30 days after
generation. Please note that the Label generation fee, if applied is
not voidable and that unused labels will not be billed transportation
charges.
Shipping Returns Does the Shipping
API support
international Yes. Please see the UPS Developer’s Guide for the specific
returns and returns countries supported
in international
countries where
the Shipping API
is supported?
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 321
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 322
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 323
Shipping Package – WebServices 7/09/2012
Shipping Paperless Invoice Does the Shipping Yes. The developer guide for the Shipping API - Package lists the
API - Package valid countries for paperless invoice. See the
support Paperless AdditionalDocumentIndicator Element within the Interface Spec
Invoice? within the developer guide. Once the shipment is processed an
EDI (paperless invoice) or EDI PULL (paperless invoice and
additional export document indicator) will appear on the bottom
right corner of the label image returned in the ShipAcceptResponse
label digest. This indicates that Paperless Invoicing has been
requested.
Shipping Paperless Invoice Can a Paperless Yes a Paperless Invoice shipment can be voided via the Shipping
voids Invoice shipment API - Package. If a shipment is voided and consequently the
be voided through package is never tendered to UPS, then the paperless invoice data
the Shipping API - that was uploaded with the shipment is not used to create an
Package? If yes, invoice image and it is eventually purged.
what happens to
the invoice
information?
Shipping Paperless Invoice How does Those customers setup for paperless invoicing shipping
Shipment Paperless Invoice internationally to a paperless supported country with the necessary
work in terms of data for paperless will have the invoice automatically sent to
the documentation brokerage.
being forwarded?
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 324
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 325
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 326
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 327
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 328
Shipping Package – WebServices 7/09/2012
All Phone Support Is phone support Yes. Phone support is provided for basic API questions. This
provided for the includes integration questions and production questions. However,
UPS Developer customer's questions that cannot be answered verbally will be
Kit - Developer directed to the email support form at ups.com.
APIs? If so, what Phone Support Hours:
is the number and M-F 730am- 9pm EST
what are the hours Sa-Su 9am - 6pm EST
of operation? 800-247-9035
All Examples of API Are there any
Implementations examples of
implementations
that we can review
to understand how
best to utilize the
APIs? No, we do not provide implementation examples.
All Code languages Do the APIs
supported support PHP or
Perl with code
sample within the
Developer Guides
or the developer
kit zip files? Yes, We currently support PHP or Perl with sample code.
All Password Are there new
changes login password
requirements? Yes, for new or updated passwords the following rules apply:
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 329
Shipping Package – WebServices 7/09/2012
© 2012 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary Page 330