Invoice bill manager.
Create your checkout invoice-bill, add item(s) details,
and export them in HTML and/or PDF format(s). also the rendering is based a JADE template file so you can use/edit your template and make your bill with your template.
$ npm install --save invoice-bill
const InvoiceBill = ;const sample =billIDGenerator: preFlightValue: 1 mode: 'padding'currency: 'MYR'from: issuer: 'Amin Aghabeiki'to: 'Some body'logo: logo // Any base64 encoded image.;sample;sample;const test = sample;;sample;
And also working example is available in
- billIDGenerator BillIDGeneratorConfig
- from Company
- to string
- currency string
- templatePath string The JADE template path used for rendering the Bill ,
- logo string should be in base64 image format
- title title
- outputPathDIR string Output path for storing PDF files.
- options object The Rendering options.
- fileName string The filename, if not pass a name with title and a time stamp will be created.
Running the tests
- Amin Aghabeiki - Initial work
This project is licensed under the MIT License - see the LICENSE.md file for details