Privacy Policy
1. 100% Local-First Architecture & Zero Developer Server Access
BGS-BILLING-GST-SOFTWARE is an offline-first desktop application for GST billing, retail POS, inventory control, double-entry accounting, multi-device sync, and encrypted cloud backups. All company databases (*.sqlite)—including customer and vendor ledgers, invoices, purchase bills, GST tax registers, and financial statements—remain 100% locally on your computer.
The developer (toji-code) does not operate centralized servers storing your accounting data, does not collect telemetry, crash analytics, or usage tracking, and never sells, rents, or monetizes user data.
2. Google API Services User Data Policy & Limited Use Compliance
When you optionally click Sign in with Google, BGS-BILLING-GST-SOFTWARE authenticates directly between your desktop computer and Google using OAuth 2.0 Authorization Code Flow with PKCE (S256) over an ephemeral local loopback callback (http://127.0.0.1). We request strictly scoped permissions only for features you enable:
| Google OAuth Scope | Exact Purpose & Strict Boundary | Data Handling |
|---|---|---|
openid, userinfo.email, userinfo.profile |
Displays your signed-in Google account email, name, and avatar inside the desktop Sync, Backup & Accounts panel and Top Header pill. | Stored locally only; never sent to developer servers. |
https://www.googleapis.com/auth/drive.file |
Strictly restricted to app-created files inside a dedicated BGS_Billing_Backups folder in your own Google Drive: (1) AES-256 encrypted .bgsbak backup archives, (2) optional Multi-PC Drive Delta Sync chunks, and (3) public Online Storefront JSON catalogs published by you. |
Cannot read, browse, modify, or delete any unrelated Google Drive files or folders. |
https://www.googleapis.com/auth/gmail.send |
Strictly restricted to sending user-initiated GST invoice PDF emails, receipts, audit bundles, and user-requested 2FA/password-recovery OTP emails. | Send-only access. Never reads, searches, indexes, or scans Gmail inbox messages. |
3. Token Security, Encryption & Password Protection
- Local OS-Encrypted Token Vault: Google OAuth access and refresh tokens are stored exclusively on your computer encrypted via
Electron safeStorage(Windows DPAPI, macOS Keychain, or Linux Secret Service, with AES-256-GCM fallback). - Client-Side Cloud Encryption: Backup snapshots (
.bgsbak) uploaded to Google Drive are encrypted on your device using AES-256 before transmission. - Role Access Security: User passwords/PINs use salted
scryptcryptographic hashing (crypto.scryptSync).
4. Optional Third-Party & User-Configured Integrations
- WhatsApp Business Session: Stored locally in your app user-data directory (
whatsapp-session/) and connects directly to WhatsApp Web only after you scan the pairing QR code. - Online Storefront & Order Relay: Static catalog exports include only catalog items and store details you choose to publish. Optional Cloudflare Worker + D1 relays hold incoming customer order payloads only until acknowledged into your local desktop database.
- Release Update Checks: Clicking Check Updates performs a read-only HTTPS GET request to GitHub's public Releases API with no personal or business data attached.
5. Data Retention & Instant Revocation
- Disconnect Inside the App: Click Sign Out / Disconnect Google from the Top Header pill or Sync, Backup & Accounts to wipe locally stored OAuth tokens immediately.
- Revoke at Google: Visit myaccount.google.com/permissions to revoke BGS-BILLING-GST-SOFTWARE's access at any time.
- Delete Local or Drive Data: Remove the
BGS_Billing_Backupsfolder in Google Drive or delete your local company directory to permanently erase all backups and databases.
6. Children's Privacy & Governing Law
This software is a commercial billing and accounting tool not intended for children under 13. This Privacy Policy is governed by the laws of India (including the Information Technology Act, 2000 and DPDPA, 2023 as applicable to client-side software).
7. Contact
For privacy inquiries, Google OAuth verification correspondence, or security reports: toji.code.dev@gmail.com or GitHub Issues.