docparse-find-bill

Find a docparse bill in the database with given parameters

npm install docparse-find-bill
36 downloads in the last month

Docparse Find Bill

Find a docparse bill in the database with given parameters

Build Status Dependency Status 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

npm loves you