landed_cost_calculator
Calculates total landed cost per unit for a Shopify merchant importing goods. Applies 2026 regulatory surcharges (US Section 122 +10%, EU de minimis €3/item), incoterm responsibility adjustments (EXW/FOB/DDP), CIF insurance, duty and brokerage, and financial carry cost over lead time. Returns unitLandedCost, costUpliftRatio, marginErosionPct (only when unitSellingPrice is provided), full cost breakdown by layer, sensitivity drivers, risk warnings, and recommended actions. Pass baseDutyRate as a decimal (e.g. 0.12 for 12%) — surcharges are applied automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incoterm | Yes | ||
| quantity | Yes | ||
| unitCost | Yes | ||
| destination | Yes | ||
| baseDutyRate | Yes | ||
| brokerageFee | Yes | ||
| leadTimeDays | Yes | ||
| insuranceRate | Yes | ||
| originCountry | Yes | ||
| originPortFees | Yes | ||
| freightCostTotal | Yes | ||
| unitSellingPrice | No | ||
| annualCostOfCapital | Yes | ||
| destinationPortFees | Yes | ||
| itemsPerConsignment | Yes | ||
| isMarketplaceCollected | Yes |