
<strong>Dashboard Overview</strong> — KPI cards showing total tax collected, taxable sales, effective rates, and interactive charts by state/country/over time
Are your WooCommerce taxes actually correct?
If you’re using WooCommerce Tax, TaxJar, or Avalara to calculate sales tax automatically, you’re trusting a black box with your compliance. But what happens when it gets it wrong?
TaxDebug for WooCommerce is your tax safety net. It watches every order, detects problems automatically, and gives you the audit trail your accountant needs.
1. Catches Tax Mistakes Automatically
Our Issue Detection Engine scans every order and flags:
* Zero tax collected where tax was expected
* Tax charged in non-taxable regions (customers complaining about overcharges)
* Rate mismatches vs. reference rates
* Missing local/county/city taxes
* Tax amount changes between cart and checkout
* Suspected API errors from your tax service
2. Shows You Exactly How Every Order Was Taxed
Stop guessing. For every order, TaxDebug shows you:
* Which tax service calculated the rates (WooCommerce Core, WooCommerce Tax, TaxJar, Avalara)
* The exact tax rates applied at line-item level
* Full calculation breakdowns so you can verify accuracy
* Which jurisdiction triggered each tax amount
3. Gives Your Accountant What They Need
Export audit-ready reports in seconds:
* Summary reports by country and state
* Detailed order-level tax breakdowns (CSV, Excel-compatible)
* Issue reports for your review and resolution
* Filter by date range, country, state, tax source, and more
4. Beautiful Dashboard at a Glance
* KPI cards: total tax collected, taxable sales, effective rates
* Interactive charts: tax by state, country, and over time
* One-click issue identification — see which orders need attention
5. 100% Safe — Never Touches Your Tax Calculations
TaxDebug only observes and reports. It does NOT modify how taxes are calculated, does NOT interfere with your existing tax setup, and works alongside any tax plugin.
TaxDebug works with any WooCommerce tax setup:
* WooCommerce Core tax rates (manual rates)
* WooCommerce Tax (automated taxes via TaxJar)
* TaxJar plugin
* Avalara AvaTax
* Any other tax plugin or custom calculation
TaxDebug stores order tax data locally in your WordPress database. This includes:
* Order IDs and dates
* Customer billing/shipping addresses (country, state, city, postcode only)
* Order totals and tax amounts
* Tax calculation details
TaxDebug does NOT:
* Store payment information
* Store full customer names or personal details beyond address location
Data retention can be configured in Settings. You can also manually clear all logs at any time.
TaxDebug collects optional feedback to improve the plugin:
Local Storage: All feedback is always stored locally in your WordPress database.
Optional Remote Sending: You can opt-in to send anonymous feedback to the developer to help improve TaxDebug. This is disabled by default and must be explicitly enabled in Settings.
Go to WooCommerce TaxDebug Settings and turn off “Send Anonymous Feedback”. You can do this at any time. Local feedback storage will continue to work.
TaxDebug provides several hooks for extensibility:
Actions:
* taxdebug_loaded – Fired when TaxDebug is fully loaded
* taxdebug_order_logged – Fired when an order is logged (params: log_id, order_id, payload)
* taxdebug_installed – Fired on plugin installation
* taxdebug_logs_cleaned_up – Fired when old logs are cleaned up
Filters:
* taxdebug_order_payload – Filter the order payload before logging
* taxdebug_detected_issues – Add custom issue detection rules
TaxDebug provides a REST API under the taxdebug/v1 namespace:
GET /logs – Get tax logs with filteringGET /logs/{id} – Get single logGET /logs/order/{order_id} – Get log by order IDPOST /logs/reanalyze/{order_id} – Re-analyze an orderGET /issues – Get detected issuesGET /stats/dashboard – Get dashboard statisticsGET /stats/chart/time – Get time series chart dataGET /stats/chart/state – Get tax by state dataGET /stats/chart/country – Get tax by country dataGET /export/summary – Export summary CSVGET /export/detailed – Export detailed CSVGET /export/issues – Export issues CSVAll endpoints require manage_woocommerce capability.
TaxDebug creates custom tables:
{prefix}taxdebug_logs – Stores order tax log data{prefix}taxdebug_issues – Stores detected issues{prefix}taxdebug_feedback – Stores user feedback submissions{prefix}taxdebug_analytics – Stores usage analytics{prefix}taxdebug_error_logs – Stores internal error logs(Coming in future versions)