Live demo
BeginnerRun expense reports through an accountable-plan rule engine
Drag invented expense reports through a browser-only rule engine that checks business purpose, substantiation and returned excess against the 30, 60 and 120-day fixed-date safe harbor in 26 CFR 1.62-2. Illustrative only, not tax advice.
What this runs: deterministic rules written in this page's own JavaScript. No model, no network requests, no saving, unless you accepted the site's analytics, which can record part of a field you click and text you copy. Every person, amount and date below is invented. The outcome is a teaching flag, not a tax determination; confirm real cases with your accountant or payroll provider.
1. Pick a report
Drag a card onto the engine, or select it and press Run through engine.
2. Adjust it
3. Run the engine
4. Employee by employee
Paragraph (i) says the rules "will be applied on an employee-by-employee basis." Each card shows that person's last engine result.
What you just ran
- Business connection: passes only if the report states a business purpose for the organization's work.
- Substantiation: passes if a receipt is attached and the report arrives within 60 days after the expense, the fixed-date safe harbor in paragraph (g)(2)(i).
- Return excess: only substantiated spending offsets an advance. With no receipt the whole advance counts as unaccounted for and fails; otherwise the unspent excess passes if it comes back within 120 days, and a late return flags only that excess, per (c)(3)(ii).
- Advance timing: skipped if there is no advance; otherwise passes if paid within 30 days of the expense.
Missing a safe-harbor day count does not by itself prove a period was unreasonable; the lab flags it for review because the safe harbor no longer covers it. The periodic-statement method in (g)(2)(ii), per diem rules and state wage laws are not modeled. "Fix it after the fact" keeps the verdict from before the fix and sends the payment to payroll, because fixing a report afterward doesn't change what it showed when it was due. A single failed payment is a per-employee question under paragraph (i). The (c)(3)(i) rule that "all amounts paid under the arrangement are treated as paid under a 'nonaccountable plan'" is about a plan that does not meet paragraphs (d), (e) and (f), for example one that never requires substantiation at all.
Sources are the companion tutorial's: 26 CFR 1.62-2 on eCFR and IRS Publication 463 (2025). Read the tutorial