ccarruitero / sunat_books

0 stars 0 forks source link

Sunat Books

Gem Version Build Status Code Climate

A ruby gem to 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 = SunatBooks::Pdf::Buys.new(company, tickets, month, year)
pdf.render

to get the txt file for electronic books

ple = SunatBooks::Ple::Buys.new(ruc, tickets, month, year, options)

Currently allowed options are: