LexBill Pro is an industry-grade legal billing and invoice management platform designed specifically for legal professionals. It streamlines complex billing workflows—from court hearings to drafting—while ensuring cloud-synchronized data integrity and professional document output.
Manage all your legal billing in one place. Categorized sections for Appearances, Drafting/Vetting, Discussions, and Miscellaneous Charges.

Populate complex forms in seconds. Pre-configured templates for Indian government departments, CAT cases, and standard fees (HC Appearances, Writ drafting, etc.).
- GST/IGST Support: Automatic tax calculation for Indian legal services.
- Professional Discounts: Apply flat discounts or adjustments with real-time total updates.
- Amount in Words: Automated conversion to professional Indian rupee formatting.
Generate polished Microsoft Word (.docx) and PDF documents on-demand.
- Dynamic Signature Block: Toggle digital or physical signature blocks.
- Firm Branding: Automatic header formatting with your professional identity.
- No Storage Overhead: Documents are generated dynamically from your cloud data.
Fully integrated with Supabase for secure, persistent data storage.
- Private Identity: Manage your professional bar registration, bank details, and office address securely.

- Framework: React 18 + TypeScript
- Styling: Vanilla CSS (Premium Glassmorphism Design)
- Database: Supabase + PostgreSQL (Industry-Grade Schema)
- Document Engine: docx.js + jsPDF
- Icons: Lucide React
git clone [repository-url]
cd LexBillPro
npm install- Create a new Supabase Project.
- Open the SQL Editor in your Supabase dashboard.
- Copy and run the content of supabase/full_schema.sql. This sets up all 10 tables, RLS policies, and automated audit triggers.
Create a .env file in the root directory:
VITE_SUPABASE_URL=your_project_url
VITE_SUPABASE_ANON_KEY=your_anon_keynpm run devsrc/components: UI components (Forms, Dashboard, Preview).src/hooks: Data management and billing logic.src/utils: PDF and Word generation engines.supabase/migrations: Descriptive, numbered SQL migrations.supabase/full_schema.sql: Consolidated "one-go" database setup.
- RLS Enabled: Users can only access their own invoices and identity.
- Audit Trails: Automated
updated_attriggers on every table. - Type Safety: Full TypeScript coverage for billing and auth logic.
Developed with excellence for the legal modern age.
