;(function(){if(localStorage.getItem('sidebar_collapsed')==='1'){const s=document.querySelector('.app-sidebar');const m=document.querySelector('.app-main');if(s)s.classList.add('collapsed');if(m)m.classList.add('sidebar-collapsed');}})(); ;(async function(){try{const t=localStorage.getItem('stmtai_token');if(!t)return;const r=await fetch('/api/notifications?unread=true',{headers:{'Authorization':'Bearer '+t}});const d=await r.json();const el=document.getElementById('inbox-count');if(el&&d.unreadCount>0){el.textContent=d.unreadCount;el.style.display='inline-flex';}}catch(_){}})();

Financial Dashboard

Loading...

Revenue

Gross Profit

Net Profit

Gross Margin

Net Margin

Current Balance

Monthly Burn

Breakeven

Working Capital

Cash + AR − AP

Receivables (AR)

View invoices →

Payables (AP)

View bills →

Efficiency

composite score

AI Period Summary

Goals Progress

Gross Margin: /

Net Margin: /

Monthly Revenue vs Expenses

Top Spending Categories

6-Month Forecast

Based on historical trend · linear projection

Top Vendors by Spend

Loading...

Budget vs Actuals

Set Targets →

No budgets set. Set budgets →

AI Advice

Click Generate to get AI-powered recommendations based on your financial data.

vs Previous Period

Loading comparison…

Loading...