Calculate customs duty
Calculate Customs Duty
POST
/
customs-duty
/
calculate-customs-duty
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
corporation_id
string
requiredThe unique identifier for the corporation to calculate an import duty rate for.
invoice_currency
string
requiredISO 4217 alpha-3 currency code for the transaction.
subtotal
number
requiredTotal amount before tax, shipping, handling, and discounts.
origin_country
string
requiredISO 3166 2-letter country code. Ex: US, IN, GB.
destination_country
string
requiredISO 3166 2-letter country code. Ex: US, IN, GB.
line_items
object
requireddiscount
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