Ruby
Clone or download
Latest commit 6f39bed May 13, 2018
Permalink
Failed to load latest commit information.
assets Put logo into assets Mar 19, 2018
bin Add config for Puma workers Mar 18, 2018
docs Fix headlines May 13, 2018
examples Include Node.js example May 13, 2018
lib Bump version to 1.2 May 13, 2018
test Finish API tests Mar 18, 2018
.gitignore Initial commit Dec 12, 2015
Gemfile Add server Mar 12, 2018
LICENSE.txt Include colons automatically Apr 10, 2016
README.md Bump version to 1.2 May 13, 2018
Rakefile Rename tests Mar 7, 2016
invoice_printer.gemspec Relax Puma dependency Mar 24, 2018

README.md

 

Super simple PDF invoicing. InvoicePrinter is a server, command line program and pure Ruby library to generate PDF invoices in no time. You can use Ruby or JSON as the invoice representation to build the final PDF.

Philosophy

  • Simple, no styling required, no calculation, no money formatting (bring your own)
  • Pure Ruby, no dependency on system libraries or browsers
  • Fast, so you can render invoices on the fly during requests

Examples

Simple invoice

See more usecases in the examples/ directory.

Features

  • A4 and US letter paper size
  • Invoice/document name and number
  • Purchaser and provider boxes with addresses and identificaton numbers
  • Payment method box showing banking details including SWIFT and IBAN fields
  • Issue/due dates box
  • Configurable items' table with item description, quantity, unit, price per unit, tax and item's total amount fields
  • Final subtotal/tax/total info box
  • Page numbers
  • Configurable labels & sublabels (optional little labels)
  • Configurable font file
  • Logotype (as image scaled to fit 50px of height)
  • Background (as image)
  • Stamp & signature (as image)
  • Note
  • JSON format
  • CLI
  • Server
  • Well tested

Documentation

Copyright

Copyright 2015-2018 © Josef Strzibny. MIT licensed.

Originally extracted from and created for an open source single-entry invoicing app InvoiceBar.