Authenticate to the Avalara AvaTax Cross-Border API using your account credentials to obtain an auth token
POST a classification request with product description, country of origin, and destination country to the tariff classification endpoint
Receive back a suggested 6-digit HS code and confidence score; for high-value or regulated goods, treat low-confidence classifications as requiring human review
Look up the duty rate for the returned HS code and destination country using the tariff rate lookup endpoint
Store the HS code alongside the product SKU in your catalog so repeat shipments reuse the validated classification without re-querying
Implement a review queue for products with confidence scores below a threshold (e.g., 80%) to trigger manual customs broker review
Known gotchas
HS codes are standardized at 6 digits internationally but countries extend them to 8 or 10 digits for tariff purposes; always append the country-specific extension before declaring to customs
Automated classification is not legally binding; importers remain liable for misclassification even when using an API; binding rulings from customs authorities are the only guaranteed defense
HS code schedules are updated periodically (typically every 5 years under WCO cycles); cached classifications may become incorrect after schedule revisions
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp