Skip to main content

Invoice Generator

Open Source Invoicing

A self-hosted Django application for creating professional invoices, tracking payments, and generating PDFs. Built for developers, freelancers, and anyone who wants full control over their invoicing. Perfect for UK sole traders—or adapt it for anywhere.

Your invoices. Your server. Your rules.

Invoice Generator is a Django-based invoicing application you host yourself. No subscriptions, no third-party access to your client data, no vendor lock-in. Clone the repo, spin up Docker, and you're running.

Built for UK sole traders with UK tax year tracking (April to April), professional PDF generation, and recurring invoice support. Everything you need to bill clients and track payments.

Whether you're a developer invoicing consulting clients, a freelancer managing multiple projects, or a student learning Django—Invoice Generator is yours to run, modify, and extend.

Django + SQLite

Familiar stack. Single-file database. Easy to back up, easy to migrate.

Docker Ready

One command to deploy. Works on any server, VPS, or your local machine.

MIT Licensed

Fork it, modify it, build on it. Use it for yourself or your clients.

Built For People Who Can Self-Host

  • ✓ Developers who want a real Django project to learn from or extend
  • ✓ Sysadmins comfortable with Docker and basic server management
  • ✓ Freelancers who'd rather host their own tools than pay monthly subscriptions
  • ✓ Privacy-conscious people who want client data on their own hardware

What You Get

Professional PDF Invoices

Generate branded PDFs with your logo, bank details, payment links, and custom footer. Ready to send to clients.

UK Tax Year Tracking

Invoices auto-sort into April-to-April tax years. Switch between years and see revenue totals at a glance.

Recurring Invoices

Set up weekly, monthly, quarterly, or yearly templates. Generate invoices with one click for regular clients.

Payment Integration

Add Stripe or PayPal payment links to invoices. Clients can pay online directly from the PDF.

Why Not Just Use a Template?

You could. Many people create invoices in Word or Google Docs. But templates don't track payments, manage client history, or generate sequential invoice numbers. And cloud invoicing tools? They cost money every month and store your client data on someone else's servers.

Invoice Generator sits in the middle—more structured than templates, simpler than full accounting software, and entirely under your control.

Get Running in Minutes

git clone https://github.com/djangify/invoice-generator.git
cd invoice-generator
cp .env.example .env
docker compose up -d

Then open http://localhost:8000 and log in with your admin account.

Originally Built for UK Sole Traders

Invoice Generator follows UK tax year conventions with April-to-April tracking and VAT support. If you're self-employed in the UK, this gives you professional invoicing without the monthly fees of cloud services.

Not in the UK? The codebase is MIT licensed. Fork it and adapt the tax year logic and currency for your region.

Contributions Welcome

Found a bug? Want to add a feature? Invoice Generator is open source and actively maintained. Check the issues, submit a PR, or just star the repo if you find it useful.

GitHub Repository