- Calculate Duties and Taxes for Single Item Across Countries
This API calculates estimated duties and taxes duties for a single item across multiple destination countries. A landed cost is the total of all charges involved in a crossborder transaction, including transportation, import duties and taxes, shipping insurance, and related fees. Use this API to power a superior "duty-paid" checkout experience with accurate D&T estimates, and/or to inform business planning around import costs.
The type of calculation to be performed. Possible values are:
duty: Only the duty will be returnedtax: Only the tax will be returnedduty_tax: Both duty and tax will be returned (default if not provided)
Note: Duty and/or tax may still be calculated internally if required as part of determining the other, but the results will not be included in the response based on the calculation type.
The country from which the shipment is exported.
- Must be a valid ISO 3166-1 alpha-2 or alpha-3 country code (e.g., US or USA).
Shipping service type used. Customs processing and related fees can vary between courier shipments and parcels shipped and cleared via the International Postal System. For the most accurate duty and tax estimation, specify the service type related to your shipment
- Valid values are
COURIERandPOSTAL. - If not provided,
COURIERwill be used as the default serviceId.
The currency in which the quote should be returned.
- Must be a valid 3-character ISO 4217 currency code.
- Defaults to
USDif not provided.
Currency code associated with the amounts passed in the request.
- Must be a valid ISO 4217 currency code.
- The countries to which the shipment is intended. This must be a valid ISO 3166-1 alpha-2 or alpha-3 country codes (e.g., US or USA).
- The maximum number of countries can be pass in this array is
250.
[ { "destinationCountryCode": "CA", "destinationStateProvince": "ON", "shippingAmount": 10, "handlingAmount": 6, "insuranceAmount": 5, "hsTariffCode": "8471300000" }, { "destinationCountryCode": "CL", "destinationStateProvince": "ML", "shippingAmount": 10, "handlingAmount": 6, "insuranceAmount": 5, "hsTariffCode": "8471300001" } ]
Details of the item used for duty and tax estimation.
{ "itemId": "ITEM123456", "weight": { "value": 10, "unitOfMeasurement": "KG" }, "dimension": { "length": 11, "height": 12, "width": 32, "unitOfMeasurement": "IN" }, "volumes": [ { … } ], "unitPrice": 100, "quantity": 1, "originCountryCode": "US" }
- https://api-dev.sendpro360.pitneycloud.com/shippinghttps://api-dev.sendpro360.pitneycloud.com/shipping/api/v1/crossborder-services/landedCostQuote/bulk
- https://api-qa.sendpro360.pitneycloud.com/shippinghttps://api-qa.sendpro360.pitneycloud.com/shipping/api/v1/crossborder-services/landedCostQuote/bulk
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/crossborder-services/landedCostQuote/bulk
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/shipping/api/v1/crossborder-services/landedCostQuote/bulk
curl -i -X POST \
'https://api-dev.sendpro360.pitneycloud.com/shipping/api/v1/crossborder-services/landedCostQuote/bulk?calculationType=duty_tax' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-PB-TransactionId: string' \
-d '{
"exportCountryCode": "US",
"serviceId": "Courier",
"responseCurrencyCode": "USD",
"pricingCurrencyCode": "USD",
"destinationCountries": [
{
"destinationCountryCode": "CA",
"destinationStateProvince": "ON",
"shippingAmount": 10,
"handlingAmount": 6,
"insuranceAmount": 5,
"hsTariffCode": "8471300000"
},
{
"destinationCountryCode": "CL",
"destinationStateProvince": "ML",
"shippingAmount": 10,
"handlingAmount": 6,
"insuranceAmount": 5,
"hsTariffCode": "8471300001"
}
],
"item": {
"itemId": "ITEM123456",
"weight": {
"value": 10,
"unitOfMeasurement": "KG"
},
"dimension": {
"length": 11,
"height": 12,
"width": 32,
"unitOfMeasurement": "IN"
},
"volumes": [
{
"value": 4,
"unitOfMeasurement": "L"
}
],
"unitPrice": 100,
"quantity": 1,
"originCountryCode": "US"
}
}'The requested Landed Cost Quote has been retrived successfully.
- The country from which the shipment is exported.
exportCountryCodealways returned in response.
- Service used for the shipment.Valid values are
COURIERandPOSTAL. serviceIdalways returned in response.
- The currency in which the quote is returned.
responseCurrencyCodealways returned in response.
{ "exportCountryCode": "US", "serviceId": "Courier", "responseCurrencyCode": "USD", "item": { "itemId": "ITEM123456", "quantity": 1, "countryQuotes": [ … ] } }