EtsyNancy ArnoldExplainer
Behind the Scenes - A Glimpse into Tax Calculations
Summary
As jurisdictions increasingly require marketplaces to collect and remit tax, Etsy describes the infrastructure it uses to calculate, record, and report taxes on transactions. When a buyer adds an item to a cart, Etsy sends a Quotation Request API call to Vertex, using buyer and seller locations, product category, tax rules, and mappings to determine the amount shown. At checkout and throughout fulfillment, DistributeTaxRequest SOAP calls carry order, cancellation, and refund details to Vertex, whose records support reporting and audit workflows imported into Etsy’s bigdata. The integration also required mapping Etsy taxonomy categories to Vertex rule drivers and separating quotation, distribution, and reporting workloads across multiple instances for horizontal scaling and load balancing. Shadow requests, ramped gradually without applying calculated taxes to carts, let the team simulate added Vertex load and monitor checkout performance before releasing traffic-increasing features.
Context
Jurisdictions increasingly require marketplaces such as Etsy to collect tax from buyers and remit it to relevant authorities. Etsy also needed to handle increasing traffic, preserve checkout performance, and support reporting, analytics, configuration synchronization, and audit requirements.
Approach / What changed
Etsy uses Vertex’s Quotation Request and DistributeTaxRequest SOAP APIs, maps its product taxonomy to Vertex rule drivers, records order-lifecycle changes, imports reports into its bigdata system, separates quotation and distribution workloads across multiple instances, load balances requests, and uses shadow requests to test additional traffic.
Takeaways
Vertex receives quotation requests when items enter carts and distribution requests at checkout, with later calls covering cancellations and refunds.
Separating quotation, distribution, and report-generation workloads across Vertex instances removed interference and enabled horizontal scaling with load balancing.
Shadow requests simulate additional Vertex traffic without applying calculated taxes to buyers’ carts, allowing checkout performance to be monitored before release.
Source and freshness
- Source
- etsy.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.