docparse-find-bill
v1.1.5
Published
Find a docparse bill in the database with given parameters
Downloads
22
Readme
Docparse Find Bill
Find a docparse bill in the database with given parameters
Dependency tracking by David
Usage
var findBill = require('docparse-find-bill')
var queryParams = {
supplierCode: 'FGS',
billNumber: 'foo bill number'
};
findBill(queryParams, function(err, bill) {
if (err) {
inspect(err, 'error finding bill')
return;
}
if (!bill) {
inspect('no bill found');
return cb();
}
inspect(bill.toObject(), 'found bill');
});
Installation
npm install docparse-find-bill
Example Installation
npm install docparse-find-bill eyespect