qbws
v0.2.1
Published
a web server for QuickBooks Web Connector integration
Downloads
40
Maintainers
Readme
qbws
This sample is a Node.js web service application that communicates with QuickBooks via QBWebConnector. The sample focuses primarily on demonstrating how to setup all web service web methods to run against QBWebConnector and does not focus on any particular use case. For simplicity, it sends three request XMLs: CustomerQuery, InvoiceQuery and BillQuery.
Status
This project replicates the functionality of the ASP.NET web service found in the QBSDK. Unfortunately that means some things are hard coded that should not be, and other things are left unimplemented. Eventually, qbws will diverge from that C# example to serve less of an SDK example and more as a reliable utility.
Usage
Install the package using npm install qbws
. The following code is all you need to run the service:
var qbws = require('qbws');
qbws.run();
Changelog
v0.2.1
- Correct
authenticate()
andsendRequestXML()
(see [issue #3][3]) - Added a bunch of JSDoc style comments
v0.2.0
- Functional port of Intuit's WCWebService provided in the QBSDK samples
- Many things are hard coded for demonstration purposes:
- Login credentials
- Requests (CustomerQuery, InvoiceQuery, BillQuery)
- Company file location
Next Milestones
- v0.2.2: Include documentation for all functions (likely using JSDoc)
- v0.3.0: Conversion to Node.js utility
Feature Wishlist
- Conversion to asynchronous architecture for the service methods
- QBXML validation using a separate package
- Likely to be optional as this could potentially slow down response time by a significant amount for large queries
- Module config settings