Duty Calculation Agent: Full Duty Visibility on Every Shipment Before It Moves
Duty liability calculated for each shipment using HS classification, declared value, country of origin, trade agreement eligibility, and current duty rates. Pre-shipment estimates, entry calculations, and variance analysis all in one pipeline.


















Duty Calculation Errors Produce Penalties, Overpayments, and Landed Cost Surprises.
Duty calculation depends on correct HS classification, applicable trade agreements, valuation method, and country-specific rate tables. Errors in any input produce incorrect assessments leading to underpayment penalties or overpayment that erodes landed cost competitiveness.
No Pre-Shipment Duty Visibility
When duty is calculated by the customs broker at entry, the landed cost is unknown until after goods are in transit. Sourcing decisions, pricing calculations, and inventory planning are made without knowing what the duty component of landed cost will be.
Overpayment Discovered Too Late
Duty overpayments resulting from incorrect HS classification, wrong duty rate application, or missed trade agreement eligibility are typically discovered during post-entry audits if they are discovered at all. Recovery requires formal protest processes that are time-consuming and have limited lookback windows.
Duty Rate Table Maintenance Is Manual
Country-specific duty rate tables change with trade negotiations, tariff actions, and schedule updates. Manual maintenance is slow and error-prone. Rates used in calculations may be months out of date, producing incorrect assessments.
Estimate-to-Assessment Variance Not Tracked
Even companies that produce duty estimates rarely track variance between estimated and actually assessed duties systematically. Systemic estimation errors consistently over- or underestimating for specific categories go undetected and uncorrected.
Multi-Country Complexity Not Manageable Manually
An enterprise trading across 40 lanes faces hundreds of country-product-rate combinations, each potentially modified by trade agreements, anti-dumping duties, and tariff rate quotas. Manual management at this scale produces coverage gaps and calculation errors.
Landed Cost Models Use Estimated Duty
When duty cannot be calculated accurately before shipment, landed cost models use estimated or historical duty percentages. Sourcing and pricing decisions are made on inaccurate landed cost assumptions.
Pre-Shipment Estimate. Entry Calculation. Variance Tracking. Overpayment Recovery.
Calculates duty liability for each shipment using HS classification, declared value, country of origin, FTA eligibility, and applicable duty rates. Generates pre-shipment estimates, actual entry calculations, and variance analysis between estimated and assessed duties.
Pre-Shipment Duty Estimation
Duty estimated for every international shipment before departure using verified HS codes, current duty rate tables, country of origin, and FTA eligibility from the FTA Qualification Agent. Landed cost known before goods move. No duty surprise at arrival.
Actual Entry Duty Calculation
Duty calculated at entry using confirmed shipment data, actual declared value, and applicable duty rates including any anti-dumping, countervailing, or tariff rate quota adjustments. Calculation submitted to customs documentation and ERP landed cost records.
Estimate-to-Assessment Variance Tracking
Variance between pre-shipment duty estimate and customs-assessed duty tracked per shipment, product, and trade lane. Systemic variances indicating classification errors, missed FTA eligibility, or rate table gaps identified and surfaced for correction.
Overpayment Identification and Recovery
Duty overpayments identified through variance analysis and classification review. Overpayment amounts calculated and recovery claims initiated through the Drawback Recovery Agent and broker correction workflows within the statutory lookback window.
Real-Time Rate Table Maintenance
Duty rate tables from Descartes, Thomson Reuters, and QAD GTTE updated continuously. Rate changes from trade negotiations, tariff actions, and schedule updates applied automatically. Calculations always use current rates.
Landed Cost Model Integration
Pre-shipment duty estimates fed to ERP landed cost models and SAP S/4 purchasing records. Sourcing and pricing decisions made against actual duty cost not estimated percentages from historical averages.
From Verified Classification to Accurate Landed Cost
Receives verified HS codes and FTA eligibility data upstream. Delivers duty calculations to drawback recovery, broker audit, and compliance screening agents downstream.
Receives from
HS Classification Agent
- Verified HS codes from the HS Classification Agent used as the primary classification input for duty rate lookup and pre-shipment duty estimation.
FTA Qualification Agent
- FTA eligibility determinations from the FTA Qualification Agent used to apply preferential duty rates where applicable reducing estimated and actual duty liability for eligible shipments.
This Agent
Duty Calculation Agent
- Calculates pre-shipment duty estimates and actual entry duty for every international shipment. Tracks estimate-to-assessment variance. Identifies overpayments. Delivers landed cost data to ERP and downstream trade compliance agents.
Triggers
Drawback Recovery Agent
- Duty payment records and export transaction data delivered to the Drawback Recovery Agent for import-export pair matching and drawback claim filing.
Broker Audit Agent
- Calculated duty amounts and rate table data delivered to the Broker Audit Agent for validation of customs broker-assessed duty against the agent's calculation.
Compliance Screening Agent
- Duty calculation records and trade lane data delivered to the Compliance Screening Agent for cross-referencing against restricted party and export control requirements.
What Changes When Duty Calculation Runs on the Agent
The shipment volume does not change. The duty visibility before and after goods move does.
Results from Live Deployments
Outcomes measured from industrial, automotive, chemical, and pharmaceutical enterprise deployments across global trade operations.
Pre-shipment duty estimate for every international movement before goods depart.
Estimate-to-assessment variance tracked per shipment, product, and lane.
Systemic overpayments identified and recovery initiated within the statutory window.
Duty rate tables updated continuously from Descartes, Thomson Reuters, and QAD GTTE.
Connects to ERP, TMS, and tariff content providers on day one. No customs consultant required.
Scales with shipment volume and trade lane count. No incremental broker dependency as coverage expands.
Works Where Your Trade and ERP Data Already Lives
Reads from ERP shipment records and tariff content providers. Writes duty estimates to landed cost models and calculation records to downstream trade agents.
Freehand HS Classification Data
Verified HS codes from the HS Classification Agent used as the primary classification input for duty rate lookup and landed cost calculation.
FTA Qualification Agent · Freehand
FTA eligibility determinations from the FTA Qualification Agent used to apply preferential duty rates for eligible shipments.
Descartes · Thomson Reuters · QAD GTTE
Country-specific duty rate tables consumed via REST API with continuous update. Anti-dumping, countervailing, and tariff rate quota adjustments included.
SAP S/4HANA · Oracle Fusion · Dynamics 365
Shipment declared value, country of origin records, and ERP purchasing data consumed via BAPI and OData for duty calculation inputs.
MuleSoft · Dell Boomi · Seeburger BIS
Trade and shipment data flowing through your integration layer accessed without duty calculation pipeline disruption.
SAP TM
Shipment booking data from TMS consumed for pre-shipment duty estimation before goods depart.
Pre-Shipment Duty Estimate ERP · TMS
Pre-shipment duty estimates written to ERP landed cost models and TMS shipment records via BAPI and REST before goods depart.
Entry Duty Calculation
Actual entry duty calculations written to Freehand and connected trade platforms at customs clearance.
Duty Variance Report
Estimate-to-assessment variance tracked by shipment, product, and lane in Freehand and Snowflake dashboards for systemic overpayment identification.
Drawback Recovery Agent Input
Duty payment records delivered to the Drawback Recovery Agent for import-export pair matching and claim filing.
Snowflake / Databricks
Duty calculation records and variance data written to your data lake for trade analytics and compliance reporting.
Landed Cost Model
Accurate duty components fed to ERP and trade platform landed cost models for sourcing and pricing decision support.
40 Trade Lanes. First-Ever Pre-Shipment Visibility. $780K Recovered.
Real outcomes from enterprises running the Duty Calculation Agent in production.
Powered by the Freehand Context Graph
The Context Graph connects HS classification data, FTA eligibility determinations, duty rate tables from tariff content providers, and ERP shipment records into the unified calculation context. Every duty estimate and entry calculation draws from current, verified data across all relevant inputs.
Built on the Freehand Logistics Language Model, trained on duty calculation frameworks, tariff rate table structures, trade agreement preference logic, and customs valuation methodologies across global trade jurisdictions. It understands how HS codes, origin, and trade agreements interact to produce the correct duty liability.
- Every duty calculation is traceable. The HS code applied, the duty rate table used, the FTA eligibility applied, and the final calculated amount are all logged. Complete documentation available for customs authority review and overpayment recovery claims.
- The Context Graph learns from variance outcomes. Classification corrections and rate table updates that resolved systemic variances are incorporated into future calculations. Estimation accuracy improves with every shipment cycle.
- Duty calculation intelligence flows into every downstream trade compliance agent. The Drawback Recovery Agent receives duty payment records. The Broker Audit Agent receives calculated amounts for validation. The Compliance Screening Agent receives trade lane data.
Duty Calculation: Questions Trade and Finance Leaders Ask
Straight answers to what trade compliance and finance leaders ask before deploying the Duty Calculation Agent.
HS classification from the HS Classification Agent, declared value and country of origin from ERP, FTA eligibility from the FTA Qualification Agent, and current duty rate tables from Descartes, Thomson Reuters, and QAD GTTE.
At booking in the TMS, using the confirmed HS code, declared value, country of origin, and FTA eligibility for the shipment. Estimate available before goods depart. Landed cost known before the shipment is in transit.
Variance tracked between pre-shipment estimate and customs-assessed duty per shipment and trade lane. Systemic variances indicate incorrect classification, rate table errors, or missed FTA eligibility. Overpayments quantified and flagged for recovery claim filing.
Continuously updated from Descartes, Thomson Reuters, and QAD GTTE via REST API. Rate changes from trade negotiations, tariff actions, schedule updates, and anti-dumping decisions applied automatically. No manual rate table maintenance required.
Receives verified HS codes from the HS Classification Agent and FTA eligibility from the FTA Qualification Agent. Delivers duty payment records to the Drawback Recovery Agent, calculation data to the Broker Audit Agent, and trade lane data to the Compliance Screening Agent.
Deployable in days via pre-built connectors to ERP, TMS, and tariff content providers. Most enterprises have pre-shipment duty estimates running across all active trade lanes within the first week of deployment.
Deploy the Duty Calculation Agent Across Your Import Portfolio
Pre-shipment duty visibility on every trade lane. Overpayment identified and recovered. Landed cost models using verified data. Deployable in days.
Built on Freehand Studio · freehand.ai

