1.0.5 • Published 4 years ago
invoice-generator-npm v1.0.5
Invoice Genereator
To generate pdf of invoice
this is example package for practice. this package will be removed soon. to call a function the json object is passed with following formate.
example
const invoice = { invoice_nr: 1234, AppointmentDate: "2020-5-27 16:32:47", garage: { name: "A Star Garage1", address: "1234 Main Street", city: "San Francisco", state: "CA", country: "US", }, customer:{ name:"abc", email:"abc@gmail.com", contact:"1234567897", carvin:"13256478954123654" }, items: { servicename:"oil change", servicecost: 6000 }, { servicename:"Alternator change", servicecost: 60000 }, { servicename:"Alternator change", servicecost: 600 } , }