Testing: Finances
Test invoices, expenses, budgets, and payment tracking.
Demo Credentials
| Role | Password | Tenant | |
|---|---|---|---|
| Admin | daniel.harris@example.com | Demo1234! | demo-association |
Test 1: Financial Dashboard
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Log in as admin
- Click Finances in the sidebar
- ✅ See total revenue, pending invoices, expenses, budget status
curl -s https://ams.14.jugaar.ai/api/v1/finances/finances/dashboard \
-H "Authorization: Bearer $TOKEN" | python3 -m json.tool
Expected: 200 OK with revenue, expense, and budget summaries.
Test 2: Invoices
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- In Finances, browse the invoices list
- ✅ See 13 seeded invoices with different amounts and statuses
- Click an invoice to see details
# List invoices
curl -s https://ams.14.jugaar.ai/api/v1/finances/finances/invoices \
-H "Authorization: Bearer $TOKEN"
# Invoice stats
curl -s https://ams.14.jugaar.ai/api/v1/finances/finances/invoices/stats \
-H "Authorization: Bearer $TOKEN"
Test 3: Expenses
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Browse the expenses section
- ✅ See 31 seeded expenses (venue, catering, marketing, tech, travel)
curl -s https://ams.14.jugaar.ai/api/v1/finances/finances/expenses \
-H "Authorization: Bearer $TOKEN"
Test 4: Budgets
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Check the budgets section
- ✅ See 17 budgets with progress bars (spent vs. allocated)
curl -s https://ams.14.jugaar.ai/api/v1/finances/finances/budgets \
-H "Authorization: Bearer $TOKEN"
Expected Results
| Test | Easy | API |
|---|---|---|
| Dashboard | Revenue/expense cards | 200 + financial summary |
| Invoices | Invoice list with statuses | 200 + items array |
| Expenses | Expense list with categories | 200 + items array |
| Budgets | Budget progress bars | 200 + items array |