Skip to content

A professional-grade legal billing platform with automated GST support, premium Word/PDF generation, and industry-standard Supabase cloud synchronization.

Notifications You must be signed in to change notification settings

ayushvarma7/LexBillPro

Repository files navigation

LexBill Pro — Professional Legal Billing System

LexBill Pro Hero

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.


✨ Impeccable Features

⚖️ Unified Billing Interface

Manage all your legal billing in one place. Categorized sections for Appearances, Drafting/Vetting, Discussions, and Miscellaneous Charges. Unified Billing Form

⚡ Quick Add Library (Indian Legal Data)

Populate complex forms in seconds. Pre-configured templates for Indian government departments, CAT cases, and standard fees (HC Appearances, Writ drafting, etc.).

📊 Advanced Finance & Tax

  • 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.

📄 High-Output Document Generation

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.

☁️ Cloud-Connected Security

Fully integrated with Supabase for secure, persistent data storage.

  • Private Identity: Manage your professional bar registration, bank details, and office address securely. Cloud Identity

🛠 Tech Stack

  • Framework: React 18 + TypeScript
  • Styling: Vanilla CSS (Premium Glassmorphism Design)
  • Database: Supabase + PostgreSQL (Industry-Grade Schema)
  • Document Engine: docx.js + jsPDF
  • Icons: Lucide React

🚀 Setup & Installation

1. Clone & Install

git clone [repository-url]
cd LexBillPro
npm install

2. Database Initialization

  1. Create a new Supabase Project.
  2. Open the SQL Editor in your Supabase dashboard.
  3. Copy and run the content of supabase/full_schema.sql. This sets up all 10 tables, RLS policies, and automated audit triggers.

3. Environment Variables

Create a .env file in the root directory:

VITE_SUPABASE_URL=your_project_url
VITE_SUPABASE_ANON_KEY=your_anon_key

4. Run Locally

npm run dev

📂 Project Structure

  • src/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.

🛡 Security & Audit

  • RLS Enabled: Users can only access their own invoices and identity.
  • Audit Trails: Automated updated_at triggers on every table.
  • Type Safety: Full TypeScript coverage for billing and auth logic.

Developed with excellence for the legal modern age.

About

A professional-grade legal billing platform with automated GST support, premium Word/PDF generation, and industry-standard Supabase cloud synchronization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published