Stop Taxing Shopify Amazon Orders in Avalara
Avalara double taxes Marketplace orders coming from Shopify. Must use the API to ensure all transactions are taxed properly.
Problem
If you sell on Amazon Marketplace, they are remitting the tax for you. Many Shopify clients are importing Amazon orders via Marketplace Connect app, which works great for fulfillment and tracking.
However, an issue arises when using the native app Avalara, where the newly imported transaction is taxed again. The Avalara App nor the Avalara transaction rules are capable of knowing that a marketplace has already remitted tax first.
Affected Systems
- Shopify or Shopify Plus
- Marketplace Connect
- Amazon
- Ebay
- Walmart
- Etsy
- Avalara
After
Solution
Upon exhausting all of the configuration settings and live chat support, we came to the conclusion that using the Avalara API to sync Shopify orders was the most accurate solution.
Setup
Avalara Backend (Avalara's Guide)
- Create a new Marketplace Location
- Location Code: Amazon-marketplace remits
- Friendly Name: Amazon Remit Rule
- Type: Marketplace
- Returns for this location: The marketplace remits sales tax
- Effective: todays date
- Create Advanced Transaction Rule
- Name: Amazon Remit Rule
- Effective: todays date
- Rule: Reference Code contains any of these amazon
- Location Code: Amazon-marketplace remits
Avalara API + Programming
Using the Avalara API Transaction CreateOrAdjust, we are able to send over full order details and include the marketplace source under the key 'referenceCode'.
Endpoint: https://rest.avatax.com/api/v2/transactions/createoradjust
Payload: 'referenceCode' => 'amazon'
Links
Avalara Guide to Advanced Rule to Exclude Marketplace Transactions
Avalara API Transaction CreateOrAdjust
Tags
Shopify, Avalara
Dated
Created: Aug 13, 2024
Updated: Aug 13, 2024