Billing software sits between your work and your cash flow. When it is slow, wrong or unavailable, invoices go out late and payments follow late. Self-hosting gives you control over data, branding and integrations without per-invoice or per-user fees. This guide covers the practical requirements for doing it well.
Software Options
- Open-source invoicing applications (for example Invoice Ninja and similar projects) with clients, products, quotes, invoices, recurring billing and payment links.
- ERP or accounting suites that include billing when you also need inventory and accounting (see our ERP guide).
- Custom billing built into your own application, common for SaaS (see our subscription SaaS guide).
Invoices That Meet Your Obligations
Indian businesses registered for GST usually need specific details on tax invoices, such as GSTIN, place of supply, HSN or SAC codes and tax breakdowns, and may need e-invoicing above certain turnover thresholds. Configure templates accordingly, keep the software updated as rules change, and take advice from your accountant on what applies to you.
Sequential Numbering
Invoice numbers should be unique and sequential within a series (often per financial year). Generate them inside the same database transaction that creates the invoice, using a counter row with locking or a database sequence designed to avoid gaps where gaps matter. Never generate numbers in the browser or in parallel workers without coordination.
PDF Generation and Email
- Generate PDFs in a background job, not during the web request; headless browser-based PDF rendering is memory-hungry.
- Store generated PDFs privately and serve them through the app after an access check.
- Send invoices through a transactional email service with SPF, DKIM and DMARC configured, so they land in inboxes rather than spam.
- Log every send, open and bounce where the provider supports it.
Payment Links and Reconciliation
Add payment links through a gateway (UPI, cards, net banking) on each invoice. Mark invoices paid only from verified payment webhooks, handle partial payments, and reconcile against bank statements regularly. Keep payment details on the gateway's side; your server stores references, not card data.
Recurring Invoices and Reminders
Recurring invoices and payment reminders run as scheduled background jobs. Make them idempotent so a retry never creates a duplicate invoice, and alert if the scheduler stops (see our workers guide).
Data Retention
Financial records usually must be kept for a number of years. Do not hard-delete invoices; void or credit them through proper documents. Plan storage for years of PDFs, and keep backups that cover the retention period.
Security and Access
- Roles: sales create drafts; finance approves and sends; admins manage settings.
- Two-factor authentication for finance and admin users.
- HTTPS everywhere; database not exposed; admin area optionally restricted by IP.
- Audit logs for edits, voids and settings changes.
Backups
Back up the database and the PDF storage nightly to off-site storage, keep long-term monthly copies, and test restoring an invoice series. Billing data is legally and financially important; losing it is not an option.
Sizing
| Use | Suggested plan |
|---|---|
| Freelancers and small businesses | 2 vCores / 8 GB |
| Several companies or high invoice volume | 4 vCores / 16 GB |
| Billing for a large customer base with heavy PDF generation | 8 vCores / 32 GB or separate worker server |
Example: A Services Company
A consultancy issues a few hundred invoices a month from a self-hosted invoicing app on a 2 vCore / 8 GB VPS. Templates include its GSTIN and SAC codes; numbering resets each financial year; PDFs and emails are generated by a queue worker; clients pay through UPI links; and nightly backups go to object storage, with a monthly copy kept long term. Finance closes the month faster because every invoice and payment is in one place.
Common Mistakes
- Generating invoice numbers outside a transaction, causing duplicates.
- Sending invoices from the web server's own mail setup, so they land in spam.
- Deleting invoices instead of issuing credit notes.
- No backups covering the legal retention period.
In Short
Compliant templates, transactional numbering, background PDF and email jobs, verified payment status, role-based access and long-term backups make self-hosted billing dependable.
Next Steps
Set up templates with your accountant, configure numbering per financial year, connect a payment gateway in test mode, and test the full journey from invoice to payment to reconciliation before sending real invoices.
Moving From Spreadsheets or Another Tool
Import clients and products first, decide whether to import historical invoices or keep the old system read-only for past records, and start the new numbering series at a clean boundary such as the start of a month or financial year. Keep exports of the old data in your backups. Review the setup every quarter with the people who use it, because needs change as the business grows, and small adjustments made early are far cheaper than large changes made under pressure.
Bottom Line
Treat billing data as financial records: correct, auditable and safely kept. Document the setup in a short runbook stored with the configuration, covering where data lives, how integrations run, how to restore from backup and whom to contact when something fails.
SkyRainCloud Plans for This Workload
Billing and invoicing apps are light: 2 vCores / 8 GB serves most businesses comfortably, including PDF generation and email queues. Choose 4 vCores / 16 GB for high invoice volumes or several companies.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.