Skip to main content

International Shipping

Ship internationally with customs declarations, HS codes, and duty/tax calculation.

Creating an international shipment

International shipments require a customs declaration with item details:

curl -X POST https://api.flexops.io/v1/labels \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"carrier": "dhl",
"service": "express_worldwide",
"from": {
"name": "FlexOps HQ",
"street1": "123 Main St",
"city": "Denver",
"state": "CO",
"zip": "80202",
"country": "US"
},
"to": {
"name": "Hans Mueller",
"street1": "Friedrichstr. 123",
"city": "Berlin",
"zip": "10117",
"country": "DE"
},
"parcel": { "weightOz": 32, "lengthIn": 12, "widthIn": 8, "heightIn": 6 },
"customs": {
"contentsType": "merchandise",
"items": [
{
"description": "Cotton T-Shirt",
"quantity": 2,
"value": 25.00,
"currency": "USD",
"weightOz": 8,
"hsCode": "6109.10",
"originCountry": "US"
}
],
"incoterm": "DDU"
}
}'

Incoterms

CodeDescriptionWho pays duties
DDUDelivered Duty UnpaidRecipient
DDPDelivered Duty PaidSender

HS Codes

Harmonized System (HS) codes classify goods for customs. If you don't know the HS code, omit it and the carrier will attempt classification (may cause delays).

Supported international carriers

CarrierBest for
DHL ExpressFastest international, 220+ countries
FedEx InternationalUS ↔ major markets
UPS WorldwideHeavy freight, reliable tracking
Canada PostUS ↔ Canada
Royal MailUS ↔ UK
Australia PostUS ↔ Australia/NZ