VAT invoice generator

I needed an invoice generator to quickly produce some random test invoices while building Manano, as part of a feature letting tradesmen track receipts by sending photos to our WhatsApp number.

I tried a few invoice generators that showed up in Google results, but most required either registering an account or were awkward to use.

Eventually I realized it would probably be straight forward enough to whip one together, and so here is my own VAT invoice generator!

vat-invoice-generator2.png

You can add line items, it calculates tax, totals, etc.

Since I wrote it for testing a vision-based pipeline, it has a bunch of visually distinctive templates with pre-populated data and a randomzier to produce different figures and line items.

When you make changes, they are saved locally in your browser, so there's no services to host, and you can even download the page and use it locally. It loads html2cavnas for generating the PNG remotely, so it can't work entirely offline, but nothing leaves the browser.

Anyway this was fun to throw together, and might be useful to some other folks. The basics were done pretty quickly, and then I've sort of been doodling away at it every now and then for the last couple of weeks.



There is currently no comments system. If you'd like to share an opinion either with me or about this post, please feel free to do so with me either via email ([email protected]) on Mastodon (@[email protected]) or even on Hacker News.