/invoice-generator

Invoice generator in PDF from LaTeX template file

Primary LanguageRubyMIT LicenseMIT

Invoice generator Star this repo Fork this repo MIT Licence Open Source Love

Generate an invoice in PDF from a LaTeX template file (belgian legal format).

Dependencies :

  • ruby;
  • ruby gems : rake, yaml, erb;
  • pdflatex;

Usage :

  • Edit the config.yaml file with your company information;
  • Edit the config.yaml file with your invoice information;
  • Edit/add your clients to the config.yaml file;
  • Invoke the tasks defined in the rakefile to generate an invoice :
rake -T
rake clean            # Remove any temporary products
rake clobber          # Remove any generated file
rake invoice[client]  # Generate an 'invoice' for a client

Note : for zsh users, use rake invoice\[client\] synthax.

Feel free to fork and custom.

Buy me a coffee

Resume