1.1.5 • Published 11 years ago

docparse-find-bill v1.1.5

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

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