Simple Invoicing logo # Simple Invoicing: Free GST Billing Software for India ### Make GST bills, get paid by UPI and export your GSTR-1. Free and open source, on your phone or laptop. [![Try it free](https://img.shields.io/badge/Try_it_free-app.gstbill.in-2ea44f?style=for-the-badge)](https://app.gstbill.in/register?utm_source=github&utm_medium=readme&utm_campaign=readme) [![Self-host with Docker](https://img.shields.io/badge/Self--host-with_Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white)](#quick-start) [![User guide](https://img.shields.io/badge/User_guide-guide.gstbill.in-555555?style=for-the-badge)](https://guide.gstbill.in) Free hosted app: no credit card, no time limit, nothing to install. · [Website](https://gstbill.in) [![GitHub stars](https://img.shields.io/github/stars/nikhilb2/simple-invoicing-free-gst-billing-software?style=social)](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/stargazers) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) [![Backend: FastAPI](https://img.shields.io/badge/Backend-FastAPI-009688?logo=fastapi)](https://fastapi.tiangolo.com/) [![Frontend: React](https://img.shields.io/badge/Frontend-React-61DAFB?logo=react)](https://react.dev/) [![DB: PostgreSQL](https://img.shields.io/badge/DB-PostgreSQL-4169E1?logo=postgresql&logoColor=white)](https://www.postgresql.org/) [![nikhilb2/simple-invoicing-free-gst-billing-software MCP server](https://glama.ai/mcp/servers/nikhilb2/simple-invoicing-free-gst-billing-software/badges/score.svg)](https://glama.ai/mcp/servers/nikhilb2/simple-invoicing-free-gst-billing-software)
--- Simple Invoicing is open-source GST billing, invoicing and accounting software for Indian small businesses: shops, kirana stores, traders, manufacturers, freelancers and service businesses. Make GST invoices, quotations, credit notes and delivery challans as PDF, keep stock and party ledgers, record payments, and export the GSTR-1 JSON for the GST portal. It works in the browser, with staff logins for your team and [an MCP server](#connect-ai-assistants-mcp) for Claude, ChatGPT and other AI assistants. A free **invoice maker** and **Tally alternative**, and an open-source alternative to Vyapar, myBillBook and Zoho Invoice. ## Screenshots These show a made-up demo business.
Invoice composer with a customer, three items with quantity, price and GST rate, and the taxable value, CGST, SGST and total worked out below
Make a GST bill: pick the customer, add items, and GST is worked out as you type.
Tax invoice PDF with HSN codes, CGST and SGST split, bank details, a pay-by-UPI QR code and total due
PDF tax invoice: HSN codes, tax breakup and a QR code to pay by UPI.
Dashboard with net sales, outstanding, overdue and this-month totals, stock value, low stock, a monthly sales and receipts chart and paid, partial and unpaid invoices
Dashboard: sales, money owed to you, stock and trends at a glance.
GSTR-1 filing summary with B2B and B2CS return categories, an HSN summary and JSON, CSV and PDF export buttons
GSTR-1: check each return category, then export JSON, CSV or PDF.
Products and stock table with prices, GST rates, reorder levels and low-stock badges
Products and stock: prices, GST rates and low-stock alerts.
Analytics page with a month-wise sales chart and a table of monthly sales
Analytics: sales and GST by month, product and period.
## Why free? - **The code is open source (MIT).** Every line is in this repository. You can read it, change it and run it yourself. - **The [hosted app](https://app.gstbill.in/register?utm_source=github&utm_medium=readme&utm_campaign=readme) is free**, with no credit card and no time limit. - **Self-hosting is free** on your own server with Docker, for any number of users and invoices. - **Your data stays yours.** Export invoices, ledgers, products and reports as CSV, JSON or PDF at any time. - The only paid option is a dedicated server of your own, for people who don't want to run one themselves (see the [FAQ](#faq)). ## Features ### GST and billing - **Sales and Purchase Invoices** — Automatic inventory effects, plus cancel, restore and duplicate - **Quotations & Proforma Invoices** — Offers on their own number series with PDF and share links, converted to an invoice through the composer. No effect on stock, ledgers or returns until then - **Credit Notes** — Issue credit notes against invoices with linked ledger and stock reversals - **GSTR-1** — Validate a return and export it as JSON, CSV or PDF - **GSTR-3B Worksheet** — Estimates your GSTR-3B figures from your books, including the IGST set-off order. It is a worksheet to check against, not a filing - **E-Way Bill JSON** — Check an invoice and generate the file for the portal's bulk upload (from the E-Way Bill button on the invoice preview) - **Tax Ledger** — Tax register with CSV and PDF export - **GSTIN Validation** — Checks format, state code and check digit (this does not confirm registration on the GST portal) - **PDF Invoices** — Generated with WeasyPrint, with your company logo and terms - **Custom Invoice Numbering** — Configurable invoice series per financial year - **Financial Years** — Period management for scoping vouchers and reports ### Getting paid - **Payment Tracking** — Record payments against invoices, with PDF receipts, dues, a receivables ageing summary and overdue badges - **Payment Reminders** — Email reminders and statements, or a ready-made WhatsApp reminder from the Invoice Dues list - **Pay by UPI** — Optional QR on invoice PDFs that opens the invoice's share page, where the customer pays the live outstanding balance from any UPI app - **Share Links** — Public links to documents and ledger statements, with WhatsApp sharing. See every live link for a customer and revoke any of them - **Email Delivery** — Send invoices, ledger statements and payment reminders, with full email history ### Inventory and manufacturing - **Inventory Management** — Real-time stock tracking with automatic adjustments - **Serial Tracking** — Track individual units, and scan serial or SKU codes - **Manufacturing / Bill of Materials** — Define BOMs and record production that consumes raw materials and produces finished goods - **Product CSV Import and Export** — Move your catalogue in and out in bulk ### Accounting and reports - **Ledger Statements** — Period-based financial views per account (Tally-style), with PDF and CSV export - **Day Book Register** — Cross-ledger voucher register for reconciliation - **Cash & Bank** — Manage cash and bank accounts with company-account mappings - **Dashboard** — Monthly trend, payment-status and top-product charts - **Analytics** — Monthly sales, sales by product, product performance, and profit and loss ### Teams and administration - **Multiple Companies** — Run more than one company from one login - **Role-Based Access** — Admin, Manager and Staff roles - **Accounts** — Self sign-up on the hosted app, email verification, password reset and optional Google sign-in - **Guided First Invoice** — New owners can follow a walkthrough that points at each field while they add a customer and a product and create their first invoice - **Backups** — On-demand and nightly backups, with download and restore - **Themes and Keyboard Shortcuts** — Light, dark or follow your device, and configurable shortcuts with a cheat sheet on `?` ### Integrations - **REST API and API Keys** — Interactive docs at `/docs` - **MCP Server** — Connect Claude, ChatGPT and other AI assistants to your books ([how to connect](#connect-ai-assistants-mcp)) - **Marketplace** — Optional B2B listings and orders through a central server. No money passes through it, so businesses settle directly with each other ([contract](MARKETPLACE.md)) ## An open-source alternative to Tally, Vyapar, Zoho Invoice and myBillBook Simple Invoicing covers the everyday work of a small GST-registered business: billing, stock, party ledgers and the GSTR-1 file. How it differs from the usual GST billing apps: - **Open source (MIT).** Every line of code is here. You can read it, change it and run it yourself. - **Free to self-host.** Run your own copy on your own server with Docker, with no licence fee and no limit on users or invoices. Or use the [hosted app](https://app.gstbill.in/register?utm_source=github&utm_medium=readme&utm_campaign=readme), which is free on shared hosting. - **No per-user pricing.** On dedicated hosting or your own server, add staff with Admin, Manager or Staff roles at no extra cost per seat. - **Works in the browser.** Use it on Windows, Mac, Linux, Android or iPhone. There is nothing to install on the hosted version. - **Your data stays yours.** Export invoices, ledgers, products and reports as CSV, JSON or PDF at any time. - **Built for AI assistants.** Ask Claude or ChatGPT about unpaid invoices, profit or stock through the built-in MCP server. ## Connect AI Assistants (MCP) Simple Invoicing has a built-in [MCP](https://modelcontextprotocol.io/) server, so Claude, ChatGPT and other MCP clients can work with your invoices, ledgers, stock and reports. You can ask things like: - "Which invoices are still unpaid?" - "What was my profit last quarter?" - "Show me the GSTR-1 summary for October." - "How much stock do I have left of this product?" **To connect:** 1. Add a custom connector in your AI assistant, using one of these URLs: - Hosted: `https://app.gstbill.in/mcp` - Your own copy: `https:///mcp` 2. Sign in to Simple Invoicing and approve the access you want to give. 3. To review or revoke that access later, go to **Settings → Connected Apps**. **If you run your own copy:** - In production, set `PUBLIC_API_BASE_URL` and `PUBLIC_APP_BASE_URL` to your `https://` addresses. MCP stays off until you do. - Tools that change data stay off until you set `MCP_WRITE_ENABLED=true`. - Clients get a curated set of tools by default. Add `?profile=all` to the URL for all of them. See [ENV.md](ENV.md) for every MCP setting. ## Tech Stack | Layer | Technology | |-------|-----------| | **Backend** | Python 3.11, FastAPI 0.115, SQLAlchemy 2.0, Pydantic 2 | | **Frontend** | React 18, TypeScript 5, Vite 5, Tailwind CSS 3, TanStack Query 5, Zustand, React Router 6, Recharts, Framer Motion | | **Database** | PostgreSQL 16 | | **Auth** | JWT with bcrypt password hashing, optional Google sign-in | | **PDF** | WeasyPrint | | **Email** | SMTP (per-company configuration) | | **Analytics** | PostHog (optional; does nothing until `POSTHOG_PROJECT_API_KEY` is set) | | **Testing** | Playwright (E2E), Vitest (frontend), pytest (backend), GitHub Actions (CI) | | **Deploy** | Docker, Docker Compose, Kaniko build manifests | ## Quick Start To use the app without installing anything, [create an account](https://app.gstbill.in/register?utm_source=github&utm_medium=readme&utm_campaign=readme) on the hosted version. The steps below are for running your own copy. ### Prerequisites - [Docker](https://docs.docker.com/get-docker/) & Docker Compose - Or: Python 3.11, Node.js 22+, PostgreSQL 16+ ### Option 1: one command (Docker) On a Linux server or a Mac with [Docker](https://docs.docker.com/get-docker/) and Docker Compose v2, this sets up your own production copy of the same online web app: ```bash curl -fsSL https://raw.githubusercontent.com/nikhilb2/simple-invoicing-free-gst-billing-software/main/install.sh -o install.sh less install.sh # optional: read it first sh install.sh ``` The script checks Docker, downloads one pinned release from GitHub, asks for the address people will open and the web port, writes the settings files with fresh random secrets, keeps Postgres reachable from the server only, starts everything and prints the admin login once. Run it again to keep your settings; update with `SI_VERSION= sh install.sh`. Only the web port is open to other computers: the web server passes `/api` to the backend, whose own port (8000) is reachable from the server only. For `https`, put a reverse proxy such as Caddy in front that sends everything to the web port, and install with `SI_URL=https://your.site sh install.sh`. Nothing is sent to analytics. See the [self-hosting guide](https://guide.gstbill.in/integrations/self-hosting) for details. ### Option 2: Docker, by hand (development) ```bash # Clone the repository git clone https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software.git cd simple-invoicing-free-gst-billing-software # Copy environment files cp .env.example .env cp backend/.env.example backend/.env.development cp frontend/.env.example frontend/.env.development # Start development environment make dev # Seed the admin user make seed ``` Database migrations run automatically when the backend starts. The app will be available at: - **Frontend**: http://localhost:5173 - **Backend API**: http://localhost:8000 - **API Docs (Swagger)**: http://localhost:8000/docs ### Option 3: Manual Setup
Click to expand manual setup instructions WeasyPrint needs Pango and related system libraries. See [PDFGENERATION.md](PDFGENERATION.md) for how to install them. **Backend:** ```bash cd backend python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt cp .env.example .env.development uvicorn app_main:app --reload --port 8000 ``` **Frontend:** ```bash cd frontend npm install cp .env.example .env.development npm run dev ``` **Seed admin user:** ```bash cd backend python seed_admin.py ```
### Default Credentials After seeding, log in with: - **Email:** `admin@simple.dev` - **Password:** `Admin@123` > ⚠️ Change these immediately in production! ### Production See [DOCKER.md](DOCKER.md) for running production with `make prod`, and [ENV.md](ENV.md) for all settings. ## Project Structure ``` simple-invoicing-free-gst-billing-software/ ├── backend/ # FastAPI application │ ├── src/ │ │ ├── api/routes/ # REST API endpoints (one module per resource) │ │ ├── models/ # SQLAlchemy ORM models │ │ ├── schemas/ # Pydantic request/response schemas │ │ ├── services/ # Business logic layer │ │ ├── mcp_server/ # MCP server │ │ ├── db/ # Engine, session, and declarative base │ │ └── core/ # Config and security │ ├── migrations/ # Database migrations │ ├── tests/ # pytest suite │ ├── migrate.py # Migration runner │ ├── reset_db.py # Reset the database schema │ ├── seed_admin.py # Seed the initial admin user │ ├── seed_demo.py # Seed demo data │ └── requirements.txt ├── frontend/ # React SPA │ ├── src/ │ │ ├── pages/ # Route-level components │ │ ├── features/ # Feature modules (analytics, invoices, marketplace, serials and more) │ │ ├── components/ # Shared UI components │ │ ├── api/ # Axios client & interceptors │ │ ├── hooks/ # Shared React hooks │ │ ├── store/ # Zustand stores │ │ ├── context/ # React context │ │ └── types/ # TypeScript type definitions │ ├── e2e/ # Playwright E2E tests │ └── package.json ├── docs/screenshots/ # Screenshots ├── docker-compose.yml # Multi-container orchestration └── Makefile # Developer shortcuts ``` ## Documentation | Guide | Covers | |-------|--------| | [CONTRIBUTING.md](CONTRIBUTING.md) | Local setup, tests and how to contribute | | [DOCKER.md](DOCKER.md) | Docker guide | | [ENV.md](ENV.md) | Environment variables | | [MIGRATION.md](MIGRATION.md) | Migration workflow | | [PDFGENERATION.md](PDFGENERATION.md) | PDF invoice generation | | [CREDIT_NOTE.md](CREDIT_NOTE.md) | Credit note design | | [CASH_BANK.md](CASH_BANK.md) | Cash & bank module | | [INVOICE_DUE.md](INVOICE_DUE.md) | Invoice dues and receivables | | [MARKETPLACE.md](MARKETPLACE.md) | Marketplace API contract | | [SECURITY.md](SECURITY.md) | Security policy | | [project.md](project.md) | Architecture and API context | ## API Overview All routes sit under `/api`. Full interactive docs are at `/docs` (Swagger UI) when the backend is running. | Prefix | Description | |--------|-------------| | `/api/auth` | Login, registration, email verification, password reset | | `/api/users` | User management | | `/api/api-keys` | API key management | | `/api/company` | Company profiles, logo and terms | | `/api/company-accounts` | Cash & bank and company accounts | | `/api/products` | Product catalogue, CSV import and export | | `/api/inventory` | Stock levels, adjustments and production | | `/api/bom` | Bills of material | | `/api/serials` | Serial-tracked units and code scanning | | `/api/invoices` | Sales and purchase invoices, dues, PDF and export | | `/api/credit-notes` | Credit notes | | `/api/quotations` | Quotations and proforma invoices | | `/api/payments` | Payments and receipts | | `/api/ledgers` | Ledgers, statements, day book, tax ledger, GSTR-1 and the GSTR-3B worksheet (an estimate, not a filing) | | `/api/invoice-series` | Invoice numbering series | | `/api/financial-years` | Financial year management | | `/api/dashboard` | Dashboard metrics and chart data | | `/api/analytics` | Sales, product performance, and profit and loss reports | | `/api/email` | Send invoices, statements and reminders | | `/api/email-logs` | Email delivery history | | `/api/smtp-configs` | Per-company SMTP configuration | | `/api/share` | Public share links | | `/api/shortcuts` | Keyboard shortcuts | | `/api/backups` | Create, schedule, download and restore backups | | `/api/marketplace` | Marketplace listings and orders | The MCP endpoint is at `/mcp`, and its OAuth server is at `/api/oauth`. ## Development ```bash make dev # Start dev environment (Docker) make prod # Start production environment make build # Build the dev Docker images make install # Install backend and frontend dependencies make test # Run the Playwright E2E suite make test-unit # Run frontend Vitest unit tests (single run) make test-backend # Run backend pytest suite (needs Postgres) make test-all # Run test-unit, test-backend and test make lint # Compile-check backend Python and build frontend make migrate # Run all pending migrations make migrate-status # Show migration status make migrate-down # Roll back last migration make migrate-down-all # Roll back all migrations make migrate-create name= # Create a new migration file make seed # Seed admin user make seed-demo # Seed demo data make reset-db # Reset DB schema, migrate, and seed admin make reset-db-demo # Reset DB and seed with demo data make backend-shell # Open a shell in the backend container make frontend-shell # Open a shell in the frontend container make logs # Tail all service logs make down # Stop all services ``` See the [Makefile](Makefile) for all available commands. ## Roadmap We build what users ask for. Every Friday a "What shipped" [release](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/releases) lists the week's changes, with the issue that asked for each one. **Shipped recently** - [x] Repeat a bill every month, with a "Bills due to repeat" list ([#1225](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/1225)) - [x] A simpler invoice screen: items first, the rest under More options ([#1214](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/1214)) - [x] A bill discount taken before GST, so GST is on the discounted price ([#1154](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/1154)) - [x] Delivery challans, asked for by [vighnaharent18-boop](https://github.com/vighnaharent18-boop) ([#840](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/840)) - [x] Quotations and proforma invoices - [x] E-way bill JSON for the portal's bulk upload - [x] GSTR-3B worksheet, estimated from your books - [x] Self sign-up, Google sign-in and a guided walkthrough to your first invoice - [x] Layouts that work on a phone, and light, dark and follow-your-device themes **Next** - [ ] Keep a half-filled form when you leave a page and come back ([#870](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/870), a community contributor is on it) - [ ] Choose which serials to keep when you turn on serial tracking ([#972](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/972)) - [ ] A one-command Docker install for self-hosters - Later, not started yet: an audit log of who changed what, Excel (.xlsx) export, invoices in foreign currencies, a balance sheet **Need something?** [Open an issue](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/new) and tell us what you do today and what gets in the way. Want to build one yourself? Go straight to a PR: you don't need to ask first or be assigned. Issues labelled **good first issue** are a good place to start, and [#532](https://github.com/nikhilb2/simple-invoicing-free-gst-billing-software/issues/532) explains how to report a bug or suggest an idea. ## FAQ **Is Simple Invoicing free?** Yes. The software is open source under the MIT licence, so you can run your own copy free, for any number of users and invoices. The [hosted version](https://app.gstbill.in/register?utm_source=github&utm_medium=readme&utm_campaign=readme) is also free on shared hosting, for as long as you want, with no credit card needed. If you want your own dedicated server instead, that costs Rs 299 a month for one company and one user. **Can I make GST invoices in PDF?** Yes. Each tax invoice shows HSN/SAC codes, the CGST, SGST or IGST breakup, your logo, bank details and an optional pay-by-UPI QR code. You can download the PDF, email it or share it on WhatsApp. **Does it file GSTR-1 for me?** No. It checks your sales for the period and produces the GSTR-1 JSON file, which you upload on the GST portal. It also estimates your GSTR-3B figures from your books. See the guide to [GSTR-1 filing](https://guide.gstbill.in/reports/gstr1). **Can I use it as a Tally alternative?** For billing, stock, party ledgers, the day book and GST returns, yes. It runs in the browser, so your team can work from any device. It does not yet do payroll, multi-currency or a full balance sheet. **Does it work on a mobile phone?** Yes. It runs in the phone's browser, so there is no app to install. **Can I import my products?** Yes. Products and stock import and export as CSV. More answers are in the [user guide](https://guide.gstbill.in) and its [troubleshooting page](https://guide.gstbill.in/help/faq). ## Contributing We welcome contributions of all kinds! Whether it's bug fixes, new features, documentation, or tests — every contribution matters. Please read our [Contributing Guide](CONTRIBUTING.md) to get started. Open the repository Issues tab for ideas on where to begin. ## Search terms If you searched for one of these, you're in the right place: free GST billing software · free Tally alternative · Vyapar alternative open source · myBillBook alternative · Zoho Invoice alternative · free invoice maker India · GST invoice generator · GSTR-1 JSON export · e-way bill JSON · open-source accounting software India · self-hosted billing software · billing software for kirana stores. ## License This project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details. ## Acknowledgments Inspired by [Tally](https://tallysolutions.com/) accounting software. Built with FastAPI, React, and PostgreSQL. Special thanks to [Nash Aschenbath](https://github.com/Aschenbath) for the live GSTR-1 number limits in the invoice series form (#545). Special thanks to [Aaqibhafeez Khan](https://github.com/Aaqibhafeezkhan) for the TDS and TCS foundation: the effective-dated section and rate table for the Income-tax Acts of 1961 and 2025, and PAN and TAN on parties and the company (#771). Special thanks to [Nash Aschenbath](https://github.com/Aschenbath) for the first TDS on receipts and TCS on sales invoices (#779, #780). The invoice row locks, the Postgres tests, CSV formula escaping, keeping the buyer's PAN on the invoice and the ₹10 lakh motor vehicle hint all came from that work into the final versions (#768, #769).