ihub-danfe
v1.0.27
Published
> iHub invoice generator allows you to quickly build invoices.
Downloads
36
Readme
iHub DANFe (WIP)
iHub invoice generator allows you to quickly build invoices.
Installing
First you need to create a .npmrc or change your local npm registry to point for our internal private registry:
registry=https://registry.infracommerce.com.br/repository/npm-local/
Then on your project folder:
$ npm i -S ihub-danfe
Usage
There is two exports only, a type and a function:
Type Invoice
{
}
buildA4(invoice: Invoice, img: Buffer): Buffer