Documentation Index
Fetch the complete documentation index at: https://mintlify.com/budgetron-org/budgetron/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Budgetron’s budgeting feature helps you monitor spending by category and stay within your financial goals. Set monthly spending limits for expense categories and track your progress with real-time insights and projections.Key Features
Budget Creation
Create budgets by selecting an expense category and setting a monthly spending limit:- Category Selection: Choose any expense category to track
- Monthly Limit: Set your target spending amount per month
- Automatic Tracking: Budgets automatically monitor related transactions
Budget Metrics
Each budget displays comprehensive spending analytics:- This Month Spend: Current month’s spending against the budget
- Last Month Spend: Previous month’s actual spending
- Projected Spend: Estimated month-end spending based on current pace
- YTD Spend: Year-to-date spending for the category
- 1-Year Average: Monthly average spending over the past year
- 3-Month Average: Monthly average spending over the last 3 months
Visual Progress Tracking
Budgets include visual indicators to help you quickly assess your spending:- Progress bars showing percentage of budget used
- Historical spending charts by month
- Color-coded alerts for overspending
User Workflow
Creating a Budget
- Navigate to the Budgets page from the dashboard
- Click the Add button
- Select an expense category from the dropdown
- Enter your monthly spending limit
- Click Create to save
Viewing Budget Details
- From the Budgets page, click Show details on any budget card
- View detailed monthly spending history
- Analyze trends with the monthly spending chart
- Compare actual spending against your budget limit
Updating a Budget
- Click the options menu (⋮) on a budget card
- Select Edit
- Modify the category or spending limit
- Save changes
Deleting a Budget
- Click the options menu (⋮) on a budget card
- Select Delete
- Confirm the deletion
Budget Calculations
Monthly Averages
Budgetron calculates two types of monthly averages:- 1-Year Average: Sum of monthly spending over 12 months divided by number of months
- 3-Month Average: Sum of monthly spending over 3 months divided by 3
Projected Spending
Projected spend estimates your month-end total using this formula:Empty State
When you haven’t created any budgets yet, you’ll see a helpful prompt to create your first budget. This ensures you can start tracking spending immediately.Technical Details
Data Structure
Budgets are stored with the following key information:- Budget ID
- User ID
- Category ID (linked to expense category)
- Monthly amount limit
- Creation and update timestamps
API Integration
Budget data is accessed through the RPC API:budgets.summary(): Fetches all budgets with spending metricsbudgets.details(): Fetches detailed history for a specific budgetbudgets.create(): Creates a new budgetbudgets.update(): Updates an existing budgetbudgets.delete(): Removes a budget
Best Practices
Related Features
- Categories - Learn about expense categories
- Transactions - Track spending that affects budgets
- Reports - Analyze spending patterns across categories