Now it's a library for generating electronic invoices with JavaScript. This library follows 🇵🇪 Sunat's regulations on invoices.
When items are added, receipt amounts are calculated.
It doesn't contain anything visual so it doesn't generate a PDF file for printing either.
Since it is written entirely in JavaScript, it can be run in web browsers just after setting required data.
To generate a document you only need the data.
To sign the document you will need a digital certificate and the private key.
This is the main document. Two types can be represented: factura and boleta de venta.
Two types can be generated: credit note and debit note.
For carrier or remitter.