Sunat Books
A ruby gem for get accounting books for SUNAT
Install
You can install via
gem install sunat_books
or by adding to your Gemfile
gem 'sunat_books'
Usage
require 'sunat_books'
to get a pdf format
pdf = Books::Buys.new(company, tickets, view_context, month, year)
pdf.render
to get the txt file for electronic books
ple = PleBooks::Buys.new(ruc, tickets, month, year)