💰 Invoice Generator

A Streamlit app to show how you can easily use Streamlit to generate invoices as PDFs.

Streamlit App

App screenshot Invoice template
image image

How to run this demo

The demo has been deployed using Python 3.7. We suggest creating a new virtual environment, then running:

git clone https://github.com/streamlit/example-app-invoice-generator.git
cd example-app-invoice-generator
pip install -r requirements.txt
streamlit run streamlit_app.py

About the app

About the template

  • Template must be an HTML file with {{ my_variable }} variable placeholders as supported by jinja.
  • Our example template here is invoice_template.html and you can see placeholders e.g. here.

🪄 Tip: if you're not an HTML expert (or if you're lazy, or both) just kick-off your template using Google Docs at docs.new and then export it as HTML using File > Download > Web page (.html, zipped). For example, this is our original template in Google Docs!

Questions? Comments?

Please ask in the Streamlit community.