Sales tax by state
“show taxable sales and tax collected by shipping province and month from our shopify orders, paid orders only, dedupe exact duplicate orders, and flag california taxable sales with $0 tax as undercollected tax”
Show taxable sales and tax collected by shipping province and month from our Shopify orders, paid orders only, dedupe exact duplicate orders, and flag california taxable sales with $0 tax as undercollected tax, using Created at to define the month and Subtotal as taxable sales.
What the agent built
2 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify ordersCSV export · 18 rows
- StepRemove exact duplicate ordersStep 1
- StepSummarize paid sales by monthStep 2
- ResultTaxable Sales by Province17 rows · 17 flagged
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 17 rows.
- Download Shopify orders sample (18 rows)Shopify Admin: Orders > Export > Current view > All orders (CSV)
What you get back
The result of that run, the rows to look at first.
| Shipping province | Month | Taxable sales (USD) | Tax collected (USD) | Status |
|---|---|---|---|---|
| CA | 2026-09-01 | 92 | 7.16 | No undercollection |
| IL | 2026-09-01 | 184 | 18.04 | No undercollection |
| NY | 2026-09-01 | 251 | 20.16 | No undercollection |
| TX | 2026-09-01 | 130 | 11.20 | No undercollection |
| CA | 2026-10-01 | 182 | 15.12 | No undercollection |
| FL | 2026-10-01 | 208 | 16.64 | No undercollection |
| IL | 2026-10-01 | 67 | 5.91 | No undercollection |
| MA | 2026-10-01 | 94 | 7.92 | No undercollection |
| NY | 2026-10-01 | 319 | 26.17 | No undercollection |
| PA | 2026-10-01 | 145 | 11.92 | No undercollection |
| WA | 2026-10-01 | 76 | 6.16 | No undercollection |
| FL | 2026-11-01 | 61 | 4.78 | No undercollection |
How it works
How to use the Taxable Sales by Province workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Taxable Sales by Province: questions
How do you build a sales tax report by state and month?
Which export should you use?
What happens to rows that do not match the rules?
How do you change the rules in words?
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.
- Customer lifetime value by cohortWork out customer lifetime value by signup month cohort from Shopify customers and orders exports, with revenue per customer and average order count.See the workflow Built by the agent
- Profit and loss by monthBuild a monthly profit and loss statement from a QuickBooks general ledger export, with revenue, COGS, gross profit, expenses, and net income.See the workflow Built by the agent
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Inventory turnover by SKURank Shopify SKUs by inventory turnover ratio using product, order, and inventory exports from the last 12 months.See the workflow Built by the agent
- Cohort retentionEach month's new customers, and the share still buying 1, 2, 3… months laterSee the workflow Template
- Customer segmentation by revenueSegment Stripe customers into revenue tiers from exported customer, charge, and threshold files, then count customers and revenue in each tier.See the workflow Built by the agent