Cookie preferences
We use cookies for essential functionality. With your consent, we also use analytics (Google, PostHog) and marketing pixels (Meta, LinkedIn) to improve LandedFees. You can withdraw consent anytime in Settings.
Runs the landed-cost engine for one shipment. Resolves MFN, Section 232 / 301 / 122 / 338, AD/CVD, FTA preferences, VAT/GST, MPF, HMF, and de-minimis in a single call.
/v1/calcdestination_countryDestination country. Use EU with eu_member_state for European Union imports.
origin_countryCountry of origin at the shipment level. Line-level origin_country overrides for that line.
incotermEXW, FCA, CPT, CIP, DAP, DPU, DDP, FAS, FOB, CFR, CIF.
transport_modeocean, air, truck, rail, express.
currencyInvoice currency. Auto-converted to the customs currency via CBP weekly rate (US) or ECB spot fallback.
line_itemsOne or more line items. See the LineItem schema below.
freightShipment-level freight in the invoice currency. Prorated across lines by value.
insuranceShipment-level insurance in the invoice currency.
other_dutiable_chargesLegacy field for miscellaneous dutiable additions. Prefer customs_value_adjustments.
customs_value_adjustmentsItemized 19 CFR 152.103 additions (assists, royalties, packing) and deductions (prompt_payment_discount, buying_commission).
eu_member_stateRequired when destination_country is EU. Drives the correct VAT rate.
br_stateTwo-letter Brazilian state for ICMS calculation.
ca_provinceTwo-letter Canadian province for PST/HST combined rate.
usmca_qualifyingSet true to claim USMCA preferential treatment (US, CA, MX only).
fta_idFTA program ID (KORUS, CAFTA_DR, etc.) for non-USMCA preferential claims.
calculation_dateISO date the calculation is effective. Defaults to today.
export_dateISO date the shipment left the country of exportation. Drives 19 CFR 141.62 FX lookup.
input_methodupload or manual. Persisted with the calculation for audit trail.
descriptionFree-text product description. Passed to the classifier when hs_code is missing.
hs_codeHS or HTS code (4 to 13 digits, dots optional). Empty triggers inline classification.
quantityPositive number of units.
unit_valuePer-unit invoice value in the shipment currency.
origin_countryPer-line origin country.
weight_kgPer-unit weight in kilograms. Used for weight-based fees (Air, Section 232 aluminum overrides).
smelter_countryChapter 76 aluminum smelter country. RU triggers the 200% Russia-aluminum override.
preference_programPer-line FTA program claim, e.g. KORUS, S, P+, USMCA.
idPersisted calculation row ID. Null in sandbox mode.
shipment_idAuto-detected shipment ID when the invoice extractor found a container / BoL / AWB. Null otherwise.
resultgoods_value, freight, insurance, customs_value, duty_amount, taxes_amount, fees_amount, total_landed_cost, currency, calculation_date, breakdown[], de_minimis, warnings[].
compliance_flagsPGA, restricted product, denied party, unit-price deviation, data-freshness, Section 122 sunset banner.
fta_opportunitiesSubset of compliance_flags with kind = fta_opportunity or fta_qualified.
data_as_ofPer-source last_succeeded_at ISO timestamps for the volatile feeds (FX, sanctions, US overlays).
data_staleTrue when any volatile source is over 24 hours old.
