Coder Social home page Coder Social logo

clarintux / invoice_maker Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 748 KB

Cross-platform and multi-language automated invoice generator, wich support various invoice templates.

Home Page: https://clarintuxmail.eu.org

License: GNU General Public License v3.0

Python 53.08% HTML 32.29% CSS 14.64%
invoice-generator invoices-pdf python send wxpython invoice invoice-maker

invoice_maker's Introduction

Invoice Maker

Cross-platform and multi-language automated invoice generator, wich support various invoice templates. Written in Python and wxPython..


Preamble

A single generator that meets the different needs of everyone is probably impossible. To try to achieve this, Invoice Maker lets the user choose the language, the appearance of invoices and other things. Invoice Maker (v0.1) supports English, Italian, French, Spanish and German. 7 HTML templates are available.

Installation

  • On Linux (Debian/Ubuntu based:

    sudo apt install git wkhtmltopdf wxpython-tools python3-pdfkit  # requirements
    sudo ln -s /usr/bin/python3 /usr/bin/python  # symbolic link to use python3 with 'python' command
    git clone https://github.com/clarintux/invoice_maker.git  # clone this repository in '$HOME/invoice_maker'
    chmod +x ~/invoice_maker/invoice_maker.py   # permit execution
    chmod +x ~/invoice_maker/send_mail.py       # permit execution
    
  • On Linux (Arch based):

    yay -S git wkhtmltopdf-static python-pdfkit python-wxpython  # requirements
    git clone https://github.com/clarintux/invoice_maker.git  # clone this repository in '$HOME/invoice_maker'
    chmod +x ~/invoice_maker/invoice_maker.py   # permit execution
    chmod +x ~/invoice_maker/send_mail.py       # permit execution
    
  • On Windows and Mac:

    pip install wxPython
    
    pip install pdfkit
    
    • Clone the repository:
    git clone https://github.com/clarintux/invoice_maker.git
    

Replace the image logo.jpg with a JPG file with your logo. Modify TEXT1, TEXT2 and TEXT3 in the file text.txt accordently to your needs. Start invoice_maker and save your data and a invoice number. Insert data and invoice items for each customer.

Enjoy! :-)

P.S.: To automatically send invoices to customers, changes in the module send_mail.py are required. I can not predict wich port and server and things are used in your smtp server...

Usage

  • python invoice_maker - Launch the GUI
  • --help - display help and exit
  • <locale code> - use selected locale without GUI
  • --template - choose a template between 1 and 7 without GUI
  • --all - generate all invoices without GUI
  • --send - send all generated invoices without GUI

Examples

Assuming invoice_maker.py is in your path, it can be used like:

invoice_maker.py
invoice_maker.py --help
invoice_maker.py it --all --template 1
invoice_maker.py de --all --template 2
invoice_maker.py en --all --template 3 --send

Credits for Templates

invoice_maker's People

Contributors

clarintux avatar

Stargazers

 avatar Marco Visibelli avatar  avatar

Watchers

 avatar

Forkers

clickinfinite

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.