POST
/
customs-duty
/
calculate-customs-duty

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
corporation_id
string
required

The unique identifier for the corporation to calculate an import duty rate for.

invoice_currency
string
required

ISO 4217 alpha-3 currency code for the transaction.

subtotal
number
required

Total amount before tax, shipping, handling, and discounts.

origin_country
string
required

ISO 3166 2-letter country code. Ex: US, IN, GB.

destination_country
string
required

ISO 3166 2-letter country code. Ex: US, IN, GB.

line_items
object
required
discount
number

Total discount amount applied to the subtotal.

shipping_and_handling
number

Total shipping and handling charges.

Response

200 - application/json
data
object
message
string