Form16x CLI — Parse Indian Form 16 Pdfs with Regime Comparision/ Optimization
Posted4 months agoActive4 months ago
github.comTechstory
calmpositive
Debate
0/100
Indian TaxationPDF ParsingCLI Tools
Key topics
Indian Taxation
PDF Parsing
CLI Tools
A CLI tool to parse Indian Form 16 PDFs and compare tax regimes.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
22m
Peak period
1
0-1h
Avg / period
1
Key moments
- 01Story posted
Sep 11, 2025 at 12:24 PM EDT
4 months ago
Step 01 - 02First comment
Sep 11, 2025 at 12:47 PM EDT
22m after posting
Step 02 - 03Peak activity
1 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 11, 2025 at 12:47 PM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45213416Type: storyLast synced: 11/17/2025, 6:14:10 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Beyond extraction, it can: - Consolidate multiple Form 16s (useful if you switched jobs in a year) - Calculate taxes under both regimes and recommend the better option - Show detailed salary and deduction breakdowns in the terminal (tree view, colored output) - Suggest tax optimizations (80C, 80D, NPS, etc.) with potential savings - Expose a Python API (`TaxCalculationAPI`) with multi-year tax rules (AY 2020–2025)
*Repo:* https://github.com/ri-sh/Form16x
### Why I built it Form 16 is similar to a W-2 in the US or a T4 in Canada: a PDF tax certificate with inconsistent layouts across employers. Filing returns often means manually re-entering data, which is error-prone and time-consuming.
Form16x tries to solve this with: - PDF parsing using camelot/pdfplumber with fallback logic - Structured output aligned with the form fields - Local-only processing (no data leaves your machine) - CLI polish (progress bars, colored display, breakdown trees)
Would love feedback from HN on both the technical side (PDF parsing + structured extraction) and whether this approach could extend to other countries’ tax forms.