Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

FacturaePrint translates a facturae xml file into an understandable HTML or PDF file

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 templates
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 facturae_print.gemspec
README.md

FacturaePrint

FacturaePrint translates a facturae xml file into an understandable HTML or PDF file.

The facturae format specification is available on http://www.facturae.es. There is also an english version available here.

Installation

gem install facturae_print

Usage

FacturaePrint uses erubis to translate the facturae xml file into an html file. It also can generate a pdf version from the generated html file, using PDFKit. Nothing fancy.

Right. Let's see some examples:

facturae_print html 022011.xml templates/default.eruby -o test.html

facturae_print pdf 022011.xml templates/default.eruby -s templates/default.css -o test.pdf

That's it. What else did you expect?

Something went wrong with that request. Please try again.