bellyfat / invoices-cli

Generates html and pdf invoices using html template files, CSV databases for products, clients, and transactions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invoices-cli: create invoices from the command-line

Invoices generates clean and lightweight invoices fast, in batches, right on your computer, from the command line.

There are plenty of complete applications with modern user interfaces to create invoices one-by-one. But I couldn't find an open source tool to:

  1. Generate invoices in large batches.
  2. Create invoices in a simple way, from a CSV file or the command-line.

That's what invoices-cli is. It is a simple yet efficient Python program that is meant to play nice with your shell.

⚠ Invoices-cli is currently in development. Although it works, it doesn't have a command line interface yet.

Contributors are welcome! See the open issues

How it works

The tool takes a template HTML files and css, and fill them up with information from your configuration, company, and invoices file.

screenshot of a generated invoice

Installing dependencies for development and testing

The tool relies on weasyprint, a library to render web pages to PDF and PNG. The project uses pipenv to manage dependencies and easily install everything.

If you don't have pipenv, install it with:

pip install pipenv

Then, in the invoices project directory, call:

pipenv install

About

Generates html and pdf invoices using html template files, CSV databases for products, clients, and transactions

License:MIT License


Languages

Language:Python 75.8%Language:HTML 19.1%Language:CSS 5.0%