Beruflich Dokumente
Kultur Dokumente
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 2009 United Parcel Service of America, Inc. All Rights Reserved.
Trademarks
UPS OnLine® is a registered trademark of United Parcel Service of America, Inc. All other trademarks are the
property of their respective owners.
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.
Important Information
UPS OnLine Tools Shipping Tool:
Your development of an application using the UPS OnLine Tools Shipping Tool is 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 OnLine Tools Shipping Tool. For
more information on all requirements for the UPS OnLine Tools Shipping Tool, 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
OnLine Tools Shipping Tool to third parties, other than to persons having a bona fide interest in such
information (e.g., the shipper, consignee or the third party payer).
UPS Account. You must design your application to only provide a user access to the UPS OnLine Tools
Shipping Tool if the user has a UPS Account. Once the user provides UPS Account credentials, all tendered
shipments manifested through the UPS OnLine Tools Shipping Tool must be billed to (1) Your UPS Account;
or (2) a valid credit card account acceptable to UPS; or (3) a UPS account assigned by UPS to the consignee
(this payment method also known as Freight Collect Billing); or (4) a UPS account assigned by UPS to a
third party who has authorized You to use such UPS account for a tendered shipment (this payment method
also known as Third Party Billing).
• All screens or forms generated by your application including information received through the
UPS OnLine Tools Shipping Tool 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.
Copyright and Proprietary Notices. You must include in your application and any POD Letters you prepare
a prominent reproduction of UPS’s copyright and proprietary notices in a form and format specified by UPS
(See Copyright Section of this document).
Display of Information. The application must not display information concerning any other provider of
shipping services or such other shipping services on any page, whether comprising one or more frames,
displaying information your application receives from the UPS OnLine Tools Shipping Tool. Your
application must present all data within each field received through the UPS OnLine Tools Shipping Tool
without amendment, deletion or modification of any type.
Table of Contents
Important Information ................................................................................................................. 3
Returns ............................................................................................................................. 27
How Shipping Services Work ................................................................................................. 28
Forward and Return Shipments........................................................................................ 28
Cancellations (Voids)........................................................................................................ 28
Shipping Reference...................................................................................................................... 30
Appendix B: Shipping and Tracking Numbers for Void Testing ....................................... 150
Index ……………………………..150
The descriptions for AddressLine2 for shipper, ShipTo and ShipFrom have
been clarified. AddressLine2 does NOT appear on the label; however, it is
transmitted to UPS systems.
UPS Desktop
OnLine Tools Internet Applications
Figure 1: Dedicated applications that users run on their desktops can access UPS
OnLine Tools.
Database Database
Applications Clients
UPS
OnLine Tools Internet
Figure 2: Database applications can access UPS OnLine Tools and return
information to their clients.
Web Users
UPS
OnLine Tools Internet
Web Site
Figure 3: Web sites can access UPS OnLine Tools and return information to users'
web browsers.
UPS Web-Enabled
Internet Document
OnLine Tools
The UPS OnLine Tools 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 OnLine Tools.
Branding Requirements
UPS should receive attribution and branding in all applications (including
websites and software applications) that use the OnLine Tools. No End User,
Third Party Developer or Access User should be permitted to use the OnLine
Tools 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 OnLine Tools in a way that
misrepresents the information or the functionality of the service.
Visual Developers using the Microsoft Visual Studio environment can rely on the
Studio Microsoft XML Core Services (MSXML) for interacting with UPS OnLine
Tools. Those services include functions to help applications create requests for
and interpret responses, and they include functions to manage the
communications between applications and UPS.
Open Source
Open There are a number of open source efforts that include technology useful for
Source creating OnLine Tools client applications; open source developers may find two
particular projects to be especially helpful. The libcurl project is a library of
functions that can manage the communications with UPS servers. For creating
requests and interpreting responses, the xerces project provides essential
functions in a variety of software languages.
For developers in the United States, the request form may be found by selecting
“Contact UPS” from the www.myups.com web site, or from www.ups.com from
the steps below.
5. UPS will contact you within 2 business days to inform you of your
approval status. Once approved, UPS will provide you with the
Production URL.
Certification for third parties is described in the Product Provider Testing Guide.
Note: UPS reserves the right to revoke shipping privileges from any customers
who fail to abide by the Certification Requirements outlined above.
Keeping Up-to-Date
As UPS adds new services and features, UPS OnLine Tools will evolve, offering
more features and service benefits. Once you register to use UPS OnLine Tools,
UPS will notify you by e-mail of updates and changes to the OnLine Tools. It is
essential that an accurate e-mail address for your company be maintained. 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 occur or responsibilities for the
OnLine Tools shift within your company. You can also return to the UPS Support
area of ups.com for the latest updated information about UPS OnLine Tools.
UPS Client
Internet Applications
OnLine Tools
2 Response message
Figure 5. UPS OnLine Tools accept requests from client applications in HTTP POST
messages and reply to the requests with HTTP responses.
As part of the POST message, client applications indicate the type of content the
message contains using an HTTP Content-Type header. For UPS OnLine Tools,
that content type should be application/x-www-form-urlencoded. (Presently,
Version 1.1 is supported)
In many cases the UPS OnLine tools exchange information that should be kept
private. To protect confidential information, the UPS OnLine Tools rely on the
Secure Sockets Layer 3 (SSL3) protocol in addition to HTTP. When two systems
communicate using SSL, the protocol creates a secure channel between them,
and it encrypts all information that they exchange using this channel. The SSL
protocol that UPS OnLine Tools use is the same protocol used to secure millions
of on-line purchases on the web.
UPS Client
Internet Applications
OnLine Tools
Encrypted “channel”
created by SSL
Figure 6: SSL creates a secure channel across a network and protects confidential
communications using that channel.
https://wwwcie.ups.com/ups.app/xml/ShipConfirm
https://wwwcie.ups.com/ups.app/xml/ShipConfirm
protocol
protocol
abbreviation
abbreviation https://wwwcie.ups.com/ups.app/xml/ShipConfirm
(https
(https==
HTTP
HTTPwith
with name
name
SSL)
SSL) of
of
server
server
path
path to
to
specific
specific
service
service
The subsections that follow provide brief introductions to using HTTP and SSL
with various software development tools, including Microsoft Visual Studio, Java
Standard and Enterprise Edition, and popular open source environments.
Visual The Microsoft Visual Studio environment includes many tools, classes, and
Studio libraries that simplify the use of HTTP and SSL protocols. A very convenient set
of tools are included in the Microsoft XML Core Services (MSXML). The
following code fragment shows how a Visual Basic program can send a request
and retrieve the response. To keep the example as simple as possible, no
exception handling is included in the figure. Production software should, of
course, appropriately handle all exceptions.
' create the object that manages the communication
Dim oXMLHttp As XMLHTTP
Set oXMLHttp = New XMLHTTP
' prepare the HTTP POST request
oXMLHttp.open "POST", "https://www.server.com/path", False
oXMLHttp.setRequestHeader "Content-Type", _
"application/x-www-form-urlencoded"
Open Source
Open The libcurl project is an open source project that includes support for using
Source HTTP and SSL protocols. The fragment in Figure 10 shows how to set up libcurl
to send a request using HTTP and SSL. It relies on a callback function to accept
the server's response.
CURL *curl;
CURLcode res;
/* prepare to send the request */
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_URL, https://www.server.com/path");
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, requestString);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, fnCallback);
res = curl_easy_perform(curl);
Figure 10. The open source libcurl library simplifies the use of HTTP and SSL.
indicate the end of information if it begins with an angle bracket and a slash (</).
A beginning tag, ending tag, and the information between the two make up an
element. In this example the publisher element tells us that the publisher for the
book is "John Wiley and Sons."
The figure also shows how an XML message follows a defined structure.
Elements can be contained within other elements, as <firstname> and <lastname>
are included within the <author> element. This structure indicates that firstname
and lastname are "children" of the author "parent."
Although XML elements can contain almost any text, there are two special
characters that cannot appear within an element. Those characters are the less-
than sign (<) and the ampersand (&). Elements that include these contents must
replace the special characters with "<" or "&" respectively. The name of a
large telecommunications company, for example, would appear as "AT&T"
within an XML message.
Because XML is a text-based format, software has to take extra steps to use XML
with binary data. For example, some UPS services return binary image data such
as the image of a shipping label. To include this data in an XML message, UPS
converts it from binary to text format using an algorithm known as Base64
encoding. The "The Base16, Base32, and Base64 Data Encodings" standard, also
known as RFC 3548, defines that algorithm.
Although XML messages consist of a series of text characters, most software
development tools represent XML messages in a tree-like data structure. That
representation clarifies the structure of the message. Figure 12 shows the same
XML message as Figure 11, but it uses a more visual representation to highlight
the message's structure.
book
HTTP
John Wiley and
Essentials: firstname lastname 2001 0-471-398233
Sons
Protocols for
Secure,
Scaleable Web
Sites
Stephen Thomas
depicting the tree-like structure of XML messages; it uses the same example as
before.
book
├─title
│ └─"HTTP Essentials: Protocols for Secure, Scaleable Web Sites"
├─author
│ ├─firstname
│ │ └─"Stephen"
│ └─lastname
│ └─"Thomas"
├─publisher
│ └─"John Wiley and Sons"
├─year
│ └─"2001"
└─isbn
└─"0-471-398233"
Figure 13. It is possible to show the tree-like structure of XML messages using text.
Visual The Microsoft XML Core Services (MSXML) offers one way to work with XML
Studio documents in Visual Studio applications. Figure 14 shows one approach for
creating an XML message in Visual Basic, and Figure 15 demonstrates how
Visual Basic programs can interpret XML responses. To remain as simple as
possible, the examples do not include any exception handling. Production
software should, of course, provide full exception handling.
' Define a variable and initialize it to a new XML message
Dim dom
Set dom = New DOMDocument30
' Set properties of the variable
dom.async = False
dom.validateOnParse = False
dom.resolveExternals = False
dom.preserveWhiteSpace = True
Dim root
Set root = dom.createElement("book")
dom.appendChild root
' Create child elements and add them to the root
Dim node
Set node = dom.createElement("title")
node.text = "HTTP Essentials: ..."
root.appendChild node
Set node = Nothing
Visual Basic also has built-in classes to interpret Base64-encoded values. The
Convert.FromBase64String() function converts from a Base64-encoded string
to an array of 8-bit unsigned integers.
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import java.io.StringWriter;
/* create the book object */
BookClass book = new BookClass("HTTP Essentials...",
new AuthorClass("Stephen", "Thomas"),
"John Wiley and Sons",
"2001",
"0-471-398233");
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import java.io.StringReader;
Open Source
Open As of this writing, the most popular open source tool for working with XML is
Source the xerces project. That project includes C++, Java, and Perl implementations of
an XML library. The xerces distribution includes extensive sample applications.
The code fragment in Figure 18 demonstrates creating an XML message in C++
with the xerces library. Figure 19 shows sample code for accessing an element
within an XML message. In both cases exception handling is not shown in order
to keep the examples as simple as possible. Production software should always
contain full exception handling.
DOMImplementation* impl =
DOMImplementationRegistry::getDOMImplementation(X("Core"));
XMLCh* TAG_book;
XMLCh* TAG_title;
xercesc::XercesDOMParser *parser;
XMLPlatformUtils::Initialize();
TAG_book = XMLString::transcode("book");
TAG_title = XMLString::transcode("title");
Shipments
OnLine Tools Shipping 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 UPS OnLine Tools designed for freight 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.
Cancellations (Voids)
If you need to cancel a previously processed shipment, the UPS OnLine Tools
Shipping Services let client applications automate that task. This process is
known as voiding a shipment.
Returns
UPS OnLine Tools also support the UPS returns services. Either as part of a
forward shipment or in a separate process, clients can request a return label for
their customers. (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
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.
Figure 20. Forward and return shipments require four separate steps to complete
the shipment processing.
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.
Cancellations (Voids)
To cancel, or void, a previously scheduled shipment, client applications send a
VoidShipmentRequest to UPS. As Figure 21 illustrates, UPS replies to this
request with a VoidShipmentResponse.
VoidShipment
1 Request
UPS Client
Internet Application
OnLine Tools
VoidShipment
2 Response
Figure 21. VoidShipmentRequest messages let client applications cancel a previously
scheduled shipment.
AccessRequest
AccessRequest
├─AccessLicenseNumber::string
AccessLicenseNumber
├─UserId::string
UserId
└─Password::string
Password
ShipmentConfirmRequest
The ShipmentConfirmRequest message consists of two complete XML
documents. The first document is an AccessRequest. The AccessRequest is
immediately followed by (concatenated to) a ShipmentConfirmRequest. When a
client application is undergoing testing and integration, the document
combination should be sent to the URL:
https://wwwcie.ups.com/ups.app/xml/ShipConfirm
Once a client application is in production, the combined documents should be
sent to the URL provided as part of the certification process.
The ShipmentConfirmRequest document in the request must conform to the
following XML structure.
(See next pages)
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Yes
N/A
1
ShipmentConfirmRequest /ShipmentConfirmRequest
Container
/ShipmentConfirmRequest
Yes
N/A
1
Request
/Request
/ShipmentConfirmRequest
String
11
1
Optional Processing.
‘nonvalidate’ = No address validation.
‘validate’ = Fail on failed address validation.
/ShipmentConfirmRequest Defaults to ‘validate’.
1..256
String
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentConfirmRequest
TransactionReference identifies transactions
N/A
No
1
TransactionReference /Request
between client and server.
/TransactionReference
/ShipmentConfirmRequest
Customer context . Free form field for
1..512
String
/Request
No
1
CustomerContext customers to us… (there was verbiage here
/TransactionReference
previously with a description). See pg 210.
/CustomerContext
/ShipmentConfirmRequest
/Request String Message version. Defaults to ‘1.0001’. (or is it
No
4
XpciVersion
/TransactionReference now just 1.0?)
/XpciVersion
Container
/ShipmentConfirmRequest
Yes
N/A
1
Shipment
/Shipment
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..35
Provide a detailed description of items being
1
Description /Shipment or ShipTo countries are not in the
shipped for documents and non-documents.
/Description European Union or the ShipFrom
Provide specific descriptions, such as annual
and ShipTo countries are both in
reports and 9 mm steel screws.
the European Union and the
shipment’s service type is not
UPS Standard.
Container
/ShipmentConfirmRequest
Type of Return service. When this container
Yes
N/A
No
ReturnService /Shipment
exists, the shipment is a return shipment.
/ReturnService
Yes
1
Code
/ReturnService ‘5’ = UPS Return Service 3-Attempt (RS3)
/Code ‘8’ = UPS Electronic Return Label (ERL)
‘9’ = UPS Print Return Label (PRL)
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
No
0
DocumentsOnly /Shipment it implies that the shipment contains non countries. The origin country is
/DocumentsOnly documents or documents of commercial value. not US, and the destination
Default is a shipment contains non- country is not CA, PR or MX.
documents or documents of commercial value.
/ShipmentConfirmRequest
String
1..35
Yes
1
Shipper /Shipment Container tag for Shipper’s information
/Shipper
/ShipmentConfirmRequest
String
1..35
/Shipment
Yes
Required if destination is
/ShipmentConfirmRequest
international. Required if Invoice
String
Cond
1..35
/Shipment
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/Shipment
Yes
6
ShipperNumber Shipper’s six digit account number. daily pickup account, an
/Shipper
occasional account, or a
/ShipperNumber
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 daily pickup account,
or an occasional account.
1..15
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..15
/Shipment
1
PhoneNumber Shipper’s Phone Number extension number; for other
/Shipper
countries, the layout is
/PhoneNumber
countrycode, area code, 7 digit
number. A phone number is
required if destination is
international.
StructuredPhoneNumber /Shipper
phone number is not provide at
/PhoneNumber
the parent node.
/StructuredPhoneNumber
/ShipmentConfirmRequest
/Shipment
String
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..15
/Shipper
Yes
1
PhoneDialPlanNumber Dial plan number portion of the phone number.
/PhoneNumber
/StructuredPhoneNumber
/PhoneDialPlanNumber
/ShipmentConfirmRequest
/Shipment
String
1..15
/Shipper
Yes
1
PhoneLineNumber Line number portion of the phone number.
/PhoneNumber
/StructuredPhoneNumber
/PhoneLineNumber
/ShipmentConfirmRequest
/Shipment
String
/Shipper
1..4
No
/ShipmentConfirmRequest
String
1..14
/Shipment
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
String
1..50
/Shipment
No
1
EMailAddress Shipper’s email address.
/Shipper
/EMailAddress
Container
corner of the label. If the
/Shipment
Yes
N/A
Address 1 Address of the shipper. ShipFrom container is not
/Shipper
present then this address will be
/Address
used as the ShipFrom address.
If this address is used as the
ShipFrom the shipment will be
rated from this origin address
/ShipmentConfirmRequest
/Shipment
String
1..35
Yes
1..35
No
AddressLine2 /Shipper
/Address Note: This information does NOT appear on
/AddressLine2 the label
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
1..35
No
1
AddressLine3 /Shipper
/Address Note: This information does NOT appear on
/AddressLine3 the label
/ShipmentConfirmRequest
/Shipment
String
1..30
Yes
1
City /Shipper Shipper’s city.
/Address
/City
2..5
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
If Shipper country is US or
Puerto Rico, 5 or 9 digits is
required. The character '-' may
be used to separate the first five
digits and the last four digits. If
/ShipmentConfirmRequest the Shipper country is CA, then
/Shipment the postal code is required and
String
Cond
1..10
1
PostalCode /Shipper Shipper’s postal code. must be 6 alphanumeric
/Address characters whose format is
/PostalCode 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 alphanumeric
characters long.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes
2
CountryCode /Shipper Country Information table for valid origin Shipper.2) None of the following
/Address countries and their UPS Billing codes. country codes are the same and
/CountryCode 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: ShipTo,
ShipFrom, and Shipper.
Container
/ShipmentConfirmRequest
Yes
N/A
1
ShipTo /Shipment
/ShipTo
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
String
1..35
/Shipment
Yes
1
CompanyName Consignee’s company name.
/ShipTo
/CompanyName
String
Cond
1..35
/Shipment ShipTo country is different than
1
AttentionName Contact name at the consignee’s location.
/ShipTo ShipFrom country. Required if
/AttentionName Invoice International form is
requested
/ShipmentConfirmRequest String
/Shipment 1..15
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
element
Cond
1..15
/Shipment
1
PhoneNumber Consignee’s phone number. phonenumber or areacode, 7
/ShipTo
digit phonenumber, 4 digit
/PhoneNumber
extension number; number; for
other countries, the layout is
countrycode, area code, 7 digit
number
/ShipmentConfirmRequest
Required if parent element,
Container
/Shipment
Cond
StructuredPhoneNumber /ShipTo
phone number is not provide at
/PhoneNumber
the parent node.
/StructuredPhoneNumber
/ShipmentConfirmRequest
/Shipment
String
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..15
/ShipTo
Yes
1
PhoneDialPlanNumber Dial plan number portion of the phone number.
/PhoneNumber
/StructuredPhoneNumber
/PhoneDialPlanNumber
/ShipmentConfirmRequest
/Shipment
String
1..15
/ShipTo
Yes
1
PhoneLineNumber Line number portion of the phone number.
/PhoneNumber
/StructuredPhoneNumber
/PhoneLineNumber
/ShipmentConfirmRequest
/Shipment
String
/ShipTo
1..4
No
/ShipmentConfirmRequest
If ShipTo country is US 10 digits
String
1..15
/Shipment
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
String
1..50
/Shipment
No
1
EMailAddress Ship To email address.
/ShipTo
/EMailAddress
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
1
Address
/ShipTo
/Address
/ShipmentConfirmRequest
/Shipment
String
1..35
Yes
1..35
No
AddressLine2 /ShipTo
/Address Note: This information does NOT appear on
/AddressLine2 the label
/ShipmentConfirmRequest
/Shipment
String
1..35
AddressLine3 /ShipTo
department information.
/Address
/AddressLine3
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..30
Yes
1
City /ShipTo Consignee’s city.
/Address
/City
String
Cond
Consignee’s state or province code. Required character US State/Canadian
2..5
1
StateProvinceCode /ShipTo
for US or Canada. Province code. If the country is
/Address
Ireland, the StateProvinceCode
/StateProvinceCode
will contain the county.
1..10
must be 6 alphanumeric
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Shipper.2) None of the following
Yes
2
CountryCode /ShipTo Consignee’s country code.
country codes are the same and
/Address
are a member of the EU: ShipTo,
/CountryCode
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: ShipTo,
ShipFrom, and Shipper.
/ShipmentConfirmRequest
/Shipment Consignee’s Residential address indicator.
String
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Location ID must be
3…10
String
/Shipment Location ID is a unique identifier referring to a
No
1
LocationID alphanumeric characters. All
/ShipTo specific shipping/receiving location.
letters must be capitalized.
/LocationID
Container
/ShipmentConfirmRequest
Cond
Required if pickup location is different from the
N/A
1
ShipFrom /Shipment Required for return shipment
shipper’s address.
/ShipFrom
/ShipmentConfirmRequest
String
1..35
Yes*
/ShipmentConfirmRequest
.Required if ShipFrom tag is in
String
1..35
Yes*
/Shipment
1
AttentionName Contact name at the pickup location. the XML and Invoice or CO
/ShipFrom
International forms is requested
/AttentionName
/ShipmentConfirmRequest
Conditionally required if SED
String
Cond
1..15
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..15
/Shipment
1
PhoneNumber Pickup location’s phone number. number; for other countries, the
/ShipFrom
layout is countrycode, area code,
/PhoneNumber
7 digit number. Required if
ShipFrom tag is in the XML and
International forms is requested
StructuredPhoneNumber /ShipFrom
phone number is not provide at
/PhoneNumber
the parent node.
/StructuredPhoneNumber
/ShipmentConfirmRequest
/Shipment
String
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..15
Yes*
/ShipFrom
1
PhoneDialPlanNumber Dial plan number portion of the phone number.
/PhoneNumber
/StructuredPhoneNumber
/PhoneDialPlanNumber
/ShipmentConfirmRequest
/Shipment
String
1..15
Yes*
/ShipFrom
1
PhoneLineNumber Line number portion of the phone number.
/PhoneNumber
/StructuredPhoneNumber
/PhoneLineNumber
/ShipmentConfirmRequest
/Shipment
String
/ShipFrom
1..4
No
/ShipmentConfirmRequest
String
1..15
/Shipment
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
from or being shipped from this
Yes*
/Shipment
N/A
1
Address Address of the pickup location. address. The shipment will be
/ShipFrom
rated from this origin address to
/Address
the destination ship to address.
/ShipmentConfirmRequest
/Shipment
String
1..35
Yes*
Required if ShipFrom tag is in
1
AddressLine1 /ShipFrom Address Line 1 of the pickup location.
the XML.
/Address
/AddressLine1
1..35
No
AddressLine2 /ShipFrom
/Address Note: This information does NOT appear on
/AddressLine2 the label
/ShipmentConfirmRequest
/Shipment
String
1..35
AddressLine3 /ShipFrom
department information.
/Address
/AddressLine3
/ShipmentConfirmRequest
/Shipment
String
1..30
Yes*
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
or CA, then the value must be a
2..5
1
StateProvinceCode /ShipFrom Pickup location’s state or province code.
valid US State/Canadian
/Address
Province code. If the country is
/StateProvinceCode
Ireland, the StateProvinceCode
will contain the county.
1..10
1
PostalCode /ShipFrom Pickup location’s postal code. ShipFrom country is CA, then the
/Address postal code must be 6
/PostalCode 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 alphanumeric
characters long.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
2
CountryCode /ShipFrom Pickup location’s country code. of the EU: ShipTo, ShipFrom,
/Address and Shipper.3) None of the
/CountryCode 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: ShipTo,
ShipFrom, and Shipper. Refer to
Origin Country Information table
for country codes
/ShipmentConfirmRequest
Cond
The person or company who imports and pays CO Forms. Required if Invoice or
N/A
1
SoldTo /Shipment
any duties due on the current shipment. NAFTA CO (International Form)
/SoldTo
is requested
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/Shipment form Applies to NAFTA CO form.
No
1
Option
/SoldTo The values indicate the following 01 – Possible Values are
/Option Unknown
02 - Various
String
Cond
1..35
/Shipment option is empty or not present
1
CompanyName Company name.
/SoldTo Required for Invoice. Required
/CompanyName for NAFTA CO if sold to option is
not provided
1..35
/ShipmentConfirmRequest
Applies to Invoice form. Applies
String
1..15
/Shipment
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..15
/Shipment option is empty or not present
1
PhoneNumber Sold To contact’s phone number.
/SoldTo Required for Invoice. Required
/PhoneNumber for NAFTA CO if sold to option is
not provided
Container
/Shipment option is empty or not present
N/A
No
1
Address Address of the Sold to location.
/SoldTo Required for Invoice. Required
/Address for NAFTA CO if sold to option is
not provided
1..35
Yes*
/ShipmentConfirmRequest
/Shipment Applies to Invoice form. Applies
String
1..35
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment Applies to Invoice form. Applies
String
1..35
Address Line 3 of the pickup location. Usually
No
1
AddressLine3 /SoldTo to NAFTA CO form if sold to
department information.
/Address option is empty or not present
/AddressLine3
String
1..30
Yes*
option is empty or not present
1
City /SoldTo SoldTo location’s city.
Required for Invoice. Required
/Address
for NAFTA CO if sold to option is
/City
not provided
/ShipmentConfirmRequest
Applies to Invoice form. Applies
/Shipment
String
Cond
1..10
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
option is empty or not present
2
CountryCode /SoldTo SoldTo location’s country code.
Required for Invoice
/Address
Required for NAFTA CO if sold
/CountryCode
to option is not provided
Container
/ShipmentConfirmRequest element,
Cond
N/A
1
PaymentInformation /Shipment Payment information ItemizedPaymentInformation,
/PaymentInformation must be present but no more
than one can be present.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
/PaymentInformation
6
AccountNumber UPS Account number. this element or the sibling
/Prepaid
element CreditCard must be
/BillShipper
provided, but both may not be
/AccountNumber
provided.
Required if
/ShipmentConfirmRequest
/ShipmentConfirmRequest/Ship
/Shipment
Container
ment/PaymentInformation/Prepai
Cond
/PaymentInformation
Yes
N/A
CreditCard 1 Credit card information container d/BillShipper/AccountNumber is
/Prepaid
not present. Credit card payment
/BillShipper
is valid for shipments without
/CreditCard
return service only.
Values are
/ShipmentConfirmRequest
‘01’ = American Express,
/Shipment
‘03’ = Discover,
/PaymentInformation Valid values are: ‘01’, ‘03’, ‘04’
String
Yes*
‘04’ = MasterCard,
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
9..16
Yes*
Yes
1
Number /Prepaid Credit Card number
/BillShipper
/CreditCard
/Number
/ShipmentConfirmRequest
/Shipment
/PaymentInformation Valid month values are 01-12
String
Yes*
Format is MMYYYY where MM is the 2 digit
Yes
1
6
ExpirationDate /Prepaid and valid year values are
month and YYYY is the 4 digit year.
/BillShipper Present Year - 2015
/CreditCard
/ExpirationDate
front of credit card or on the back of credit the ShipFrom countries are other
Yes
3..4
1
SecurityCode /Prepaid
card. Number of digits varies by credit card than the below mentioned
/BillShipper
type. countries. Argentina, Bahamas,
/CreditCard
Costa Rica, Dominican Rep,
/SecurityCode
Guatemala, Panama, Puerto
Rico, Russia.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment It is required to provide the billing
Container
/PaymentInformation address if credit card information
Cond
Container to hold the Credit card Billing
Yes
N/A
1
Address /Prepaid is provided and when the
Address.
/BillShipper ShipFrom country is the US, PR,
/CreditCard and CA.
/Address
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
1..35
Yes*
Yes
1
AddressLine1
/BillShipper address. Usually Street address information.
/CreditCard
/Address
/AddressLine1
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
1..35
Yes
No
AddressLine2
/BillShipper Address. Usually Room/Floor information.
/CreditCard
/Address
/AddressLine2
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
1..35
/Prepaid Address Line 3 of the credit card billing
Yes
No
1
AddressLine3
/BillShipper address. Usually department information.
/CreditCard
/Address
/AddressLine3
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
1..30
Yes*
/Prepaid
Yes
1
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
Yes*
Yes
2..5
1
StateProvinceCode
/BillShipper address.
/CreditCard
/Address
/StateProvinceCode
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
1..10
Yes*
/Prepaid
Yes
1
PostalCode Credit card billing addressee postal code.
/BillShipper
/CreditCard
/Address
/PostalCode
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
Must be a valid UPS Billing
String
Yes*
/Prepaid
Yes
1
2
CountryCode Credit card billing address country code. country code. For Discover card
/BillShipper
it should be US
/CreditCard
/Address
/CountryCode
element Prepaid or
Cond
/Shipment
N/A
1
BillThirdParty Container for the third party billing option. FreightCollect must be present,
/PaymentInformation
but no more than one can be
/BillThirdParty
present.
/ShipmentConfirmRequest
Container
/Shipment
Container for the third party shipper billing
Yes
N/A
1
BillThirdPartyShipper /PaymentInformation
option.
/BillThirdParty
/BillThirdPartyShipper
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/PaymentInformation The UPS account number of the third party occasional account, or a
Yes
6
AccountNumber
/BillThirdParty shipper. customer B.I.N account, or a
/BillThirdPartyShipper drop shipper account. All other
/AccountNumber accounts must be either a daily
pickup account, an occasional
account, a drop shipper account,
or a non-shipping account
/ShipmentConfirmRequest
/Shipment
Container
N/A
1
ThirdParty
/BillThirdParty third party shipper's UPS account.
/BillThirdPartyShipper
/ThirdParty
/ShipmentConfirmRequest
/Shipment
Container
/PaymentInformation
Container for additional information for the
Yes
N/A
1
Address /BillThirdParty
third party shipper's UPS account address.
/BillThirdPartyShipper
/ThirdParty
/Address
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..10
/BillThirdParty address. The pickup postal code was entered Rico, the postal code is 5 or 9
1
PostalCode
/BillThirdPartyShipper in the UPS system when the account was set- digits. The character '-' may be
/ThirdParty up. used to separate the first five
/Address digits and the last four digits. If
/PostalCode the UPS account's pickup
country is CA, the postal code is
6 alphanumeric characters
whose format is A#A#A# where
A is an uppercase letter and # is
a digit.
/ShipmentConfirmRequest
/Shipment
/PaymentInformation
String
CountryCode
/BillThirdPartyShipper pickup address.
/ThirdParty
/Address
/CountryCode
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Cond
/Shipment must be present, but no more
Yes
N/A
1
FreightCollect Container for the Freight Collect billing option.
/PaymentInformation than one can be present. Only
/FreightCollect allowed for shipment without
return service.
/ShipmentConfirmRequest
Container
/Shipment
Container for billing the consignee all freight
Yes
Yes
N/A
1
BillReceiver /PaymentInformation
charges option.
/FreightCollect
/BillReceiver
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Container
/PaymentInformation Container for additional information for the bill
Yes
N/A
No
1
Address
/FreightCollect receiver's UPS account address.
/BillReceiver
/Address
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
/Shipment The presence indicates consignee billing
0
ConsigneeBilled must be present, but no more
/PaymentInformation option is selected. The absence indicates one
than one can be present. Only
/ConsigneeBilled of the other payment options is selected.
applies to US/PR and PR/US
shipment origins and destination.
Container
/ShipmentConfirmRequest
Cond shipment charges. The two shipment charges element, PaymentInformation,
N/A
1
ItemizedPaymentInformation /Shipment
that are available for specification are must be present but no more
/ItemizedPaymentInformation
Transportation charges and Duties and Taxes. than one can be present.
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
2
Type /ItemizedPaymentInformation ‘01’ = Transportation, applies:1) The origin and
/ShipmentCharge ‘02’ = Duties and Taxes destination country is the same2)
/Type US to PR shipment3) PR to US
shipment4) The origin and
destination country are both
European Union Countries and
the GoodsNotInFreeCirculation
indicator is not present5) The
origin and destination IATA code
is the same
/Shipment
Cond
BillShipper /ItemizedPaymentInformation
the Bill Shipper billing option are account ConsigneeBilled, must be
/ShipmentCharge
number or credit card. present but no more than one
/BillShipper
can be present.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
/ItemizedPaymentInformation
6
AccountNumber UPS account number this element or the sibling
/ShipmentCharge
element CreditCard must be
/BillShipper
provided, but both may not be
/AccountNumber
provided.
Required if
/ShipmentConfirmRequest /ShipmentConfirmRequest/Ship
/Shipment ment/ItemizedPaymentInformatio
Container
Cond
/ItemizedPaymentInformation n/ShipmentCharge/BillShipper/A
N/A
1
CreditCard Credit card information container
/ShipmentCharge ccountNumber is not present.
/BillShipper Credit card payment is valid for
/CreditCard shipments without return service
only.
/ShipmentConfirmRequest
/Shipment
Values are ‘01’ = American Express, ‘03’ =
/ItemizedPaymentInformation Valid values are: ‘01’, ‘03’, ‘04’
String
Yes*
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
9..16
Yes*
1
Number /ShipmentCharge Credit Card number
/BillShipper
/CreditCard
/Number
/ShipmentConfirmRequest
/Shipment
Valid month values are 01-12
/ItemizedPaymentInformation
String
Yes*
Format is MMYYYY where MM is the 2 digit and valid year values are
1
6
ExpirationDate /ShipmentCharge
month and YYYY is the 4 digit year. Present Year – (Present Year +
/BillShipper
10 years)
/CreditCard
/ExpirationDate
/ShipmentConfirmRequest
/Shipment Valid values are 3 or 4 digits.
Three or four digits that can be found either on
/ItemizedPaymentInformation Required if credit card
String
Cond
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Required if credit card
Container
/ItemizedPaymentInformation
Cond
Container to hold the Credit card Billing information is provided and
N/A
1
Address /ShipmentCharge
Address. ShipFrom countries are US, CA
/BillShipper
and PR.
/CreditCard
/Address
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
1..35
Yes*
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
1..35
AddressLine2
/BillShipper Address. Usually Room/Floor information.
/CreditCard
/Address
/AddressLine2
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
1..35
/ShipmentCharge Address Line 3 of the credit card billing
No
1
AddressLine3
/BillShipper address. Usually department information.
/CreditCard
/Address
/AddressLine3
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
1..30
Yes*
/ShipmentCharge
1
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
Yes*
StateProvinceCode
/BillShipper address.
/CreditCard
/Address
/StateProvinceCode
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
String
1..10
Yes*
/ShipmentCharge
1
PostalCode Credit card billing addressee postal code.
/BillShipper
/CreditCard
/Address
/PostalCode
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
Must be a valid UPS Billing
String
Yes*
/ShipmentCharge
1
2
CountryCode Credit card billing address country code. country code. For Discover card
/BillShipper
it should be US
/CreditCard
/Address
/CountryCode
/Shipment
Cond
ConsigneeBilled, must be
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/ItemizedPaymentInformation occasional account, a customer
Yes
6
AccountNumber The UPS account number.
/ShipmentCharge B.I.N account, or a dropper
/BillReceiver shipper account. All other
/AccountNumber accounts must be either a daily
pickup account, an occasional
account, a drop shipper account,
or a non-shipping account
/ShipmentConfirmRequest
/Shipment
Container
Address
/ShipmentCharge receiver's UPS account address.
/BillReceiver
/Address
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..10
address. The pickup postal code was entered Rico, the postal code is 5 or 9
1
PostalCode /ShipmentCharge
in the UPS system when the account was set- digits. The character '-' may be
/BillReceiver
up. used to separate the first five
/Address
digits and the last four digits. If
/PostalCode
the UPS account's pickup
country is CA, the postal code is
6 alphanumeric characters
whose format is A#A#A# where
A is an uppercase letter and # is
a digit.
N/A
1
BillThirdParty /ItemizedPaymentInformation Container for the third party billing option. or ConsigneeBilled, must be
/ShipmentCharge present but no more than one
/BillThirdParty can be present.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
This element or its sibling
/Shipment
Container
element,
Cond
/ItemizedPaymentInformation Container for the shipper third party billing
N/A
1
BillThirdPartyShipper BillThirdPartyConsignee, must
/ShipmentCharge option.
be present but no more than one
/BillThirdParty
can be present.
/BillThirdPartyShipper
6
AccountNumber /ShipmentCharge
shipper. customer B.I.N account, or a
/BillThirdParty
drop shipper account. All other
/BillThirdPartyShipper
accounts must be either a daily
/AccountNumber
pickup account, an occasional
account, a drop shipper account,
or a non-shipping account
/ShipmentConfirmRequest
/Shipment
Container
/ItemizedPaymentInformation
Container for additional information for the
Yes
N/A
1
ThirdParty /ShipmentCharge
third party shipper's UPS account.
/BillThirdParty
/BillThirdPartyShipper
/ThirdParty
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
Container
/ShipmentCharge Container for additional information for the
Yes
N/A
1
Address
/BillThirdParty third party shipper's UPS account address.
/BillThirdPartyShipper
/ThirdParty
/Address
1..10
address. The pickup postal code was entered Rico, the postal code is 5 or 9
1
PostalCode /BillThirdParty
in the UPS system when the account was set- digits. The character '-' may be
/BillThirdPartyShipper
up. used to separate the first five
/ThirdParty
digits and the last four digits. If
/Address
the UPS account's pickup
/PostalCode
country is CA, the postal code is
6 alphanumeric characters
whose format is A#A#A# where
A is an uppercase letter and # is
a digit.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
/ShipmentCharge
String
The country code for the UPS account's
Yes
2
CountryCode /BillThirdParty
pickup address.
/BillThirdPartyShipper
/ThirdParty
/Address
/CountryCode
/ShipmentConfirmRequest
/Shipment This element or its sibling
Container
Cond
/ItemizedPaymentInformation Container for the consignee third party billing element, BillThirdPartyShipper,
N/A
1
BillThirdPartyConsignee
/ShipmentCharge option. must be present but no more
/BillThirdParty than one can be present.
/BillThirdPartyConsignee
AccountNumber /ShipmentCharge
consignee. customer B.I.N account, or a
/BillThirdParty
drop shipper account. All other
/BillThirdPartyConsignee
accounts must be either a daily
/AccountNumber
pickup account, an occasional
account, a drop shipper account,
or a non-shipping account
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Container
/ItemizedPaymentInformation
Container for additional information for the
Yes
N/A
1
ThirdParty /ShipmentCharge
third party consignee's UPS account.
/BillThirdParty
/BillThirdPartyConsignee
/ThirdParty
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
Container
/ShipmentCharge Container for additional information for the
Yes
N/A
1
Address
/BillThirdParty third party consignee's UPS account address.
/BillThirdPartyConsignee
/ThirdParty
/Address
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1..10
address. The pickup postal code was entered Rico, the postal code is 5 or 9
1
PostalCode /BillThirdParty
in the UPS system when the account was set- digits. The character '-' may be
/BillThirdPartyConsignee
up. used to separate the first five
/ThirdParty
digits and the last four digits. If
/Address
the UPS account's
/PostalCode
pickup country is CA, the postal
code is 6 alphanumeric
characters whose format is
A#A#A# where A is an
uppercase letter and # is a digit.
/ShipmentConfirmRequest
/Shipment
/ItemizedPaymentInformation
/ShipmentCharge
String
CountryCode /BillThirdParty
pickup address.
/BillThirdPartyConsignee
/ThirdParty
/Address
/CountryCode
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
The presence indicates consignee billing can be present. This billing
0
ConsigneeBilled /ItemizedPaymentInformation
option is selected. The absence indicates one option is valid for a shipment
/ShipmentCharge
of the other payment options is selected. charge type of Transportation
/ConsigneeBilled
only. Only applies to US/PR and
PR/US shipment origins and
destination.
/Shipment
No
0
SplitDutyVATIndicator charges and any duties that apply to the UPS account. The UPS account
/ItemizedPaymentInformation
shipment. The payer specified for Duties and must be a daily pickup account
/SplitDutyVATIndicator
Taxes will pay the VAT (Value-Added Tax) or an occasional account.
only.
/ShipmentConfirmRequest
This indicator is invalid for a
String
GoodsNotInFreeCirculationIndica /Shipment
No
Goods Not In Free Circulation indicator. package type of UPS Letter and
tor /GoodsNotInFreeCirculationIn
DocumentsOnly.
dicator
Container
/ShipmentConfirmRequest
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
/Shipment indicator is present and the Shipper is
0
NegotiatedRatesIndicator in the response. Only the
/RateInformation authorized then Negotiated Rates should be
Shipper account number taken
/NegotiatedRatesIndicator returned in the response.
from
/ShipmentConfirmRequest/Ship
ment/Shipper/ShipperNumber is
used when checking qualification
for Negotiated rates.
18
1
MovementReferenceNumber /MovementReferenceNumb
1000 Euros that require an Export characters.
er
Accompanying Document The 3rd and 4th Characters must
be the Shipper country ISO Code
Container
/ShipmentConfirmRequest
Valid if the origin/destination pair
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/Shipment If the indicator is present then the reference
No
0
BarCodeIndicator number, its value must be no
/ReferenceNumber number’s value will be bar coded on the label.
longer than 14 alphanumeric
/BarCodeIndicator
characters or 24 numeric
characters and cannot contain
spaces.
/ShipmentConfirmRequest
Shipment Reference number type code. The Valid if the origin/destination pair
String
/Shipment
Yes
2
Code code specifies the Reference name. Refer to is not US/US or PR/PR2
/ReferenceNumber
the Reference Number Code table. character alpha-numeric.
/Code
/ShipmentConfirmRequest
String
1..35
/ShipmentConfirmRequest
Yes
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Values are:
‘01’ = Next Day Air,
‘02’ = 2nd Day Air, The following Services are not
‘03’ = Ground, available to return shipment:
‘07’ = Express, 13 - Next Day Air Saver
‘08’ = Expedited, 14 - Next Day Air Early AM,
‘11’ = UPS Standard, 59 – 2nd Day Air A.M.
/ShipmentConfirmRequest
‘12’ = 3 Day Select, ‘13’ = Next Day Air Saver, 82 = UPS Today Standard
String
/Shipment
Yes
2
Code ‘14’ = Next Day Air Early AM, 83 = UPS Today Dedicated
/Service
‘54’ = Express Plus, Courier
/Code
‘59’ = 2nd Day Air A.M., 84 = UPS Today Intercity
‘65’ = UPS Saver. 85 = UPS Today Express
‘82’ = UPS Today Standard 86 = UPS Today Express Saver.
‘83’ = UPS Today Dedicated Courier Refer to service guide for
‘84’ = UPS Today Intercity available services.
‘85’ = UPS Today Express
‘86’ = UPS Today Express Saver
/ShipmentConfirmRequest
String
1..35
Description
/Service Next Day Air, Worldwide Express, Ground.
/Description
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentConfirmRequest
Cond
N/A
1
InvoiceLineTotal /Shipment
If International forms Invoice is
/InvoiceLineTotal
requested, this value should
match the invoice line total on
the invoice form. If not it will be
replaced by the actual calculated
invoice line total.
/ShipmentConfirmRequest
String
/Shipment Invoice Line Total currency type. Defaults to Refer to Origin Country
No
CurrencyCode
/InvoiceLineTotal the currency used in the shipper’s country. Information table.
/CurrencyCode
/ShipmentConfirmRequest
String
1..19
/Shipment Invoice Line Total amount for the entire Valid values are from 1 to
Yes
MonetaryValue
/InvoiceLineTotal shipment. 99999999
/MonetaryValue
Container
/ShipmentConfirmRequest
N/A
No
ShipmentServiceOptions /Shipment
/ShipmentServiceOptions
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Saturday delivery indicator. The presence
String
/Shipment Not available to shipment with
Yes
No
0
SaturdayDelivery indicates Saturday delivery, the absence
/ShipmentServiceOptions return service.
indicates not Saturday delivery.
/SaturdayDelivery
Container
/Shipment Information table for On Call Air
Yes
N/A
No
1
OnCallAir On Call Air container
/ShipmentServiceOptions Pickup availability. Not available
/OnCallAir to shipment with return service.
/ShipmentConfirmRequest
Container
/Shipment
Yes*
Yes
N/A
1
/ShipmentConfirmRequest
/Shipment
String
4-Feb
Yes
No
DistrictCode
/OnCallAir Please see appendix for valid values.
/PickupDetails
/DistrictCode
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
/ShipmentServiceOptions Date of the On Call Air Pickup. Format is
Yes
1
8
PickupDate pickup date is the same day for
/OnCallAir YYYYMMDD
shipment(s) containing Germany
/PickupDetails
to Germany UPS Standard
/PickupDate
service. Error 129090 will be
returned in this case.
/ShipmentConfirmRequest
/Shipment
String
Yes*
/ShipmentServiceOptions The earliest time a shipment is ready to be Required for an On Call Air
Yes
1
4
EarliestTimeReady
/OnCallAir picked up. Pickup.
/PickupDetails
/EarliestTimeReady
/ShipmentConfirmRequest
/Shipment
The latest time a shipment can be picked up.
String
Yes*
Yes
1
/ShipmentConfirmRequest
/Shipment
String
Yes
1..8
No
SuiteRoomID
/OnCallAir picked up
/PickupDetails
/SuiteRoomID
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
/ShipmentServiceOptions
Yes
1..3
No
1
FloorID The floor where shipment is be picked up
/OnCallAir
/PickupDetails
/FloorID
/ShipmentConfirmRequest
/Shipment
String
1..11
/ShipmentServiceOptions
Yes
No
1
Location The location where to shipment is picked up
/OnCallAir
/PickupDetails
/Location
/ShipmentConfirmRequest
/Shipment
Container
/ShipmentServiceOptions
N/A
No
ContactInfo
/OnCallAir
/PickupDetails
/ContactInfo
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
String
Yes*
The name of the contact person where the Required for an On Call Air
1.35
Yes
1
Name /OnCallAir
shipment is picked up Pickup.
/PickupDetails
/ContactInfo
/Name
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
StructuredPhoneNumb
/Shipment
Mixed: String or
/ShipmentServiceOptions
Cond
1..15
The phone number of the contact person Required for an On Call Air
Yes
1
PhoneNumber /OnCallAir
where the shipment is picked up. Pickup.
/PickupDetails
/ContactInfo
/PhoneNumber
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions Required if parent element,
Container
Cond
Yes
N/A
1
StructuredPhoneNumber
/PickupDetails phone number is not provide at
/ContactInfo the parent node.
/PhoneNumber
/StructuredPhoneNumber
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
/OnCallAir
String
Yes
1..3
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
/OnCallAir
String
1..15
Yes
Yes
1
PhoneDialPlanNumber /PickupDetails Dial plan number portion of the phone number.
/ContactInfo
/PhoneNumber
/StructuredPhoneNumber
/PhoneDialPlanNumber
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
/OnCallAir
String
1..15
Yes
Yes
1
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
/OnCallAir
String
Yes
1..4
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
for EU origin countries and for
/Shipment
Yes
N/A
No
1
COD COD container shipper's account type Daily
/ShipmentServiceOptions
Pickup and Drop Shipping
/COD
Not available to shipment with
return service.
/ShipmentConfirmRequest
/Shipment
String
Yes
Yes
1
1
CODCode /ShipmentServiceOptions COD type value. ‘3’ = Tagless COD. Valid value is ‘3’.
/COD
/CODCode
/ShipmentConfirmRequest
Values are:
/Shipment
String
'1' = cash
Yes
No
CODFundsCode /ShipmentServiceOptions
‘9’ = check, cashier’s check or money order -
/COD
no cash allowed
/CODFundsCode
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
1
CODAmount /ShipmentServiceOptions
/COD
/CODAmount
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
/ShipmentServiceOptions COD amount currency code type. Defaults to
Yes
No
3
CurrencyCode
/COD the currency used in the destination country.
/CODAmount
/CurrencyCode
/ShipmentConfirmRequest
/Shipment
String
/ShipmentServiceOptions
Yes
Yes
1..8
1
MonetaryValue COD Amount.
/COD
/CODAmount
/MonetaryValue
/ShipmentConfirmRequest
Container
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
1
EMailMessage /ShipmentServiceOptions Container for the eMail message.
/Notification
/EMailMessage
/ShipmentConfirmRequest
Up to five email addresses are
Many (up to 5)
/Shipment
allowed in the shipment for all
String
1..50
/ShipmentServiceOptions
Yes
EMailAddress Email address where the notification is sent the Quantum ViewTM
/Notification
notification. Up to two email
/EMailMessage
address for return notification.
/EMailAddress
/ShipmentConfirmRequest
/Shipment
The address where an undeliverable eMail The UndeliverableEMailAddress
String
1..50
/ShipmentServiceOptions
No
UndeliverableEMailAddress message is sent if the eMail with the must occur only once in the
/Notification
notification is undeliverable. shipment
/EMailMessage
/UndeliverableEMailAddress
/ShipmentConfirmRequest
/Shipment
The e-mail address specifies the Reply To E-
String
Cond
1..50
/ShipmentServiceOptions
1
FromEMailAddress mail address. The From field of the message Return Notification only.
/Notification
header contains pkginfo@ups.com.
/EMailMessage
/FromEMailAddress
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..35
/ShipmentServiceOptions The name the email will appear to be from. The FromName must occur only
No
1
FromName
/Notification Defaults to the Shipper Name once in the shipment
/EMailMessage
/FromName
/ShipmentConfirmRequest
/Shipment
1..150
String
/ShipmentServiceOptions User defined text that will be included in the The Memo must occur only once
No
1
Memo
/Notification eMail. in the shipment
/EMailMessage
/Memo
/ShipmentConfirmRequest
/Shipment
String
Subject
/Notification Defaults to text provided by UPS
/EMailMessage
/Subject
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/ShipmentServiceOptions
No
notification will be the subject
1
SubjectCode 03 - package Reference Number 1
/Notification 04 - package Reference Number 2 text;
08 – Subject Text (Return Notification only) If the subject text is provided and
/EMailMessage
the subject code tag exists, then
If a subject code is not provided or provided
/SubjectCode the subject code value must be
that refers to a nonexistent reference number,
‘08’.
the subject will default to shipment
Identification Number If Subject code is “08”, subject
text must exist.
/ShipmentConfirmRequest
Container
Yes
N/A
No
LabelDelivery Container for the Label Delivery accessorial Electronic Return Label Return
/ShipmentServiceOptions
Service.
/LabelDelivery
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..50
Yes*
/ShipmentServiceOptions The destination eMail address for the Label
Yes
1
EMailAddress
/LabelDelivery Delivery.
/EMailMessage
/EMailAddress
/ShipmentConfirmRequest
/Shipment
The address where an undeliverable eMail
String
1..50
/ShipmentServiceOptions
Yes
No
1
UndeliverableEMailAddress message is sent if the Label Delivery email is Defaults to FromEMailAddress.
/LabelDelivery
undeliverable.
/EMailMessage
/UndeliverableEMailAddress
/ShipmentConfirmRequest
/Shipment
The e-mail address specifies the Reply To E-
String
1..50
Yes*
/ShipmentServiceOptions
Yes
1
/ShipmentConfirmRequest
/Shipment
String
1..35
Yes
No
FromName
/LabelDelivery Defaults to the Shipper Name
/EMailMessage
/FromName
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
1..150
String
/ShipmentServiceOptions User defined text that will be included in the
Yes
No
1
Memo
/LabelDelivery eMail.
/EMailMessage
/Memo
/ShipmentConfirmRequest
/Shipment
The eMail’s subject. Defaults to the 'Label
String
/ShipmentServiceOptions Delivery Notification' plus the shipment ID.
No
1
Subject
/LabelDelivery Defaults to text provided by UPS
/EMailMessage
/Subject
Specifies a reference code and reference If the subject code tag is not
number to display in the subject of the Label provided and the subject text is
Delivery notification. When the subject code is provided, the subject of the
provided, the subject will contain the following: notification will be the subject
1. ‘UPS Label Delivery’ text;
/ShipmentConfirmRequest 2. The reference code (the reference code If the subject text is provided,
will be mapped to the corresponding and the subject code tag exists,
/Shipment ANSI value) then the subject code value must
be ‘08’’;
String
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Container
/Shipment
N/A
No
1
InternationalForms International Forms information
/ShipmentServiceOptions
/InternationalForms
Many (up to 4)
/Shipment 04 – NAFTA CO
String
Yes*
Indicates the name of the International form
Rqd
Rqd
Rqd
Rqd
Rqd
2
FormType /ShipmentServiceOptions 05 – Partial Invoice
requested.
/InternationalForms For shipment with return service,
/FormType 01 or 05 are the only valid value.
Note: 01 & 05 are mutually
exclusive and 05 is only valid for
return shipments only.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Empty
shipment. It is evaluated only
Rqd
Opt
Opt
Opt
No
0
AdditionalDocumentIndicator /ShipmentServiceOptions supply additional document, such as SED,
when:
/InternationalForms NAFTA_CO or CO.
- account is paperless enabled
/AdditionalDocumentIndicator
- movement requires an invoice
- destination country accepts
paperless invoice
- invoice data is supplied by the
client and
- data passes validation
/ShipmentConfirmRequest
/Shipment Contains description text which identifies the
String
N/A
N/A
N/A
N/A
N/A
No
50
1
/ShipmentConfirmRequest
Applicable for SED form and is
/Shipment
String
Cond
Indicates whether or not UPS will file SED on required. Valid values is:01 –
Rqd
N/A
N/A
N/A
N/A
1
SEDFilingOption /ShipmentServiceOptions
shipper’s behalf. Shipper filing SED02 – UPS filing
/InternationalForms
SED on Shipper’s behalf –
/SEDFilingOption
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/Shipment NAFTA CO and Invoice. Ultimate
Cond
Holds the contact information of various
Rqd
Rqd
N/A
N/A
N/A
N/A
1
Contacts /ShipmentServiceOptions consignee contact information is
parties.
/InternationalForms required for SED. Producer
/Contacts contact information is required
for NAFTA CO
/ShipmentConfirmRequest
/Shipment
Container
The forwarding agent is the company or
/ShipmentServiceOptions
N/A
N/A
N/A
N/A
N/A
Opt
No
1
ForwardAgent person acting as agent in the trans-shipping of Applicable for SED form only.
/InternationalForms
freight to the destination country.
/Contacts
/ForwardAgent
/ShipmentConfirmRequest
N/A
N/A
N/A
N/A
1
/ShipmentConfirmRequest
N/A
N/A
N/A
N/A
1
TaxIdentificationNumber /InternationalForms Tax ID of the Forwarding agent. Applicable for SED form only.
/Contacts
/ForwardAgent
/TaxIdentificationNumber
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Container
/ShipmentServiceOptions
Yes*
N/A
N/A
N/A
N/A
1
Address /InternationalForms Address information of the Forwarding agent. Applicable for SED form only.
/Contacts
/ForwardAgent
/Address
/ShipmentConfirmRequest
/Shipment
1…35
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
AddressLine1 Address line 1 of the Forwarding agent. Applicable for SED form only.
/Contacts
/ForwardAgent
/Address
/AddressLine1
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 5a
1…35
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 5
1…35
String
/InternationalForms Address line 3 of the Forwarding agent.
N/A
N/A
N/A
N/A
No
1
AddressLine3 Applicable for SED form only.
/Contacts Usually department information
/ForwardAgent
/Address
/AddressLine3
/ShipmentConfirmRequest
/Shipment
1…30
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
City City of the Forwarding agent. Applicable for SED form only.
/Contacts
/ForwardAgent
/Address
/City
/ShipmentConfirmRequest
/Shipment
1…5
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
Cond
1…9
/InternationalForms Required for certain countries.
N/A
N/A
N/A
N/A
1
PostalCode Postal code of the Forwarding agent.
/Contacts The length of the postal code
/ForwardAgent depends on the country code.
/Address
/PostalCode
/ShipmentConfirmRequest
/Shipment
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
2
CountryCode Country code of the Forwarding agent. Applicable for SED form only.
/Contacts
/ForwardAgent
/Address
/CountryCode
/ShipmentConfirmRequest
/Shipment The ultimate consignee is the person or
Rqd Sec 4a
Container
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Rqd Sec
/ShipmentServiceOptions
1…35
String
Yes*
Company Name or the Individual name of the
N/A
N/A
N/A
N/A
1
CompanyName /InternationalForms Applicable for SED form only.
Ultimate consignee.
/Contacts
/UltimateConsignee
/CompanyName
/ShipmentConfirmRequest
/Shipment
Rqd Sec 4a
Container
/ShipmentServiceOptions
Yes*
Address information of the Ultimate
N/A
N/A
N/A
N/A
N/A
Address /InternationalForms 1 Applicable for SED form only.
consignee.
/Contacts
/UltimateConsignee
/Address
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Rqd Sec 4a
1…35
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
AddressLine1 Address line 1 of the Ultimate consignee. Applicable for SED form only.
/Contacts
/UltimateConsignee
/Address
/AddressLine1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 4a
1…35
String
/InternationalForms Address line 2 of the Ultimate consignee.
N/A
N/A
N/A
N/A
No
1
AddressLine2 Applicable for SED form only.
/Contacts Usually Room/Floor information
/UltimateConsignee
/Address
/AddressLine2
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 4a
1…35
/InternationalForms String Address line 3 of the Ultimate consignee.
N/A
N/A
N/A
N/A
No
/ShipmentConfirmRequest
/Shipment
/InternationalForms
N/A
N/A
N/A
N/A
1
City City of the Ultimate consignee. Applicable for SED form only.
/Contacts
/UltimateConsignee
/Address
/City
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Rqd Sec 4a
String
Cond
1…5
/InternationalForms Applicable for SED form only.
N/A
N/A
N/A
N/A
1
StateProvinceCode State of the Ultimate consignee.
/Contacts Required for certain countries
/UltimateConsignee
/Address
/StateProvinceCode
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions Applicable for SED form only.
Rqd Sec 4a
String
Cond
1…9
/InternationalForms Required for certain countries.
N/A
N/A
N/A
N/A
1
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Rqd Sec 4a
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
CountryCode Country code of the Ultimate consignee. Applicable for SED form only.
/Contacts
/UltimateConsignee
/Address
/CountryCode
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Opt Sec 4b
Container
The intermediate consignee is the person or
/ShipmentServiceOptions
N/A
N/A
N/A
N/A
N/A
No
1
IntermediateConsignee company in the importing country that makes Applicable for SED form only.
/InternationalForms
final delivery to the ultimate consignee.
/Contacts
/IntermediateConsignee
/ShipmentConfirmRequest
1…35
String
Yes* Company Name or the Individual name of the
N/A
N/A
N/A
N/A
1
CompanyName /InternationalForms Applicable for SED form only.
Intermediate consignee.
/Contacts
/IntermediateConsignee
/CompanyName
/ShipmentConfirmRequest
/ShipmentServiceOptions
Yes*
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
1…35
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
AddressLine1 Address line 1 of the Intermediate Consignee. Applicable for SED form only.
/Contacts
/IntermediateConsignee
/Address
/AddressLine1
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 4b
1…35
/InternationalForms String Address line 2 of the Intermediate Consignee.
N/A
N/A
N/A
N/A
No
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 4b
1…35
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
1…30
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
City City of the Intermediate Consignee. Applicable for SED form only.
/Contacts
/IntermediateConsignee
/Address
/City
/ShipmentConfirmRequest
/Shipment
String
Cond
1…5
/InternationalForms Applicable for SED form only.
N/A
N/A
N/A
N/A
1
/ShipmentConfirmRequest
/Shipment
1…9
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
2
CountryCode Country code of the Intermediate Consignee. Applicable for SED form only.
/Contacts
/IntermediateConsignee
/Address
/CountryCode
Rqd Sec 3
Container
Cond
N/A
N/A
N/A
N/A
N/A
1
Producer
/InternationalForms use by the exporter, it must be completed, Required for NAFTA CO forms
/Contacts signed, and dated by the producer. The date
/Producer must be the date the Certificate was
completed and signed.
Rqd Sec 3
/ShipmentServiceOptions 01: AVAILABLE TO CUSTOMS
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Applies to NAFTA CO
1…35
String
Cond
Company Name or the Individual name of the option is empty or not present.
N/A
N/A
N/A
N/A
1
CompanyName /InternationalForms
Producer. Conditionally required for:
/Contacts
NAFTA CO, when Producer
/Producer
option is not specified.
/CompanyName
/ShipmentConfirmRequest
/Shipment
Opt Sec 3
/ShipmentServiceOptions Applies to NAFTA CO
1…15
String
N/A
N/A
N/A
N/A
No
/ShipmentConfirmRequest
Applies to NAFTA CO
/ShipmentServiceOptions
Cond
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
1…35
String
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
AddressLine1 Address line 1 of the Producer. Applies to NAFTA CO
/Contacts
/Producer
/Address
/AddressLine1
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 3
1…35
/InternationalForms String Address line 2 of the Producer. Usually
N/A
N/A
N/A
N/A
No
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
Opt Sec 3
1…35
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
1…30
String
Yes*
/InternationalForms Conditionally required for:
N/A
N/A
N/A
N/A
1
City City of the Producer.
/Contacts NAFTA CO, when Producer
/Producer option is not specified.
/Address
/City
/ShipmentConfirmRequest
/Shipment
String
Cond
1…5
/InternationalForms Applies to NAFTA CO. Required
N/A
N/A
N/A
N/A
1
/ShipmentConfirmRequest
/Shipment
1…9
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1…2
Yes*
/InternationalForms
N/A
N/A
N/A
N/A
1
CountryCode Country code of the Producer. Applies to NAFTA CO
/Contacts
/Producer
/Address
/CountryCode
Container
/Shipment When any International form is
Yes*
Rqd
Rqd
Rqd
Rqd
N/A
Opt
Product /ShipmentServiceOptions Contains the commodity/ product information requested Product must be
/InternationalForms present at least once but no
/Product more than 50. Note: For Partial
Invoice this container is optional.
/ShipmentConfirmRequest
Applies to all International
Many (up to 3)
/Shipment
Forms. Optional for Partial
1…35
String
Yes*
/ShipmentServiceOptions
Rqd
Rqd
Rqd
Rqd
Opt
Description Description of the product. Invoice. Must be present at least
/InternationalForms
once and can occur for a
/Product
maximum of 3 times
/Description
/ShipmentConfirmRequest
/Shipment
Container
Cond
/ShipmentServiceOptions Container tag for the units information of each Required for Invoice forms and
Rqd
N/A
N/A
N/A
N/A
Opt
1
Unit
/InternationalForms product. (also called as commodity) optional for Partial Invoice.
/Product
/Unit
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Required for Invoice forms and
Rqd Sec 5a
/ShipmentServiceOptions Total quantity of each commodity to be
String
1…7
Yes*
optional for Partial Invoice. Must
N/A
N/A
N/A
Opt
1
Number /InternationalForms shipped, measured in the units specified in the
be numeric. Valid characters are
/Product Unit of Measure field
0-9.
/Unit
/Number
Rqd Sec 5f
/ShipmentServiceOptions Monetary amount used to specify the worth or
1…12
String
Yes*
decimal places.(#####.######,
N/A
N/A
N/A
Opt
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Rqd Sec 5b
Container
/ShipmentServiceOptions
Yes*
Container tag for the Unit of measurement for Required for Invoice forms and
N/A
N/A
N/A
N/A
Opt
1
UnitOfMeasurement /InternationalForms
the commodity. optional for Partial Invoice.
/Product
/Unit
/UnitOfMeasurement
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
1… 3
Yes*
Rqd
N/A
N/A
N/A
Opt
1
Code
/Product commodity units. Kilogram, KGS = Kilograms, LB
/Unit = Pound, LBS = Pounds, L =
/UnitOfMeasurement Liter, M = Meter, NMB = Number,
/Code PA = Packet, PAL = Pallet, PC =
Piece, PCS = Pieces, PF = Proof
Liters, PKG = Package , PR =
Pair, PRS = Pairs, RL = Roll,
SET = Set, SME = Square
Meters, SYD = Square Yards, TU
= Tube, YD = Yard, OTH =
Other.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment Applies to Invoice and Partial
String
Cond
/InternationalForms The Unit of Measure if OTH (Other) is entered Required for the Invoice & Partial
1..3
N/A
N/A
N/A
1
Description
/Product as the UnitOfMeasurement code. Invoice form if OTH is entered as
/Unit the units UnitOfMeasurement
/UnitOfMeasurement code
/Description
Rqd Sec 6
6-to-15-alphanumeric commodity code.
6…15
String
Cond
N/A
N/A
Opt
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
1…10
String
/ShipmentServiceOptions Applies to Invoice & Partial
N/A
N/A
N/A
Opt
No
1
PartNumber product contained in the invoice line, as
/InternationalForms Invoice.
indicated on the customs invoice.
/Product
/PartNumber
Rqd Sec 5e
String
Cond
/ShipmentServiceOptions certificate of origin, rules of origin, and any forms. Optional for Partial
Rqd
N/A
Opt
1
2
OriginCountryCode
/InternationalForms related matters, please refer to the U.S. Invoice. Conditionally required
/Product Customs and Border Protection Web site at for NAFTA CO if
/OriginCountryCode www.customs.gov or contact your country’s JointProductionIndicator is not
Customs authority. present.
/ShipmentConfirmRequest
/Shipment If present, ‘JNT’ will be used as the origin of
Opt Sec 10
EMPTY
N/A
N/A
N/A
N/A
No
Rqd
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Container
/ShipmentServiceOptions
N/A
N/A
N/A
N/A
N/A
Opt
No
1
NetCostDateRange Date Range for regional value content (RVC) Applies to NAFTA CO only.
/InternationalForms
/Product
/NetCostDateRange
/ShipmentConfirmRequest
/Shipment
If the RVC is calculated over a period of time,
/ShipmentServiceOptions
String
Yes* it should be identified by the begin date Applies to NAFTA CO only.
N/A
N/A
N/A
N/A
Opt
1
8
BeginDate /InternationalForms
(YYYYMMDD) of that period. (Reference: Format is YYYYMMDD
/Product
Articles 402.1, 402.5).
/NetCostDateRange
/BeginDate
/ShipmentConfirmRequest
/Shipment
If the RVC is calculated over a period of time,
/ShipmentServiceOptions
String
Yes*
N/A
N/A
N/A
N/A
Opt
1
EndDate /InternationalForms
(YYYYMMDD) of that period. (Reference: Format is YYYYMMDD
/Product
Articles 402.1, 402.5).
/NetCostDateRange
/EndDate
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Rqd Sec 7
String
Cond
/ShipmentServiceOptions Chapter Four and Annex 401. Additional rules required. Possible Values:
N/A
N/A
N/A
N/A
1
1
PreferenceCriteria
/InternationalForms are described in Annex 703.2 (certain ABCDEF. See Table IF1 for
/Product agricultural goods), Annex 300-B, Appendix 6 description of these values.
/PreferenceCriteria (certain textile goods) and Annex 308.1
(certain automatic data processing goods and
their parts).
Rqd Sec 8
good qualifies as an originating good. No[2] - required. Possible Values:
String
3 0r 5
Cond
/ShipmentServiceOptions
N/A
N/A
N/A
N/A
1
/ShipmentConfirmRequest
/Shipment
Opt Sec 2a
1…35
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Rqd Sec 2b
/ShipmentServiceOptions Applicable for CO and is
String
Cond
1…3
NumberOfPackagesPerCommodit The total number of packages, cartons, or
N/A
N/A
N/A
N/A
1
/InternationalForms required. Should be numeric.
y containers for the commodity
/Product Valid characters are 0 -9.
/NumberOfPackagesPerCom
modity
/ShipmentConfirmRequest
Rqd Sec 2c
/Shipment The shipping weight, including containers, for
Rqd Sec 24
Container
Cond Applies to CO and SED forms
/ShipmentServiceOptions each commodity with a separate Harmonized
N/A
N/A
N/A
N/A
1
ProductWeight only. Required for CO and SED
/InternationalForms Tariff Code / Schedule B Number. This weight
forms.
/Product does not include carrier equipment.
/ProductWeight
/ShipmentConfirmRequest
/Shipment
Rqd Sec 2c
Rqd Sec 24
Container
/ShipmentServiceOptions
Yes*
Container tag for the Unit of Measurement of Applies to CO and SED forms
N/A
N/A
N/A
N/A
1
UnitOfMeasurement /InternationalForms
weight only
/Product
/ProductWeight
/UnitOfMeasurement
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Rqd Sec 2c
/ShipmentServiceOptions
Rqd Sec 24
String
Yes*
/InternationalForms Applies to CO and SED forms
N/A
N/A
N/A
1
3
Code Code for unit of Measurement of weight
/Product only. Possible values :KGS / LBS
/ProductWeight
/UnitOfMeasurement
/Code
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
/InternationalForms String
Yes
Description
/Product
/ProductWeight
/UnitOfMeasurement
/Description
Rqd Sec 24
Rqd Sec 2c
/ShipmentServiceOptions and .(Decimal point). Limit to 1
String
1…5
Yes*
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Opt Sec 25
1…25
String
/ShipmentServiceOptions Identification Number (VIN) in the proper
N/A
N/A
N/A
N/A
No
1
VehicleID Applies to SED forms only
/InternationalForms format. Or The Product Identification Number
/Product (PIN) for those used self propelled vehicles for
/VehicleID which there are no VINs. Or no Vehicle Title
Number.
/ShipmentConfirmRequest
/Shipment
Rqd Sec 22
Container
Cond
/ShipmentServiceOptions Container tag for the schedule B information of Applies to SED forms only.
N/A
N/A
N/A
N/A
N/A
1
ScheduleB
/InternationalForms a commodity Required for SED form
/Product
/ScheduleB
/ShipmentConfirmRequest
/Shipment A unique 10-digit commodity classification
Rqd Sec 22
/ShipmentServiceOptions code for the item being exported. (To classify
String
Yes*
N/A
N/A
N/A
N/A
10
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Applies to SED forms only.
1…10
String
Cond
forms if ScheduleB
N/A
N/A
N/A
N/A
1
Quantity /InternationalForms only).For example, if the Schedule B unit of
UnitOfMeasurement is not X.
/Product measure is dozens and eight dozen, is being
Should be Numeric. Valid
/ScheduleB shipped, indicate 8 in this field.
characters are 0 -9.
/Quantity
/ShipmentConfirmRequest
/Shipment
N/A
N/A
N/A
N/A
N/A
UnitOfMeasurement /InternationalForms 1 Applies to SED forms only.
License.
/Product
/ScheduleB
/UnitOfMeasurement
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
1..3
N/A
N/A
N/A
N/A
1
Code License. Enter an X if there is no unit of
/Product GRS: Gross, HUN: Hundred, KG:
measure in the Schedule B Unit field.
/ScheduleB Kilogram, KM3: 1,000 Cubic
/UnitOfMeasurement Meters, KTS: Kilogram Total
/Code Sugars, L: Liter, M: Meter, M2:
Square Meters, M3: Cubic
Meters, MC: Millicurie, NO:
Number, PCS: Pieces, PFL:
Proof Liter , PK: Pack, PRS:
Pairs, RBA: Running Bales, SQ:
Square, T: Ton, THS: 1,000, X:
No Quantity req
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/ShipmentServiceOptions
String
/InternationalForms
Yes
1
Description
/Product
/ScheduleB
/UnitOfMeasurement
/Description
Rqd Sec 21
String
Cond
N/A
N/A
N/A
N/A
1
1
ExportType
/InternationalForms processing in the United States or Puerto D: Domestic
/Product Rico. Foreign: Merchandise that has entered F: Foreign
/ExportType the United States and is being exported again M: Foreign Military
in the same condition as when imported.
Foreign Military: Exported merchandise that is
sold under the foreign military sales program.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Rqd Sec 26
The value of the S.E.D. commodity contained
1…15
String
Cond
/ShipmentServiceOptions can hold up to 2 decimal places.
N/A
N/A
N/A
N/A
1
SEDTotalValue on the S.E.D. This amount will always be
/InternationalForms Note: This value is calculated
USD.
/Product based on the Product/Unit/Value
/SEDTotalValue and /Product/Unit/Number
(Number of Units * Price per
Unit). If the total value is
incorrect it will be replaced by the
actual calculated total value.
/ShipmentConfirmRequest
Opt Sec 3
Opt Sec 3
/Shipment
1…35
String
N/A
N/A
N/A
No
InvoiceNumber /ShipmentServiceOptions
exporter Invoice forms only.
/InternationalForms
/InvoiceNumber
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Rqd Sec 3
Opt Sec 3
/Shipment Invoice form for forward
String
Cond
Date when the Invoice is created. Ideally this
N/A
N/A
N/A
1
8
InvoiceDate /ShipmentServiceOptions shipments. For shipment with
is the same as the ship date.
/InternationalForms return service, the user input will
/InvoiceDate be ignored, and the field will be
blank on the invoice. Format is
YYYYMMDD
/ShipmentConfirmRequest
Opt Sec 3
Opt Sec 3
/Shipment
1…35
String
Applies to Invoice & Partial
N/A
N/A
N/A
No
1
PurchaseOrderNumber /ShipmentServiceOptions The customer's order reference number
Invoice forms
/InternationalForms
/PurchaseOrderNumber
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Opt Sec 3
Opt Sec 3
/Shipment CPT: Carriage Paid To
String
Indicates the rights to the seller from the
N/A
N/A
N/A
No
3
TermsOfShipment /ShipmentServiceOptions DAF: Delivered at Frontier
buyer.
/InternationalForms DDP: Delivery Duty Paid
/TermsOfShipment DDU: Delivery Duty Unpaid
DEQ: Delivered Ex Quay
DES: Delivered Ex Ship
EXW: Ex Works
FAS: Free Alongside Ship
FCA: Free Carrier
FOB: Free On Board
/ShipmentConfirmRequest
Reason to export the current international Applies to Invoice & Partial
Opt Sec 3
Rqd Sec 3
/Shipment
1…20
String
Cond
N/A
N/A
N/A
1
ReasonForExport /ShipmentServiceOptions
SALE,GIFT,SAMPLE, RETURN, REPAIR, Invoice & Optional for Partial
/InternationalForms
INTERCOMPANYDATA, Any other reason Invoice. No validation
/ReasonForExport
/ShipmentConfirmRequest
Opt Sec 6
Opt Sec 6
/Shipment
1…150
String
Any extra information about the current Applies to Invoice & Partial
N/A
N/A
N/A
No
Comments /ShipmentServiceOptions
shipment Invoice forms only.
/InternationalForms
/Comments
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Opt Sec 7
Opt Sec 7
/Shipment shipment qualify as originating goods for
1…250
String
is ignored): The exporter of the
N/A
N/A
N/A
No
1
DeclarationStatement /ShipmentServiceOptions purposes of preferential tariff treatment under
products covered by this
/InternationalForms the NAFTA.I hereby certify that the information
document declares that except
/DeclarationStatement on this invoice is true and correct and the
where otherwise clearly indicated
contents and value of this shipment is as
these products are of EEA
stated above.
preferential origin
EEA statement: The exporter of the products
covered by this document declares that except
where otherwise clearly indicated these
products are of EEA preferential origin.
/ShipmentConfirmRequest
Opt Sec 8b
Opt Sec 8b
Container
/Shipment
Applies to Invoice & Partial
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Opt Sec 8b
Opt Sec 8b
decimal. The maximum length of
String
Yes*
/ShipmentServiceOptions The discount to be subtracted from the sum of
N/A
N/A
N/A
15
1
MonetaryValue the field is 15 including ‘.’ and
/InternationalForms the total value on the invoice.
can hold up to 2 decimal places.
/Discount
This value should be greater
/MonetaryValue
than or equal to zero or less than
or equal to the value of all goods
listed on the invoice.
/ShipmentConfirmRequest
Opt Sec 8d
Opt Sec 8d
Container
/Shipment
N/A Applies to Invoice & Partial
N/A
N/A
N/A
No
Opt Sec 8d
Opt Sec 8d
characters are 0-9 and .(Decimal
0…15
String
Yes*
/ShipmentServiceOptions
N/A
N/A
N/A
1
MonetaryValue Cost to transport the shipment point). Limit to 2 digit after the
/InternationalForms
decimal. The maximum length of
/FreightCharges
the field is 15 including ‘.’ and
/MonetaryValue
can hold up to 2 decimal places.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Opt Sec 8e
Opt Sec 8e
Container
/Shipment
Container tag that holds the Insurance Applies to Invoice & Partial
N/A
N/A
N/A
N/A
No
1
InsuranceCharges /ShipmentServiceOptions
Charges Invoice forms only.
/InternationalForms
/InsuranceCharges
Opt Sec 8e
Opt Sec 8e
The amount the shipper or receiver pays to characters are 0-9 and .(Decimal
0…15
String
Yes*
/ShipmentServiceOptions
N/A
N/A
N/A
1
MonetaryValue cover the cost of replacing the shipment if it is point). Limit to 2 digit after the
/InternationalForms
lost or damaged decimal. The maximum length of
/InsuranceCharges
the field is 15 including ‘.’ and
/MonetaryValue
can hold up to 2 decimal places.
/ShipmentConfirmRequest
Opt Sec 8f
Opt Sec 8f
Container
N/A
N/A
N/A
No
Opt Sec 8f
Opt Sec 8f
characters are 0-9 and .(Decimal
0…15
String
Yes*
/ShipmentServiceOptions
N/A
N/A
N/A
1
MonetaryValue The Monetary value of OtherCharges point). Limit to 2 digit after the
/InternationalForms
decimal. The maximum length of
/OtherCharges
the field is 15 including ‘.’ and
/MonetaryValue
can hold up to 2 decimal places.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
N/A
N/A
N/A
1
Description Description of what the other charges are for.
/InternationalForms Invoice forms only.
/OtherCharges
/Description
/ShipmentConfirmRequest
Opt Sec 8g
Rqd Sec 8g
/Shipment
String
Cond
Currency code for all the monetary values of Applies to Invoice & Partial
N/A
N/A
N/A
1
3
CurrencyCode /ShipmentServiceOptions
the Invoice form Invoice forms2 only.
/InternationalForms
/CurrencyCode
Rqd Sec 2
Container
N/A
N/A
N/A
N/A
1
/ShipmentConfirmRequest
Begin date of the blanket period. It is the date
/Shipment
Rqd Sec 2
upon which the Certificate becomes applicable Applies to NAFTA CO form only.
String
Yes*
/ShipmentServiceOptions
N/A
N/A
N/A
N/A
1
BeginDate to the good covered by the blanket Certificate Required for NAFTA CO. Format
/InternationalForms
(it may be prior to the date of signing this is YYYYMMDD
/BlanketPeriod
Certificate).
/BeginDate
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Rqd Sec 2
Applies to NAFTA CO form only.
String
Yes*
/ShipmentServiceOptions End Date of the blanket period. It is the date
N/A
N/A
N/A
N/A
1
8
EndDate Required for NAFTA CO. Format
/InternationalForms upon which the blanket period expires.
is YYYYMMDD
/BlanketPeriod
/EndDate
/ShipmentConfirmRequest
Rqd Sec 1c
Rqd Sec 2
/Shipment Applies to CO and SED forms
String
Cond
N/A
N/A
N/A
1
8
ExportDate /ShipmentServiceOptions The date the goods will be exiting the country only. Required for CO and SED
/InternationalForms forms. Format is YYYYMMDD
/ExportDate
/ShipmentConfirmRequest
Rqd Sec 10
/Shipment The name of the carrier that is exporting the Applies to CO and SED forms
1…35
String
Cond
N/A
N/A
N/A
1
ExportingCarrier /ShipmentServiceOptions shipment. The vessel's flag number should only. Required for CO and SED
/InternationalForms also be entered, if the carrier is a vessel. forms.
/ExportingCarrier
Opt Sec 14
/Shipment AlphaCode (SCAC) for vessel, rail, and truck
1…17
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Rqd Sec 18
/Shipment values are:70: Not in bond36:
String
Cond
N/A
N/A
N/A
N/A
1
2
InBondCode /ShipmentServiceOptions The two-character In Bond Code Warehouse withdrawal for IE37:
/InternationalForms Warehouse withdrawal for
/InBondCode T&E62: T&E63: IE67: IE from a
FTZ68: T&E from a FTZ
1…25
String
Cond transaction is used as proof of export for
N/A
N/A
N/A
N/A
16
1
EntryNumber /ShipmentServiceOptions Required for SED forms when In
import transactions (examples: In Bond,
/InternationalForms bond code value is other than
Temporary Import Bond or Drawbacks)
/EntryNumber 70(Not In Bond)
Rqd Sec 6
/Shipment shipped to the port of export. The state that is
String
Cond
1…5
N/A
N/A
N/A
N/A
1
PointOfOrigin /ShipmentServiceOptions the source for the good with the highest value.
Required for SED
/InternationalForms The state of consolidation. The Foreign Trade
/PointOfOrigin Zone number of the zone from where the
exports are leaving. If the goods were shipped
from Puerto Rico, enter PR.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Rqd Sec 9
/Shipment PassengerHandcarried Pedestrian values can be entered. Only 10
1…35
String
Cond
N/A
N/A
N/A
N/A
1
ModeOfTransport /ShipmentServiceOptions Rail Characters can appear on the
/InternationalForms RailContainerized form. Anything greater than 10
/ModeOfTransport RoadOther characters will be truncated on
SeaBarge the form.
SeaContainerized SeaNoncontainerized
Truck
TruckContainerized
Opt Sec 11
/Shipment
1…35
String
-Vessel and Air: The U.S. Customs port where Applies to SED forms only. No
N/A
N/A
N/A
N/A
No
PortOfExport /ShipmentServiceOptions
the goods are loaded on the carrier to be validation.
/InternationalForms
exported from the U.S.
/PortOfExport
-Postal: The U.S. Postal Office from where the
goods are mailed
/ShipmentConfirmRequest
Opt Sec 12
/Shipment The country and the port where the goods will
1…35
String
N/A
N/A
N/A
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Opt Sec 8
/Shipment
1…35
String
Pier where goods are loaded. For vessel Applies to SED forms only
N/A
N/A
N/A
N/A
No
1
LoadingPier /ShipmentServiceOptions
shipments only No validation.
/InternationalForms
/LoadingPier
Rqd Sec 1c
/Shipment
String
Cond
business or from a U.S. business to a foreign Valid values are:
N/A
N/A
N/A
N/A
1
1
PartiesToTransaction /ShipmentServiceOptions
person or business where the person has at R – Related
/InternationalForms
least 10 percent of the voting shares of the N – Non related
/PartiesToTransaction
business during the fiscal year. If
unincorporated, then an equivalent interest in
the business.
/ShipmentConfirmRequest
If Present, indicates that it is a routed export
GUI)Sec 19
transaction. A routed export transaction is one,
EMPTY
RoutedExportTransactionIndicato /ShipmentServiceOptions
N/A
N/A
N/A
N/A
No
where the foreign principal party in interest Applies to SED forms only
r /InternationalForms
authorizes a U.S. forwarding (or other) agent
/RoutedExportTransactionIndi
to export the merchandise outside the U.S.
cator
/ShipmentConfirmRequest
Opt Sec 13
/Shipment If present indicates that the goods are
EMPTY
N/A
N/A
N/A
N/A
No
ContainerizedIndicator /ShipmentServiceOptions containerized. This applies to vessel Applies to SED forms only
/InternationalForms shipments only
/ContainerizedIndicator
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/Shipment
Cond
exception code needs to be entered. If Applies to SED forms only
N/A
1
License /ShipmentServiceOptions
shipping different products that are covered Required for SED forms.
/InternationalForms
under different licenses or license exceptions,
/License
then separate SEDs must be created.
1…35
String
/ShipmentServiceOptions Cond The license number that authorizes ship
N/A
N/A
N/A
N/A
1
Number be present for SED form, both
/InternationalForms product.
License number and License
/License
Exception code cannot be
/Number
present for SED form.
1…8
N/A
N/A
N/A
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Cond
1…4
/ShipmentServiceOptions Encrypted software; GBS: controlled for be present for SED form, both
N/A
N/A
N/A
N/A
1
ExceptionCode
/InternationalForms national security reasons; GFT: Gift License number and License
/License shipments; Exception code cannot be
/ExceptionCode GOV: Government shipments; KMI: Encrypted present for SED form. Validated
software and hardware; for possible values
LVS: Value of shipments limited; NLR: No
license required; RPL: Replacement parts;
TMP: Temporary exports; TSPA: Software or
technology outside scope of export
regulations; TSR: Technology and software;
TSU: Technology and software updates
N/A
N/A
N/A
N/A
28
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/Shipment If the flag is present, the shipper has Valid For Poland to Poland
Yes
No
0
ReturnOfDocumentIndicator
/ShipmentServiceOptions requested the ReturnOfDocument accessorial shipment without return service.
/ReturnOfDocumentIndicator be added to the shipment
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
No
1
DeliveryConfirmation
/ShipmentServiceOptions
/DeliveryConfirmation
/ShipmentConfirmRequest
Valid values are:1 - Delivery
/Shipment
String Confirmation Signature Required
Yes
Yes
1
1
DCISType /ShipmentServiceOptions Type of delivery confirmation
2 - Delivery Confirmation Adult
/DeliveryConfirmation
Signature Required
/DCISType
Container
N/A
/ShipmentConfirmRequest
String
Cond
1..35
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
1
PackagingType
/Package
/PackagingType
String
‘21’ = UPS Express Box,
Yes
2
Code /Package ShipFrom country, a shipment
‘24’ = UPS 25KG Box,
/PackagingType going from ShipTo country to
‘25’ = UPS 10KG Box
/Code ShipFrom country, all
‘30’ = Pallet
accessorials at both the
2a = Small Express Box
shipment and package level, and
2b = Medium Express Box
the shipment service type.
2c = Large Express Box
/ShipmentConfirmRequest
/Shipment
String
1..35
Description /Package
letter, customer supplied, express box.
/PackagingType
/Description
/Shipment
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
1
UnitOfMeasurement /Package
/Dimensions
/UnitOfMeasurement
String
Yes*
2
Code Refer to Origin Country
/Dimensions shipment with return service the unit of
Information table for valid unit of
/UnitOfMeasurement measure is defaulted to the shipper’s country
measurement.
/Code unit of measure. For all other shipments the
unit of measurement will default to the unit of
measurement for the origin country specified
in the Country Information table.
/ShipmentConfirmRequest
/Shipment
String
1..35
Description
/Dimensions measurement units.
/UnitOfMeasurement
/Description
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
Package length. Length must be the longest Valid values are 0 to 108 IN and
Yes
9
Length /Package
dimension of the container. 0 to 270 CM.
/Dimensions
/Length
/ShipmentConfirmRequest
/Shipment
String
Yes
9
Width /Package Package width.
/Dimensions
/Width
/ShipmentConfirmRequest
/Shipment String
Yes
9
Height /Package Package height.
/Dimensions
/Height
/ShipmentConfirmRequest
Container
Cond
/Shipment
N/A
1
/ShipmentConfirmRequest
Container
/Shipment
Yes*
N/A
1
UnitOfMeasurement /Package
/PackageWeight
/UnitOfMeasurement
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
/Package Valid codes are: ‘KGS’, ‘LBS’,
3
Code performed and a unit of measurement is
/PackageWeight ‘00’ and ‘01’.
required. For shipment with return service the
/UnitOfMeasurement
unit of measure is defaulted to the shipper’s
/Code
country unit of measure. For all other
shipments the unit of measurement will default
to the unit of measurement for the origin
country specified in the Country Information
table.
/ShipmentConfirmRequest
/Shipment
String
1..35
Description
/PackageWeight measurement units.
/UnitOfMeasurement
/Description
/ShipmentConfirmRequest
/Shipment
String
1..5
1
Weight /Package
letter.
/PackageWeight
/Weight
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
String
/Shipment Presence of the indicator mentions that the
No
0
LargePackageIndicator
/Package package is Large Package.
/LargePackageIndicator
/ShipmentConfirmRequest
Container
/Shipment Package reference number information Valid if the origin/destination pair
N/A
No
1
ReferenceNumber
/Package container is US/US or PR/PR.
/ReferenceNumber
0
BarCodeIndicator /Package number, its value must be no
number’s value will be bar coded on the label.
/ReferenceNumber longer than 14 alphanumeric
/BarCodeIndicator characters or 24 numeric
characters and cannot contain
spaces.
/ShipmentConfirmRequest
Reference number type code, for the entire
/Shipment Valid if the origin/destination pair
String
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
1..35
Yes
1
Value /Package Customer supplied reference number. to 2 customer supplied
/ReferenceNumber combinations of Reference code-
/Value value combinations.
String
/Shipment indicates additional handling is required, the
No
0
AdditionalHandling
/Package absence indicates no additional handling is
/AdditionalHandling required.
/ShipmentConfirmRequest
/Shipment Container
N/A
No
PackageServiceOptions
/Package
/PackageServiceOptions
/ShipmentConfirmRequest
Container
/Shipment
Yes
N/A
No
DeliveryConfirmation /Package
/PackageServiceOptions
/DeliveryConfirmation
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Delivery Confirmation Control number
String
1..11
/Package
Yes
No
1
DCISNumber associated with the delivery confirmation for
/PackageServiceOptions
the package
/DeliveryConfirmation
/DCISNumber
/ShipmentConfirmRequest
Container
/Shipment
N/A
No
1
InsuredValue /Package
/PackageServiceOptions
/InsuredValue
/ShipmentConfirmRequest
/Shipment
String
/Package
Yes
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
2
Code /PackageServiceOptions 02=DVS declared value (EVS) but not
/InsuredValue Defaults to 01 i.e. EVS if declared value type both at package level. Note: The
/Type is not provided. Shipper DeclaredValue is
/Code applicable for forward shipments
when the billing option is freight
collect or third party
/ShipmentConfirmRequest
/Shipment
/Package
1…35
String
No
/ShipmentConfirmRequest
/Shipment Code must represent a currency
Declared value amount currency type.
String
Yes
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
String
1..19
/Package
Yes
No
1
MonetaryValue Declared value amount.
/PackageServiceOptions
/InsuredValue
/MonetaryValue
Container
/Shipment service from US/PR to US/PR,
Yes
N/A
No
/ShipmentConfirmRequest
/Shipment
String
Yes
1
/ShipmentConfirmRequest
Values are:
/Shipment
‘0’ = check, cashier’s check or money order -
String
/Package
Yes
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
Container
Yes*
/Package
N/A
1
CODAmount
/PackageServiceOptions
/COD
/CODAmount
/ShipmentConfirmRequest
/Shipment
/Package
String
COD amount currency code type. Defaults to
Yes
No
3
CurrencyCode /PackageServiceOptions
the currency used in the destination country.
/COD
/CODAmount
/CurrencyCode
/ShipmentConfirmRequest
/Shipment
/Package
String
Yes
1..8
1
/ShipmentConfirmRequest
Container
/Shipment
Allowed for shipment without
Yes
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Optional if the Shippers AttentionName,
/Shipment
Container
PhoneNumber, and PhoneExtension(optional)
Cond
/Package
Yes
N/A
1
ContactInfo are given and are the desired name, phone
/PackageServiceOptions
number and extension, respectively, to be
/VerbalConfirmation
used for verbal confirmation.
/ContactInfo
/ShipmentConfirmRequest
/Shipment Optional if Shipper/
/Package Name of the person to be contacted for AttentionName is given and that
String
Cond
1..35
Yes
1
Name /PackageServiceOptions confirmation. Defaults to Shipper is the name of the person to be
/VerbalConfirmation AttentionName if given. contacted else required for
/ContactInfo verbal confirmation.
/Name
Optional if
StructuredPhoneNumber
/ShipmentConfirmRequest
Shipper/PhoneNumber is given
/Shipment
Mixed: String or
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/Package Required if parent element,
Container
Cond
/PackageServiceOptions PhoneNumber, is required and a
Yes
N/A
1
StructuredPhoneNumber
/VerbalConfirmation phone number is not provide at
/ContactInfo the parent node.
/PhoneNumber
/StructuredPhoneNumber
/ShipmentConfirmRequest
/Shipment
/Package
/PackageServiceOptions String The Country Code portion of the phone
Yes
1..3
No
/ShipmentConfirmRequest
/Shipment
/Package
/PackageServiceOptions
String
1..15
Yes
Yes
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/Package
/PackageServiceOptions
String
1..15
Yes
Yes
1
PhoneLineNumber /VerbalConfirmation Line number portion of the phone number.
/ContactInfo
/PhoneNumber
/StructuredPhoneNumber
/PhoneLineNumber
/ShipmentConfirmRequest
/Shipment
/Package
/PackageServiceOptions
String
Yes
1..4
No
/ShipmentConfirmRequest
/Shipment The presence indicates that the package may Only available for US50/PR to
String
Yes
No
ShipperReleaseIndicator /Package be released by driver without a signature from US50/PR packages without
/PackageServiceOptions the consignee return service.
/ShipperReleaseIndicator
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
Container
/Shipment
Applicable for Shipment with
Yes
N/A
No
1
Notification /Package Receiver Return Notification
returned service.
/PackageServiceOptions
/Notification
/ShipmentConfirmRequest
/Shipment
String
Yes*
/Package
Yes
1
1
NotificationCode 3 – Receiver Return Notification
/PackageServiceOptions
/Notification
/NotificationCode
/ShipmentConfirmRequest
/Shipment
Container
Yes*
/Package
Yes
N/A
1
/ShipmentConfirmRequest
/Shipment
Many (up to 2)
1..50
Yes*
Yes
EMailAddress /PackageServiceOptions receiver return notification email
return notification eMail.
/Notification address for the whole shipment.
/EMailMessage
/EMailAddress
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/Package The e-mail address where an undeliverable
String
1..50
Defaults to FromEMailAddress.
Yes
No
1
UndeliverableEMailAddress /PackageServiceOptions eMail message is sent if the Receiver Return
Only allowed at the first package.
/Notification Notification email is undeliverable.
/EMailMessage
/UndeliverableEMailAddress
/ShipmentConfirmRequest
/Shipment
The email address listed in the Reply To field
/Package
String
1..50
of the message header, includes name and e-
Yes
Yes
FromEMailAddress /PackageServiceOptions 1 Only allowed at the first package.
mail address of sender. The From field of the
/Notification
message header contains pkginfo@ups.com.
/EMailMessage
/FromEMailAddress
/ShipmentConfirmRequest
/Shipment
/Package
String
1..35
The name the receiver return notification will Defaults to the ShipperName.
Yes
No
FromName /PackageServiceOptions
appear to be from. Only allowed at the first package.
/Notification
/EMailMessage
/FromName
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmRequest
/Shipment
/Package
1..150
String
User defined text that will be included in the
Yes
No
1
Memo /PackageServiceOptions Only allowed at the first package.
eMail.
/Notification
/EMailMessage
/Memo
/ShipmentConfirmRequest
/Shipment
/Package
String
The eMail’s subject. Return Notification only.
No
Subject /PackageServiceOptions 1
Defaults to text provided by UPS
/Notification
/EMailMessage
/Subject
Specifies a reference code and reference
number to display in the subject of the Refer to Table for the valid
Notification. subject codes.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Container used to define the properties Required for shipment without
Cond
/ShipmentConfirmRequest
N/A
1
LabelSpecification required by the user to print and/or display the return service, or shipment with
/LabelSpecification
UPS shipping label. PRL return service
Container
/ShipmentConfirmRequest
Yes
N/A
1
LabelPrintMethod /LabelSpecification The device used to print a label image.
/LabelPrintMethod
Label print method code that the labels are to For shipments without return
/ShipmentConfirmRequest be generated for EPL2 formatted labels use service the valid value is GIF,
String
/LabelSpecification ‘EPL’, for SPL formatted labels use ‘SPL’, for EPL, ZPL, STARPL and SPL.
Yes
3
Code
/LabelPrintMethod ZPL formatted labels use ‘ZPL’, for STAR For shipments with PRL return
/Code printer formatted labels use ‘STARPL’ and for service, the valid values are EPL,
image formats use ‘GIF’. ZPL, STARPL, SPL and GIF.
/ShipmentConfirmRequest
String
1..35
/LabelSpecification
No
Required if
ShipmentConfirmRequest/Label
/ShipmentConfirmRequest Browser HTTPUserAgent String. This is the
String
Cond
1..64
Specification/LabelPrintMethod/C
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentConfirmRequest
Cond
Container for the EPL2, ZPL, STARPL or SPL For EPL2, ZPL, STARPL and
Yes
N/A
1
LabelStockSize /LabelSpecification
label size SPL labels.
/LabelStockSize
String
Yes*
/LabelSpecification Height of the label image. For IN, use whole ‘4’.
Yes
1..3
1
Height
/LabelStockSize inches. Note: Label Image will only scale
/Height up to 4 X 6, even when
requesting 4 X 8.
/LabelSpecification Width of the label image. For IN, use whole or ‘8’.
Yes
1..3
1
Width
/LabelStockSize inches. Note: Label Image will only scale
/Width up to 4 X 6, even when
requesting 4 X 8.
Container
/ShipmentConfirmRequest
Yes
N/A
1
LabelImageFormat /LabelSpecification
/LabelImageFormat
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Required if
/ShipmentConfirmRequest ShipmentConfirmRequest/Label
String
Cond
/LabelSpecification Code type that the label image is to be Specification/LabelPrintMethod/C
3
Code
/LabelImageFormat generated in. ode = GIF. Valid values are GIF
/Code or PNG. Only GIF is supported
on the remote server.
/ShipmentConfirmRequest
String
1..35
/LabelSpecification
No
1
Description Description of the label image format code.
/LabelImageFormat
/Description
<Code>14</Code>
<Description>Next Day Air Early AM</Description>
</Service>
<PaymentInformation>
<Prepaid>
<BillShipper>
<CreditCard>
<Type>06</Type>
<Number>4111111111111111</Number>
<ExpirationDate>121999</ExpirationDate>
</CreditCard>
</BillShipper>
</Prepaid>
</PaymentInformation>
<ShipmentServiceOptions>
<OnCallAir>
<PickupDetails>
<PickupDate>09132000</PickupDate>
<EarliestTimeReady>0945</EarliestTimeReady>
<LatestTimeReady>1445</LatestTimeReady>
<ContactInfo>
<Name>Jane Smith</Name>
<PhoneNumber>9725551234</PhoneNumber>
</ContactInfo>
</PickupDetails>
</OnCallAir>
</ShipmentServiceOptions>
<Package>
<PackagingType>
<Code>02</Code>
</PackagingType>
<Dimensions>
<UnitOfMeasurement>
<Code>IN</Code>
</UnitOfMeasurement>
<Length>22</Length>
<Width>20</Width>
<Height>18</Height>
</Dimensions>
<PackageWeight>
<Weight>14.1</Weight>
</PackageWeight>
<ReferenceNumber>
<Code>02</Code>
<Value>1234567</Value>
</ReferenceNumber>
<PackageServiceOptions>
<InsuredValue>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>149.99</MonetaryValue>
</InsuredValue>
<VerbalConfirmation>
<Name>Sidney Smith</Name>
<PhoneNumber>4105551234</PhoneNumber>
</VerbalConfirmation>
</PackageServiceOptions>
</Package>
<Package>
<PackagingType>
<Code>02</Code>
</PackagingType>
<PackageWeight>
<Weight>22.0</Weight>
</PackageWeight>
<ReferenceNumber>
<Code>PM</Code>
<Value>1234568</Value>
</ReferenceNumber>
<ReferenceNumber>
<Code>ST</Code>
<Value>Distributor</Value>
</ReferenceNumber>
<PackageServiceOptions>
<InsuredValue>
<MonetaryValue>299.99</MonetaryValue>
</InsuredValue>
</PackageServiceOptions>
</Package>
</Shipment>
<LabelSpecification>
<LabelPrintMethod>
<Code>GIF</Code>
</LabelPrintMethod>
<HTTPUserAgent>Mozilla/4.5</HTTPUserAgent>
<LabelImageFormat>
<Code>GIF</Code>
</LabelImageFormat>
</LabelSpecification>
</ShipmentConfirmRequest>
ShipmentConfirmResponse
The ShipmentConfirmResponse message contains a single XML document that conforms to the following structure.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Cond
N/A
1
ShipmentConfirmResponse /ShipmentConfirmResponse
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentConfirmResponse
Yes
N/A
1
Response
/Response
Container
/ShipmentConfirmResponse
TransactionReference identifies transactions
Yes
N/A
1
TransactionReference /Response
between client and server.
/TransactionReference
ResponseStatusCode /Response
1 = Successful
/ResponseStatusCode
0 = Failure
/ShipmentConfirmResponse
String
ResponseStatusDescription /Response
text of "Success" or "Failure"
/ResponseStatusDescription
/ShipmentConfirmResponse
Cond
Error /Response
If the error is present, then the ErrorSeverity
/Error
and ErrorCode are required.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/Response
Yes
1
ErrorSeverity encountered processing the
/Error
customer’s data and that the data needs
/ErrorSeverity
correction.
Warning - The customer’s data
was successfully processed;
however, there were warnings
encountered during processing.
1..15
/Response
Yes
/ShipmentConfirmResponse
String
1..50
/Response
Yes
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/Response Transient Error only, as defined
1..5
No
1
MinimumRetrySeconds Never returned
/Error by the service.
/MinimumRetrySeconds A number between 1 and
86400 (24 hours)
/ShipmentConfirmResponse
Container
/Response
Yes
N/A
1
ErrorLocation Identifies the element in error.
/Error
/ErrorLocation
/ShipmentConfirmResponse
/Response The XPATH name of the element in error. This
1..512
String
Yes
/ShipmentConfirmResponse
/Response
String
/Error
Yes
/ShipmentConfirmResponse
The name of the attribute in
/Response
String
1..50
ErrorLocationAttributeName /Error
attribute contained by the Error Location
/ErrorLocation
Element.
/ErrorLocationAttributeName
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmResponse
Variable.
String
/Response The contents of the element in
Yes
1
ErrorDigest
/Error error.
/ErrorDigest
Container
Cond
/ShipmentConfirmResponse are only guaranteed to be returned for
N/A
1
ShipmentCharges
/ShipmentCharges shipments whose origin country is US or
Puerto Rico.
Container
/ShipmentConfirmResponse
N/A
yes
TransportationCharges /ShipmentCharges
/TransportationCharges
/ShipmentConfirmResponse
Transportation charges currency code type.
String
/ShipmentCharges
Yes
/ShipmentConfirmResponse
String
1..19
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentConfirmResponse
Yes
N/A
1
ServiceOptionsCharges /ShipmentCharges
/ServiceOptionsCharges
/ShipmentConfirmResponse
Service options charges currency code type.
String
/ShipmentCharges
Yes
3
CurrencyCode The currency code used in the Shipment
/ServiceOptionsCharges
ConfirmRequest is returned.
/CurrencyCode
/ShipmentConfirmResponse
String
1..19
/ShipmentCharges Valid values are from 0 to
Yes
/ShipmentConfirmResponse
one
Yes
N/A
1
TotalCharges /ShipmentCharges
/TotalCharges
/ShipmentConfirmResponse
Total charges currency code type. The
String
/ShipmentCharges
Yes
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmResponse
String
1..19
/ShipmentCharges Valid values are from 0 to
Yes
1
MonetaryValue Total charges value amount.
/TotalCharges 99999999999999.99
/MonetaryValue
Container
/ShipmentConfirmResponse
Yes
N/A
1
BillingWeight
/BillingWeight
Container
/ShipmentConfirmResponse
Yes
N/A
1
UnitOfMeasurement /BillingWeight
/UnitOfMeasurement
/ShipmentConfirmResponse
Billing Weight unit of measurement code. The
String
/BillingWeight
Yes
2..3
1
/ShipmentConfirmResponse
String
Description
/UnitOfMeasurement units. Valid values are: KGS or LBS
/Description
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
weight versus the shipment dimensional
Yes
8
Weight /BillingWeight Valid value up to 99999.99
weight. Set to 0 for package type of letters or
/Weight
envelopes.
/ShipmentConfirmResponse
String
1Z Number of the first package in
Yes
18
1
ShipmentIdentificationNumber /ShipmentIdentificationNumbe Returned UPS shipment ID number.
the shipment.
r
Encoded
Encoded shipment parameters required to be
Variable
/ShipmentConfirmResponse
Yes
/ShipmentConfirmResponse
N/A
No
NegotiatedRates
/NegotiatedRates
/ShipmentConfirmResponse
Cond
NetSummaryCharges /NegotiatedRates
shipper account /userid combinations qualified
/NetSummaryCharges
for Negotiated rates.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentConfirmResponse
Container
Cond
/NegotiatedRates
N/A
1
GrandTotal
/NetSummaryCharges
/GrandTotal
/ShipmentConfirmResponse
/NegotiatedRates
String
1..19
Valid values are from 0 to
Yes
1
MonetaryValue /NetSummaryCharges Net Summary charges monetary value.
9999999999999999.99
/GrandTotal
/MonetaryValue
/ShipmentConfirmResponse
/NegotiatedRates String
Yes
3
CurrencyCode Net Summary charges currency code type.
/NetSummaryCharges
/CurrencyCode
ShipmentAcceptRequest
The ShipmentAcceptRequest message consists of two complete XML documents. The first document is an AccessRequest. The
AccessRequest is immediately followed by a ShipmentAcceptRequest. When a client application is undergoing testing and
integration, the document combination should be sent to the URL:
https://wwwcie.ups.com/ups.app/xml/ShipAccept
Once a client application is in production, the combined documents should be sent to the URL provided as part of the certification
process.
The ShipmentAcceptRequest conforms to the following XML structure.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Yes
N/A
1
ShipmentAcceptRequest ShipmentAcceptRequest
Container
ShipmentAcceptRequest
Yes
N/A
1
Request
/Request
/ShipmentAcceptRequest
String
10
1
/ShipmentAcceptRequest
TransactionReference identifies transactions
N/A
No
TransactionReference /Request
between client and server.
/TransactionReference
/ShipmentAcceptRequest
String
1..50
/Request
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptRequest
String
/Request
No
4
XpciVersion Deprecated
/TransactionReference
/XpciVersion
Variable
length
String
/ShipmentAcceptRequest Encoded shipment parameters required to be
Yes
1
ShipmentDigest
/ShipmentDigest passed in the accept phase.
<XpciVersion>1.0001</XpciVersion>
</TransactionReference>
<RequestAction>ShipAccept</RequestAction>
</Request>
<ShipmentDigest>FSDJHFSDJSHDJK47873487489KFSDJKQSDFSJDFK94238093489034KSDFJSDFKLJFDSKFKDJFSDKJFLSDKA923809234893402K
LSDFJKLSDFJDFKSJFSDKLJFDSKLJFSDKLJ49230843920814309KLSDFJFKLSDJFDKLSJSDFKLJDKFLJDSKLJ092348349223098IJKLFJKLFSDJFKLASDJFKAJF
SDIUR897348574KJWEHRIQEWU8948348(truncated)</ShipmentDigest>
</ShipmentAcceptRequest>
ShipmentAcceptResponse
The ShipmentAcceptResponse message contains a single XML document that conforms to the following structure.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH Container DESCRIPTION VALIDATION RULES
Yes
N/A
1
ShipmentAcceptResponse /ShipmentAcceptResponse
Container
/ShipmentAcceptResponse
Yes
N/A
1
Response
/Response
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentAcceptResponse
Yes
N/A
1
TransactionReference /Response
/TransactionReference
/ShipmentAcceptResponse
String
/Response
No
1
CustomerContext
/TransactionReference
/CustomerContext
/ShipmentAcceptResponse
/Response String
No
XpciVersion
/TransactionReference
/XpciVersion
/ShipmentAcceptResponse
String
Yes
ResponseStatusCode /Response
/ResponseStatusCode
/ShipmentAcceptResponse
String
Yes
ResponseStatusDescription /Response
/ResponseStatusDescription
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentAcceptResponse
Cond
interchange, the Response contains an error.
N/A
1
Error /Response
If the error is present, then the ErrorSeverity
/Error
and ErrorCode are required.
String
1..15
/Response
Yes
1
ErrorSeverity encountered processing the
/Error
customer’s data and that the data needs
/ErrorSeverity
correction.
Warning - The customer’s data
was successfully processed;
however, there were warnings
encountered during processing.
1..15
/Response
Yes
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
String
1..50
/Response
Yes
1
ErrorDescription Describes the error code.
/Error
/ErrorDescription
/ShipmentAcceptResponse
Container
/Response
Yes
N/A
1
ErrorLocation Identifies the element in error.
/Error
/ErrorLocation
/ShipmentAcceptResponse
The XPATH name of the element in error. This
/Response
String is a valid
Yes
ErrorLocationElementName /Error
XPATH pointing to an element in the request
/ErrorLocation
document.
/ErrorLocationElementName
/ShipmentAcceptResponse
The name of the attribute in
/Response
String
1..50
ErrorLocationAttributeName /Error
attribute contained by the Error Location
/ErrorLocation
Element.
/ErrorLocationAttributeName
/ShipmentAcceptResponse
Variable
String
ErrorDigest
/Error error.
/ErrorDigest
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/ShipmentAcceptResponse
N/A
yes
1
ShipmentResults
/ShipmentResults
Container
/ShipmentAcceptResponse
Cond
are only guaranteed to be returned for
N/A
1
ShipmentCharges /ShipmentResults
shipments whose origin country is US or
/ShipmentCharges
Puerto Rico.
/ShipmentAcceptResponse
/ShipmentResults Container
N/A
yes
TransportationCharges
/ShipmentCharges
/TransportationCharges
/ShipmentAcceptResponse
/ShipmentResults Transportation charges currency code type.
String
Yes
/ShipmentAcceptResponse
/ShipmentResults
String
1..19
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Container
/ShipmentResults
N/A
yes
1
ServiceOptionsCharges
/ShipmentCharges
/ServiceOptionsCharges
/ShipmentAcceptResponse
/ShipmentResults Accessorial charges currency code type. The
String
Yes
3
CurrencyCode /ShipmentCharges currency code used in the
/ServiceOptionsCharges ShipmentConfirmRequest is returned.
/CurrencyCode
/ShipmentAcceptResponse
/ShipmentResults String
1..19
Valid values are from 0 to
Yes
/ShipmentAcceptResponse
Container
/ShipmentResults
N/A
yes
TotalCharges
/ShipmentCharges
/TotalCharges
/ShipmentAcceptResponse
/ShipmentResults Total charges currency code type. The
String
Yes
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults
String
1..19
Valid values are from 0 to
Yes
1
MonetaryValue /ShipmentCharges Total charges value amount.
99999999999999.99
/TotalCharges
/MonetaryValue
Container
/ShipmentAcceptResponse
Cond
N/A
1
NegotiatedRates /ShipmentResults
/NegotiatedRates
/ShipmentResults
N/A
1
/ShipmentAcceptResponse
Container
/ShipmentResults
Yes
N/A
1
GrandTotal /NegotiatedRates
/NetSummaryCharges
/GrandTotal
/ShipmentAcceptResponse
/ShipmentResults
String
1..19
Yes*
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults
String
Yes*
3
CurrencyCode /NegotiatedRates Net Summary charges currency code.
/NetSummaryCharges
/CurrencyCode
Container
/ShipmentAcceptResponse
Yes
N/A
1
BillingWeight /ShipmentResults
/BillingWeight
/ShipmentAcceptResponse
/ShipmentResults Container
Yes
N/A
1
UnitOfMeasurement
/BillingWeight
/UnitOfMeasurement
/ShipmentAcceptResponse
/ShipmentResults Billing weight unit of measurement code. The
String
Yes
2..3
1
/ShipmentAcceptResponse
/ShipmentResults
String
Description /BillingWeight
units. Values are: KGS or LBS
/UnitOfMeasurement
/Description
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
/ShipmentResults weight versus the shipment dimensional
Yes
8
Weight
/BillingWeight weight. Set to 0 for package type of letters or
/Weight envelopes.
/ShipmentAcceptResponse
String
/ShipmentResults 1Z Number of the first package in
Yes
18
1
ShipmentIdentificationNumber Returned UPS shipment ID number.
/ShipmentIdentificationNumbe the shipment.
r
/ShipmentAcceptResponse
String
No
11
1
/ShipmentAcceptResponse
Cond
/ShipmentAcceptResponse
Container
Cond
ImageFormat
/ControlLogReceipt required if parent exist
/ImageFormat
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Values are:
‘EPL’ = EPL2 (when user
/ShipmentAcceptResponse requests label in EPL2 format)
/ShipmentResults ‘SPL’ = SPL (when user requests
String
Yes*
Code for the type of Graphic Image for the
4
Code /ControlLogReceipt label in SPL format)
High Value Report.
/ImageFormat ‘ZPL’ = ZPL (when user requests
/Code label in ZPL format)
‘HTML’= HTML (when user
requests label in HTML format)
/ShipmentAcceptResponse
/ShipmentResults
String
1..35
No
1
Description /ControlLogReceipt Description of the format code
/ImageFormat
/Description
/ShipmentAcceptResponse
Encoded
Base 64
Variable
Length
Yes*
GraphicImage
/ControlLogReceipt or SPL image
/GraphicImage
Many (up to
Container
/ShipmentAcceptResponse
200)
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
String
/ShipmentResults
Yes
18
1
TrackingNumber Package 1Z number.
/PackageResults
/TrackingNumber
Container
Cond
/ShipmentResults are only guaranteed to be returned for
N/A
1
ServiceOptionsCharges
/PackageResults shipments whose origin country is US or
/ServiceOptionsCharges Puerto Rico.
/ShipmentAcceptResponse
/ShipmentResults Package accessorial charges currency code
String
Yes
3
CurrencyCode /PackageResults type. The currency code used in the
/ServiceOptionsCharges ShipmentConfirmRequest is returned.
/CurrencyCode
/ShipmentAcceptResponse
/ShipmentResults
String
1..19
/ShipmentAcceptResponse
Container
Cond
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Container
/ShipmentResults
N/A
yes
1
LabelImageFormat /PackageResults
/LabelImage
/LabelImageFormat
/ShipmentAcceptResponse
/ShipmentResults Label image code that the labels are
String
/PackageResults generated. Values ‘EPL’ = EPL2, ‘SPL’ = SPL, Only ‘EPL’, ‘SPL’, ‘ZPL’ and ‘GIF’
Yes
3
Code
/LabelImage ‘ZPL’ = ZPL, ‘GIF’ = gif images, or ‘PNG’ for are currently supported.
/LabelImageFormat PNG images.
/Code
/ShipmentAcceptResponse
/ShipmentResults
String
1..35
/PackageResults
No
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Variable
Length
Yes
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Variable Length
/ShipmentResults
Encoded
returned for non-US based
Cond
InternationalSignatureGraphicIma /PackageResults Base 64 encoded graphic image of the
1
shipments. One image will be
ge /LabelImage Warsaw text and signature box.
given per shipment and it will be
/InternationalSignatureGraphi
in the first PackageResults
cImage
container.
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Variable
Length
Cond Base 64 encoded html browser image This is only returned for gif and
1
HTMLImage /PackageResults
rendering software. png image formats.
/LabelImage
/HTMLImage
/ShipmentResults
Cond
PDF417 /PackageResults
symbol. The symbol is rectangular. The image service only
/LabelImage
is Base 64 encoded and returned if the
/PDF417
LabelImageFormat code is GIF
/ShipmentAcceptResponse
Container
Cond
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Container
/ShipmentResults
Cond
N/A
1
Image /PackageResults Container for the receipt of a return shipment
/Receipt
/Image
/ShipmentAcceptResponse
/ShipmentResults
Container
Yes*
/PackageResults
N/A
1
ImageFormat Container for a receipt format
/Receipt
/Image
/ImageFormat
/ShipmentAcceptResponse
/ShipmentResults
/PackageResults Code representing the format in which a
String
Yes*
/ShipmentAcceptResponse
/ShipmentResults
/PackageResults
String
1..35
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Variable Length
/ShipmentResults
Encoded
Yes*
/PackageResults
1
GraphicImage Base 64 encoded PRL receipt in HTML format
/Receipt
/Image
/GraphicImage
Container
/ShipmentAcceptResponse
Cond
N/A
1
Form /ShipmentResults Container tag for the International forms image
/Form
/ShipmentAcceptResponse
Possible Values
String
Yes*
/ShipmentResults
1
Code 2 Code that indicates the type of form 01 – All Requested International
/Form
Forms
/Code
/ShipmentAcceptResponse
Possible Values
1….35
String
Yes*
/ShipmentResults
1
Description Description that indicates the type of form All Requested International
/Form
Forms
/Description
/ShipmentAcceptResponse
Container
Cond
/ShipmentResults
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Container
/ShipmentResults
Cond
Container tag for the International forms image
N/A
1
ImageFormat /Form
format information
/Image
/ImageFormat
/ShipmentAcceptResponse
/ShipmentResults Code representing the format in which the
String
Cond
/Form forms are generated
3
Code Only PDF is supported currently
/Image Possible Values
/ImageFormat PDF = “pdf”
/Code
/ShipmentAcceptResponse
/ShipmentResults
String
1..35
/Form
No
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Base 64
Variable
Length
Cond
/ShipmentAcceptResponse
Always returned when code = 01
1…26
String
Cond
One
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
1…50
String
/ShipmentResults group of International forms. This element is
No
1
FormGroupIdName
/Form part of both request and response. This
/FormGroupIdName element does not appear on the forms.
Container
/ShipmentAcceptResponse
N/A
No
1
CODTurnInPage /ShipmentResults
/CODTurnInPage
/ShipmentAcceptResponse
Container
Yes*
N/A
1
Image
/CODTurnInPage Page.
/Image
/ShipmentAcceptResponse
Container
/ShipmentResults
Yes*
N/A
1
/ShipmentAcceptResponse
/ShipmentResults
Format code of the generated COD Turn In
String
Yes*
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults
1…35
String
/CODTurnInPage Description of the format code of generated
No
1
Description
/Image COD Turn In page.
/ImageFormat
/Description
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Base 64
Variable
Length
Yes*
Base 64 encoded html browser image
1
GraphicImage /CODTurnInPage
rendering software.
/Image
/GraphicImage
/ShipmentAcceptResponse
String
No
11
1
/ShipmentAcceptResponse
Cond
N/A
1
/ShipmentAcceptResponse
Container
Cond
ImageFormat
/ControlLogReceipt required if parent exist
/ImageFormat
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults
String
Yes*
Code for the type of Graphic Image for the
4
Code /ControlLogReceipt
High Value Report.
/ImageFormat
/Code
/ShipmentAcceptResponse
/ShipmentResults
String
1..35
No
1
Description /ControlLogReceipt Description of the format code
/ImageFormat
/Description
/ShipmentAcceptResponse
Encoded
Base 64
Variable
Length
Yes*
GraphicImage
/ControlLogReceipt or SPL image
/GraphicImage
Many (up to
Container
/ShipmentAcceptResponse
200)
N/A
No
/ShipmentAcceptResponse
String
/ShipmentResults
Yes
18
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Cond
/ShipmentResults are only guaranteed to be returned for
N/A
1
ServiceOptionsCharges
/PackageResults shipments whose origin country is US or
/ServiceOptionsCharges Puerto Rico.
/ShipmentAcceptResponse
/ShipmentResults Package accessorial charges currency code
String
Yes
3
CurrencyCode /PackageResults type. The currency code used in the
/ServiceOptionsCharges ShipmentConfirmRequest is returned.
/CurrencyCode
/ShipmentAcceptResponse
/ShipmentResults String
1..19
Yes
/ShipmentAcceptResponse
Container
Cond
/ShipmentResults
N/A
1
/ShipmentAcceptResponse
Container
/ShipmentResults
N/A
yes
LabelImageFormat /PackageResults
/LabelImage
/LabelImageFormat
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults Label image code that the labels are
String
/PackageResults generated. Values ‘EPL’ = EPL2, ‘SPL’ = SPL,
Yes
3
Code
/LabelImage ‘ZPL’ = ZPL, ‘GIF’ = gif images, or ‘PNG’ for
/LabelImageFormat PNG images.
/Code
/ShipmentAcceptResponse
/ShipmentResults
String
1..35
/PackageResults
No
1
Description Description of the label image format code.
/LabelImage
/LabelImageFormat
/Description
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Variable
Length
Yes
/ShipmentAcceptResponse
Variable Length
/ShipmentResults
Encoded
Cond
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Variable
Length
Cond
Base 64 encoded html browser image
1
HTMLImage /PackageResults
rendering software.
/LabelImage
/HTMLImage
Variable Length
can store up to about 1,800 printable ASCII
Encoded
/ShipmentResults
Cond
characters or 1,100 binary characters per
1
PDF417 /PackageResults
symbol. The symbol is rectangular. The image
/LabelImage
is Base 64 encoded and returned if the
/PDF417
LabelImageFormat code is GIF
/ShipmentAcceptResponse
Container
Cond
/ShipmentResults N/A
1
/ShipmentAcceptResponse
Container
/ShipmentResults
Cond
N/A
1
/ShipmentAcceptResponse
/ShipmentResults
Container
Yes*
/PackageResults
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults
/PackageResults Code representing the format in which a
String
Yes*
4
Code /Receipt receipt is returned. Valid values:
/Image “HTML” = HTML format
/ImageFormat
/Code
/ShipmentAcceptResponse
/ShipmentResults
/PackageResults
String
1..35
No
/ShipmentAcceptResponse
Variable Length
/ShipmentResults
Encoded
Yes*
/PackageResults
1
/ShipmentAcceptResponse
Cond
N/A
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
String
Yes*
/ShipmentResults
2
Code Code that indicates the type of form
/Form
/Code
/ShipmentAcceptResponse
1….35
String
Yes*
/ShipmentResults
1
Description Description that indicates the type of form
/Form
/Description
/ShipmentAcceptResponse
Container
Cond
/ShipmentResults
N/A
1
/ShipmentAcceptResponse
Container
/ShipmentResults
Cond
ImageFormat /Form
format information
/Image
/ImageFormat
/ShipmentAcceptResponse
/ShipmentResults Code representing the format in which the
String
Cond
Code
/Image Possible Values
/ImageFormat PDF = “pdf”
/Code
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
/ShipmentResults
String
1..35
/Form
No
1
Description Description of the form image format code.
/Image
/ImageFormat
/Description
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Base 64
Variable
Length
Cond
1
GraphicImage /Form Base 64 encoded International forms image
/Image
/GraphicImage
/ShipmentAcceptResponse
1…26
String
Cond
One
FormGroupId
/Form the completed international forms.
/FormGroupId
FormGroupIdName
/Form part of both request and response. This
/FormGroupIdName element does not appear on the forms.
Container
/ShipmentAcceptResponse
N/A
No
CODTurnInPage /ShipmentResults
/CODTurnInPage
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/ShipmentAcceptResponse
Container
Yes*
/ShipmentResults The container of the image for COD Turn In
N/A
1
Image
/CODTurnInPage Page.
/Image
/ShipmentAcceptResponse
Container
/ShipmentResults
Yes*
N/A
1
ImageFormat /CODTurnInPage The container for format of COD Turn In Page
/Image
/ImageFormat
/ShipmentAcceptResponse
/ShipmentResults String Format code of the generated COD Turn In
Yes*
/CODTurnInPage
1
/ShipmentAcceptResponse
/ShipmentResults
1…35
String
Description
/Image COD Turn In page.
/ImageFormat
/Description
/ShipmentAcceptResponse
Encoded
/ShipmentResults
Base 64
Variable
Length
Yes*
GraphicImage /CODTurnInPage
rendering software.
/Image
/GraphicImage
<LabelImageFormat>
<Code>GIF</Code>
</LabelImageFormat>
<GraphicImage>895UIGJ89XCASDVIGFUISDFNKLFSDANUI43UIT34IONSDFK
HG89GUKGJNGKDJFKDJDGKJDKFSDU089REUTDRKJOEIOUTERIJREIKGRJIGOWEJIEJIEGJGRIOEJGR
IGJIODJGFIODFJSIOUDFIOGDFUGDF890ERUTRIOGTJRDIOOGJGIOSDFJGIOJGIOJIOGFUGJIOGU90E
8T9TRFIRWEU90WERU90WU90WTU90WUT09WEUTWRJGKSDFJGIOSDFJGOISDFJGIOSJSD</Grap
hicImage>
<HTMLImage>JDFSKAATRIOERHIOEGHNVIXCUIFGJMFDGMAN8Y89H54JMN1
MK345H8SDHFDHGJKGHFDJKGHDGKSFJAH893YTUITNGDFJSGH8935Y5RTHDDFJKHT89HTJETHW
ER8934Y89534KGNDFOJKKH893RYETFIHTRUIOEY89TY34IHDFUIHGRU9T38934UITHDIUJTHEQW
89RY8WIERHT9RI</HTMLImage>
</LabelImage>
</PackageResults>
</ShipmentResults>
</ShipmentAcceptResponse>
Cancelling Shipments
UPS OnLine Tools use a two-message exchange to cancel a shipment. Those
messages are VoidShipmentRequest and VoidShipmentResponse.
VoidShipmentRequest
The VoidShipmentRequest message consists of two complete XML documents.
The first document is an AccessRequest. The AccessRequest is immediately
followed by a VoidShipmentRequest. When a client application is undergoing
testing and integration, the document combination should be sent to the URL:
https://wwwcie.ups.com/ups.app/xml/Void
Once a client application is in production, the combined documents should be
sent to the URL provided as part of the certification process.
The VoidShipmentRequest document in the request must conform to the
following XML structure.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Yes
1
VoidShipmentRequest /VoidShipmentRequest
Container
/VoidShipmentRequest
Yes
1
Request
/Request
1
RequestAction /Request service.
RequestAction value.
/RequestAction 1 = Void the shipment.
/VoidShipmentRequest
String
Optional processing.
No
RequestOption /Request
No options
/RequestOption
Container
/VoidShipmentRequest
TransactionReference identifies transactions
No
TransactionReference /Request
between client and server.
/TransactionReference
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
1..512
String
/Request
No
1
CustomerContext establishes CustomerContext, which can
/TransactionReference
contain any information you want, as along as
/CustomerContext
it is valid XML; it is echoed back by the server.
/VoidShipmentRequest
String
/Request
No
4
XpciVersion Message version. Defaults to ‘1.0001’.
/TransactionReference
/XpciVersion
18
1
/VoidShipmentRequest
String
/ExpandedVoidShipment
Yes
18
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Zero to Many
unbounded
/VoidShipmentRequest
String
Must pass 1Z rules. Must be
No
18
TrackingNumber /ExpandedVoidShipment The package’s identification number
upper case.
/TrackingNumber
VoidShipmentResponse
The VoidShipmentResponse message contains a single XML document that conforms to the following structure.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
Yes
N/A
1
VoidShipmentResponse /VoidShipmentResponse
Container
N/A
1
Response
/Response the success/fail status of the void request.
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/VoidShipmentResponse
Yes
N/A
1
TransactionReference /Response
/TransactionReference
/VoidShipmentResponse
Customer provided data. May be XML. If this
0..512
String
/Response
No
1
CustomerContext data is present in the request, it is echoed
/TransactionReference
back to the customer.
/CustomerContext
/VoidShipmentResponse
String
1..50
/Response Identifies the version of the message. Current
No
XpciVersion
/TransactionReference version is 1.0001
/XpciVersion
interchange.
Yes
ResponseStatusCode /Response
1 = Success
/ResponseStatusCode
0 = Failure
/VoidShipmentResponse
String
1..15
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/VoidShipmentResponse
interchange, the Response contains an error.
N/A
No
1
Error /Response
If the error is present, then the ErrorSeverity
/Error
and ErrorCode are required.
/VoidShipmentResponse
String
1..15
/Response
Yes
1
ErrorSeverity Describes the severity of the error.
/Error
/ErrorSeverity
/VoidShipmentResponse
String
1..15
/Response
Yes
/VoidShipmentResponse
String
1..50
/Response
No
/VoidShipmentResponse
Container
/Response
N/A
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
/VoidShipmentResponse
/Response The Xpath name of the element in error. This
1..512
String
No
1
ErrorLocationElementName /Error is a valid Xpath pointing to an element in the
/ErrorLocation request document.
/ErrorLocationElementName
Container
/VoidShipmentResponse
Yes
N/A
1
Status Contains Status information tags.
/Status
Container
/VoidShipmentResponse
Yes
N/A
1
/Status type.
Yes
Code
/StatusType 1 = Success
/Code 0 = Failure
/VoidShipmentResponse
String
1..15
/Status
No
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
Container
/VoidShipmentResponse
Yes
N/A
1
StatusCode /Status Contains the status code tags.
/StatusCode
String
/Status
Yes
1
Code 2 = Partially Voided
/StatusCode
1 = Success or Voided
/Code
0 = Failure
/VoidShipmentResponse
String
1..15
Yes*
/Status
1
Container
PackageLevelResults
/PackageLevelResults For the expanded void functionality only.
/VoidShipmentResponse
String
Yes*
18
1
CERT. OF ORIGIN
FORWARD ONLY
MAXALLOWED
RETURN ONLY
PARTIAL INV.
N/AFTA CO
REQUIRED
LENGTH
INVOICE
TYPE
SED
NAME XPATH DESCRIPTION VALIDATION RULES
String
Yes*
numeric value that describes the status code.
1
StatusCode /PackageLevelResults
1 = Voided or Already Voided
/StatusCode
0 = Not Voided
/VoidShipmentResponse
String
1..15
Yes*
1
Description /PackageLevelResults A text description of the status code.
/Description
Error Codes
To discover errors, check the ResponseStatusCode element. A “1” normally
indicates a successful response, whereas a “0” indicates an error, either Transient
or Hard. When an error occurs there will also be an error code, and an error
description.
• Success – Successful responses may or may not include Warnings.
o (without warnings) Request is processed as anticipated by the client.
o (with warnings) Warning messages indicate that UPS was able to
process the request; however (potentially) unanticipated results have
also occurred. The warning contains information in the response that
should be passed to the end user.
• Errors – will return two different levels of severity.
o Transient errors are temporary errors, due to temporary high server
loads or scheduled maintenance, for example. The application may
re-issue the request at a later time.
o Hard errors indicate that an error existed in the request that UPS
could not resolve. These errors are critical and prevent requests from
processing.
Applications should not re-issue requests with Hard errors without first
correcting the error.
The following table lists the errors that UPS may return in response to a request.
Negotiated Rates
Negotiated Rates are available in the UPS Customer Integration Environment
(CIE) and are returned when the Negotiated Rate indicator is provided in the
ShipConfirm request. The Negotiated Rates returned do not reflect the
contractual rate and may vary. (A flat 1% discount is returned)
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 Guide.
Shipping
Test your Shipping application using valid and invalid date elements including
postal codes, weights and package types. This will ensure that your application
has the ability to process success and error responses correctly.
https://wwwcie.ups.com/ups.app/xml/ShipConfirm
Once you have completed your testing and Certification, you should direct your
software to:
https://wwwcie.ups.com/ups.app/xml/ShipConfirm
System Availability
The Customer Integration Environment is available 24 hours a day, 7 days a
week.
OnCall
Forward Return
Country Code Air
Origin Origin
Pickup
Afghanistan AF
Åland Islands AX
Albania AL Yes
Algeria DZ
American Samoa AS
Andorra AD Yes
Angola AO
Anguilla AI Yes
Antarctica AQ
Antigua and Barbados AG Yes
Argentina AR Yes Yes
Armenia AM
Aruba AW
Australia AU Yes Yes Yes
Austria AT Yes Yes Yes
Azerbaijan AZ
Bahamas BS
Bahrain BH
Bangladesh BD
Barbados BB
Belarus BY
Belgium BE Yes Yes Yes
Belize BZ
Benin BJ
Bermuda BM
Bhutan BT
Bolivia BO
Bosnia and Herzegovina BA
Botswana BW
Bouvet Island BV
Brazil BR Yes Yes
British Indian Ocean Territory IO
Brunei Darussalam BN
Bulgaria BG Yes
Burkina Faso BF
Burundi BI
Cambodia KH
Cameroon CM
OnCall
Forward Return
Country Code Air
Origin Origin
Pickup
Canada CA Yes Yes Yes
Cape Verde CV
Cayman Islands KY
Central African Republic CF
Chad TD
Chile CL Yes Yes
China CN Yes Yes Yes
Christmas Island CX
Cocos (Keeling) Islands CC
Colombia CO Yes
Comoros KM
Congo CG
Congo, The Democratic Republic of CD
Cook Islands CK
Costa Rica CR Yes Yes
Côte D'ivoire CI
Croatia HR Yes
Cuba CU
Cyprus CY Yes
Czech Republic CZ Yes Yes
Denmark DK Yes Yes Yes
Djibouti DJ
Dominica DM
Dominican Republic DO Yes Yes
Ecuador EC Yes
Egypt EG
El Salvador SV Yes
Equatorial Guinea GQ
Eritrea ER
Estonia EE Yes
Ethiopia ET
Falkland Islands (Malvinas) FK
Faroe Islands FO
Fiji FJ
Finland FI Yes Yes Yes
France FR Yes Yes Yes
French Guiana GF
French Polynesia PF
French Southern Territories TF
Gabon GA
Gambia GM
Georgia GE
Germany DE Yes Yes Yes
Ghana GH
Gibraltar GI
Greece GR Yes Yes
Greenland GL
Grenada GD Yes
Guadeloupe GP
Guam GU
Guatemala GT Yes Yes
Guernsey GG Yes Yes
Guinea GN
OnCall
Forward Return
Country Code Air
Origin Origin
Pickup
Guinea-Bissau GW
Guyana GY
Haiti HT Yes
Heard Island and Mcdonald Islands HM
Holy See (Vatican City State) VA
Honduras HN Yes
Hong Kong HK Yes Yes Yes
Hungary HU Yes Yes
Iceland IS Yes
India IN Yes Yes
Indonesia ID Yes Yes
Iran, Islamic Republic of IR
Iraq IQ
Ireland IE Yes Yes Yes
Isle of Man IM
Israel IL Yes Yes
Italy IT Yes Yes Yes
Jamaica JM Yes
Japan JP Yes Yes Yes
Jersey JE Yes Yes
Jordan JO
Kazakhstan KZ
Kenya KE
Kiribati KI
Korea, Democratic People's Republic of KP
Korea, Republic of KR Yes Yes
Kuwait KW
Kyrgyzstan KG
Lao People's Democratic Republic LA
Latvia LV Yes
Lebanon LB Yes
Lesotho LS
Liberia LR
Libyan Arab Jamahiriya LY
Liechtenstein LI Yes
Lithuania LT Yes
Luxembourg LU Yes
Macao MO Yes Yes
Macedonia, The Former Yugoslav Republic
MK
of
Madagascar MG
Malawi MW
Malaysia MY Yes Yes Yes
Maldives MV
Mali ML
Malta MT Yes
Marshall Islands MH
Martinique MQ Yes
Mauritania MR
Mauritius MU
Mayotte YT
Mexico MX Yes Yes Yes
Micronesia, Federated States of FM
OnCall
Forward Return
Country Code Air
Origin Origin
Pickup
Moldova, Republic of MD
Monaco MC Yes
Mongolia MN
Montenegro ME Yes
Montserrat MS Yes
Morocco MA
Mozambique MZ
Myanmar MM
Namibia NA
Nauru NR
Nepal NP
Netherlands NL Yes Yes Yes
Netherlands Antilles AN
New Caledonia NC
New Zealand NZ Yes Yes
Nicaragua NI Yes
Niger NE
Nigeria NG
Niue NU
Norfolk Island NF
Northern Mariana Islands MP
Norway NO Yes Yes
Oman OM
Pakistan PK
Palau PW Yes
Palestinian Territory, Occupied PS
Panama PA Yes Yes
Papua New Guinea PG
Paraguay PY Yes
Peru PE Yes
Philippines PH Yes Yes
Pitcairn PN
Poland PL Yes Yes
Portugal PT Yes Yes Yes
Puerto Rico PR Yes Yes Yes
Qatar QA
Réunion RE
Romania RO Yes
Russian Federation RU Yes
Rwanda RW
Saint Helena SH
Saint Kitts and Nevis KN Yes
Saint Lucia LC Yes
Saint Pierre and Miquelon PM
Saint Vincent and The Grenadines VC Yes
Samoa WS
San Marino SM Yes
Sao Tome and Principe ST
Saudi Arabia SA Yes
Senegal SN
Serbia RS Yes
Seychelles SC
Sierra Leone SL
OnCall
Forward Return
Country Code Air
Origin Origin
Pickup
Singapore SG Yes Yes Yes
Slovakia SK Yes
Slovenia SI Yes
Solomon Islands SB
Somalia SO
South Africa ZA Yes
South Georgia and The South Sandwich
GS
Islands
Spain ES Yes Yes Yes
Sri Lanka LK Yes
Sudan SD
Suriname SR Yes
Svalbard and Jan Mayen SJ
Swaziland SZ
Sweden SE Yes Yes Yes
Switzerland CH Yes Yes Yes
Syrian Arab Republic SY
Taiwan, Province of China TW Yes Yes Yes
Tajikistan TJ
Tanzania, United Republic of TZ
Thailand TH Yes Yes
Timor-Leste TL
Togo TG
Tokelau TK
Tonga TO
Trinidad and Tobago TT
Tunisia TN Yes
Turkey TR Yes Yes
Turkmenistan TM
Turks and Caicos Islands TC Yes
Tuvalu TV
Uganda UG
Ukraine UA Yes
United Arab Emirates AE
United Kingdom GB Yes Yes Yes
United States US Yes Yes Yes
United States Minor Outlying Islands UM
Uruguay UY Yes
Uzbekistan UZ
Vanuatu VU
Venezuela VE Yes
Viet Nam VN Yes
Virgin Islands, British VG
Virgin Islands, U.S. VI Yes
Wallis and Futuna WF
Western Sahara EH
Yemen YE
Zambia ZM
Zimbabwe ZW
Criteria Meaning
A The good is "wholly obtained or produced entirely" in the territory of one or
more of the NAFTA countries as referenced in Article 415.
Note: The purchase of a good in the territory does not necessarily render it
"wholly obtained or produced." If the good is an agricultural good, see also
criterion F and Annex 703.2. (Reference: Article 401(a) and 415)
B The good is produced entirely in the territory of one or more of the NAFTA
countries and satisfies the specific rule of origin, set out in Annex 401, that
applies to its tariff classification. The rule may include a tariff classification
change, regional value-content requirement, or a combination there-of. The
good must also satisfy all other applicable requirements of Chapter Four. If the
good is an agricultural good, see also criterion F and Annex 703.2. (Reference:
Article 401(b))
C The good is produced entirely in the territory of one or more of the NAFTA
countries exclusively from originating materials. Under this criterion, one or
more of the materials may not fall within the definition of "wholly produced or
obtained," as set out in Article 415. All materials used in the production of the
good must qualify as "originating" by meeting the rules of Article 401(a)
through (d). If the good is an agricultural good, see also criterion F and Annex
703.2. Reference: Article 401(c).
D Goods are produced in the territory of one or more of the NAFTA countries but
do not meet the applicable rule of origin, set out in 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 heading provided for both the good and its parts and was not
further subdivided into subheadings, or the subheading provided for both the
good and its parts and was not further subdivided.
Note: This criterion does not apply to Chapters 61 through 63 of the H.S.
(Reference: Article 401(d))
E Certain automatic data processing goods and their parts, specified in Annex
308.1, that do not originate in the territory are considered originating upon
importation into the territory of a NAFTA country from the territory of another
NAFTA country when the most-favored-nation tariff rate of the good conforms
to the rate established in Annex 308.1 and is common to all NAFTA countries.
(Reference: Annex 308.1)
F The good is an originating agricultural good under preference criterion A, B, or
C above and is not subject to a quantitative restriction in the importing NAFTA
country because it is a "qualifying good" as defined in Annex 703.2, Section A
or B (please specify). A good listed in Appendix 703.2B.7 is also exempt from
quantitative restrictions and is eligible for NAFTA preferential tariff treatment
if it meets the definition of "qualifying good" in Section A of Annex 703.2.
Criteria Meaning
Note: This criterion does not apply to goods that wholly originate in Canada or
the United States and are imported into either country.
Note: A tariff rate quota is not a quantitative restriction.
Albania
Angola
Argentina
Austria
Bahamas
Barbados
Belarus
Belgium
Bermuda
Bhutan
Bolivia
Bosnia
Brazil
Canada
China
Colombia
Costa Rica
Czech Republic
Denmark
Djibouti
Dominican Rep
Ecuador
El Salvador
Estonia
Finland
France
Gambia
Georgia
Germany
Great Britain
Greece
Guam
Guatemala
Guyana
Honduras
Hong Kong
Hungary
India
Ireland
Israel
Italy
Jamaica
Japan
Kazakhstan
Kirghizia
Latvia
Libya
Lithuania
Luxembourg
Macau
Malaysia
Malta
Marshall Islands
Mauritania
Mexico
Nepal
Netherland Antilles
Netherlands
New Zealand
Nicaragua
Norway
Panama
Paraguay
Peru
Philippines
Poland
Portugal
Puerto Rico
Reunion Is
Saudi Arabia
Serbia & Montenegro
Singapore
Slovenia
South Korea
Spain
Sweden
Taiwan
Tanzania
Thailand
Timor Leste
Trinidad & Tobago
United Arab Emirates
United States
Uruguay
Uzbekistan
Index
A M
AccessRequest..................................................30
Microsoft
Adobe Acrobat
Office Document......................................... 13
Document.....................................................13
Visual Basic .....................................20, 23–24
Application
Visual Studio....................................14, 20, 23
Database.......................................................12
XML Core Services .........................14, 20, 23
Dedicated .....................................................12
MSXML ........................ See XML Core Services
Document.....................................................13
Type .............................................................12 O
Web..............................................................13
Open Source .........................................14, 21, 25
B Outbound Shipment......................................... 27
Base64 ..............................................................22 P
Branding ...........................................................13
Paperless Invoice ........................................... 259
C POST ............................................................... 18
Preference Criteria......................................... 257
Cancellation......................................................27
Certification....................................16–17, 16–17 R
Country Codes........................................244, 259
Reference Number Codes .......................241, 243
Currency Codes ..............................................249
Return Label Sample ..................................... 237
Customer Integration Environment ................239
Return Shipment .............................................. 27
D S
Database Application........................................12
Secure Sockets Layer..................................18–21
Dedicated Application ......................................12
ShipmentAcceptRequest.................................. 28
E ShipmentAcceptResponse ............................... 28
ShipmentConfirmRequest................................ 28
Element.............................................................22
ShipmentConfirmResponse ............................. 28
Extensible Markup Language...........................21
Shipping Label Sample.................................. 237
Example .......................................................21
Shipping Number
Standard .......................................................23
Test Values ................................................ 239
F SSL ............................. See Secure Sockets Layer
Forward Shipment ............................................27 T
H Tag ................................................................... 21
Technical Support ............................................ 14
HTTP................ See Hypertext Transfer Protocol
Tracking Number
Hypertext Transfer Protocol .......................18–21
Test Values ................................................ 239
J
U
Java.................................................14, 20, 24–25
Uniform Resource Locator .............................. 19
Java API for XML Processing ....................14, 24
URL .................... See Uniform Resource Locator
Java Enterprise Edition.....................................14
URL Class........................................................ 14
Java Standard Edition .......................................14
User Profile...................................................... 17
java.net .............................................................14
JAXP ............. See Java API for XML Processing V
L Visual Basic ..........................................20, 23–24
Visual Studio.........................................14, 20, 23
libcurl .........................................................14, 21
VoidShipment .................................................. 28
License Exception Codes ...............................256
VoidShipmentResponse ................................. 213
W X
Web Application ...............................................13 xerces..........................................................14, 25
World Wide Web Consortium...........................23 XML Core Services ..............................14, 20, 23