This is a submission for the "Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle" (https://dev.to/challenges/hacktoberfest-week2-2026-10-12)
HisabPilot — AI Paperwork Assistant for Small Businesses
«"Your invoices, organized in seconds."»
What I Built
HisabPilot is an AI-powered document extraction and paperwork assistant built specifically for the 63+ million small businesses, freelancers, shopkeepers (kiranas), and independent accountants in India.
The Problem
Every month before the 20th (India's GSTR-3B tax filing deadline), freelancers and small business owners face a mountain of crumpled paper bills, digital PDFs, and WhatsApp photos:
- Manual Entry is Slow & Painful: Typing invoice numbers, 15-digit alphanumeric GSTINs, and line items into spreadsheets takes 8–15 hours every month.
- Costly Tax Discrepancies: If an invoice has an invalid GSTIN or confuses Intra-state tax (CGST + SGST) with Inter-state tax (IGST), the business risks losing its Input Tax Credit (ITC) or receiving a tax notice.
- Rounding & Handwritten Errors: Printed and handwritten bills frequently have discrepancies between itemized line items and the grand total.
The Solution
HisabPilot allows anyone to upload receipt images or PDFs, or capture photos using a phone camera, and automatically:
- Extracts Vendor Name, Address, Supplier GSTIN, Buyer GSTIN, Invoice Number, Date, Due Date, Payment Mode, and Expense Category.
- Extracts itemized Line Items with HSN codes, quantity, unit price, tax rate, and line totals.
- Audits Financial Calculations: Verifies whether Subtotal + Taxes − Discounts approximately equals the Grand Total and flags discrepancies with color-coded severity.
- Validates GST Rules: Checks whether intra-state or inter-state tax treatment appears consistent with supplier and buyer state codes.
- One-Click Recalculation: Helps resolve rounding mismatches between line items and invoice totals.
- Exports in Seconds: Generates formatted dual-sheet Excel (".xlsx") workbooks (Invoices Overview and Line Items Breakdown), CSV, JSON, and print-ready A4 audit vouchers.
Who Would Pay for It?
- Freelancers & Consultants ($5–$9/month): To organize client travel, software subscriptions, and business expenses without maintaining manual spreadsheets.
- Small Business Owners & Kirana Stores ($15–$29/month): To organize supplier delivery challans and purchase bills.
- Chartered Accountants (CAs) & Bookkeepers ($49–$99/month): For high-volume, multi-client invoice processing before preparing monthly GST returns.
Demo
- Live Application URL: "https://hisabpilot.harshsharma.tech" (https://hisabpilot.harshsharma.tech)
- Built-in Demo Fixtures: Don't have a receipt on hand? Test the system using realistic Indian demo fixtures:
- Shree Balaji Paper Mart — Intra-state Delhi CGST + SGST tax invoice.
- Kaveri Cloud Technologies — Inter-state Karnataka-to-Maharashtra B2B SaaS invoice.
- Bharat Hardware Discrepancy Demo — Demonstrates mathematical discrepancy detection and review alerts.
Code
- GitHub Repository: "https://github.com/hmorix/Hisabplot" (https://github.com/hmorix/Hisabplot)
- Live Site: "https://hisabpilot.harshsharma.tech" (https://hisabpilot.harshsharma.tech)
HisabPilot — AI Paperwork Assistant for Small Businesses
"Your invoices, organized in seconds."
🌐 Live Demo: https://hisabpilot.harshsharma.tech
HisabPilot is an AI-powered document extraction tool tailored for Indian freelancers, shopkeepers, small businesses, and accountants. It parses GST tax invoices, retail receipts, bills of supply, and cash memos in JPG, JPEG, PNG, and PDF formats—or captures them live via a mobile device camera.
Key Features
-
Multimodal Document Extraction via Google Gemini
- Extracts Vendor Name, Vendor Address, Supplier GSTIN (15 characters), Customer Name, Customer GSTIN, Invoice Number, Invoice Date, Due Date, Payment Mode, and Expense Category.
- Extracts itemized Line Items: Description, HSN/SAC Code, Quantity, Unit Rate, Discounts, Tax Rate %, Tax Amount, and Line Totals.
- Uses official
@google/genaiTypeScript SDK on the server side (gemini-3.8-flashorgemini-3.1-flash-lite).
-
Automated Indian GST & Financial Audit
- Intra-State vs. Inter-State Logic: Distinguishes CGST + SGST (Intra-state, same state code) from IGST (Inter-state, differing…
Tech Stack
- Framework: React 19, TypeScript, Vite, Express
- Styling: Tailwind CSS, Lucide React icons
- AI Model: Google Gemini via the official "@google/genai" TypeScript SDK
- Validation: Zod schema validation and custom Indian GSTIN format validation
- Spreadsheet Generation: "xlsx" (SheetJS) for formatted multi-sheet Excel generation
- Deployment Target: Vercel / Cloud Run with a Node.js server runtime
How I Built It
- Server-Side Gemini Vision Engine
HisabPilot uses the official "@google/genai" TypeScript SDK on the backend ("server.ts"). Uploaded documents (JPG, PNG, and PDF) are processed using multimodal AI:
- Configures a low temperature ("0.1") and a structured response schema for consistent JSON output.
- Supports images and multi-page PDFs without intentionally saving uploaded files to persistent server storage.
- Handles API quotas, rate limits, and content-safety restrictions with user-friendly retry guidance.
- Indian GST & Financial Auditing Engine
Rather than blindly trusting AI-generated text, HisabPilot passes extracted data through an automated financial auditing module ("src/lib/invoice-validation.ts"):
- GSTIN Structural Validation: Checks the 15-character Indian GSTIN format, including the state code, PAN-based identifier, entity number, default "Z" character, and checksum structure.
- Intra-state vs. Inter-state Logic: Compares supplier and buyer GSTIN state codes. When the states match, it checks whether CGST and SGST are applied consistently and flags potentially incorrect IGST treatment. When the states differ, it checks for potentially expected IGST treatment, subject to applicable GST rules.
- Mathematical Consistency Check: Recalculates line-item totals and checks whether Subtotal + Taxes − Discounts matches the Grand Total. A mismatch greater than ₹2.00 triggers a Review Required alert.
- Side-by-Side Review Workspace
Users can inspect the original document on one side, with zoom, pan, and rotate controls, while reviewing and editing vendor details, GST numbers, tax figures, and tabular line items on the other.
- Privacy-Focused Document Processing
Financial documents may contain sensitive trade prices and vendor information. HisabPilot is designed to process uploaded documents in temporary server memory rather than intentionally persisting the original files. Extracted invoice records are stored in the user's browser "localStorage", supporting offline search, category filtering, and export.
Users should still review the application's hosting configuration, browser storage, and third-party AI provider policies before uploading confidential financial documents.
Why Does Open Innovation Matter?
Small-business accounting depends on trust and data privacy. Shopkeepers, freelancers, and independent accountants need tools that reduce paperwork without making their financial records difficult to access or export.
Open innovation matters here because:
- Verifiable Architecture: An open-source codebase allows developers to inspect how document processing and storage are implemented.
- Reduced Vendor Lock-in: Modular TypeScript schemas and export formats such as Excel, CSV, and JSON help users retain control over their records.
- Accessibility: Integrating eligible Google Gemini API models can help developers build useful tools for small businesses while managing costs within available API quotas and pricing limits.
My Agent Session
This application was developed using AI Studio Build and agent-assisted workflows to support full-stack TypeScript scaffolding, backend Gemini integration, Zod schema design, and Indian GST tax-reconciliation logic.
My First User
I shared an early preview with an independent digital agency owner based in New Delhi:
«"Every month my team collects around 40 bills from cloud hosting, stationery, software subscriptions, and hardware repairs. Manually typing these into our tally sheet used to take me half a Saturday. With HisabPilot, I drag the folder in, fix the one bill where the vendor miscalculated tax, and export an Excel sheet straight to my CA in 10 minutes."»
Prize Categories
- Side Hustle: An AI-powered paperwork assistant targeting Indian MSMEs, freelancers, and small-business accounting workflows.
- Most Helpful Hack: Aims to reduce repetitive manual paperwork, identify invoice discrepancies, and simplify the preparation of records for accountants.
GitHub Repository: https://github.com/hmorix/Hisabplot
Live Application: https://hisabpilot.harshsharma.tech
Top comments (0)