{"_id":"@eld0ud/quickbooks-node-promise","_rev":"3-17ef0552ac43e038ab6ecc33ee783ee5","name":"@eld0ud/quickbooks-node-promise","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@eld0ud/quickbooks-node-promise","version":"0.0.1","description":"Connect to QuickBooks Online API with OAuth 2","main":"index.js","author":{"name":"Edouard Lejosne"},"license":"ISC","keywords":["quickbooks","node","promise","OAuth2"],"repository":{"type":"git","url":"git+https://github.com/Eld0ud/quickbooks-node-promise.git"},"dependencies":{"csrf":"^3.1.0","jsonwebtoken":"^8.5.1","node-fetch":"^2.5.0","qs":"^6.7.0","underscore":"^1.9.1","uuid":"^3.3.2"},"devDependencies":{"dotenv":"^8.0.0","express":"^4.16.4","jsdoc-to-markdown":"^5.0.0"},"scripts":{"start":"node example/server.js"},"gitHead":"4971e3b776eb2522c2bcae0e9cffe21f2c42d7c4","bugs":{"url":"https://github.com/Eld0ud/quickbooks-node-promise/issues"},"homepage":"https://github.com/Eld0ud/quickbooks-node-promise#readme","_id":"@eld0ud/quickbooks-node-promise@0.0.1","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","_npmUser":{"name":"eld0ud","email":"edouard@leanpay.fr"},"dist":{"integrity":"sha512-wDB+wKiYlVk3yGTXJTLrcFCkW3oa4VYw3F1vSt3mPYrYW/i6qT6hJ9jqjpIiUzUYuNx334bjwMGpGQf1oePJqQ==","shasum":"942ea75e2c2209f744cb739f0548695dc122904c","tarball":"https://registry.npmjs.org/@eld0ud/quickbooks-node-promise/-/quickbooks-node-promise-0.0.1.tgz","fileCount":7,"unpackedSize":180204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvTpSCRA9TVsSAnZWagAA0sIP/0H0gkTDPSsNLw9qOBbE\ncoEovDbmQwVodK7BMHSSQG7emqr2/q/yfTsx8fQPBVBZ9HkqHJXmvncIoHja\nEVV49oEiF/3b7b1ZgufCvjy58gE1+YGheeaXxUpmHHFFusNujKXbNusfrZbZ\n7ZMHPeaXtZOF6zIoIwfyfyJLrQ8sXywyJBz18HRT7E4RkdL9D8jz6uwRuLa0\nMPLXgEC5jwaxxfbmr1TWSKJjj8HcSjUmkEQkSlp7Co6W+wY8pWbJ8XSPh3zv\nQG/GmeS0+8Cy7aB2h0BXL29Q6/JyGceqWXWLZmVw8LZuFfX6ntIAlTqLyrF2\n35zoTZecv8VjIUnioBYWe/DB+Mv5LljOJLLHJP5UIqPE4dopluCg3nA+nkKm\nz95XsE2ZlL7IpuvHPmF+oT7gdNBbm+Hi/E5Ac7qbRo4Zcd9H0LPB/CDljb43\nMSD19Ym0zo/R6M3AVJPbCHd7fD1oSPmsCkM7qHSBErKCrs7Wfi/LbdeJGfzy\nZztwgm+4n82uX3qi0qIY1FApPOs9osAUtEHVwUO8DUfC/G6GquEIfRTIu0AO\nSbPGwsG86xwU3aKtMeG0LmbH/zvESunjIMRl92aNOhACkaJhTnaIwobf6LoR\nrxgOUnixuQveN/CafZR00o0LQFj7Mf1UL/DKVxrv+uKQPP2SnAout7mzDBbV\n6k73\r\n=BbDt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkRJWJmUpABWrYK0hW6BLgNGp8hr8P9EuNxUP+jkb+8gIhAOK39IOK+EoZ4xpo2yBNerTSp6dboP/FrUmRfO+4+cuW"}]},"directories":{},"maintainers":[{"name":"eld0ud","email":"edouard@leanpay.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quickbooks-node-promise_0.0.1_1606236753730_0.6336238179174027"},"_hasShrinkwrap":false},"0.0.2":{"name":"@eld0ud/quickbooks-node-promise","version":"0.0.2","description":"Connect to QuickBooks Online API with OAuth 2","main":"index.js","author":{"name":"Edouard Lejosne"},"license":"ISC","keywords":["quickbooks","node","promise","OAuth2"],"repository":{"type":"git","url":"git+https://github.com/Eld0ud/quickbooks-node-promise.git"},"dependencies":{"csrf":"^3.1.0","jsonwebtoken":"^8.5.1","node-fetch":"^2.5.0","qs":"^6.7.0","underscore":"^1.9.1","uuid":"^3.3.2"},"devDependencies":{"dotenv":"^8.0.0","express":"^4.16.4","jsdoc-to-markdown":"^5.0.0"},"scripts":{"start":"node example/server.js"},"gitHead":"71b1cb6a8ab54d87edf1932b6eef9edbd552a893","bugs":{"url":"https://github.com/Eld0ud/quickbooks-node-promise/issues"},"homepage":"https://github.com/Eld0ud/quickbooks-node-promise#readme","_id":"@eld0ud/quickbooks-node-promise@0.0.2","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","_npmUser":{"name":"eld0ud","email":"edouard@leanpay.fr"},"dist":{"integrity":"sha512-gwdX83GlXEUEdyvWE9NNOWj/YXXQ4OC06uxorofK3kTneptWGPfHy58H+gZ1pVfAjLMjRq7azBt/cMO1FOwKnw==","shasum":"f824d1852a24b4eeb3348272fdfecdbc6955e405","tarball":"https://registry.npmjs.org/@eld0ud/quickbooks-node-promise/-/quickbooks-node-promise-0.0.2.tgz","fileCount":7,"unpackedSize":180303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvT9NCRA9TVsSAnZWagAA/SMP/39L5c6cefremeUKo4v6\nKF6lgMr8g+yYXNSlp3ftfyMl+3AD+367jMDEpTcPmRrjSbp/0R5K7bVOoZIc\n+8bRXE8KvJ/daUzrsNDOLKbGpR0mv52sWrtD3l6ffMJIlgBidVOFqwwI8UDM\nF3Um6KH7VFjoBRw0PYm/1z3WslNOYBs5XyxKNKu6T3vSYtQE5MQMhCvH3k8P\nCNslm3ukkz8GTmbbklx9SvEMa3q1iIBGSsoXrNI/YahLbh57azqm2r4mtnc6\nmVnlGabuQaKLxjShT9kAayS8BeY6JrDxBtrYoOWHF6C2kcch0hufCN958CFx\niD3X4DNw92hGDQep/iQPoSezxsLvhsAY0ahS3PI12xwLEmiSuSc9H0Nble6b\n9BXoI96WfaM0ONSLQsOTbDF3WKabA2kM0Qjnx0HHRzA5vce4how6cgt5zHkm\naagfjn7dclLmwBM/TIWDcBRou1OuoRsjhq1lm2XfZccj13Oo0pTGJydJ/4O8\ntMZJE/e/4P3UGtcbZIlU0tnfFh9ySNEwZ1aoF0tZJIblodKmNorLzfCPmCNw\nzwlDVjL/9YFNhQaZLiIMsniezKcNy1S2pki5hCh36/3lvMBr3UlVF0iPXkol\n3qYZVGZRXsFh9uGa9XQn9hZE0XLAfp8RTmjwfSFO80abn7/zOqjwemkDFJKH\n4Kmb\r\n=X6JD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjOA87Zo+m2k7gmO0VbT+zVDH+9zUrWBe1gVUONZL/0AiAJrkzy0LPScf57C9Vme/vfyP1eKMnm7ucZvuEHjXnung=="}]},"directories":{},"maintainers":[{"name":"eld0ud","email":"edouard@leanpay.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quickbooks-node-promise_0.0.2_1606238028858_0.22717150031658906"},"_hasShrinkwrap":false},"0.0.3":{"name":"@eld0ud/quickbooks-node-promise","version":"0.0.3","description":"Connect to QuickBooks Online API with OAuth 2","main":"index.js","author":{"name":"Edouard Lejosne"},"license":"ISC","keywords":["quickbooks","node","promise","OAuth2"],"repository":{"type":"git","url":"git+https://github.com/Eld0ud/quickbooks-node-promise.git"},"dependencies":{"csrf":"^3.1.0","jsonwebtoken":"^8.5.1","node-fetch":"^2.5.0","qs":"^6.7.0","underscore":"^1.9.1","uuid":"^3.3.2"},"devDependencies":{"dotenv":"^8.0.0","express":"^4.16.4","jsdoc-to-markdown":"^5.0.0"},"scripts":{"start":"node example/server.js"},"gitHead":"af5f29f1d4251c532aa62f84d976f9221f566b4f","bugs":{"url":"https://github.com/Eld0ud/quickbooks-node-promise/issues"},"homepage":"https://github.com/Eld0ud/quickbooks-node-promise#readme","_id":"@eld0ud/quickbooks-node-promise@0.0.3","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","_npmUser":{"name":"eld0ud","email":"edouard@leanpay.fr"},"dist":{"integrity":"sha512-3sQS/02Eu21iFAUUyxixNkKlteqSVf7LiQUs+HD8vyIRA2pUk/ptwBSZUF4/d3yb6+8XVQeqgdCOa9hp7lSihw==","shasum":"798bd27fb055307a14d0fa290a2aa0e20cd3b882","tarball":"https://registry.npmjs.org/@eld0ud/quickbooks-node-promise/-/quickbooks-node-promise-0.0.3.tgz","fileCount":7,"unpackedSize":180531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv8ygCRA9TVsSAnZWagAA35IP/1QyWigbKmBxObuFNGh4\nbwZL1PqRNWFbiXmGTFsMmwfIOw7Cbwy61b8Vhb/oDU+D98vI6OecfwNBaz7S\n4WVy2m+SP6Ec8b/oieFvCinbedMbEiODhIwMj9l2vJKSw9RxlFs/2qVZ1zND\noAIMRGW1bhmWM1zjn3mVZQ3+0rqVACJeN6UqNDu8CpcHqx/RGrgHj9PYXKJs\nzkW5vqQkAmAqqLh7JCCcgIHnm0WkrPEpXW/6SxAxtQCpUQrp7OeB8vYu34LH\nH5ZkX6HGIOktByJjcPVBIZDHh+jGD2vthS5dNnjAoZ6DU7Gg1qlGvhjHWf22\nfKhNqKOewT4Y+yipdk7YuaBcOXAtU4NaWHq6xH9bsd0xCXbnMHYZToRUz4KY\nGDE7lX7VoQcNqTmYPIm3jdWQTMORsT6cZLcpYnsjMkDlBWN5zGLTYD5emo+A\n3vA83YJWqsr/QkPyrLYZsbSohsF+9znvjEn3S98XShZtyjNS1HaaUbR3dRWF\n8wY7k5ucrFrw3a2X9SHjJ+CCvvKtm65GsNRxRzXSH4Eb+w/1EP5K7OjjCr4k\nfvU3uLF58EFlDaCFHlbejSZnqimNsLa8TNfewCbgz8OJioj+lxm+32yBB5Ts\nrK9qHdX0sJhChqRDn4ElAnVF3XjPy7COej7wPxcqZHjGU5KiU+ikUvyJ1WTW\nz1Jm\r\n=o4mN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDG6mFW6EkkBiA9ZPSFAgkZ+/TeGMZr+01o+KtHuGMySAIhALB+ERU4flmtgYHuBgwokpWbeqBxri7jTOVPbxVSB9DD"}]},"directories":{},"maintainers":[{"name":"eld0ud","email":"edouard@leanpay.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quickbooks-node-promise_0.0.3_1606405278946_0.21706066367351595"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-24T16:52:33.694Z","0.0.1":"2020-11-24T16:52:33.973Z","modified":"2022-04-05T07:07:23.988Z","0.0.2":"2020-11-24T17:13:49.017Z","0.0.3":"2020-11-26T15:41:19.074Z"},"maintainers":[{"name":"eld0ud","email":"edouard@leanpay.fr"}],"description":"Connect to QuickBooks Online API with OAuth 2","homepage":"https://github.com/Eld0ud/quickbooks-node-promise#readme","keywords":["quickbooks","node","promise","OAuth2"],"repository":{"type":"git","url":"git+https://github.com/Eld0ud/quickbooks-node-promise.git"},"author":{"name":"Edouard Lejosne"},"bugs":{"url":"https://github.com/Eld0ud/quickbooks-node-promise/issues"},"license":"ISC","readme":"# Overview\n\nThis library was created for Quickbooks OAuth2.  It converted a lot of node-quickbooks into promises.\n\nWill handle the authentication and auto renew Access Tokens when they are expired.\n\n## Example grabbing resource\n```javascript\nconst QuickBooks = require(\"quickbooks-node-promise\");\nconst qbo = new QuickBooks(appConfig, realmID);\nconst customers = await qbo.findCustomers({ Id: \"1234\" });\nconst customer = customer.QueryResponse.Customer[0]\nconsole.log(`Hi my customer's name is ${customer.Name}`)\n```\n\n#  Setup\n\n**Check the example for node express setup endpoints**\n\n## Install\n\n```\nnpm i quickbooks-node-promise\n```\n\n## Create Store Strategy\nThe store strategy is used to Save and Retreive token information.  Both methods return a promise.\n\n```javascript\nclass QBStoreStrategy {\n  /**\n   * Uses a realmID to lookup the token information.\n   * Should return back in an object\n   * \n   * @param {number} realmID the quickbooks companyID\n   * @returns {object} Promise\n   */\n  getQBToken({ realmID }) {\n    return new Promise((resolve) => {\n      // Get token infomraiton using realmID here\n\n      // Return object which includes the access_expire_timestamp & refresh_expire_timestamp\n      let newToken = {\n        realmID: my_realm_id // optional but nice to have\n        access_token: my_access_token,\n        refresh_token: my_refresh_token,\n        access_expire_timestamp: my_access_expire_timestamp,\n        refresh_expire_timestamp: my_refresh_expire_timestamp,\n        id_token: my_id_token // (Optional) Used only for user OpenID verification\n      }\n      resolve(newToken)\n    })\n  }\n\n  /**\n   * Used to store the new token information\n   * Will be looked up using the realmID   \n   * \n   * @param {number} realmID the quickbooks companyID\n   * @param {object} token\n   * @param {string} token.access_token used to access quickbooks resource\n   * @param {string} token.refresh_token This should be securely stored\n   * @param {number} token.expires_in access_token expire time in seconds, 3600 usually\n   * @param {number} token.x_refresh_token_expires_in refresh_token expire time in seconds.\n   * @param {string} token.id_token (Optional) OpenID user token - sent only on original access, not included in refresh token\n   * @param {string} token.token_type This will be \"Bearer\"\n   * @param {object} access_expire_timestamp JS Date object when the access_token expires, calculated from expires_in\n   * @param {object} refresh_expire_timestamp JS Date object when the refresh_token expires, calculated from x_refresh_token_expires_in\n   * @returns {object} Promise\n   */\n  storeQBToken({ realmID, token, access_expire_timestamp, refresh_expire_timestamp }) {\n    return new Promise((resolve) => {\n      // Store information to DB or your location here now\n      saveToDB({\n        realmID: realmID\n        access_token: token.access_token,\n        refresh_token: token.refresh_token,\n        access_expire_timestamp: access_expire_timestamp,\n        refresh_expire_timestamp: refresh_expire_timestamp,\n        id_token: my_id_token // (Optional) Used only for user OpenID verification\n      })\n\n      // Return object which includes the access_expire_timestamp & refresh_expire_timestamp\n      let newToken = {\n        realmID: my_realm_id\n        access_token: my_access_token,\n        refresh_token: my_refresh_token,\n        access_expire_timestamp: my_access_expire_timestamp,\n        refresh_expire_timestamp: my_refresh_expire_timestamp,\n        id_token: my_id_token // (Optional) Used only for user OpenID verification\n      }\n      resolve(newToken)\n    })\n  }\n}\n```\n\n## Config setup\n\nA config setup is needed for each app.  Some values have defaults but should supply your own\n\n```javascript\n// QB config\nQBAppconfig = {\n  appKey: QB_APP_KEY,\n  appSecret: QB_APP_SECRET,\n  redirectUrl: QB_REDIRECT_URL,\n  minorversion: 37, /* default if ommited is 37, check for your version in the documents */\n  useProduction: QB_USE_PROD, /* default is false */\n  debug: (NODE_ENV == \"production\" ? false : true), /* default is false */\n  storeStrategy: new QBStoreStrategy(),  // if ommited uses storage inside the created object\n  scope: [\n    QuickBooks.scopes.Accounting,\n    QuickBooks.scopes.OpenId,\n    QuickBooks.scopes.Profile,\n    QuickBooks.scopes.Email,\n    QuickBooks.scopes.Phone,\n    QuickBooks.scopes.Address\n  ]\n}\n```\n\n### Scopes available:\n\n```javascript\nQuickBooks.scopes = {\n  Accounting: 'com.intuit.quickbooks.accounting',\n  Payment: 'com.intuit.quickbooks.payment',\n  Payroll: 'com.intuit.quickbooks.payroll',\n  TimeTracking: 'com.intuit.quickbooks.payroll.timetracking',\n  Benefits: 'com.intuit.quickbooks.payroll.benefits',\n  Profile: 'profile',\n  Email:  'email',\n  Phone: 'phone',\n  Address: 'address',\n  OpenId: 'openid',\n  Intuit_name: 'intuit_name'\n}\n```\n\n\n\n\n<a name=\"QuickBooks\"></a>\n\n# QuickBooks Methods\n**Kind**: global class  \n\n* [QuickBooks](#QuickBooks)\n    * [new QuickBooks(appConfig, realmID)](#new_QuickBooks_new)\n    * _instance_\n        * [.authorizeUrl()](#QuickBooks+authorizeUrl) ΓçÆ <code>string</code>\n        * [.createToken(authCode, realmID)](#QuickBooks+createToken) ΓçÆ <code>object</code>\n        * [.saveToken(token)](#QuickBooks+saveToken)\n        * [.getToken()](#QuickBooks+getToken)\n        * [.refreshWithAccessToken(token)](#QuickBooks+refreshWithAccessToken) ΓçÆ <code>Token</code>\n        * [.refreshAccessToken()](#QuickBooks+refreshAccessToken) ΓçÆ <code>Token</code>\n        * [.revokeAccess(useRefresh)](#QuickBooks+revokeAccess)\n        * [.validateIdToken()](#QuickBooks+validateIdToken)\n        * [.getPublicKey(modulus, exponent)](#QuickBooks+getPublicKey)\n        * [.getUserInfo()](#QuickBooks+getUserInfo)\n        * [.batch(items)](#QuickBooks+batch)\n        * [.changeDataCapture(entities, since)](#QuickBooks+changeDataCapture)\n        * [.upload(filename, contentType, stream, entityType, entityId)](#QuickBooks+upload)\n        * [.createAccount(account)](#QuickBooks+createAccount)\n        * [.createAttachable(attachable)](#QuickBooks+createAttachable)\n        * [.createBill(bill)](#QuickBooks+createBill)\n        * [.createBillPayment(billPayment)](#QuickBooks+createBillPayment)\n        * [.createClass(class)](#QuickBooks+createClass)\n        * [.createCreditMemo(creditMemo)](#QuickBooks+createCreditMemo)\n        * [.createCustomer(customer)](#QuickBooks+createCustomer)\n        * [.createDepartment(department)](#QuickBooks+createDepartment)\n        * [.createDeposit(deposit)](#QuickBooks+createDeposit)\n        * [.createEmployee(employee)](#QuickBooks+createEmployee)\n        * [.createEstimate(estimate)](#QuickBooks+createEstimate)\n        * [.createInvoice(invoice)](#QuickBooks+createInvoice)\n        * [.createItem(item)](#QuickBooks+createItem)\n        * [.createJournalCode(journalCode)](#QuickBooks+createJournalCode)\n        * [.createJournalEntry(journalEntry)](#QuickBooks+createJournalEntry)\n        * [.createPayment(payment)](#QuickBooks+createPayment)\n        * [.createPaymentMethod(paymentMethod)](#QuickBooks+createPaymentMethod)\n        * [.createPurchase(purchase)](#QuickBooks+createPurchase)\n        * [.createPurchaseOrder(purchaseOrder)](#QuickBooks+createPurchaseOrder)\n        * [.createRefundReceipt(refundReceipt)](#QuickBooks+createRefundReceipt)\n        * [.createSalesReceipt(salesReceipt)](#QuickBooks+createSalesReceipt)\n        * [.createTaxAgency(taxAgency)](#QuickBooks+createTaxAgency)\n        * [.createTaxService(taxService)](#QuickBooks+createTaxService)\n        * [.createTerm(term)](#QuickBooks+createTerm)\n        * [.createTimeActivity(timeActivity)](#QuickBooks+createTimeActivity)\n        * [.createTransfer(transfer)](#QuickBooks+createTransfer)\n        * [.createVendor(vendor)](#QuickBooks+createVendor)\n        * [.createVendorCredit(vendorCredit)](#QuickBooks+createVendorCredit)\n        * [.getAccount(Id)](#QuickBooks+getAccount)\n        * [.getAttachable(Id)](#QuickBooks+getAttachable)\n        * [.getBill(Id)](#QuickBooks+getBill)\n        * [.getBillPayment(Id)](#QuickBooks+getBillPayment)\n        * [.getClass(Id)](#QuickBooks+getClass)\n        * [.getCompanyInfo(Id)](#QuickBooks+getCompanyInfo)\n        * [.getCreditMemo(Id)](#QuickBooks+getCreditMemo)\n        * [.getCustomer(Id)](#QuickBooks+getCustomer)\n        * [.getDepartment(Id)](#QuickBooks+getDepartment)\n        * [.getDeposit(Id)](#QuickBooks+getDeposit)\n        * [.getEmployee(Id)](#QuickBooks+getEmployee)\n        * [.getEstimate(Id)](#QuickBooks+getEstimate)\n        * [.getExchangeRate(options)](#QuickBooks+getExchangeRate)\n        * [.getEstimatePdf(Id)](#QuickBooks+getEstimatePdf)\n        * [.sendEstimatePdf(Id, sendTo)](#QuickBooks+sendEstimatePdf)\n        * [.getInvoice(Id)](#QuickBooks+getInvoice)\n        * [.getInvoicePdf(Id)](#QuickBooks+getInvoicePdf)\n        * [.sendInvoicePdf(Id, sendTo)](#QuickBooks+sendInvoicePdf)\n        * [.getItem(Id)](#QuickBooks+getItem)\n        * [.getJournalCode(Id)](#QuickBooks+getJournalCode)\n        * [.getJournalEntry(Id)](#QuickBooks+getJournalEntry)\n        * [.getPayment(Id)](#QuickBooks+getPayment)\n        * [.getPaymentMethod(Id)](#QuickBooks+getPaymentMethod)\n        * [.getPreferences()](#QuickBooks+getPreferences)\n        * [.getPurchase(Id)](#QuickBooks+getPurchase)\n        * [.getPurchaseOrder(Id)](#QuickBooks+getPurchaseOrder)\n        * [.getRefundReceipt(Id)](#QuickBooks+getRefundReceipt)\n        * [.getReports(Id)](#QuickBooks+getReports)\n        * [.getSalesReceipt(Id)](#QuickBooks+getSalesReceipt)\n        * [.getSalesReceiptPdf(Id)](#QuickBooks+getSalesReceiptPdf)\n        * [.sendSalesReceiptPdf(Id, sendTo)](#QuickBooks+sendSalesReceiptPdf)\n        * [.getTaxAgency(Id)](#QuickBooks+getTaxAgency)\n        * [.getTaxCode(Id)](#QuickBooks+getTaxCode)\n        * [.getTaxRate(Id)](#QuickBooks+getTaxRate)\n        * [.getTerm(Id)](#QuickBooks+getTerm)\n        * [.getTimeActivity(Id)](#QuickBooks+getTimeActivity)\n        * [.getTransfer(Id)](#QuickBooks+getTransfer)\n        * [.getVendor(Id)](#QuickBooks+getVendor)\n        * [.getVendorCredit(Id)](#QuickBooks+getVendorCredit)\n        * [.updateAccount(account)](#QuickBooks+updateAccount)\n        * [.updateAttachable(attachable)](#QuickBooks+updateAttachable)\n        * [.updateBill(bill)](#QuickBooks+updateBill)\n        * [.updateBillPayment(billPayment)](#QuickBooks+updateBillPayment)\n        * [.updateClass(class)](#QuickBooks+updateClass)\n        * [.updateCompanyInfo(companyInfo)](#QuickBooks+updateCompanyInfo)\n        * [.updateCreditMemo(creditMemo)](#QuickBooks+updateCreditMemo)\n        * [.updateCustomer(customer)](#QuickBooks+updateCustomer)\n        * [.updateDepartment(department)](#QuickBooks+updateDepartment)\n        * [.updateDeposit(deposit)](#QuickBooks+updateDeposit)\n        * [.updateEmployee(employee)](#QuickBooks+updateEmployee)\n        * [.updateEstimate(estimate)](#QuickBooks+updateEstimate)\n        * [.updateInvoice(invoice)](#QuickBooks+updateInvoice)\n        * [.updateItem(item)](#QuickBooks+updateItem)\n        * [.updateJournalCode(journalCode)](#QuickBooks+updateJournalCode)\n        * [.updateJournalEntry(journalEntry)](#QuickBooks+updateJournalEntry)\n        * [.updatePayment(payment)](#QuickBooks+updatePayment)\n        * [.updatePaymentMethod(paymentMethod)](#QuickBooks+updatePaymentMethod)\n        * [.updatePreferences(preferences)](#QuickBooks+updatePreferences)\n        * [.updatePurchase(purchase)](#QuickBooks+updatePurchase)\n        * [.updatePurchaseOrder(purchaseOrder)](#QuickBooks+updatePurchaseOrder)\n        * [.updateRefundReceipt(refundReceipt)](#QuickBooks+updateRefundReceipt)\n        * [.updateSalesReceipt(salesReceipt)](#QuickBooks+updateSalesReceipt)\n        * [.updateTaxAgency(taxAgency)](#QuickBooks+updateTaxAgency)\n        * [.updateTaxCode(taxCode)](#QuickBooks+updateTaxCode)\n        * [.updateTaxRate(taxRate)](#QuickBooks+updateTaxRate)\n        * [.updateTerm(term)](#QuickBooks+updateTerm)\n        * [.updateTimeActivity(timeActivity)](#QuickBooks+updateTimeActivity)\n        * [.updateTransfer(Transfer)](#QuickBooks+updateTransfer)\n        * [.updateVendor(vendor)](#QuickBooks+updateVendor)\n        * [.updateVendorCredit(vendorCredit)](#QuickBooks+updateVendorCredit)\n        * [.updateExchangeRate(exchangeRate)](#QuickBooks+updateExchangeRate)\n        * [.deleteAttachable(idOrEntity)](#QuickBooks+deleteAttachable)\n        * [.deleteBill(idOrEntity)](#QuickBooks+deleteBill)\n        * [.deleteBillPayment(idOrEntity)](#QuickBooks+deleteBillPayment)\n        * [.deleteCreditMemo(idOrEntity)](#QuickBooks+deleteCreditMemo)\n        * [.deleteDeposit(idOrEntity)](#QuickBooks+deleteDeposit)\n        * [.deleteEstimate(idOrEntity)](#QuickBooks+deleteEstimate)\n        * [.deleteInvoice(idOrEntity)](#QuickBooks+deleteInvoice)\n        * [.deleteJournalCode(idOrEntity)](#QuickBooks+deleteJournalCode)\n        * [.deleteJournalEntry(idOrEntity)](#QuickBooks+deleteJournalEntry)\n        * [.deletePayment(idOrEntity)](#QuickBooks+deletePayment)\n        * [.deletePurchase(idOrEntity)](#QuickBooks+deletePurchase)\n        * [.deletePurchaseOrder(idOrEntity)](#QuickBooks+deletePurchaseOrder)\n        * [.deleteRefundReceipt(idOrEntity)](#QuickBooks+deleteRefundReceipt)\n        * [.deleteSalesReceipt(idOrEntity)](#QuickBooks+deleteSalesReceipt)\n        * [.deleteTimeActivity(idOrEntity)](#QuickBooks+deleteTimeActivity)\n        * [.deleteTransfer(idOrEntity)](#QuickBooks+deleteTransfer)\n        * [.deleteVendorCredit(idOrEntity)](#QuickBooks+deleteVendorCredit)\n        * [.voidInvoice(idOrEntity)](#QuickBooks+voidInvoice)\n        * [.voidPayment(payment)](#QuickBooks+voidPayment)\n        * [.findAccounts(criteria)](#QuickBooks+findAccounts)\n        * [.findAttachables(criteria)](#QuickBooks+findAttachables)\n        * [.findBills(criteria)](#QuickBooks+findBills)\n        * [.findBillPayments(criteria)](#QuickBooks+findBillPayments)\n        * [.findBudgets(criteria)](#QuickBooks+findBudgets)\n        * [.findClasses(criteria)](#QuickBooks+findClasses)\n        * [.findCompanyInfos(criteria)](#QuickBooks+findCompanyInfos)\n        * [.findCreditMemos(criteria)](#QuickBooks+findCreditMemos)\n        * [.findCustomers(criteria)](#QuickBooks+findCustomers)\n        * [.findDepartments(criteria)](#QuickBooks+findDepartments)\n        * [.findDeposits(criteria)](#QuickBooks+findDeposits)\n        * [.findEmployees(criteria)](#QuickBooks+findEmployees)\n        * [.findEstimates(criteria)](#QuickBooks+findEstimates)\n        * [.findInvoices(criteria)](#QuickBooks+findInvoices)\n        * [.findItems(criteria)](#QuickBooks+findItems)\n        * [.findJournalCodes(criteria)](#QuickBooks+findJournalCodes)\n        * [.findJournalEntries(criteria)](#QuickBooks+findJournalEntries)\n        * [.findPayments(criteria)](#QuickBooks+findPayments)\n        * [.findPaymentMethods(criteria)](#QuickBooks+findPaymentMethods)\n        * [.findPreferenceses(criteria)](#QuickBooks+findPreferenceses)\n        * [.findPurchases(criteria)](#QuickBooks+findPurchases)\n        * [.findPurchaseOrders(criteria)](#QuickBooks+findPurchaseOrders)\n        * [.findRefundReceipts(criteria)](#QuickBooks+findRefundReceipts)\n        * [.findSalesReceipts(criteria)](#QuickBooks+findSalesReceipts)\n        * [.findTaxAgencies(criteria)](#QuickBooks+findTaxAgencies)\n        * [.findTaxCodes(criteria)](#QuickBooks+findTaxCodes)\n        * [.findTaxRates(criteria)](#QuickBooks+findTaxRates)\n        * [.findTerms(criteria)](#QuickBooks+findTerms)\n        * [.findTimeActivities(criteria)](#QuickBooks+findTimeActivities)\n        * [.findTransfers(criteria)](#QuickBooks+findTransfers)\n        * [.findVendors(criteria)](#QuickBooks+findVendors)\n        * [.findVendorCredits(criteria)](#QuickBooks+findVendorCredits)\n        * [.findExchangeRates(criteria)](#QuickBooks+findExchangeRates)\n        * [.reportBalanceSheet(options)](#QuickBooks+reportBalanceSheet)\n        * [.reportProfitAndLoss(options)](#QuickBooks+reportProfitAndLoss)\n        * [.reportProfitAndLossDetail(options)](#QuickBooks+reportProfitAndLossDetail)\n        * [.reportTrialBalance(options)](#QuickBooks+reportTrialBalance)\n        * [.reportCashFlow(options)](#QuickBooks+reportCashFlow)\n        * [.reportInventoryValuationSummary(options)](#QuickBooks+reportInventoryValuationSummary)\n        * [.reportCustomerSales(options)](#QuickBooks+reportCustomerSales)\n        * [.reportItemSales(options)](#QuickBooks+reportItemSales)\n        * [.reportCustomerIncome(options)](#QuickBooks+reportCustomerIncome)\n        * [.reportCustomerBalance(options)](#QuickBooks+reportCustomerBalance)\n        * [.reportCustomerBalanceDetail(options)](#QuickBooks+reportCustomerBalanceDetail)\n        * [.reportAgedReceivables(options)](#QuickBooks+reportAgedReceivables)\n        * [.reportAgedReceivableDetail(options)](#QuickBooks+reportAgedReceivableDetail)\n        * [.reportVendorBalance(options)](#QuickBooks+reportVendorBalance)\n        * [.reportVendorBalanceDetail(options)](#QuickBooks+reportVendorBalanceDetail)\n        * [.reportAgedPayables(options)](#QuickBooks+reportAgedPayables)\n        * [.reportAgedPayableDetail(options)](#QuickBooks+reportAgedPayableDetail)\n        * [.reportVendorExpenses(options)](#QuickBooks+reportVendorExpenses)\n        * [.reportTransactionList(options)](#QuickBooks+reportTransactionList)\n        * [.reportGeneralLedgerDetail(options)](#QuickBooks+reportGeneralLedgerDetail)\n        * [.reportTaxSummary(options)](#QuickBooks+reportTaxSummary)\n        * [.reportDepartmentSales(options)](#QuickBooks+reportDepartmentSales)\n        * [.reportClassSales(options)](#QuickBooks+reportClassSales)\n        * [.reportAccountListDetail(options)](#QuickBooks+reportAccountListDetail)\n    * _static_\n        * [.authorizeUrl(appConfig)](#QuickBooks.authorizeUrl) ΓçÆ <code>string</code>\n        * [.createToken(appConfig, authCode, realmID)](#QuickBooks.createToken) ΓçÆ <code>object</code>\n        * [._dateNotExpired(expired_timestamp)](#QuickBooks._dateNotExpired) ΓçÆ <code>boolean</code>\n        * [.isAccessTokenValid(token)](#QuickBooks.isAccessTokenValid) ΓçÆ <code>boolean</code>\n        * [.isRefreshTokenValid(token)](#QuickBooks.isRefreshTokenValid) ΓçÆ <code>boolean</code>\n        * [.saveToken(store, info)](#QuickBooks.saveToken)\n        * [.getToken()](#QuickBooks.getToken)\n\n<a name=\"new_QuickBooks_new\"></a>\n\n### new QuickBooks(appConfig, realmID)\nNode.js client encapsulating access to the QuickBooks V3 Rest API. An instance\nof this class should be instantiated on behalf of each user and company accessing the api.\n\n\n| Param | Description |\n| --- | --- |\n| appConfig | application information |\n| realmID | QuickBooks companyId, returned as a request parameter when the user is redirected to the provided callback URL following authentication |\n\n<a name=\"QuickBooks+authorizeUrl\"></a>\n\n### quickBooks.authorizeUrl() ΓçÆ <code>string</code>\nRedirect link to Authorization Page\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n**Returns**: <code>string</code> - authorize Uri  \n<a name=\"QuickBooks+createToken\"></a>\n\n### quickBooks.createToken(authCode, realmID) ΓçÆ <code>object</code>\nCreates new token for the realmID from the returned authorization code received in the callback request\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n**Returns**: <code>object</code> - new token with expiration dates from storeStrategy  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| authCode | <code>string</code> | The code returned in your callback as a param called \"code\" |\n| realmID | <code>number</code> | The company identifier in your callback as a param called \"realmId\" |\n\n<a name=\"QuickBooks+saveToken\"></a>\n\n### quickBooks.saveToken(token)\nSave token\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| token | <code>object</code> | the token to send to store area |\n\n<a name=\"QuickBooks+getToken\"></a>\n\n### quickBooks.getToken()\nGet token\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n<a name=\"QuickBooks+refreshWithAccessToken\"></a>\n\n### quickBooks.refreshWithAccessToken(token) ΓçÆ <code>Token</code>\nUse the refresh token to obtain a new access token.\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n**Returns**: <code>Token</code> - returns fresh token with access_token and refresh_token  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| token | <code>Token</code> | has the refresh_token |\n\n<a name=\"QuickBooks+refreshAccessToken\"></a>\n\n### quickBooks.refreshAccessToken() ΓçÆ <code>Token</code>\nUse the refresh token to obtain a new access token.\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n**Returns**: <code>Token</code> - returns fresh token with access_token and refresh_token  \n<a name=\"QuickBooks+revokeAccess\"></a>\n\n### quickBooks.revokeAccess(useRefresh)\nUse either refresh token or access token to revoke access (OAuth2).\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Description |\n| --- | --- |\n| useRefresh | boolean - Indicates which token to use: true to use the refresh token, false to use the access token. |\n\n<a name=\"QuickBooks+validateIdToken\"></a>\n\n### quickBooks.validateIdToken()\nValidate id_token\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n<a name=\"QuickBooks+getPublicKey\"></a>\n\n### quickBooks.getPublicKey(modulus, exponent)\nget Public Key\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param |\n| --- |\n| modulus | \n| exponent | \n\n<a name=\"QuickBooks+getUserInfo\"></a>\n\n### quickBooks.getUserInfo()\nGet user info (OAuth2).\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n<a name=\"QuickBooks+batch\"></a>\n\n### quickBooks.batch(items)\nBatch operation to enable an application to perform multiple operations in a single request.\nThe following batch items are supported:\n     create\n     update\n     delete\n     query\nThe maximum number of batch items in a single request is 25.\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| items | <code>object</code> | JavaScript array of batch items |\n\n<a name=\"QuickBooks+changeDataCapture\"></a>\n\n### quickBooks.changeDataCapture(entities, since)\nThe change data capture (CDC) operation returns a list of entities that have changed since a specified time.\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| entities | <code>object</code> | Comma separated list or JavaScript array of entities to search for changes |\n| since | <code>object</code> \\| <code>number</code> \\| <code>string</code> | JS Date object, JS Date milliseconds, or string in ISO 8601 - to look back for changes until |\n\n<a name=\"QuickBooks+upload\"></a>\n\n### quickBooks.upload(filename, contentType, stream, entityType, entityId)\nUploads a file as an Attachable in QBO, optionally linking it to the specified\nQBO Entity.\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| filename | <code>string</code> | the name of the file |\n| contentType | <code>string</code> | the mime type of the file |\n| stream | <code>object</code> | ReadableStream of file contents |\n| entityType | <code>object</code> | optional string name of the QBO entity the Attachable will be linked to (e.g. Invoice) |\n| entityId | <code>object</code> | optional Id of the QBO entity the Attachable will be linked to |\n\n<a name=\"QuickBooks+createAccount\"></a>\n\n### quickBooks.createAccount(account)\nCreates the Account in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| account | <code>object</code> | The unsaved account, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createAttachable\"></a>\n\n### quickBooks.createAttachable(attachable)\nCreates the Attachable in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| attachable | <code>object</code> | The unsaved attachable, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createBill\"></a>\n\n### quickBooks.createBill(bill)\nCreates the Bill in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| bill | <code>object</code> | The unsaved bill, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createBillPayment\"></a>\n\n### quickBooks.createBillPayment(billPayment)\nCreates the BillPayment in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| billPayment | <code>object</code> | The unsaved billPayment, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createClass\"></a>\n\n### quickBooks.createClass(class)\nCreates the Class in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| class | <code>object</code> | The unsaved class, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createCreditMemo\"></a>\n\n### quickBooks.createCreditMemo(creditMemo)\nCreates the CreditMemo in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| creditMemo | <code>object</code> | The unsaved creditMemo, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createCustomer\"></a>\n\n### quickBooks.createCustomer(customer)\nCreates the Customer in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| customer | <code>object</code> | The unsaved customer, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createDepartment\"></a>\n\n### quickBooks.createDepartment(department)\nCreates the Department in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| department | <code>object</code> | The unsaved department, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createDeposit\"></a>\n\n### quickBooks.createDeposit(deposit)\nCreates the Deposit in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| deposit | <code>object</code> | The unsaved Deposit, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createEmployee\"></a>\n\n### quickBooks.createEmployee(employee)\nCreates the Employee in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| employee | <code>object</code> | The unsaved employee, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createEstimate\"></a>\n\n### quickBooks.createEstimate(estimate)\nCreates the Estimate in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| estimate | <code>object</code> | The unsaved estimate, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createInvoice\"></a>\n\n### quickBooks.createInvoice(invoice)\nCreates the Invoice in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| invoice | <code>object</code> | The unsaved invoice, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createItem\"></a>\n\n### quickBooks.createItem(item)\nCreates the Item in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| item | <code>object</code> | The unsaved item, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createJournalCode\"></a>\n\n### quickBooks.createJournalCode(journalCode)\nCreates the JournalCode in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| journalCode | <code>object</code> | The unsaved journalCode, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createJournalEntry\"></a>\n\n### quickBooks.createJournalEntry(journalEntry)\nCreates the JournalEntry in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| journalEntry | <code>object</code> | The unsaved journalEntry, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createPayment\"></a>\n\n### quickBooks.createPayment(payment)\nCreates the Payment in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| payment | <code>object</code> | The unsaved payment, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createPaymentMethod\"></a>\n\n### quickBooks.createPaymentMethod(paymentMethod)\nCreates the PaymentMethod in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| paymentMethod | <code>object</code> | The unsaved paymentMethod, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createPurchase\"></a>\n\n### quickBooks.createPurchase(purchase)\nCreates the Purchase in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| purchase | <code>object</code> | The unsaved purchase, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createPurchaseOrder\"></a>\n\n### quickBooks.createPurchaseOrder(purchaseOrder)\nCreates the PurchaseOrder in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| purchaseOrder | <code>object</code> | The unsaved purchaseOrder, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createRefundReceipt\"></a>\n\n### quickBooks.createRefundReceipt(refundReceipt)\nCreates the RefundReceipt in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| refundReceipt | <code>object</code> | The unsaved refundReceipt, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createSalesReceipt\"></a>\n\n### quickBooks.createSalesReceipt(salesReceipt)\nCreates the SalesReceipt in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| salesReceipt | <code>object</code> | The unsaved salesReceipt, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createTaxAgency\"></a>\n\n### quickBooks.createTaxAgency(taxAgency)\nCreates the TaxAgency in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| taxAgency | <code>object</code> | The unsaved taxAgency, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createTaxService\"></a>\n\n### quickBooks.createTaxService(taxService)\nCreates the TaxService in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| taxService | <code>object</code> | The unsaved taxService, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createTerm\"></a>\n\n### quickBooks.createTerm(term)\nCreates the Term in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| term | <code>object</code> | The unsaved term, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createTimeActivity\"></a>\n\n### quickBooks.createTimeActivity(timeActivity)\nCreates the TimeActivity in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| timeActivity | <code>object</code> | The unsaved timeActivity, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createTransfer\"></a>\n\n### quickBooks.createTransfer(transfer)\nCreates the Transfer in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| transfer | <code>object</code> | The unsaved Transfer, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createVendor\"></a>\n\n### quickBooks.createVendor(vendor)\nCreates the Vendor in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| vendor | <code>object</code> | The unsaved vendor, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+createVendorCredit\"></a>\n\n### quickBooks.createVendorCredit(vendorCredit)\nCreates the VendorCredit in QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| vendorCredit | <code>object</code> | The unsaved vendorCredit, to be persisted in QuickBooks |\n\n<a name=\"QuickBooks+getAccount\"></a>\n\n### quickBooks.getAccount(Id)\nRetrieves the Account from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Account |\n\n<a name=\"QuickBooks+getAttachable\"></a>\n\n### quickBooks.getAttachable(Id)\nRetrieves the Attachable from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Attachable |\n\n<a name=\"QuickBooks+getBill\"></a>\n\n### quickBooks.getBill(Id)\nRetrieves the Bill from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Bill |\n\n<a name=\"QuickBooks+getBillPayment\"></a>\n\n### quickBooks.getBillPayment(Id)\nRetrieves the BillPayment from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent BillPayment |\n\n<a name=\"QuickBooks+getClass\"></a>\n\n### quickBooks.getClass(Id)\nRetrieves the Class from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Class |\n\n<a name=\"QuickBooks+getCompanyInfo\"></a>\n\n### quickBooks.getCompanyInfo(Id)\nRetrieves the CompanyInfo from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent CompanyInfo |\n\n<a name=\"QuickBooks+getCreditMemo\"></a>\n\n### quickBooks.getCreditMemo(Id)\nRetrieves the CreditMemo from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent CreditMemo |\n\n<a name=\"QuickBooks+getCustomer\"></a>\n\n### quickBooks.getCustomer(Id)\nRetrieves the Customer from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Customer |\n\n<a name=\"QuickBooks+getDepartment\"></a>\n\n### quickBooks.getDepartment(Id)\nRetrieves the Department from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Department |\n\n<a name=\"QuickBooks+getDeposit\"></a>\n\n### quickBooks.getDeposit(Id)\nRetrieves the Deposit from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Deposit |\n\n<a name=\"QuickBooks+getEmployee\"></a>\n\n### quickBooks.getEmployee(Id)\nRetrieves the Employee from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Employee |\n\n<a name=\"QuickBooks+getEstimate\"></a>\n\n### quickBooks.getEstimate(Id)\nRetrieves the Estimate from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Estimate |\n\n<a name=\"QuickBooks+getExchangeRate\"></a>\n\n### quickBooks.getExchangeRate(options)\nRetrieves an ExchangeRate from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>object</code> | An object with options including the required `sourcecurrencycode` parameter and optional `asofdate` parameter. |\n\n<a name=\"QuickBooks+getEstimatePdf\"></a>\n\n### quickBooks.getEstimatePdf(Id)\nRetrieves the Estimate PDF from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Estimate |\n\n<a name=\"QuickBooks+sendEstimatePdf\"></a>\n\n### quickBooks.sendEstimatePdf(Id, sendTo)\nEmails the Estimate PDF from QuickBooks to the address supplied in Estimate.BillEmail.EmailAddress\nor the specified 'sendTo' address\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Estimate |\n| sendTo | <code>string</code> | optional email address to send the PDF to. If not provided, address supplied in Estimate.BillEmail.EmailAddress will be used |\n\n<a name=\"QuickBooks+getInvoice\"></a>\n\n### quickBooks.getInvoice(Id)\nRetrieves the Invoice from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Invoice |\n\n<a name=\"QuickBooks+getInvoicePdf\"></a>\n\n### quickBooks.getInvoicePdf(Id)\nRetrieves the Invoice PDF from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Invoice |\n\n<a name=\"QuickBooks+sendInvoicePdf\"></a>\n\n### quickBooks.sendInvoicePdf(Id, sendTo)\nEmails the Invoice PDF from QuickBooks to the address supplied in Invoice.BillEmail.EmailAddress\nor the specified 'sendTo' address\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Invoice |\n| sendTo | <code>string</code> | optional email address to send the PDF to. If not provided, address supplied in Invoice.BillEmail.EmailAddress will be used |\n\n<a name=\"QuickBooks+getItem\"></a>\n\n### quickBooks.getItem(Id)\nRetrieves the Item from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Item |\n\n<a name=\"QuickBooks+getJournalCode\"></a>\n\n### quickBooks.getJournalCode(Id)\nRetrieves the JournalCode from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent JournalCode |\n\n<a name=\"QuickBooks+getJournalEntry\"></a>\n\n### quickBooks.getJournalEntry(Id)\nRetrieves the JournalEntry from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent JournalEntry |\n\n<a name=\"QuickBooks+getPayment\"></a>\n\n### quickBooks.getPayment(Id)\nRetrieves the Payment from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Payment |\n\n<a name=\"QuickBooks+getPaymentMethod\"></a>\n\n### quickBooks.getPaymentMethod(Id)\nRetrieves the PaymentMethod from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent PaymentMethod |\n\n<a name=\"QuickBooks+getPreferences\"></a>\n\n### quickBooks.getPreferences()\nRetrieves the Preferences from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n<a name=\"QuickBooks+getPurchase\"></a>\n\n### quickBooks.getPurchase(Id)\nRetrieves the Purchase from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Purchase |\n\n<a name=\"QuickBooks+getPurchaseOrder\"></a>\n\n### quickBooks.getPurchaseOrder(Id)\nRetrieves the PurchaseOrder from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent PurchaseOrder |\n\n<a name=\"QuickBooks+getRefundReceipt\"></a>\n\n### quickBooks.getRefundReceipt(Id)\nRetrieves the RefundReceipt from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent RefundReceipt |\n\n<a name=\"QuickBooks+getReports\"></a>\n\n### quickBooks.getReports(Id)\nRetrieves the Reports from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Reports |\n\n<a name=\"QuickBooks+getSalesReceipt\"></a>\n\n### quickBooks.getSalesReceipt(Id)\nRetrieves the SalesReceipt from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent SalesReceipt |\n\n<a name=\"QuickBooks+getSalesReceiptPdf\"></a>\n\n### quickBooks.getSalesReceiptPdf(Id)\nRetrieves the SalesReceipt PDF from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent SalesReceipt |\n\n<a name=\"QuickBooks+sendSalesReceiptPdf\"></a>\n\n### quickBooks.sendSalesReceiptPdf(Id, sendTo)\nEmails the SalesReceipt PDF from QuickBooks to the address supplied in SalesReceipt.BillEmail.EmailAddress\nor the specified 'sendTo' address\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent SalesReceipt |\n| sendTo | <code>string</code> | optional email address to send the PDF to. If not provided, address supplied in SalesReceipt.BillEmail.EmailAddress will be used |\n\n<a name=\"QuickBooks+getTaxAgency\"></a>\n\n### quickBooks.getTaxAgency(Id)\nRetrieves the TaxAgency from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent TaxAgency |\n\n<a name=\"QuickBooks+getTaxCode\"></a>\n\n### quickBooks.getTaxCode(Id)\nRetrieves the TaxCode from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent TaxCode |\n\n<a name=\"QuickBooks+getTaxRate\"></a>\n\n### quickBooks.getTaxRate(Id)\nRetrieves the TaxRate from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent TaxRate |\n\n<a name=\"QuickBooks+getTerm\"></a>\n\n### quickBooks.getTerm(Id)\nRetrieves the Term from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Term |\n\n<a name=\"QuickBooks+getTimeActivity\"></a>\n\n### quickBooks.getTimeActivity(Id)\nRetrieves the TimeActivity from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent TimeActivity |\n\n<a name=\"QuickBooks+getTransfer\"></a>\n\n### quickBooks.getTransfer(Id)\nRetrieves the Transfer from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Term |\n\n<a name=\"QuickBooks+getVendor\"></a>\n\n### quickBooks.getVendor(Id)\nRetrieves the Vendor from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent Vendor |\n\n<a name=\"QuickBooks+getVendorCredit\"></a>\n\n### quickBooks.getVendorCredit(Id)\nRetrieves the VendorCredit from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Id | <code>string</code> | The Id of persistent VendorCredit |\n\n<a name=\"QuickBooks+updateAccount\"></a>\n\n### quickBooks.updateAccount(account)\nUpdates QuickBooks version of Account\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| account | <code>object</code> | The persistent Account, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateAttachable\"></a>\n\n### quickBooks.updateAttachable(attachable)\nUpdates QuickBooks version of Attachable\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| attachable | <code>object</code> | The persistent Attachable, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateBill\"></a>\n\n### quickBooks.updateBill(bill)\nUpdates QuickBooks version of Bill\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| bill | <code>object</code> | The persistent Bill, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateBillPayment\"></a>\n\n### quickBooks.updateBillPayment(billPayment)\nUpdates QuickBooks version of BillPayment\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| billPayment | <code>object</code> | The persistent BillPayment, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateClass\"></a>\n\n### quickBooks.updateClass(class)\nUpdates QuickBooks version of Class\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| class | <code>object</code> | The persistent Class, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateCompanyInfo\"></a>\n\n### quickBooks.updateCompanyInfo(companyInfo)\nUpdates QuickBooks version of CompanyInfo\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| companyInfo | <code>object</code> | The persistent CompanyInfo, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateCreditMemo\"></a>\n\n### quickBooks.updateCreditMemo(creditMemo)\nUpdates QuickBooks version of CreditMemo\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| creditMemo | <code>object</code> | The persistent CreditMemo, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateCustomer\"></a>\n\n### quickBooks.updateCustomer(customer)\nUpdates QuickBooks version of Customer\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| customer | <code>object</code> | The persistent Customer, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateDepartment\"></a>\n\n### quickBooks.updateDepartment(department)\nUpdates QuickBooks version of Department\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| department | <code>object</code> | The persistent Department, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateDeposit\"></a>\n\n### quickBooks.updateDeposit(deposit)\nUpdates QuickBooks version of Deposit\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| deposit | <code>object</code> | The persistent Deposit, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateEmployee\"></a>\n\n### quickBooks.updateEmployee(employee)\nUpdates QuickBooks version of Employee\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| employee | <code>object</code> | The persistent Employee, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateEstimate\"></a>\n\n### quickBooks.updateEstimate(estimate)\nUpdates QuickBooks version of Estimate\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| estimate | <code>object</code> | The persistent Estimate, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateInvoice\"></a>\n\n### quickBooks.updateInvoice(invoice)\nUpdates QuickBooks version of Invoice\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| invoice | <code>object</code> | The persistent Invoice, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateItem\"></a>\n\n### quickBooks.updateItem(item)\nUpdates QuickBooks version of Item\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| item | <code>object</code> | The persistent Item, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateJournalCode\"></a>\n\n### quickBooks.updateJournalCode(journalCode)\nUpdates QuickBooks version of JournalCode\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| journalCode | <code>object</code> | The persistent JournalCode, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateJournalEntry\"></a>\n\n### quickBooks.updateJournalEntry(journalEntry)\nUpdates QuickBooks version of JournalEntry\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| journalEntry | <code>object</code> | The persistent JournalEntry, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updatePayment\"></a>\n\n### quickBooks.updatePayment(payment)\nUpdates QuickBooks version of Payment\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| payment | <code>object</code> | The persistent Payment, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updatePaymentMethod\"></a>\n\n### quickBooks.updatePaymentMethod(paymentMethod)\nUpdates QuickBooks version of PaymentMethod\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| paymentMethod | <code>object</code> | The persistent PaymentMethod, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updatePreferences\"></a>\n\n### quickBooks.updatePreferences(preferences)\nUpdates QuickBooks version of Preferences\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| preferences | <code>object</code> | The persistent Preferences, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updatePurchase\"></a>\n\n### quickBooks.updatePurchase(purchase)\nUpdates QuickBooks version of Purchase\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| purchase | <code>object</code> | The persistent Purchase, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updatePurchaseOrder\"></a>\n\n### quickBooks.updatePurchaseOrder(purchaseOrder)\nUpdates QuickBooks version of PurchaseOrder\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| purchaseOrder | <code>object</code> | The persistent PurchaseOrder, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateRefundReceipt\"></a>\n\n### quickBooks.updateRefundReceipt(refundReceipt)\nUpdates QuickBooks version of RefundReceipt\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| refundReceipt | <code>object</code> | The persistent RefundReceipt, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateSalesReceipt\"></a>\n\n### quickBooks.updateSalesReceipt(salesReceipt)\nUpdates QuickBooks version of SalesReceipt\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| salesReceipt | <code>object</code> | The persistent SalesReceipt, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateTaxAgency\"></a>\n\n### quickBooks.updateTaxAgency(taxAgency)\nUpdates QuickBooks version of TaxAgency\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| taxAgency | <code>object</code> | The persistent TaxAgency, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateTaxCode\"></a>\n\n### quickBooks.updateTaxCode(taxCode)\nUpdates QuickBooks version of TaxCode\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| taxCode | <code>object</code> | The persistent TaxCode, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateTaxRate\"></a>\n\n### quickBooks.updateTaxRate(taxRate)\nUpdates QuickBooks version of TaxRate\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| taxRate | <code>object</code> | The persistent TaxRate, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateTerm\"></a>\n\n### quickBooks.updateTerm(term)\nUpdates QuickBooks version of Term\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| term | <code>object</code> | The persistent Term, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateTimeActivity\"></a>\n\n### quickBooks.updateTimeActivity(timeActivity)\nUpdates QuickBooks version of TimeActivity\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| timeActivity | <code>object</code> | The persistent TimeActivity, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateTransfer\"></a>\n\n### quickBooks.updateTransfer(Transfer)\nUpdates QuickBooks version of Transfer\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| Transfer | <code>object</code> | The persistent Transfer, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateVendor\"></a>\n\n### quickBooks.updateVendor(vendor)\nUpdates QuickBooks version of Vendor\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| vendor | <code>object</code> | The persistent Vendor, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateVendorCredit\"></a>\n\n### quickBooks.updateVendorCredit(vendorCredit)\nUpdates QuickBooks version of VendorCredit\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| vendorCredit | <code>object</code> | The persistent VendorCredit, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+updateExchangeRate\"></a>\n\n### quickBooks.updateExchangeRate(exchangeRate)\nUpdates QuickBooks version of ExchangeRate\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| exchangeRate | <code>object</code> | The persistent ExchangeRate, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+deleteAttachable\"></a>\n\n### quickBooks.deleteAttachable(idOrEntity)\nDeletes the Attachable from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Attachable to be deleted, or the Id of the Attachable, in which case an extra GET request will be issued to first retrieve the Attachable |\n\n<a name=\"QuickBooks+deleteBill\"></a>\n\n### quickBooks.deleteBill(idOrEntity)\nDeletes the Bill from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Bill to be deleted, or the Id of the Bill, in which case an extra GET request will be issued to first retrieve the Bill |\n\n<a name=\"QuickBooks+deleteBillPayment\"></a>\n\n### quickBooks.deleteBillPayment(idOrEntity)\nDeletes the BillPayment from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent BillPayment to be deleted, or the Id of the BillPayment, in which case an extra GET request will be issued to first retrieve the BillPayment |\n\n<a name=\"QuickBooks+deleteCreditMemo\"></a>\n\n### quickBooks.deleteCreditMemo(idOrEntity)\nDeletes the CreditMemo from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent CreditMemo to be deleted, or the Id of the CreditMemo, in which case an extra GET request will be issued to first retrieve the CreditMemo |\n\n<a name=\"QuickBooks+deleteDeposit\"></a>\n\n### quickBooks.deleteDeposit(idOrEntity)\nDeletes the Deposit from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Deposit to be deleted, or the Id of the Deposit, in which case an extra GET request will be issued to first retrieve the Deposit |\n\n<a name=\"QuickBooks+deleteEstimate\"></a>\n\n### quickBooks.deleteEstimate(idOrEntity)\nDeletes the Estimate from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Estimate to be deleted, or the Id of the Estimate, in which case an extra GET request will be issued to first retrieve the Estimate |\n\n<a name=\"QuickBooks+deleteInvoice\"></a>\n\n### quickBooks.deleteInvoice(idOrEntity)\nDeletes the Invoice from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Invoice to be deleted, or the Id of the Invoice, in which case an extra GET request will be issued to first retrieve the Invoice |\n\n<a name=\"QuickBooks+deleteJournalCode\"></a>\n\n### quickBooks.deleteJournalCode(idOrEntity)\nDeletes the JournalCode from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent JournalCode to be deleted, or the Id of the JournalCode, in which case an extra GET request will be issued to first retrieve the JournalCode |\n\n<a name=\"QuickBooks+deleteJournalEntry\"></a>\n\n### quickBooks.deleteJournalEntry(idOrEntity)\nDeletes the JournalEntry from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent JournalEntry to be deleted, or the Id of the JournalEntry, in which case an extra GET request will be issued to first retrieve the JournalEntry |\n\n<a name=\"QuickBooks+deletePayment\"></a>\n\n### quickBooks.deletePayment(idOrEntity)\nDeletes the Payment from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Payment to be deleted, or the Id of the Payment, in which case an extra GET request will be issued to first retrieve the Payment |\n\n<a name=\"QuickBooks+deletePurchase\"></a>\n\n### quickBooks.deletePurchase(idOrEntity)\nDeletes the Purchase from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Purchase to be deleted, or the Id of the Purchase, in which case an extra GET request will be issued to first retrieve the Purchase |\n\n<a name=\"QuickBooks+deletePurchaseOrder\"></a>\n\n### quickBooks.deletePurchaseOrder(idOrEntity)\nDeletes the PurchaseOrder from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent PurchaseOrder to be deleted, or the Id of the PurchaseOrder, in which case an extra GET request will be issued to first retrieve the PurchaseOrder |\n\n<a name=\"QuickBooks+deleteRefundReceipt\"></a>\n\n### quickBooks.deleteRefundReceipt(idOrEntity)\nDeletes the RefundReceipt from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent RefundReceipt to be deleted, or the Id of the RefundReceipt, in which case an extra GET request will be issued to first retrieve the RefundReceipt |\n\n<a name=\"QuickBooks+deleteSalesReceipt\"></a>\n\n### quickBooks.deleteSalesReceipt(idOrEntity)\nDeletes the SalesReceipt from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent SalesReceipt to be deleted, or the Id of the SalesReceipt, in which case an extra GET request will be issued to first retrieve the SalesReceipt |\n\n<a name=\"QuickBooks+deleteTimeActivity\"></a>\n\n### quickBooks.deleteTimeActivity(idOrEntity)\nDeletes the TimeActivity from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent TimeActivity to be deleted, or the Id of the TimeActivity, in which case an extra GET request will be issued to first retrieve the TimeActivity |\n\n<a name=\"QuickBooks+deleteTransfer\"></a>\n\n### quickBooks.deleteTransfer(idOrEntity)\nDeletes the Transfer from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Transfer to be deleted, or the Id of the Transfer, in which case an extra GET request will be issued to first retrieve the Transfer |\n\n<a name=\"QuickBooks+deleteVendorCredit\"></a>\n\n### quickBooks.deleteVendorCredit(idOrEntity)\nDeletes the VendorCredit from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent VendorCredit to be deleted, or the Id of the VendorCredit, in which case an extra GET request will be issued to first retrieve the VendorCredit |\n\n<a name=\"QuickBooks+voidInvoice\"></a>\n\n### quickBooks.voidInvoice(idOrEntity)\nVoids the Invoice from QuickBooks\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| idOrEntity | <code>object</code> | The persistent Invoice to be voided, or the Id of the Invoice, in which case an extra GET request will be issued to first retrieve the Invoice |\n\n<a name=\"QuickBooks+voidPayment\"></a>\n\n### quickBooks.voidPayment(payment)\nVoids QuickBooks version of Payment\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| payment | <code>object</code> | The persistent Payment, including Id and SyncToken fields |\n\n<a name=\"QuickBooks+findAccounts\"></a>\n\n### quickBooks.findAccounts(criteria)\nFinds all Accounts in QuickBooks, optionally matching the specified criteria\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| criteria | <code>object</code> | (Optional) String or single-valued map converted to a where clause of the form \"where key = 'value'\" |\n\n<a name=\"QuickBooks+findAttachables\"></a>\n\n### quickBooks.findAttachables(criteria)\nFinds all Attachables in QuickBooks, optionally matching the specified criteria\n\n**Kind**: instance method of [<code>QuickBooks</code>](#QuickBooks)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| criteria | <code>object</code> | (Optional) String or single-val","readmeFilename":"readme.md"}