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
Checked on the sample files: every step ran, 17 rows came out.
- 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 do you build a sales tax report by state and month?
Export your Shopify orders, then upload the file. The workflow uses Created at for the month, Subtotal for taxable sales, and shipping province for state, then removes exact duplicate orders and keeps paid orders only. It shows taxable sales and tax collected by state and month, and flags California taxable sales with $0 tax as undercollected tax. Rows that do not match the rules stay in the report unless the step tells them otherwise.
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 checked on the 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
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 will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Consolidate entities, compare budget to actual, build a trial balance, review month-on-month moves and work out commission.
- 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
- Real estate commission splitWork out real estate commission on each closed sale and split it between the listing agent, buying agent and brokerage.See the workflow Built by the agent
- Loan amortization from statementsBuild a monthly loan amortization schedule from an Excel export, with interest, principal, and remaining balance for each loan.See the workflow Built by the agent
- Accrued expenses scheduleBuild an accrued expenses schedule from QuickBooks exports. Match purchase orders to vendor bills, calculate unbilled amounts, and flag items that need accrual.See the workflow Built by the agent
- Cash conversion cycle by monthWork out cash conversion cycle each month from QuickBooks exports, using month-end balances and monthly sales.See the workflow Built by the agent
- Expense report from card transactionsTurn Amex card exports into an expense report per employee, with category totals and missing receipts flagged.See the workflow Built by the agent