/cpa-skills:revenue-trace-to-sourcefrom cpa-skills
Traces revenue from the general ledger to source documents (invoice, contract, cash receipt) to test occurrence and existence. Refuses to record items as tested unless all evidence links are present and amounts agree.
Ships in cpa-skills. 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; scripts run unread.
Before anything else, be clear about which way you are walking, because the two directions test different assertions and are constantly confused:
Tracing from the ledger cannot detect unrecorded revenue, because unrecorded revenue is not in the population you sampled from. If completeness is the concern, this is the wrong procedure and the workpaper must say so rather than implying coverage it does not have. The script states the direction and the assertion on the face of the workpaper for exactly this reason.
An item is not "tested" until the evidence exists. The script refuses to produce a clean workpaper when:
agreed while a difference exists.audit-sampling skill to select from it — that gives you a reproducible seed and a documented
basis, which this skill assumes rather than reinvents.python3 scripts/revenue_trace.py --selections selections.csv \
--population-total 18422900.00 --period-end 2025-12-31 \
--client "Northwind Systems Inc" \
--assertion "Occurrence of recorded revenue for FY2025" \
--template --out trace_worksheet.csv
That emits a worksheet with the evidence columns to fill in. Then run the test:
python3 scripts/revenue_trace.py --selections trace_worksheet.csv \
--population-total 18422900.00 --period-end 2025-12-31 \
--credit-memos subsequent_credits.csv \
--client "Northwind Systems Inc" \
--assertion "Occurrence of recorded revenue for FY2025" \
--out "Northwind - FY2025 Revenue Trace.xlsx"
Each link in the chain answers a different question. Treating them as interchangeable is how a revenue test looks complete while proving little.
| Link | What it proves | What it does not prove |
|---|---|---|
| Invoice | An amount was billed | That anything was delivered, or that the customer accepted it |
| Contract or order | The customer agreed to buy, at a price | That the obligation was satisfied this period |
| Delivery or shipping | Something was transferred | That the customer will pay |
| Cash receipt | The customer paid | Nothing about period — cash can arrive in any period |
Cash is the strongest single link, because a customer paying real money for a real thing is hard to fabricate. But it is timing-neutral: a year-end receivable subsequently collected is perfectly normal. What matters is the combination — no cash, no receivable, and no delivery evidence is the signature of fictitious revenue, and no single link would have surfaced it.
The script computes a completeness-of-evidence score per item and reports which links are missing, so a reviewer can see at a glance whether the population was tested on invoices alone.
Cutoff is where legitimate businesses make errors and where aggressive ones push. The script tests:
--credit-memos and the script matches them against the selections.Recognition timing beyond cutoff — multiple performance obligations, variable consideration, principal versus agent, licences versus services — is judgment. The script flags contracts whose terms suggest such a question exists; it does not conclude on the treatment. Route those to the person signing.
Workbook tabs:
Then, in chat: the direction and assertion first — one sentence, because it bounds everything else — then the population tie, the exceptions with dollar effect, cutoff findings, and what needs a judgment call. If completeness is the client's actual concern, say plainly that this procedure does not address it.
Report each as a fact with the document reference. Do not characterize intent — describe what the documents show and let the engagement decide.
Fully local: standard library plus openpyxl. No network calls, no uploads, no telemetry.
Contract terms and customer data never leave the machine.
pip install openpyxl
Built by Adopt AI — free to use and modify.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub adoptai/cpa-skills --plugin cpa-skills43 skills in this plugin
/accrual-proposalsPropose month-end accruals from open POs received but not yet invoiced (GRNI), recurring vendor spend patterns, and preparer-supplied one-time items, cross-checked against the AP register so nothing is double-booked, with every line carrying a stated basis and an auto-reversal flag for reviewer approval. Never books anything - output is a proposed JE batch for a Controller to approve before it posts to the GL. Use whenever the user mentions month-end accruals, accrual proposals, what should we accrue this month, GRNI, goods received not invoiced, a recurring accrual estimate, or the accrual JE batch for close. Also trigger on "propose accruals," "draft the accrual entries," "what are we missing on the accrual side," or when an open PO report, AP register, or vendor spend history is supplied together at month end. Inverts cutoff-and-unrecorded-liabilities: that proves a search for what was missed is complete; this proposes what to book. Runs fully local - no client data leaves the machine./ar-aging-tie-outTie the accounts receivable aging to the general ledger control account and test it properly — recomputing every ageing bucket from the invoice date rather than trusting the report, grossing up netted credit balances, and flagging stale balances, unapplied cash, and cutoff errors. Use this whenever the user mentions AR aging, accounts receivable aging, tying the aging to the GL, an AR subledger that does not agree to the control account, stale or uncollectible receivables, the allowance for doubtful accounts, unapplied cash or credits, or receivable confirmations. Also trigger on "does our AR aging tie," "reconcile accounts receivable," "which receivables are old," "check the allowance," "why is AR off," "review the aging," or when an AR aging report and a trial balance are provided together. Runs fully local — no customer or receivable data leaves the machine.Other plugins' skills for the same job