You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A Duties and Taxes response includes both the itemized and aggregate taxes and duties levied on a shipment
name
type
source
description
products
Array of Products
user
A JSON array of the items in the customer’s package, defined below
product_raw_total
decimal
easypost
the total of all products submitted without duty and tax applied
tax_total
decimal
easypost
the total tax payable for the products, shipping and insurance
duty_total
decimal
easypost
the total duty payable for the products, shipping and insurance
total
decimal
easypost
the total price including shipping and insurance
tax_deminimis_value
decimal
easypost
the value for duty deminimis
duty_deminimis_value
decimal
easypost
the value for tax deminimis
recipient_score_calculated
decimal
easypost
the score calculated for the supplied recipient
recipient_lists_matched
decimal
easypost
the total number of list(s) the match was found in
recipient_matches
Array of Matches
easypost
the total number of list(s) the match was found in
Product
name
type
source
description
classification_id
string
user
id returned by the classification API for the given product
value
decimal
user
the unit price of the product being calculated, without a currency symbol
tax_rate
decimal
easypost
the percentage tax rate for the product in the destination country
tax_value
decimal
easypost
the value of the tax payable on the product
duty_rate
decimal
easypost
the percentage duty rate for the product in the destination country
duty_value
decimal
easypost
the value of the duty payable on the product
hs_code
string
easypost
the HS6 code associated with the product
tariff_code
string
easypost
the 6+ digit code associated with the item in the destination country – if available – if not available then ‘0000’ may be appended to the right of the HS6 code
Match
name
type
source
description
score_calculated
decimal
easypost
the score calculated for the user
name_match
boolean
easypost
whether the name was a good match, independent of address
partial_name_match
boolean
easypost
whether only certain parts of the name were a match, or if there was an initial passed through for the first or middle names, whether that was matched to a name, independent of address
ordered_name_match
boolean
easypost
whether the elements of the name were matched but in the wrong order, for example John Joseph would ordered_name_match Joseph John independent of address.
address_match
boolean
easypost
whether the address was a match, independent of name
partial_address_match
boolean
easypost
whether some of the address elements were a match, independent of name
place_of_birth
string
easypost
the place of birth of the person – if matched on name and if the data is available
affiliated_countries
Array of strings
easypost
list of countries that the name match is associated with, independent of supplied address
match_type
string
easypost
whether a Country, a Corporation or an Individual (if present)
an EasyPost Address construct indicating at least the country from which the shipment is originating
to_address
*
an EasyPost Address construct indicating the address to which the shipment is destined. This is expected to include country, recipient name, street address, state/county, and postal code
shipping_price
*
a decimal value indicating the value of the transportation associated with the purchase, without a currency symbol
products
*
a JSON array of the items in the customer’s package, defined below
Input - Product
name
required
description
classification_id
id returned by the classification API for the given product
value
*
the unit price of the product being calculated, without a currency symbol
quantity
*
the quantity of the product being shipped
weight
*
weight of the product in grammes
volume
*
volume of the product in milliliters
hs_code
volume of the product in milliliters
description
description of the product
note: either classification_id or a combination of hs_code and description must be provided.