- Home
- Skills
- Finance & Accounting
- Year-End Expense & 1099 Tax-Prep Audit Gate
Works with the AI Agents you already use
Year-End Expense & 1099 Tax-Prep Audit Gate
Year-end tax-prep audit gate: Decimal-exact Schedule C rollups, SHA-256 duplicate-claim detection, receipt substantiation over $75, and 1099-NEC W-9 checks for contractors paid $600+. Offline Python stdlib, exit-1 gate.
$19
Year-End Expense & 1099 Tax-Prep Audit Gate
Example session with this skill installed
Audit my current tax year expenses in ledger.csv and contractors.csv against my receipt_manifest.json using the standard IRS $75 receipt threshold.
- Read your context and instructions
- Compiled the year-end expense
- Generated the data export
I have executed the deterministic audit gate on your tax records. The engine detected 3 compliance violations that must be remediated before the tax packet can be finalized.
Audit Results: [BLOCKED]
| Gate | Status | Findings |
|---|---|---|
| UNCATEGORIZED | FAIL | 1 row (Vendor: "Amazon", Amount: 42.50) |
| DUPLICATE_CLAIM | FAIL | 1 collision (Date: 2023-05-12, Vendor: "Adobe", Amount: 52.99) |
| MISSING_RECEIPT | FAIL | 1 violation (Vendor: "Apple Store", Amount: 899.00, Threshold: 75.00) |
| NEC_THRESHOLD | PASS | 0 contractors >= 600.00 missing W-9 |
Schedule C Category Rollup Proof
- Office Expenses: 1,240.55
- Software/Subscriptions: 645.20
- Travel: 312.00
- Uncategorized: 42.50
- Grand Total: 2,240.25
- Invariant Check: [MATCH] (Sum of categories equals total exactly)
Next steps
- Assign an approved Schedule C category to the Amazon transaction in
ledger.csv. - Verify if the Adobe charge on 2023-05-12 is a duplicate export or a separate valid transaction.
- Attach the missing receipt for the 899.00 Apple Store purchase to the
receipt_manifest.json.
ledger.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Above-the-Fold Hook (3-Second Value)
Stop letting AI agents guess Schedule C categories, sum tax totals with floating-point math, double-deduct duplicate claims, or sign off on Form 1099-NEC contractors without verified W-9s.
Year-End Expense & 1099 Tax-Prep Audit Gate delivers a deterministic 3-layer tax-prep guardrail (SKILL.md 5-step audit SOP + JSON Schema Draft 2020-12 contracts + zero-dependency Python 3 stdlib decimal.Decimal audit engine) that proves exact cent-level Schedule C category rollups offline, detects duplicate claims via SHA-256 fingerprints, substantiates every receipt above $75.00 against your receipt manifest, audits Form 1099-NEC W-9 compliance for contractors paid $600.00+, and exits 1 ([BLOCKED]) on any compliance gap.
What's Inside (3-Layer Architecture + 60-Second Test Pack)
- Layer 1 — Tax-Prep Audit SOP (
SKILL.md): Strict 5-step operational playbook for Claude Code, Cursor, and Codex CLI enforcing Config Validation -> Ledger & Manifest Verification -> Deterministic Audit Gate Execution -> Source Record Remediation -> Clean Re-Run, backed by non-negotiable rules (no guessing categories, no silent duplicate acceptance, no unverified W-9 sign-off, zero float/mental math). - Layer 2 — JSON Schema Draft 2020-12 Contracts (
schemas/):schemas/audit_config.schema.json: Strictly typed tax-year configuration contract definingtax_year, ISO 4217currency, approved Schedule Callowed_categories,receipt_required_above(decimal string, e.g."75.00"), andnec_threshold(decimal string, default"600.00"), explicitly forbidding native JSON floats.schemas/audit_report.schema.json: Machine-readable audit report contract coveringstatus,exit_code,tax_year,category_rollups, exactgrand_total,rollup_verification(sum(rollups) == grand_total),contractor_summary, structuredviolations, andsummarycounts.
- Layer 3 — Zero-Dependency Audit Engine (
scripts/expense_1099_gate.py): 100% Python 3 standard library (argparse,csv,datetime,decimal,hashlib,json,pathlib,re,sys,typing) that:- Performs exact
decimal.Decimalarithmetic quantized to0.01, explicitly rejecting native JSON floats and sub-cent truncation. - Flags
UNCATEGORIZEDexpenses (blank or outsideallowed_categories) while still rolling them up under<UNCATEGORIZED>sosum(category_rollups) == grand_totalholds to the exact cent. - Detects
DUPLICATE_CLAIMlines by hashing normalizeddate|vendor_normalized|amountwith SHA-256. - Flags
MISSING_RECEIPTfor any expense strictly greater thanreceipt_required_above(amount > $75.00) whosereceipt_fileis blank or absent from the receipt manifest JSON. - Aggregates contractor payments and flags
NEC_THRESHOLD_UNFILEDfor any contractor paid>= nec_threshold(>= $600.00) withw9_on_file=false. - Emits pure-ASCII terminal output (Windows
cp1252-safe), supports--jsonand--out-report <path>, and exits0on[PASS]or1on[BLOCKED].
- Performs exact
- 60-Second Test Pack (
examples/):examples/audit_config.json: Ready-to-run 2026 USD Schedule C audit config (receipt_required_above: "75.00",nec_threshold: "600.00").examples/expenses_fail.csv,examples/contractors_fail.csv,examples/receipts_fail.json: Realistic broken year-end packet planting exactly 4 violations — 1UNCATEGORIZED(Signal Boost Media), 1DUPLICATE_CLAIM(Harbor Legal LLP$1,250.00duplicated), 1MISSING_RECEIPT(Delta Air Lines$385.20absent from manifest), and 1NEC_THRESHOLD_UNFILED(Marcus Cole Analytics$1,850.00withw9_on_file=false).examples/expenses_pass.csv,examples/contractors_pass.csv,examples/receipts_pass.json: Remediated year-end tax packet with 0 violations, exact Schedule C rollups summing toUSD 3,204.70, and 3/3 Form 1099-NEC contractors W-9 verified (exit 0).
Who This Is For & Prerequisites
Built for:
- Solo founders, freelancers, LLC owners, bookkeepers, and fractional finance ops teams preparing year-end Schedule C expense rollups and Form 1099-NEC W-9 packets offline without uploading sensitive financial CSVs to third-party web tools.
- AI coding agent users (Claude Code, Cursor, Codex CLI) who want a deterministic, cent-exact Python audit gate before handing tax packets to a CPA or filing software.
Prerequisites:
- Python 3.9+ (uses Python 3 standard library only — zero
pip install, zero external packages, zero network calls). - Works cross-platform on Windows (pure ASCII
cp1252-safe output), macOS, and Linux.
60-Second Quick-Start
Run directly from the skill folder:
# 1. Run FAIL fixtures (catches 1 UNCATEGORIZED, 1 DUPLICATE_CLAIM, 1 MISSING_RECEIPT, 1 NEC_THRESHOLD_UNFILED)
python scripts/expense_1099_gate.py \
--expenses examples/expenses_fail.csv \
--contractors examples/contractors_fail.csv \
--receipts examples/receipts_fail.json \
--config examples/audit_config.json
# 2. Run PASS fixtures (proves exact Decimal rollups == USD 3,204.70 with 0 violations)
python scripts/expense_1099_gate.py \
--expenses examples/expenses_pass.csv \
--contractors examples/contractors_pass.csv \
--receipts examples/receipts_pass.json \
--config examples/audit_config.json
# 3. Emit machine-readable JSON report (or save with --out-report audit_report.json)
python scripts/expense_1099_gate.py \
--expenses examples/expenses_pass.csv \
--contractors examples/contractors_pass.csv \
--receipts examples/receipts_pass.json \
--config examples/audit_config.json \
--json
Real Terminal Proof
1. FAIL Gate — Catching Uncategorized Line, Duplicate Claim Hash, Missing Receipt & Unfiled 1099-NEC W-9 (exit code 1)
$ python scripts/expense_1099_gate.py --expenses examples/expenses_fail.csv --contractors examples/contractors_fail.csv --receipts examples/receipts_fail.json --config examples/audit_config.json
============================================================================
YEAR-END EXPENSE & 1099 TAX-PREP AUDIT GATE -- EXACT DECIMAL REPORT
============================================================================
Tax Year : 2026 | Currency: USD
Thresholds : Receipt required if amount > USD 75.00 | 1099-NEC if paid >= USD 600.00
Records Scanned : Expenses=8 | Contractors=4 | Receipts Manifest=5
----------------------------------------------------------------------------
SCHEDULE C CATEGORY ROLLUPS (EXACT DECIMAL):
[OK] Insurance | 1 line(s) | USD 620.00
[OK] Legal and Professional Services | 2 line(s) | USD 2,500.00
[OK] Office Expense | 1 line(s) | USD 64.50
[OK] Rent or Lease | 1 line(s) | USD 450.00
[OK] Software and Subscriptions | 1 line(s) | USD 240.00
[OK] Travel | 1 line(s) | USD 385.20
[UNAPPROVED] <UNCATEGORIZED> | 1 line(s) | USD 195.00
------------------------------------------------------------------------
GRAND TOTAL | 8 line(s) | USD 4,454.70
Rollup Proof : sum(rollups) USD 4,454.70 == grand_total USD 4,454.70 [EXACT MATCH]
----------------------------------------------------------------------------
FORM 1099-NEC CONTRACTOR W-9 AUDIT:
[1099_READY] Elena Vance Design LLC | USD 3,400.00 | W-9=YES
[W9_MISSING] Marcus Cole Analytics | USD 1,850.00 | W-9=NO
[BELOW_600] Priya Nair Copywriting | USD 525.00 | W-9=NO
[1099_READY] Summit Dev Studio LLC | USD 600.00 | W-9=YES
Contractor Totals : 4 contractor(s) | Paid=USD 6,375.00 | 1099 Required=3 (W-9 On File=2, Missing=1)
----------------------------------------------------------------------------
VIOLATION COUNTS : UNCATEGORIZED=1 | DUPLICATE_CLAIM=1 | MISSING_RECEIPT=1 | NEC_THRESHOLD_UNFILED=1
[BLOCKED] Tax packet rejected: 4 violation(s) detected. Resolve every item in source files before tax filing.
============================================================================
# Exit code: 1
2. PASS Gate — Remediated Year-End Tax Packet Approved (exit code 0)
$ python scripts/expense_1099_gate.py --expenses examples/expenses_pass.csv --contractors examples/contractors_pass.csv --receipts examples/receipts_pass.json --config examples/audit_config.json
============================================================================
YEAR-END EXPENSE & 1099 TAX-PREP AUDIT GATE -- EXACT DECIMAL REPORT
============================================================================
Tax Year : 2026 | Currency: USD
Thresholds : Receipt required if amount > USD 75.00 | 1099-NEC if paid >= USD 600.00
Records Scanned : Expenses=7 | Contractors=4 | Receipts Manifest=6
----------------------------------------------------------------------------
SCHEDULE C CATEGORY ROLLUPS (EXACT DECIMAL):
[OK] Advertising | 1 line(s) | USD 195.00
[OK] Insurance | 1 line(s) | USD 620.00
[OK] Legal and Professional Services | 2 line(s) | USD 1,250.00
[OK] Office Expense | 1 line(s) | USD 64.50
[OK] Rent or Lease | 1 line(s) | USD 450.00
[OK] Software and Subscriptions | 1 line(s) | USD 240.00
[OK] Travel | 1 line(s) | USD 385.20
------------------------------------------------------------------------
GRAND TOTAL | 7 line(s) | USD 3,204.70
Rollup Proof : sum(rollups) USD 3,204.70 == grand_total USD 3,204.70 [EXACT MATCH]
----------------------------------------------------------------------------
FORM 1099-NEC CONTRACTOR W-9 AUDIT:
[1099_READY] Elena Vance Design LLC | USD 3,400.00 | W-9=YES
[1099_READY] Marcus Cole Analytics | USD 1,850.00 | W-9=YES
[BELOW_600] Priya Nair Copywriting | USD 525.00 | W-9=NO
[1099_READY] Summit Dev Studio LLC | USD 600.00 | W-9=YES
Contractor Totals : 4 contractor(s) | Paid=USD 6,375.00 | 1099 Required=3 (W-9 On File=3, Missing=0)
----------------------------------------------------------------------------
VIOLATION COUNTS : UNCATEGORIZED=0 | DUPLICATE_CLAIM=0 | MISSING_RECEIPT=0 | NEC_THRESHOLD_UNFILED=0
[PASS] Tax packet audit approved: 0 violations, exact grand total USD 3,204.70, 3/3 1099-NEC contractor(s) W-9 verified.
============================================================================
# Exit code: 0
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.
Requires Python 3 stdlib. Inputs must strictly follow provided CSV/JSON schemas. Only audits for Schedule C and Form 1099-NEC thresholds.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python