Desktop ApplicationDesktop build

Panarwala Billing Desktop App

An offline Windows billing application for customers, products, invoices, payments, reports, printing, PDF export, and local backup workflows.

Panarwala Billing
InvoicesCustomersProductsPayments
Invoice #PA/26-27/014
Total ₹ 48,320
PDF previewPaid
Offline invoice editing, payments, printing, and PDF output
Overview

About Panarwala Billing Desktop App

Panarwala Billing is an offline Windows desktop application for Panarwala & Associates. It keeps customers, products, invoices, payments, business settings, and reports in a local SQLite database and supports A4 invoice previews, printing, PDF export, CSV reports, and file-based backup and restore.

Product thinking

Challenge and approach

Challenge

A small billing workflow needs reliable local records and printable invoices without depending on internet availability or a hosted database. This application packages billing, payment tracking, reporting, settings, and recoverable SQLite storage into one installable desktop tool.

Approach

Invoice identifiers reset by Indian financial year and use a configurable prefix. Application data lives under the user's AppData directory rather than the installation folder, allowing it to survive updates or reinstalls, while restore creates a safety backup before replacing the active database.

Capabilities

Main features

01

Reusable customer and product or service master records

02

Financial-year invoice numbering, line items, discounts, tax, and amount in words

03

A4 invoice preview with printing and PDF export

04

Full or partial payments, multiple modes, and balance tracking

05

Invoice, payment, and customer-ledger reports with CSV export

06

Business settings plus file-based backup and guarded restore

Architecture

How the system is structured

  1. 01

    Electron provides the desktop main process, preload bridge, native dialogs, printing, and IPC handlers.

  2. 02

    React and Vite provide the renderer interface with React Router navigation.

  3. 03

    better-sqlite3 stores billing data locally without an ORM or remote service.

  4. 04

    Database initialization, migrations, validation, filesystem paths, and amount-to-words helpers are separated under the Electron layer.

Implementation

Technology and data

Technology stack

  • Electron
  • React
  • Vite
  • SQLite
  • better-sqlite3
  • React Router
  • Electron Builder
  • Jest

Engineering details

Technical considerations

PrivacyData and privacy
  • The billing workflow runs offline and requires no internet connection.
  • Customer, invoice, payment, and settings data remain in the local SQLite database.
  • Backups are saved only to a location selected by the user.
ReliabilityRecovery and cleanup
  • Automatic safety backup before a database restore
  • Persistent AppData storage separate from application installation files
  • Database initialization on first launch and migration support
  • Jest coverage for invoice calculations, amount-to-words, financial-year logic, and payment validation
OperationsDeployment considerations
  • The packaged product targets Windows and builds an NSIS installer.
  • better-sqlite3 must be rebuilt for the Electron runtime during development.
  • Restored databases are loaded after the application is closed and reopened.
  • The repository license specifies private use for Panarwala & Associates.

Use cases

What the project supports

  • Create, preview, print, and export sales invoices
  • Track partial or full payments and outstanding balances
  • Review invoice, payment, and customer-ledger reports
  • Back up and restore billing records without a cloud service

Continue exploring

Financial Tool

Web application

RCharts

A modern, high-performance Indian Stock Market (NSE & BSE) technical analysis dashboard, charting suite, option chain analyzer, and screening tools built with Next.js 16 and React 19.

  • Next.js 16
  • React 19
  • +8

Workflow Website

Web application

Panarwala & Associates

A responsive professional-services website that organizes tax consulting, preparation, and advisory information through reusable, accessible service pages.

  • React
  • CSS custom properties
  • +1

Financial Tool

Excel-based web dashboard

PortFin - Excel portfolio dashboard

A no-backend investment dashboard that turns mutual-fund and stock Excel files into portfolio analytics, planning tools, tax views, and action signals.

  • HTML5
  • CSS3
  • +4