Track credit card annual fees and renewal dates
Adds an annual-fee month and day to credit cards and shows the next renewal on each card's overview. A new Annual fees page lists renewal dates, the annual total, and fees due in the next 60 days.
The transaction detector fills missing fee amounts and dates from annual or membership fee charges, treating a sufficiently refunded fee as waived. Summary totals convert each card's fee to the family currency before adding; unavailable exchange rates display an unknown total.
Migration notes: adds nullable annual-fee month/day columns with range constraints. Existing fee amounts are preserved; detection runs only when requested.
Validation: full Rails suite (16,859 tests, 107,350 assertions, zero failures/errors; 9 skips); controller tests for converted totals and missing exchange rates; 13 browser tests covering mixed-currency fees and existing account-management flows (zero failures/errors); RuboCop, ERB lint, Biome, and Brakeman. Additional account-management browser tests use Capybara keyboard clearing to avoid an input-replacement failure reproduced on unmodified upstream main with Chromium 156. New content and commit history were checked for PII and secrets; examples and screenshots use synthetic data.

Summary by cubic
Adds annual fee month and day to credit cards and shows the next renewal on each card's overview. A new Annual fees page lists renewal dates, the yearly total, and fees due in the next 60 days.
Detection
- A "Find fees in transactions" action fills in missing amounts and renewal dates from annual or membership fee charges in the last 13 months; a fee refunded soon after being charged is treated as waived.
- Detection uses only the card's own currency, never mistakes a positive charge for a refund, and fills in only the missing month or day.
- Summary totals convert each card's fee to the family currency; cards without an exchange rate are left out of the totals and counted instead.
Migration
- Adds nullable
annual_fee_monthandannual_fee_daycolumns with range constraints; existing fee amounts are preserved and detection runs only when requested. - The new fields survive family export and import.
Summary by CodeRabbit
- New Features
- Added annual fee tracking for credit cards, with optional renewal month and day settings.
- Added an annual fees page showing yearly and upcoming totals, the next fee date, and currency conversion status.
- Added an option to detect annual fees from recent card transactions. Existing fee details are preserved, and potential refunds are taken into account.
- Added next-fee timing to card overviews and preserved annual fee dates when importing card details.
- Renewal dates adjust to the last day of shorter months when needed.