Skip to content

Local app to create and send invoices automatically via WhatsApp

Notifications You must be signed in to change notification settings

darricheng/invoicing-app

Repository files navigation

Invoicing App

A feature bloat-free app to help you manage your repeating customer invoice data, and automatically create and send invoices via WhatsApp at the click of a button. Everything is done locally, an internet connection is required only to send the invoice via WhatsApp!

Problem Statement

As a solo entrepreneur, my time and monetary resources are limited. Creating invoices manually one-by-one is tedious and takes up too much time, and most of the invoicing solutions available out there are too expensive for too many features that I do not need. I just want to send invoices easily via WhatsApp with the click of a button.

Features

  • Store templates of each customer that will be reused when creating an invoice for that customer
  • One-click sending of invoices after adjusting the line item data

Video Demo

invoicing-app-clip.mp4

Tech Stack

  • Electron
  • SvelteKit
  • SQLite
  • Puppeteer

Rationale

Cost was a primary factor in choosing the technologies to solve this problem. To send a PDF via WhatsApp in a cost-free manner, we would ideally do everything locally without the need to utilise any services provided by other companies. Thus I chose to use Electron for the UI and and SQLite to manage the data.

The idea behind this app is to generate the PDF locally using puppeteer, so that we have flexibility to change the invoice template easily with HTML and CSS, then send it again using puppeteer, this time with a library called whatsapp-web.js.

Development

  • livedev is a mode to use the app as a live app to send real messages while still in dev

About

Local app to create and send invoices automatically via WhatsApp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published