Calculate duties and taxes
Calculate import duties, taxes, and customs fees for international shipments.
How it works:
- Provide shipment and commodity details (origin, destination, HS codes, values)
- Receive a breakdown of all applicable duties and taxes in the
dutiesAndTaxesresponse
Additional Services:
additionalServices.postalDuties: Calculate lower postal duty rates instead of courier ratesadditionalServices.taxesCollection: Create a DDU taxes collection (see below)
DDU Taxes Collection (when additionalServices.taxesCollection: true):
- Requires:
incoterms: DDU,trackingNumber, andshipTo.phoneORshipTo.email - Creates a taxes collection record with status
pending_classification - Triggers background HS code classification and duty recalculation
- Returns
dutiesAndTaxes: null(final amount calculated after classification) - Returns
collectionobject withcollectionId,status,paymentUrl, andcollectionDeadline - Notification channel: Both SMS and email when both provided, otherwise whichever is available
- Partner receives webhook when classification completes and collection is ready for payment
Why use this? Show landed cost estimates to customers, avoid surprise fees, ensure customs compliance, and collect duties from consignees for DDU shipments.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
GBP, USD, EUR, CAD, AUD, BGN, CZK, DKK, HUF, PLN, RON, SEK, NZD, SAR, AED, HKD, SGD Tracking number for the shipment. Required for DDU collection creation.
External manifest ID for partner reference (must be unique per account)
The freight/shipping charge for VAT-on-freight calculations.
Package weight for DDU collection
Package dimensions for DDU collection
Shipment description
Customer/partner reference number
Package type
envelope, tube, parcel Content type
Documents, Gift, Sample, Other, CommercialGoods, ReturnOfGoods Additional metadata
Additional services for duties calculation