/NodeDanfePDF

The purpose of the project is to basically transform an object with electronic invoice characteristics into a danfe pdf document

Primary LanguageJavaScript

Node JS server with Danfe generation in PDF

npm npm npm npm npm

GOAL :

The purpose of the project is to basically transform an object with electronic invoice characteristics into a danfe pdf document

EXTERNAL COMPONENTS :

  • express
  • pdfkit

INTERNAL COMPONENTS :

File Description
DocumentoPDF.js This class aims to generate a pdf document with pre-facilitated methods, these methods use the pdfkit package to assemble the pdf
Danfe.js This class aims to assemble the pdf document using the methods of the pdfdocuments.js class
NotaFiscalEletronica.js This class basically uses the danfe.js class to pass the data that will effectively assemble the danfe pdf

INSTALLING

git clone https://github.com/danilosoftwares/NodeDanfePDF.git
cd NodeDanfePDF
npm install

License

MIT