Open source invoice generator
Infinity Invoices is MIT licensed and on GitHub. Self-host it on your own Vercel and Neon accounts, or use the hosted version and skip the setup. It is the same code either way.
- MIT licensed
- Next.js and Postgres
- Self-host or use ours
Invoicing software you can read
Nothing is hidden behind an enterprise edition. What runs in production is what is in the repository.
MIT licensed
Use it, change it and run it for your own business, including commercially.
A stack you already know
Next.js, React, Tailwind CSS, Drizzle ORM and Postgres. Nothing exotic to learn before you can change a template.
Deploys to Vercel and Neon
Run the app on Vercel with a Neon Postgres database. Both have free plans to start on.
Your data in your database
Self-hosted, your invoices and client details live in a Postgres database that you control.
No lock-in either way
Every invoice downloads as a PDF, hosted or self-hosted, so your records never depend on us.
Open to contributions
Issues and pull requests are welcome. The contributing guide is in the repository.
How to self-host it
- Step 1
Clone the repository
Clone it from GitHub and run pnpm install. You need Node.js 22 or newer and pnpm.
- Step 2
Create a Neon database
Create a Neon project with Neon Auth turned on, add its details to apps/web/.env, and push the schema with pnpm --filter @infinity/db db:push.
- Step 3
Run it
pnpm dev starts the app on localhost:3000. To put it online, deploy apps/web to Vercel.
- Step 4
Add email if you want it
Add a Resend API key to send invoices and reminders by email. PDF download works without one.
Self-host or hosted?
The code is identical. The difference is who looks after it. Self-hosting costs nothing but your time, and the hosted version costs a little so that you never have to think about a database.
| Self-hosted | Hosted | |
|---|---|---|
| Cost | Your own Vercel and Neon accounts | Free for 5 invoices a month, then $5 a month or $29 once |
| Setup | Clone, configure and deploy it yourself | Sign up and send an invoice |
| Updates | Pull and redeploy when you want them | Handled for you |
| Data | In your own Postgres database | In ours, with every invoice downloadable as a PDF |
The setup steps, environment variables and project layout are in the README on GitHub.
Open source invoice generator: questions, answered
Is Infinity Invoices really open source?
Yes. The full source code is on GitHub under the MIT license, which lets you use, modify and self-host it, including for commercial work.
What is it built with?
Next.js and React with Tailwind CSS, a Neon Postgres database with Drizzle ORM, Neon Auth for sign-in and Resend for email.
Do I have to self-host to use it?
No. The hosted version at infinityinvoices.com runs the same code. It is free for 5 invoices a month, and paying for Pro is what funds the project.
Can I contribute?
Yes. Bug reports, fixes and new templates are welcome. Start with the contributing guide in the repository.
More free invoicing tools
- Free invoice makerMake an invoice in 30 seconds and download the PDF.Open
- Free invoice templatesNine designs to fill in online. Seven are free.Open
- Free quotation makerSend a quote, then turn it into an invoice in one click.Open
- Free GST invoice generatorCGST, SGST and IGST invoices with a UPI QR code.Open
Guides worth reading next
- Invoicing basics
How to write an invoice as a freelancer (with example)
What to include on a freelance invoice, how to number it, and the small details that get you paid faster. Includes a filled-in invoice example you can copy.
Read the guide - Getting paid
How to invoice international clients as a freelancer
Which currency to invoice in, what an international invoice needs, how tax works across borders, and how to get paid without losing a slice to fees and exchange rates.
Read the guide