/paywhere-smb:ap-timingfrom paywhere-smb
Answers "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.
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 question is not "what do I owe" but "when should it leave". One
QuickBooks report answers both: the open bills with days until due, and the
habit — how each vendor's bills were paid against their due dates over the
last year. This skill turns that into a pay / hold table. Nothing is paid
here; ../pay-bills stages the approved set.
User: "am I paying anyone early?"
→ In ONE turn, in parallel:
get_vendor_payment_timing {} (open bills + 12-month habit per vendor)
list_accounts (Operating balance vs the pay-now total)
→ PAY NOW = dueWithin7Days · HOLD = notYetDue where vendorHabituallyPaidEarly · NOT YET DUE = the rest
→ Reply: the number first, then the table, then "Stage the pay-now set? That's pay-bills."
Optional third call, only when the owner asks "is that real at the bank":
query_transactions {direction: "debit", descriptionContains: "<vendor stem>", dateFrom: <12 months ago>, limit: 20} for the one vendor with
the largest dollarsPaidEarly. Debit dates should sit at or within a
business day of the books' payment dates; if they do not, trust the bank and
say so. Never loop this over vendors.
Never pull a year of search_bills or search_bill_payments here: the report
already pairs them. Never call get_aged_payables here either — the open
bills in the report are the aging.
Progress tracking: call TaskCreate once per step below before starting
Step 1 (subject = the step's name, e.g. "Step 1 — Read"), 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.
Resolve "today" from the actual date. Issue both reads at once:
get_vendor_payment_timing {} (defaults: 12 months, every
vendor). Add vendor_ref only when the owner named one vendor. The result
carries openBills[] (vendor, docNumber, dueDate, balance,
daysUntilDue), dueWithin7Days[], notYetDue[] (each row flagged
vendorHabituallyPaidEarly) and vendors[] (billsPaid, paidEarly,
meanDaysEarly, dollarsPaidEarly, monthsPaidEarly,
habituallyPaidEarly). Definitions: reference/early-payment-method.md.list_accounts → Operating by role (the primary checking,
never a hardcoded number). Its balance is compared with the PAY NOW total.Without QuickBooks: stop — there is no trustworthy list of what is owed. Without Paywhere: run the table; omit the balance line and say so.
| Action | Rule (from the report) | Show |
|---|---|---|
| PAY NOW | in dueWithin7Days (overdue or due within 7 days) | vendor, DocNumber, open balance, due date, days |
| HOLD | in notYetDue and vendorHabituallyPaidEarly | due date, days to hold, cash kept until then (= the open balance) |
| NOT YET DUE | in notYetDue, no early habit | the date it enters PAY NOW (due date − 7 days) |
The habit is the report's: a bill is paid early when the payment that
closed it posted 5 or more days before its due date; a vendor is
habitually paid early with 3 or more such bills in the window;
meanDaysEarly averages the early-paid bills only. Use those words. A hold
means pay on the due date — ACH takes 1–3 business days, so pay-bills should
stage a held bill about 2 business days before it is due. Never recommend
paying past the due date; pay-when-due is the recommendation, not late
payment. Tax authorities and subcontractors on due-on-receipt terms are never
hold candidates; if one appears in HOLD, move it to PAY NOW and say why.
The number first. Then the table. Then the hand-off.
Paying early: ${dollarsPaidEarly total} across {n} bills from {k} vendors in the last 12 months —
{top vendor's role, e.g. "a parts supplier"}: {paidEarly} of {billsPaid} bills, {meanDaysEarly} days early
on average ({monthsPaidEarly}). Holding what is not due keeps ${HOLD total} in Operating until {latest HOLD due date}.
Open AP ${sum of balance} · PAY NOW ${} ({n} bills) · HOLD ${} ({n}) · NOT YET DUE ${} ({n})
| Action | Vendor | Bill | Amount | Due | Days | Note |
| PAY NOW | … | {DocNumber} | $ | {date} | due in {n} / {n} overdue | |
| HOLD | … | {DocNumber} | $ | {date} | hold {n} | habitually early: {paidEarly} bills, {mean} days |
| NOT YET DUE | … | {DocNumber} | $ | {date} | enters PAY NOW {date} | |
Operating ${balance} covers PAY NOW ${} with ${} to spare. (omit without Paywhere)
Stage the pay-now set? That's pay-bills — holds stay held.
If no vendor is habitually early, the first line is "Nobody is being paid
early: {n} vendors, {m} bills paid in the last 12 months, {p} of them 5+ days
early, none reaching 3." Then the PAY NOW / NOT YET DUE table. If there are
no open bills, say so in one line and skip the table. When a habit is
seasonal (monthsPaidEarly clusters), name the months — that is a real
behaviour, not noise — but do not speculate about the cause.
"Stage the pay-now set" → ../pay-bills, which
stages overdue + due-within-7 bills as one batch and prints the bank's
/confirm URL. Pass the HOLD list along so pay-bills lists those under "not
yet due" rather than staging them. Nothing in this skill stages, pays or
transfers, and it never says "paid".
reference/early-payment-method.md — the report's definitions and the hold rule../pay-bills/SKILL.md — stages the approved set; honours holdsWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub paywhereb/paywhere-claude-plugins --plugin paywhere-smb15 skills in this plugin
/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."
/demo-setupBuilds the presenter's own Nick's HVAC demo bank world on the Paywhere connector's demo-seeder tools (present only on demo deployments): preflight, one approval, an ASYNC seed job polled to completion, then a readback that asserts balances, saved payees and enrichment through the same connector the demo runs on, and reports the answer-key summary (true available cash, reserve shortfall, largest overdue, bills due this week, Friday payroll). Date-aligned to the shared read-only QuickBooks books via get_demo_dates. Presenter use only. Use when someone says "set up the demo," "reset the demo," "seed the demo world," "rebuild the sandbox," or "/demo-setup."