Duties & Tariffs

When shipping internationally, various duties and tariffs may get applied to your packages depending on the country and type of product you are shipping. ShipEngine tells you exactly how much you can expect to pay. This is commonly referred to as the "fully landed shipping cost".

Tip Contact our sales team for details about the pricing of this feature.

Example

To accurately calculate the duties, tariffs, and other taxes for your shipment, ShipEngine needs to know the Harmonized Tariff Codes of the products in your shipment. You also need to set the calculate_tax_amount: true flag to opt-in to this feature since there is additional cost involved.

Example Request

POST /v1/rates HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json

{
  "rate_options": {
    "carrier_ids": ["se-12354", "se-5678"],
    "calculate_tax_amount": true
  },
  "shipment": {
    "customs": {
      "contents": "merchandise",
      "non_delivery": "treat_as_abandoned",
      "customs_items": [{
        "harmonized_tariff_code": "0901.21",
        "country_of_manufacture": "US",
        "country_of_origin": "US",
        "quantity": 2,
        "value": {
          "currency": "usd",
          "amount": 100
        }
      }]
    },
    "ship_from": {
      "company_name": "Example Corp.",
      "name": "John Doe",
      "phone": "111-111-1111",
      "address_line1": "4009 Marathon Blvd",
      "address_line2": "Suite 300",
      "city_locality": "Austin",
      "state_province": "TX",
      "postal_code": "78756",
      "country_code": "US",
      "address_residential_indicator": "no"
    },
    "ship_to": {
      "name": "Amanda Miller",
      "phone": "20 5555 5555",
      "address_line1": "77 Netherpark Crescent",
      "address_line2": "Suite 100",
      "city_locality": "London",
      "state_province": "N/A",
      "postal_code": "ABC 123",
      "country_code": "GB",
      "address_residential_indicator": "yes"
    },
    "packages": [
      {
        "weight": {
          "value": 9.6,
          "unit": "ounce"
        },
        "dimensions": {
          "unit": "inch",
          "length": 12.0,
          "width": 7.1,
          "height": 6.0
        }
      }
    ]
  }
}

Example Response

The tax_amount field in the response represents the total duties, tariffs, and other taxes that will be applied to this shipment.

{
  "rate_response": {
    "rates": [
      {
        "rate_id": "se-24276453",
        "rate_type": "shipment",
        "carrier_id": "se-117400",
        "shipping_amount": {
          "currency": "usd",
          "amount": 48.14
        },
        "tax_amount": {
          "currency": "usd",
          "amount": 10.21
        },
        "insurance_amount": {
          "currency": "usd",
          "amount": 0.0
        },
        "confirmation_amount": {
          "currency": "usd",
          "amount": 0.0
        },
        "other_amount": {
          "currency": "usd",
          "amount": 0.0
        },
        "zone": 7,
        "package_type": "package",
        "delivery_days": 2,
        "guaranteed_service": false,
        "estimated_delivery_date": "2019-12-13T00:00:00Z",
        "carrier_delivery_days": "2",
        "ship_date": "2019-12-09T00:00:00Z",
        "negotiated_rate": false,
        "service_type": "FedEx International Priority®",
        "service_code": "fedex_international_priority",
        "trackable": true,
        "carrier_code": "fedex",
        "carrier_nickname": "My FedEx Account",
        "carrier_friendly_name": "FedEx",
        "validation_status": "valid",
        "warning_messages": [],
        "error_messages": []
      },
      {
        "rate_id": "se-24276454",
        "rate_type": "shipment",
        "carrier_id": "se-117400",
        "shipping_amount": {
          "currency": "usd",
          "amount": 12.72
        },
        "tax_amount": {
          "currency": "usd",
          "amount": 10.21
        },
        "insurance_amount": {
          "currency": "usd",
          "amount": 0.0
        },
        "confirmation_amount": {
          "currency": "usd",
          "amount": 0.0
        },
        "other_amount": {
          "currency": "usd",
          "amount": 0.0
        },
        "zone": 7,
        "package_type": "medium_flat_rate_box",
        "delivery_days": 2,
        "guaranteed_service": false,
        "estimated_delivery_date": "2019-12-13T00:00:00Z",
        "carrier_delivery_days": "2",
        "ship_date": "2019-12-09T00:00:00Z",
        "negotiated_rate": false,
        "service_type": "FedEx International Economy®",
        "service_code": "fedex_international_economy",
        "trackable": true,
        "carrier_code": "fedex",
        "carrier_nickname": "My FedEx Account",
        "carrier_friendly_name": "FedEx",
        "validation_status": "valid",
        "warning_messages": [],
        "error_messages": []
      }
    ]
  }
}