Skip to content
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2f94aac
nit
manojag115 Jan 29, 2026
8550f3b
add more structured csv extraction
manojag115 Jan 29, 2026
1d908f4
add fuzzy match
manojag115 Jan 29, 2026
be39f29
add llm fallback
manojag115 Jan 30, 2026
34435e5
llm all the way
manojag115 Jan 30, 2026
a62105f
make some doc changes
manojag115 Jan 30, 2026
8c9b306
add w2 or 1099 parsing
manojag115 Jan 30, 2026
95032cf
add caching for docker allinone
manojag115 Jan 31, 2026
eef73fe
Merge branch 'main' into dev
manojag115 Jan 31, 2026
4c73ab3
fix docker allinone
manojag115 Feb 1, 2026
56e11cf
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
manojag115 Feb 1, 2026
6256b72
nit
manojag115 Feb 1, 2026
b131075
Merge branch 'main' into dev
manojag115 Feb 1, 2026
07ba41b
nit
manojag115 Feb 1, 2026
7627446
fix allinone
manojag115 Feb 1, 2026
cb791a2
Merge branch 'main' into dev
manojag115 Feb 1, 2026
dc6a6a2
decimal
manojag115 Feb 1, 2026
4bb0cec
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
manojag115 Feb 1, 2026
1621661
Merge branch 'main' into dev
manojag115 Feb 1, 2026
ba70359
Merge branch 'main' into dev
manojag115 Feb 2, 2026
0df3ab6
tax handling made better
manojag115 Feb 3, 2026
7ece119
Merge branch 'main' into dev
manojag115 Feb 3, 2026
49f8a71
nit
manojag115 Feb 3, 2026
616e560
fix: align tax form migrations with SQLAlchemy models
manojag115 Feb 3, 2026
8420f3d
Merge branch 'main' into dev
manojag115 Feb 3, 2026
2ca5798
fix: align tax form migrations with SQLAlchemy models
manojag115 Feb 3, 2026
1f865c9
fix: align tax form migrations with SQLAlchemy models
manojag115 Feb 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions financegpt_backend/alembic/versions/2_add_tax_forms_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,15 @@ def upgrade() -> None:
# Payer Information
sa.Column('payer_name', sa.String(255), nullable=True),
sa.Column('payer_tin_hash', sa.String(64), nullable=True),
sa.Column('payer_address', sa.Text, nullable=True),

# Recipient (masked)
sa.Column('recipient_tin_hash', sa.String(64), nullable=True),

# Interest Income
sa.Column('interest_income', sa.Numeric(12, 2), nullable=True), # Box 1
sa.Column('early_withdrawal_penalty', sa.Numeric(12, 2), nullable=True), # Box 2
sa.Column('interest_us_savings_bonds', sa.Numeric(12, 2), nullable=True), # Box 3
sa.Column('interest_on_us_savings_bonds', sa.Numeric(12, 2), nullable=True), # Box 3
sa.Column('federal_income_tax_withheld', sa.Numeric(12, 2), nullable=True), # Box 4
sa.Column('investment_expenses', sa.Numeric(12, 2), nullable=True), # Box 5
sa.Column('foreign_tax_paid', sa.Numeric(12, 2), nullable=True), # Box 6
Expand All @@ -160,8 +164,11 @@ def upgrade() -> None:
sa.Column('specified_private_activity_bond_interest', sa.Numeric(12, 2), nullable=True), # Box 9
sa.Column('market_discount', sa.Numeric(12, 2), nullable=True), # Box 10
sa.Column('bond_premium', sa.Numeric(12, 2), nullable=True), # Box 11
sa.Column('bond_premium_treasury', sa.Numeric(12, 2), nullable=True), # Box 12
sa.Column('tax_exempt_bond_premium', sa.Numeric(12, 2), nullable=True), # Box 13
sa.Column('bond_premium_on_treasury', sa.Numeric(12, 2), nullable=True), # Box 12
sa.Column('bond_premium_on_tax_exempt', sa.Numeric(12, 2), nullable=True), # Box 13
sa.Column('state_code', sa.String(2), nullable=True), # Box 15
sa.Column('state_id', sa.String(50), nullable=True), # Box 16
sa.Column('state_tax_withheld', sa.Numeric(12, 2), nullable=True), # Box 17

sa.Column('field_confidence_scores', JSONB, nullable=True),
sa.Column('raw_extraction_data', JSONB, nullable=True),
Expand Down
Loading