đ WealthFam â How To Use Guide â
A comprehensive operating manual for both the Web Dashboard (VueJS) and the Mobile App (Flutter).
đ 1. Getting Started â
First-Time Registration (Web) â
- Navigate to the WealthFam URL and click Register.
- Enter a Family Name (this creates your Tenant â the shared family workspace).
- Fill in your email, password, and profile details (full name, avatar emoji).
- You are now the OWNER of the tenant with full administrative rights.
Mobile App Setup â
- Install the APK on your Android device.
- On first launch, go to Settings â Server Configuration and enter your backend URL.
- Login with the same credentials used on the web.
- The app will generate a unique Device ID. If required, the Tenant Admin must approve this device from Web â Settings â Devices before sync can begin.
Adding Family Members â
- Go to Settings â Family on the web dashboard.
- Click Add Member and provide their email and assign a role:
- Adult: Full financial access.
- Child: Restricted to personal goals only.
- Guest: Read-only.
- The new member can then register with that email and will automatically join your family tenant.
đą 2. SMS Transaction Sync (Mobile â Android) â
Initial Permission Setup â
- Open the mobile app. On first use, it will request SMS and Location permissions.
- SMS Permission: Required for reading bank transaction messages. Grant "Allow".
- Location Permission: Set to "Always Allow" for highest Precision precision. Without this, GPS coordinates will be missing or use last-known position.
How SMS Sync Works â
- Once permissions are granted, the app listens for incoming SMS in real-time, both in foreground and background.
- Each SMS is locally hashed (SHA-256) to prevent duplicates, then sent to the backend with GPS coordinates.
- The backend's AI parser extracts the transaction details (amount, date, merchant, account) and either auto-confirms or places it in the Triage Queue for review.
Enabling the Foreground Service (Recommended) â
- Go to Mobile App â SMS Management â Toggle "Foreground Service".
- This keeps a persistent notification showing
Today: âšX âĸ Month: âšY. - Benefits: More reliable background operation, real-time spending awareness, and poll-based alert delivery when WebSocket is disconnected.
Manual Sync & Catch-Up â
- Tap "Sync Now" on the SMS Management screen to:
- Retry all queued offline messages.
- Scan the device inbox for the last 72 hours of unprocessed messages.
- Use "Push All Unsynced" for a complete inbox scan (all time).
Checking Sync Status â
- The SMS Management screen shows:
- Last Sync Time: When the last successful sync occurred.
- Messages Synced Today: Counter resets daily.
- Queue Count: Number of messages waiting for retry.
- Debug Logs: Raw payloads sent to the backend (enable in settings).
đĻ 3. Account Setup â
Adding Accounts (Web) â
- Go to Settings â Accounts and click Add Account.
- Choose the account type:
- Bank: Savings/Checking (enter an account mask like
XX1234for SMS matching). - Credit Card: Enter credit limit, billing day, and due day for cycle intelligence.
- Wallet: Digital wallets (Paytm, PhonePe, etc.).
- Loan: Will prompt for loan details (see Loans section).
- Bank: Savings/Checking (enter an account mask like
- The Account Mask is critical â it's the last 4+ digits of your account number that appears in bank SMS messages (e.g.,
*1234). This is how WealthFam knows which account an SMS transaction belongs to.
Credit Card Intelligence â
Once you set the Billing Day and Due Day for a credit card, WealthFam performs Precision cycle analysis:
- Statement Balance: Automatically calculated even if the bank doesn't report it (
Current Balance - Unbilled Purchases - Payments Since Statement). - Unbilled Spend: Live tracking of new purchases in the current cycle that haven't shifted to a statement yet.
- Utilization Tracking: Visual indicators and alerts for high debt-to-limit ratios.
- Next Due Date: Real-time ticker showing days remaining until payment is required.
- Credit Outlook: A dedicated dashboard panel for aggregated debt health across all cards.
đ§ 4. Email Sync (CAMS & Bank Emails) â
Setting Up Email Sync â
- Go to Settings â Email Sync on the web dashboard.
- Click Add Email Configuration.
- Provide:
- IMAP Server:
imap.gmail.comfor Gmail,imap-mail.outlook.comfor Outlook. - Email: Your email address.
- Password: For Gmail, use an App Password (not your regular password).
- Folder: Usually
INBOX.
- IMAP Server:
- Enable Auto-Sync to let the system check for new emails every 3 hours automatically.
Manual Email Sync â
- On the Email Settings page, click Sync Now to trigger an immediate scan.
- The sync will fetch unread (or all, depending on configuration) emails, filter out noise, and parse financial transactions.
- Results appear in the Sync Logs section.
CAMS / KFintech CAS Sync (Mutual Funds) â
- Ensure you have an email configuration set up.
- Navigate to Mutual Funds â Settings (or the CAS Sync section).
- If your CAS PDFs are password-protected, enter the standard password (usually your PAN + DOB).
- Click Sync CAS â the system will:
- Scan for emails from
camsonlineor with subject "Consolidated Account Statement". - Download PDF attachments.
- Parse them via the external microservice.
- Map extracted transactions to mutual fund schemes and update your holdings.
- Scan for emails from
đ 5. Using the Dashboard â
Web Dashboard â
The dashboard is your command center. It loads automatically after login:
| Card | What It Shows | Click To |
|---|---|---|
| Net Worth | Total (Bank + Investments - Debt) with 30-day sparkline | Go to Dashboard |
| Monthly Spending | This month's spending vs. last month (same-day comparison) | Go to Transactions |
| Mutual Funds | Portfolio value, P&L, XIRR % | Go to Mutual Funds |
| Remaining Budget | Budget left with % spent | Go to Budgets |
Below the top cards:
- Wealth Compass: Comprehensive wealth overview visualization.
- AI Intelligence: 3 AI-generated insights (auto-refreshes every 24 hours, can force-refresh).
- Activity Pulse: Real-time family activity feed via WebSocket notifications.
- Recent Activity: Last 5 transactions with category icons and member attribution.
- Upcoming Bills: Next 30 days of recurring transactions.
- Credit Outlook: Per-card billing cycle intelligence.
Mobile Dashboard â
The mobile dashboard consolidates all data into a single API call for fast loading:
- Today/Yesterday/Last Month Same Day comparison cards.
- Monthly Total with budget progress bar.
- Daily Spending Trend chart.
- Category Breakdown donut chart.
- Investment Summary (if applicable) with live XIRR.
- Recent Transactions with swipe-to-view.
đŗ 6. Managing Transactions â
Viewing Transactions (Web) â
- Navigate to Transactions from the sidebar.
- Use the filter bar to narrow by:
- Date Range: Custom start/end dates.
- Account: Filter by specific bank/card.
- Category: Filter by spending category.
- Type: Credit/Debit.
- Click any transaction to open the Transaction Modal for full details and editing.
Editing a Transaction â
In the Transaction Modal, you can:
- Change Category, Description, and Recipient.
- Assign to an Expense Group (e.g., "Vacation").
- Mark as Transfer (and link the destination account).
- Link to a Loan (for EMI tracking).
- Toggle Exclude from Reports (hides from budget calculations).
- Attach Documents from the Vault.
Transaction Triage (Review Queue) â
When the parser can't fully auto-categorize a transaction OR confidence is low:
- Navigate to Transactions â Triage tab.
- Each pending transaction shows the parsed data alongside the raw SMS/email content.
- You can:
- Approve: Confirms the transaction as-is (or edit before confirming).
- Discard: Removes it from the queue.
- Bulk Approve: Select multiple and approve at once.
- Approved transactions move to the main
transactionstable.
Adding Transactions Manually â
- Web: Click the "+" button or use the import modal.
- Mobile: Go to the home screen and tap Add Transaction â fill in amount, date, description, category, and account.
đ 7. Mutual Funds & Investments â
Viewing Your Portfolio â
- Click Mutual Funds in the sidebar (Web) or navigate to the funds tab (Mobile).
- The overview shows all holdings grouped by scheme with:
- Current Value, Units, Average NAV, Last NAV.
- Profit/Loss (absolute and percentage).
- XIRR (annualized return).
Fund Details Deep-Dive â
Click any scheme to see:
- Complete Order History (BUY/SELL with dates, NAVs, and units).
- Performance timeline chart.
- Fund category classification (Equity/Debt/Hybrid).
- Option to link the holding to an Investment Goal.
Exploring New Funds â
- Navigate to Mutual Funds â Explore.
- Search by scheme code or name (queries the AMFI database).
- View fund house, category, ISIN, and available scheme codes.
Folio & Multi-Member Tracking â
- Folio Segmentation: Asset positions are uniquely keyed by
schemeCode + folioNumber. The same scheme held in different folios will appear as separate line items for accurate accounting. - Account Ownership: Assign funds to specific family members via the
owner_idto separate personal portfolios within the shared family tenant.
Recalculating Holdings (Force Refresh) â
If you suspect a data discrepancy or Average Cost error:
- Go to Mutual Funds â Sync Logs (Web) or Portfolio Settings (Mobile).
- Click Recalculate Holdings (Web) or Rebuild Portfolio (Mobile).
- What happens?: WealthFam acquires a global database write-lock, wipes the cached position values, and re-executes every historical order chronologically to ensure Average Cost Basis and XIRR are 100% mathematically correct.
â ī¸ 8. Budget Management â
Creating Budgets â
- Navigate to Budgets from the sidebar.
- Click Add Budget and select a category.
- Enter the monthly spending limit (âš).
- Create an OVERALL budget for total family spending.
Understanding Budget Alerts â
WealthFam proactively monitors your spending and sends real-time alerts:
- 80% (Info) đĄ: "You are approaching your limit. Moderate discretionary spending."
- 100% (Warning) đ : "Your limit has been reached."
- 120% (Breach) đ´: "Significant overspending detected."
These alerts are delivered via:
- WebSocket to connected web/mobile clients (instant).
- Push notification on Android (via foreground service).
Hierarchical Budgets â
Parent-level budgets automatically include spending from sub-categories. For example:
- Budget on "Food" â includes all spending under "Dining Out", "Groceries", "Delivery".
- No manual aggregation needed; the system handles rollup automatically.
Budget History & Forecast â
- Budget History Chart: View month-by-month spending trends for each category.
- Spending Forecast: See projected end-of-month spending based on your current daily velocity.
đ¯ 9. Investment Goals â
Creating a Goal â
- Navigate to Investment Goals (Web) or Goals tab (Mobile).
- Click Create Goal and enter:
- Name: e.g., "Retirement Fund", "Dream Home".
- Target Amount: Your financial target (âš).
- Target Date: Optional deadline.
- Icon & Color: Visual customization.
- Owner: Assign to a specific member or the whole family.
Linking Assets to Goals â
Goals support three asset types:
- Mutual Fund Holdings: Link specific scheme holdings. The goal's progress tracks real-time NAV valuations.
- Bank Accounts: Link a bank account. The goal reflects the live account balance.
- Manual Assets: Add assets like EPF, Fixed Deposits, Gold with manual amounts and optional interest rates.
Tracking Progress â
- The goal card shows a progress bar (current value / target amount à 100).
- When milestones are crossed, the system broadcasts a đ¯ Goal Milestone! notification to all family members.
đī¸ 10. Loans & Debt Management â
Adding a Loan â
- Navigate to Loans from the sidebar.
- Click Add Loan and fill in:
- Loan Type: Home, Personal, Car, Education, Credit Card, Other.
- Principal Amount, Annual Interest Rate, Tenure (months).
- EMI Amount, EMI Day (day of month).
- Source Bank Account: Where EMI is debited from.
- A dedicated Loan Account is automatically created.
Amortization & Installment Tracking â
- Open any loan to view its dynamic Amortization Calendar.
- WealthFam calculates your principal/interest split for every month of the tenure.
- Status Indicators:
- â PAID: A matching repayment transaction (EMI Date + Loan ID) was found in your ledger.
- â ī¸ OVERDUE: The due date has passed without a matching repayment detected.
- đ PENDING: Future installments based on the original schedule.
Linking EMI Transactions â
When a bank transaction matches a loan EMI:
- Open the transaction (from Transactions or Triage).
- In the edit view, find the Link to Loan dropdown.
- Select the relevant loan.
- The system updates the outstanding balance, reduces principal, and recalculates interest for the next term.
AI Loan Advisor â
On the Loan Details page:
- Click "Get AI Advice" to receive Gemini-powered analysis including:
- Interest rate comparison with market standards.
- Prepayment strategies to save interest.
- EMI burden assessment.
- Specific actionable tips.
- On the Loans overview page, get portfolio-wide debt strategy (snowball vs. avalanche analysis).
đŧ 11. Expense Groups â
Creating an Expense Group â
- Navigate to Expense Groups from the sidebar.
- Click Create Group and enter:
- Name: e.g., "Goa Trip", "Wedding", "Home Renovation".
- Budget: Total expected spending for this event.
- Date Range: Start and end dates (optional).
- Icon: Emoji for quick identification.
Assigning Transactions â
- From the Transaction Modal, select the Expense Group dropdown.
- From the Expense Group Details page, click Manage Transactions to bulk-assign existing transactions.
- On mobile, use the Manage Group Transactions screen to search and link transactions.
Monitoring Spending â
Each group card shows:
- Budget vs. Consumed with a progress bar.
- Transaction list filtered to the group.
- Date range and activity status.
đ 12. Document Vault â
Uploading Documents (Web) â
- Navigate to Vault from the sidebar.
- Click Upload and select a file.
- Optionally:
- Assign a Document Type (Receipt, Invoice, Certificate, etc.).
- Link to a Transaction.
- Place in a Folder.
Uploading Documents (Mobile) â
- Open the Vault tab on the mobile app.
- Tap the Upload button and select a file from your device.
- Thumbnails are auto-generated for images and PDFs.
Folder Management â
- Create folders to organize documents (e.g., "Tax Documents", "Insurance", "Receipts").
- Drag-and-drop or use Move to rearrange documents between folders.
- Folders can be nested (parent-child hierarchy).
Version History â
- Re-uploading a file with the same name in the same folder automatically creates a new version (v1, v2, v3...).
- Previous versions are preserved and accessible.
Google Drive Cloud Sync â
- Go to Vault â Settings â Cloud Sync.
- Enter your Google OAuth2 credentials (Client ID + Client Secret).
- Complete the authorization flow.
- Click Sync to Cloud â all vault documents are uploaded to a
WealthFam_Vaultfolder in your Google Drive, preserving folder structure.
Linking Documents to Transactions â
- From the Transaction Modal â Documents section, attach documents.
- From the Vault, click any document and use Link to Transaction to associate it.
đ§ 13. AI Configuration & Insights â
Setting Up AI â
- Go to Settings â AI Settings.
- Enter your Gemini API Key (from Google AI Studio).
- Select a Model (e.g.,
gemini-1.5-flash). - Toggle Enable AI.
What AI Powers â
Once configured, AI enhances multiple features:
- Dashboard Insights: 3 AI-generated observations on your spending patterns (refreshes every 24h).
- Loan Advice: Individual and portfolio-wide debt strategy analysis.
- Merchant Cleaning: Converts noisy bank descriptions into clean merchant names.
- Transaction Parsing: Smart extraction of transaction data from raw SMS/email content.
- Structured Insights: 5 detailed insights with type, title, icon, and actionable content.
Managing AI Cache â
- AI insights are cached for 24 hours to minimize API usage.
- On the dashboard, a "Cached" chip appears if showing cached insights.
- Click the Refresh button to force-regenerate fresh insights (uses API quota).
đĄī¸ 14. Privacy & Security â
Masking Mode â
- Use Case: Before reviewing financials in public or sharing your screen.
- How: Toggle the Eye Icon (masking mode) or use the "Toggle Mask" button on the Android foreground service notification.
- Effect: All absolute currency values are obfuscated (multiplied by a large factor). Percentage-based analytics and chart trends remain intact.
Member Privacy â
- Tenant Admins (OWNER role) can view aggregate family data and individual budgets.
- Admins cannot see granular private transaction notes of other "Adult" members unless explicitly shared.
- Child role members only see their personal goals and limited dashboard data.
Device Authorization â
- Every new mobile device generates a unique Hardware ID.
- Navigate to Settings â Devices to see all registered devices.
- Admin must approve each device before it can submit SMS transaction data.
Session Security â
- JWT tokens are tracked via per-session JTI in the
UserTokentable. - Expired and revoked tokens are automatically pruned daily at 03:00 UTC.
- Multiple devices can maintain independent sessions.
đ 15. Recurring Transactions â
Setting Up Recurring Bills â
- Navigate to Insights â Recurring tab.
- Click Add Recurring and fill in:
- Name: e.g., "Netflix", "Electricity Bill".
- Amount and Type (Debit/Credit).
- Frequency: Daily, Weekly, Bi-Weekly, Monthly, Quarterly, Yearly.
- Start Date and Account.
- Category (optional).
- The system automatically generates transactions on the scheduled dates.
How Auto-Generation Works â
- The
daily_recurrence_checkruns every day at 00:01 UTC. - It scans all
RecurringTransactionrecords wherenext_run_date <= nowandis_active == True. - For each match, a transaction is created and
next_run_dateis advanced by the frequency. - Dashboard shows upcoming bills for the next 30 days.
đą 16. Mobile-Specific Features â
Consolidated Dashboard API â
The mobile app uses a single get_consolidated_dashboard() API call that returns:
- Summary metrics (today, yesterday, monthly totals).
- Budget health.
- Daily and monthly trends.
- Category distribution.
- Investment summary.
- Recent transactions.
- Triage count. This minimizes network round-trips for a smooth mobile experience.
Spending Heatmap (Mobile) â
spending_heatmap_widget.dartâ A GitHub-style calendar heatmap showing daily spending intensity.- Color gradients indicate relative spending levels across the month.
Calendar Heatmap â
calendar_heatmap_widget.dartâ Visualize spending patterns across weeks and months with color-coded cells.
Analytics Screen (Mobile) â
analytics_screen.dart(52KB) â Full analytics with charts, category breakdowns, and trend analysis optimized for mobile interaction.
đī¸ 17. Categories & Rules â
Managing Categories â
- Go to Categories from the sidebar (Web) or Categories Management (Mobile).
- Create categories with:
- Name: e.g., "Food", "Transport", "Shopping".
- Icon: Emoji representation.
- Color: Hex color code.
- Type: Expense or Income.
- Parent: Optional â create sub-categories (e.g., "Dining Out" under "Food").
Auto-Categorization Rules â
- Go to Settings â Parser / Categories.
- Create Category Rules:
- Name: Rule identifier (e.g., "Food Apps").
- Keywords: JSON list of matching strings (e.g.,
["Zomato", "Swiggy"]). - Category: Target category to assign.
- Priority: Higher priority rules execute first.
- Is Transfer: Mark as transfer rule with destination account.
- Exclude from Reports: Auto-exclude matched transactions.
Parser Pattern Training â
- Open the Neural Training screen (Mobile) or Transaction Training Modal (Web).
- Select a bank SMS message from the
Unparsedlist. - Label the fields: Amount, Date, Recipient, Account Mask, Ref ID, Category, Balance, Credit Limit.
- Tip: Labeling Balance or Credit Limit will anchor your account's "New Reality" balance.
- Enable Retroactive Sweep to automatically test this new pattern against all other unparsed messages. Matches will be promoted to the Triage queue.
- The system generates a regex pattern and pushes it to the parser service.
- Future SMS from the same sender will be automatically parsed using this pattern.
đˇī¸ 18. Merchant Alias Management â
Creating an Alias â
- Navigate to Transactions or Settings â Parser.
- Click Add Merchant Alias.
- Enter the Pattern (the noisy text from the bank, e.g.,
UPI/ZOMATO/TXN123) and the Clean Name (e.g.,Zomato).
Retroactive Updates â
- When saving an alias, toggle "Update Past Transactions".
- This will scan your entire history and rename all matching transactions to the clean name.
- Use "Preview Impact" first to see how many transactions will be affected before committing.
đ 19. Ingestion Audit & Spam Control â
Monitoring the Audit Trail â
- Go to Settings â Devices â Event Log.
- Here you can see every event:
sms_received,device_login,parse_failed, etc. - Use this to debug why a specific message didn't appear or to verify background sync health.
Managing Spam & Noise â
- Navigate to Triage â Unparsed Messages.
- For unwanted messages (OTP, marketing), you can:
- Dismiss: Removes the single message.
- Mark as Spam: Blocks all future messages from this sender/subject and creates a
SpamFilterrule. - Ignore Pattern: Create an
IgnoredPatternrule for specific keywords to skip in the future.
đĻ 20. Auto-Account Discovery â
How to use Auto-Discovery â
- When a transaction arrives for an unknown account, WealthFam creates a "Detected" account (e.g.,
Detected: SMS (XX1234)). - Navigate to Settings â Accounts.
- Find the account marked with the "Unverified" badge.
- Click Edit, provide a proper name (e.g., "HDFC Savings"), and click Verify.
- All future transactions for this mask will now map to your verified account.
