Overview
Thefile-taxes command is the main entry point for EZFile. It reads your W-2 document (PDF or image), extracts all data, asks intake questions, calculates your complete Form 1040 (or 1040-SR for seniors) line by line, and provides state tax guidance.
Syntax
Path to your W-2 document. Can be a PDF file or image (JPG, PNG).
What It Does
The command follows a complete 9-step workflow:- Reads your W-2 - Extracts all boxes (1-20) using multimodal document processing
- Validates data - Checks Box 4 ≈ Box 3 × 6.2% and Box 6 ≈ Box 5 × 1.45%
- Shows extracted data - Displays a summary with SSN masked to last 4 digits
- Asks intake questions - Date of birth, student loan interest, tips, overtime, auto loan interest
- Checks scope - Verifies you fit EZFile’s single W-2 filer profile
- Calculates return - Computes the full 10-step tax calculation
- Shows summary - Displays complete return with all line items
- Provides state guidance - Gives state-specific tax notes based on W-2 Box 15
- Saves data - Writes return data to
./returns/return-2025.jsonand./returns/summary-2025.md
Example Usage
Output Format
Disclaimer (Shown First)
W-2 Extraction Summary
Complete Return Summary
State Tax Note
The command automatically reads your state from Box 15 and provides state-specific guidance. For example:Intake Questions
The command asks these questions using Claude’s AskUserQuestion tool:-
Date of birth - Determines Form 1040 vs 1040-SR and standard deduction amount
- Born before January 2, 1961 → Form 1040-SR, $17,750 standard deduction
- Born January 2, 1961 or later → Form 1040, $15,750 standard deduction
-
Student loan interest - For Schedule 1, Line 21 above-the-line deduction
- Max deduction: $2,500
- Phaseout: 100,000 MAGI
-
Tips - For Schedule 1-A, Line 1 deduction (new for 2025)
- Phaseout: 100,000 MAGI
-
Overtime - For Schedule 1-A, Line 2 deduction (new for 2025)
- Phaseout: 100,000 MAGI
-
Auto loan interest - For Schedule 1-A, Line 3 deduction (new for 2025)
- Max deduction: $10,000
- Phaseout: 100,000 MAGI
The 10-Step Calculation
The command implements the complete Form 1040 calculation pipeline:Data Privacy
CRITICAL: The command NEVER stores or displays full Social Security Numbers. All SSNs are immediately masked to XXX-XX-NNNN format (last 4 digits only). All processing is local — no tax data is transmitted over the network.
Next Steps
After runningfile-taxes, the command suggests:
- Run
/ezfile:checklistfor step-by-step filing instructions - Run
/ezfile:explain <topic>to understand any line item - Run
/ezfile:reviewto see the summary again
Files Created
./returns/return-2025.json- Complete return data (all line values)./returns/summary-2025.md- Human-readable summary