Calculate real-time landed cost duties and taxes for a cross-border cart using the Avalara AvaTax Cross-Border API
domain: developer.avalara.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Provision AvaTax Cross-Border access alongside an existing or new Avalara account
Submit product line items with available identifying attributes so Avalara's classification service can assign HS-6 or HS-10 codes
Call the cross-border calculation endpoint with origin, destination, and declared value to compute duties, import taxes, and fees
Combine the returned duty/tax breakdown with domestic sales tax calculated via standard AvaTax if the order also carries a taxable domestic component
Display the combined landed cost total to the shopper before checkout to support a Delivered Duty Paid experience
Store the classification and calculation response for audit purposes, since customs valuation should be traceable to a specific quote
Known gotchas
HS classification confidence depends on the quality of submitted product data — generic or incomplete descriptions increase misclassification risk and downstream duty disputes
Cross-border duty/tax calculation is a separate call from standard AvaTax sales tax calculation; treating them as one call will produce an incomplete total
Real-time estimates are not always identical to the exact amount assessed by customs at the border, since some fees are only finalized at clearance
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?