Skip to main content

Phase Roadmap

Proxima Invoice is developed in 6 phases. Each phase builds on the previous one.

Phase Overview

Phase 1: Core Invoice Builder

Status: Complete

The foundation — client browsing, invoice generation, editing, and PDF output.

FeatureStatus
PostgreSQL + ClickHouse setupDone
Database migrations (15 files)Done
Client list from ClickHouseDone
3-step invoice generatorDone
Prefill pipeline (ClickHouse → preview)Done
Financial calculations (SUP/HR/FP)Done
Draft editing with audit trailDone
HTML template rendering (Russian + English)Done
PDF generation via GotenbergDone
Invoice registry with filtersDone
React frontend with shadcn/uiDone
29 test functions, 166 test casesDone

Phase 2: Approval Workflow

Status: Complete

Status state machine enforcement with approve/decline/send/accept/reject/mark-paid actions.

FeatureStatus
Approve/decline/send/accept/reject/mark-paid API endpointsDone
Status transition enforcementDone (Phase 1)
Decline with reasonDone
Reject with reasonDone
Full-page invoice detail (replaces sliding panel)Done
Regenerate from declined/rejected/approvedDone
Monthly limit stored on invoiceDone
Overtime row format fixDone
Period date range formatDone
International template preambleDone
Telegram notifications (optional)Done
Editable HTML previewDone
Worklog dates on line itemsDone

Phase 3: PlanFact + R2

Status: Complete

Auto-sync approved invoices to PlanFact accounting and store PDFs in Cloudflare R2.

FeatureStatus
Cloudflare R2 PDF upload (best-effort on approve)Done
R2 public URL generationDone
PlanFact shipment creation (async on approve)Done
PlanFact deal + project lookup by application_keyDone
PlanFact item building by deal type (SUP/HR/FP)Done
Manual retry endpoint (POST /sync-planfact)Done
Integrations card in frontend (R2 link + PlanFact status + Retry)Done
Nil-safe services (disabled when env vars not set)Done
E2E tests (backend + Playwright)Done

Phase 4: Didox.uz

Status: Planned

E-invoicing for local (UZS) clients via Didox.uz and email delivery for international clients.

FeatureStatus
Didox API integrationPlanned
Document submissionPlanned
Status tracking (webhook callbacks)Planned
International email deliveryPlanned
Status: sent → accepted/rejectedPlanned

Phase 5: Pricing Calculator

Status: Planned

Unit economics analysis, client margin calculations, and quote generation using dbt finance models from ClickHouse.

FeatureStatus
Client margin analysisPlanned
Quote generationPlanned
What-if scenariosPlanned
Calculator snapshotsPlanned (DB ready)
SLA tier comparisonPlanned

Phase 6: Dashboard + Reporting

Status: Planned

Revenue trends, payment tracking, aging reports, and operational dashboards.

FeatureStatus
Revenue by month/clientPlanned
Payment status trackingPlanned
Aging reportsPlanned
Client health metricsPlanned
Export to CSV/ExcelPlanned