How to map Shopify tax to QBO tax codes

Step-by-step guide to correctly mapping taxes and discounts from Shopify to QuickBooks.

Tax and discount mapping is where many integrations go wrong. Here’s how to get it right.

Why mapping matters

Shopify and QuickBooks handle taxes differently:

If mapping is wrong:

Tax mapping basics

Shopify tax structure

QuickBooks tax codes

Manual CSV approach

Steps:

  1. Export Shopify orders with tax breakdown
  2. Identify unique tax combinations
  3. Create matching tax codes in QuickBooks
  4. Manually calculate and post tax per order
  5. Update when tax rates change

Problems:

Accounting-grade app approach

Apps like Webgility auto-map taxes:

Setup:

  1. App scans your Shopify tax settings
  2. Identifies all unique tax combinations
  3. Creates matching QuickBooks tax items (if they don’t exist)
  4. Maps Shopify rates to QBO codes automatically

Ongoing:

Discount mapping

Shopify discount types

QuickBooks discount handling

Method 1: Reduce revenue (most common)

Method 2: Discount line item

Tax on discounted amounts

Critical: Tax is calculated AFTER discounts in most jurisdictions.

Example:

Manual posting: You must calculate this correctly Accounting apps: Handle this automatically

Multi-state tax complexity

If you sell in multiple states:

Manual approach: Near impossible to maintain Accounting apps: Built-in multi-jurisdiction support

Setup checklist

QuickBooks setup

  1. ✓ Create tax agency for each jurisdiction
  2. ✓ Set up tax items with current rates
  3. ✓ Create tax groups for combined rates (state + local)
  4. ✓ Mark tax-exempt products correctly
  5. ✓ Set default tax code per customer location (if applicable)

Integration setup

  1. ✓ Map Shopify tax names to QuickBooks tax codes
  2. ✓ Test with sample orders from different locations
  3. ✓ Verify tax amounts match exactly
  4. ✓ Configure discount posting method (reduce revenue vs separate line)
  5. ✓ Set up alerts for unmapped tax rates

Common mistakes

Using generic “Sales Tax” item: Can’t track by jurisdiction ❌ Posting tax before discount: Wrong tax calculation ❌ Hardcoding tax rates: Breaks when rates change ❌ Forgetting local taxes: Only posting state tax ❌ Not testing multi-state: Mapping breaks in different jurisdictions

Testing your setup

Create test orders in Shopify:

  1. Order from your state (home jurisdiction)
  2. Order from another state (if you have nexus)
  3. Order with discount code
  4. Order with shipping + tax
  5. Partial refund

Verify each posts correctly to QuickBooks with proper tax and discount treatment.

When rates change

Tax rate change process:

  1. Update rate in Shopify
  2. Update rate in QuickBooks
  3. Update integration mapping (if manual)
  4. Test new orders
  5. Historical orders keep old rate (correct)

Accounting apps: Often sync rate changes automatically

Bottom line

Tax and discount mapping is complex and error-prone with manual methods. Unless you’re single-state with simple tax, use an accounting-grade app that handles this automatically.

Incorrect tax posting creates compliance risk and audit headaches—it’s worth getting right from the start.

← Back to all how-tos