Skip to content

nmattia/haskell-invoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell based invoices

The following tools are used:

  • clay library to generate CSS
  • lucid library to generate HTML
  • wkhtmltopdf to generate a PDF from HTML

To generate the first invoice, run

$ stack build && stack exec invoice -- oct-2016 | wkhtmltopdf - oct-2016.pdf

The invoice executable will generate the HTML invoice. wkhtmltopdf reads it from stdin and transforms it into a PDF. You can find an example generated file here.

About

Haskell generated PDF invoices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published