/paywhere-smb:tax-reserve-checkfrom paywhere-smb
Answers "how much of my balance is actually mine" for a business that collects sales tax and parks it in a separate reserve account: the sales tax inside the payments RECEIVED in the months not yet remitted (one QuickBooks cash-basis report, split by tax item) against the Tax Reserve balance at the bank, the shortfall, the sweep days that were skipped, true available cash (Operating minus the shortfall), and the catch-up transfer Operating to Tax Reserve, moved with one transfer_funds on the owner's yes and confirmed with a balance read. Four reads in two rounds, one transfer. Not tax advice. Use when the owner says "how much of my balance is actually mine," "how much of my cash is really mine," "what's reserved for taxes," "is my tax reserve enough," "am I holding enough for sales tax," "what do I owe on the next remittance," or "did I miss a tax sweep." NOT for "show my balances" or "what's my balance" — those are one list_accounts call and a two-sentence answer, no skill.
Ships in paywhere-smb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The bank knows how much actually sits in the Tax Reserve today. The books
know how much sales tax was inside the payments that landed. This skill puts
the two together, names the gap, names the sweep days that caused it, and
offers the fix: one transfer the owner says yes to. It owns the full method;
reference/true-available.md is the short
form other skills link to.
Not tax advice. Rates, jurisdictions and what is taxable are read from the books (the tax items on the invoices). Say so in the output; the owner's CPA owns the rules.
This skill moves money in exactly one case: the owner says yes to the catch-up. That is an internal transfer between the owner's own accounts — reversible, no counterparty — so it runs directly as ONE
transfer_funds{fromAccountNumber, toAccountNumber, amount, description}and is confirmed withget_account_balanceon the Tax Reserve. Report what the bank shows after the read; never claim a move the call did not confirm, and never move anything before the yes. Vendor payments are different and are not staged here. Full path:../_shared/APPROVAL.md.
User: "how much of my balance is actually mine?"
→ Round 1 — two reads in parallel, never one after another:
list_accounts (roles + balances + exact unmasked numbers)
get_sales_tax_collected {date_from:<1st of last month>} (tax inside payments RECEIVED; total, byItem, byWeek, byPayment)
→ Round 2 — the moment list_accounts returns, both in parallel:
query_transactions {accountNumbers:[<Tax Reserve>], direction:"debit",
descriptionContains:<remittance stem>, dateFrom:<90 days ago>, limit:5} (last remittance → remittance day, month last paid)
query_transactions {accountNumbers:[<Tax Reserve>], direction:"credit",
dateFrom:<12 months ago>, status:["posted"], limit:200} (sweep history → sweep weekday, missed sweeps)
`query_transactions` takes EXACT unmasked account numbers and reads EVERY account when
`accountNumbers` is omitted or empty, so a scoped read cannot go in the same round as the
`list_accounts` that supplies the number. Never guess it and never leave the field empty to
keep one round: an unscoped read folds the owner's own transfers (tax sweeps, savings moves)
into the totals, and they do not net out — a transfer out is a debit whether or not it comes
back somewhere else. If you have already read unscoped, re-read scoped rather than reasoning
from the wide number, and do not narrate the correction to the owner.
→ Window from the remittance debit · collected = the report cut to the window · shortfall = collected − reserve, floor 0
→ Reply: true available first, the terms, the missed sweep days, ONE transfer line, "Move the catch-up?"
User: "yes"
→ ONE transfer_funds {fromAccountNumber:<Operating>, toAccountNumber:<Tax Reserve>,
amount:<shortfall>, description:"Sales-tax catch-up: sweeps missed <dates>"}
→ get_account_balance {accountNumber:<Tax Reserve>} → the reserve balance, read back
→ One closing line: moved, Tax Reserve now $X and covers the next remittance (or still short by $Y).
If list_accounts does not carry balances, add get_account_balance for
Operating and the Tax Reserve to the same turn. Nothing else is read: no
balance sheet, no ledger, no calendar, no per-invoice loop, no pending pull.
Budget: about 30 seconds, at most six calls including the transfer and its balance read.
get_sales_tax_collected is the whole books
side — sales tax on payments received in the window, cash basis,
collected.total, collected.byItem (one entry per tax item, e.g. per
jurisdiction), byWeek[] (Monday–Sunday by payment date) and
byPayment[]. Never rebuild it from search_payments + read_invoice.Progress tracking: call TaskCreate once per numbered step below before
starting step 1 (subject = the step's name, e.g. "1. Read everything at
once"), then TaskUpdate it to in_progress when you begin that step and
completed when it's done. This is what drives Cowork's visible progress
display — it does not happen unless you do it explicitly.
Issue the four reads in the Quick start in one turn. Identify accounts by role, never by number: Operating (the primary checking), Tax Reserve (the savings account whose name mentions tax or reserve), Business Savings (any other savings — reported, never touched). If no account reads as a tax reserve, run the rest as "collected vs nothing set aside" and propose nothing.
The remittance stem is the revenue agency's name as it appears on the
reserve's debits (try REVENUE, then TAX; read the rows — a remittance is
a debit to a government payee, not a transfer out). If the owner has told
you the stem, use it. reference/method.md lists patterns to try.
The window is the months whose tax has not been remitted yet, never "the days since the last debit". A remittance on or after day D of month M pays month M−1, so the window starts on the 1st of the month the last remittance debit posted in and runs to today:
D = the day-of-month of that debit; the next remittance is day D of the coming month (or of this month, if today is before D and last month is still unpaid). No remittance debit in 90 days → use the 1st of last month, take D as unknown, say so in one clause, and let the owner correct it once.
The report was pulled from the 1st of last month — the widest the window can
be. If the window turns out to start this month, re-total from byPayment[]
(txnDate on or after the 1st). When the reply needs the per-item split for
that shorter window, one follow-up get_sales_tax_collected {date_from:<1st of this month>} is the fifth read — still within budget.
shortfall = max(0, collected.total (window) − Tax Reserve balance)
Show what is due on the next remittance by tax item (collected.byItem) and
whether the reserve covers it today. If short, say by how much and how many
days remain to day D.
The 12-month reserve credits are the sweep history (transfers in — a
descriptor with the reserve's name or TRANSFER; ignore interest). The
sweep weekday is the weekday most of those credits post on; with fewer
than three credits there is no cadence — list what you found and ask once
which day the owner sweeps. Walk every occurrence of that weekday from the
earliest credit to the last complete week: no credit within one business day
→ a missed sweep. Name the dates; do not just count them. For weeks
inside the report window, a sweep well under that week's byWeek.collected
is a short sweep — note it, it is not a miss. Exclude the current,
incomplete week.
true available = Operating balance − shortfall
Business Savings is not in the formula. The bank's balance is already net of
pending card authorizations: if the account payload shows a pending or
available figure, name it in one clause; never spend a call on it and never
subtract it. Owner income-tax estimates are paid from Operating, not the
reserve — ../tax-season-organizer covers them; do not compute them here.
If shortfall > 0, the reply ends with one line — Operating → Tax Reserve,
amount = shortfall, why (the missed sweep days) — and exactly "Move the
catch-up?" The yes in the reply is the gate: an internal transfer between
the owner's own accounts is reversible and needs no approval page, so nothing
is staged and nothing moves until the owner answers. If shortfall == 0, say
the reserve is funded and by how much it exceeds what is owed. Never propose
moving money out of the reserve for anything but a remittance; never
touch Business Savings here.
transfer_funds, then read the balanceOn the owner's yes, ONE call:
{ "fromAccountNumber": "<Operating, exact unmasked from list_accounts>",
"toAccountNumber": "<Tax Reserve, exact unmasked>",
"amount": <shortfall>,
"description": "Sales-tax catch-up: sweeps missed <dates>" }
It executes at once. Then get_account_balance on the Tax Reserve and report
what the bank now shows, in one to three lines: the amount moved, the reserve
balance after it, and that it now covers the next remittance (or by how much
it still falls short). If the call returns { error }, say so in one line and
do not claim a move. Never before the yes; never from any account but
Operating; never to any account but the Tax Reserve.
True available today: ${ta} = Operating ${o} − reserve shortfall ${s} (not tax advice)
Window {start} … {today} — months not yet remitted (last remittance {date} paid {month}; next due {day D, month})
Collected on RECEIVED payments {item A} ${x} · {item B} ${y} · total ${t}
Tax Reserve balance ${r}
Shortfall ${s} ← {n} {weekday} sweeps missed: {dates}
Due {next remittance date}: ${t} — reserve {covers it / short ${s}, {k} days to go}
Business Savings ${b} (not in the formula) · pending authorizations ${p} already netted by the bank
Catch-up: move Operating → Tax Reserve ${s}. Move the catch-up?
After the move and the balance read:
Moved Operating → Tax Reserve ${s}. Tax Reserve now ${r+s} — covers the ${t} due {next remittance date}.
No owner present: nobody can say yes, so stage the catch-up instead — a
{rail: "transfer", …, description} line in make_batch_payment — print the
URL in the run output so the notification carries a review link, and dedupe
on the day's output file — see
../_shared/AUTONOMY.md. The weekly sweep itself
is ../tax-sweep-agent.
| Missing | Effect |
|---|---|
| Paywhere | Stop — no reserve balance, no sweep history, nothing to move. |
| quickbooks | Report the reserve balance, the sweep history and the next remittance day; say the collected figure cannot be computed; propose nothing. |
| No reserve account | Report collected vs "nothing set aside"; propose nothing; suggest opening one. |
transfer_funds, Operating → Tax Reserve, then a balance read. Never
before the yes; never claim a move the read did not confirm.make_batch_payment and is another skill's job.list_accounts, never typed.reference/method.md — formulas, window rule, descriptor stems, the sweep-day testreference/true-available.md — the short form other skills link to../_shared/APPROVAL.md — the approval path in full../tax-sweep-agent/SKILL.md — the scheduled weekly sweep../tax-season-organizer/SKILL.md — owner income-tax estimates and 1099s (not sales tax)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/ap-timingAnswers "am I paying anyone early, and what should I hold?" for accounts payable in one QuickBooks call: every open bill split into due-within-7-days and not-yet-due, plus each vendor's 12-month habit (bills paid at least 5 days before the due date, mean days early, dollars paid early, habitually early when 3 or more bills were). Produces a PAY NOW / HOLD / NOT YET DUE table with the cash a hold keeps in the account until the due date, and checks the pay-now total against the Operating balance. Read-only; hands off to pay-bills to stage payments. Use when the owner says "am I paying anyone early," "which vendors do I pay earlier than necessary," "what should I hold," "what's due this week and what can wait," or "what bills are coming due." NOT for staging or paying bills — that is pay-bills.
/big-purchase-decisionAnswers "can I afford this?" for a large purchase (a work van, a truck, equipment) from cleared cash rather than book profit, in five tool calls: today's balance, twelve months of monthly cash from the bank (the year's highs and lows), the last payroll debits (the cushion), and the dealer / lender / insurer emails for the price, terms and deadline. Always answers SHORT — a verdict, the number behind it, one caveat, under 120 words — and offers depth rather than volunteering it; preparing a lender application is credit-readiness, invoked explicitly. Read-only, stages nothing. Use when the owner says "can I afford the van / a new truck / new equipment," "can I buy a van this week for $X," "cash or finance," "when is the safest month to buy," "should I buy a second van," or "what if I put $10k down."
/cash-bridgeReconciles "the books say I made money" with what the Operating balance actually did, in either direction: cash down while profitable, or cash up by more than profit. A profit-to-cash bridge for one month (the last full month by default) built from the accrual P&L and two balance-sheet snapshots — receivables change, payables change, inventory and equipment, undeposited funds, sales-tax and other liabilities, owner distributions, money moved to the reserve and savings, depreciation — with each line's source named, a residual, and the bank's own change in Operating as the check. Read-only, five calls in one turn. Use when the owner says "QuickBooks says I made money last month, why is my cash lower," "why doesn't my bank balance move with my profit," "I made X last month, where is it," "my cash went up more than I made," "profit vs cash," "where did the profit go," or "bridge profit to cash." NOT for "how am I doing" or "what's my balance" — those need no skill.
/credit-readinessPrepares a loan or credit application from cleared cash — generic, any borrowing purpose: twelve month-end balances of the operating account from the bank's monthly aggregates, the three troughs and what caused them, the deepest peak-to-trough drop as the working-capital gap, a facility sized from that gap (gap x 1.25, rounded up to $5k), the repayment source, the receivables and the books' P&L and balance sheet the lender will ask for, and any lender document checklist found in email. Six read calls in one parallel turn, then one file: bank/credit-readiness-YYYY-MM-DD.md. Read-only, stages nothing. EXPLICITLY INVOKED ONLY — the long-form package a lender asks for, never volunteered mid-conversation. Use when the owner says "what should I bring to the bank," "prepare a package for the bank," "get me ready for the loan application," "how much credit do I need," or "what's my working capital gap." NOT for "can I afford this" — that is big-purchase-decision, which answers in a line or two and offers this.
/daily-cash-briefThe scheduled morning cash brief (autonomous agent). Every weekday it reads the bank, the books and the calendar in one parallel turn, writes briefs/YYYY-MM-DD.md (balances by role, true available cash, this week's dated obligations, exceptions: overdue invoices with no bank credit, bills due within 7 days, not-yet-due bills to hold because the vendor is habitually paid early, the tax-reserve shortfall, pending authorizations) and STAGES one batch (reserve top-up transfer + bills due within 7 days) for the owner to approve on the bank's /confirm page with a passkey. Proposes, never executes; drafts only; degrades gracefully; about ten tool calls (a scheduled agent is exempt from the six-call bar). Use when the owner says "run my morning cash brief," "daily cash brief," "morning brief," or schedules "every weekday at 7:30 run my morning cash brief." NOT for "what's my cash" or "show my balances" asked in conversation — those get a direct answer, not a brief.
/demo-injectPRESENTER-ONLY, demo deployments only. Posts live "money just landed" or "payment bounced" events into the presenter's own mock-bank world with the demo-seeder tools (deposit_to_mock_account, withdraw_from_mock_account) so the next owner prompt sees them: simulate a late customer paying, an emergency-call card settlement, a failed autopay. Reads the amounts from the live answer key; never hardcodes them. Not an owner skill. Use when the presenter says "inject a deposit," "simulate a customer paying," "simulate Westport paying," "post a demo deposit," "make the autopay fail," "demo inject," or "live inject."
npx claudepluginhub paywhereb/paywhere-claude-plugins --plugin paywhere-smb