docparse-find-bill

Find a docparse bill in the database with given parameters

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(errbill) {
  if (err) {
    inspect(err, 'error finding bill')
    return;
  }
  if (!bill) {
    inspect('no bill found');
    return cb();
  }
  inspect(bill.toObject(), 'found bill');
});

npm install docparse-find-bill

npm install docparse-find-bill eyespect