https://github.com/rhdeck/node-quickbooks-promise
Promisify Node-quickbooks interface for modern experience
https://github.com/rhdeck/node-quickbooks-promise
Last synced: 8 months ago
JSON representation
Promisify Node-quickbooks interface for modern experience
- Host: GitHub
- URL: https://github.com/rhdeck/node-quickbooks-promise
- Owner: rhdeck
- License: mit
- Created: 2019-05-02T12:41:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T15:14:12.000Z (about 7 years ago)
- Last Synced: 2025-05-28T00:47:04.539Z (about 1 year ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-quickbooks-promise
Overlay of [`node-quickbooks`](https://github.com/mcohen01/node-quickbooks) that replaces callback API with promises
## Example
```js
const QuickBooks = require("node-quickbooks-promise");
const qbo = new QuickBooks({/*credential object just as in node-quickbooks*/});
const accessToken = await qbo.refreshAccessToken();
const customers = await qbo.findCustomers({ Id: "1234" });
const customer = customer.QueryResponse.Customer[0]
console.log(`Hi my customer's name is ${customer.Name}`)
```
# Installation
```bash
yarn add node-quickbooks-promise
# or...
npm i s node-quickbooks-promise
```
# API
## QuickBooks
**Kind**: global class
* [QuickBooks](#QuickBooks)
* [new QuickBooks()](#new_QuickBooks_new)
* [.revokeAccess](#QuickBooks+revokeAccess)
* [.getUserInfo](#QuickBooks+getUserInfo)
* [.batch](#QuickBooks+batch)
* [.changeDataCapture](#QuickBooks+changeDataCapture)
* [.upload](#QuickBooks+upload)
* [.createAccount](#QuickBooks+createAccount)
* [.createAttachable](#QuickBooks+createAttachable)
* [.createBill](#QuickBooks+createBill)
* [.createBillPayment](#QuickBooks+createBillPayment)
* [.createClass](#QuickBooks+createClass)
* [.createCreditMemo](#QuickBooks+createCreditMemo)
* [.createCustomer](#QuickBooks+createCustomer)
* [.createDepartment](#QuickBooks+createDepartment)
* [.createDeposit](#QuickBooks+createDeposit)
* [.createEmployee](#QuickBooks+createEmployee)
* [.createEstimate](#QuickBooks+createEstimate)
* [.createInvoice](#QuickBooks+createInvoice)
* [.createItem](#QuickBooks+createItem)
* [.createJournalCode](#QuickBooks+createJournalCode)
* [.createJournalEntry](#QuickBooks+createJournalEntry)
* [.createPayment](#QuickBooks+createPayment)
* [.createPaymentMethod](#QuickBooks+createPaymentMethod)
* [.createPurchase](#QuickBooks+createPurchase)
* [.createPurchaseOrder](#QuickBooks+createPurchaseOrder)
* [.createRefundReceipt](#QuickBooks+createRefundReceipt)
* [.createSalesReceipt](#QuickBooks+createSalesReceipt)
* [.createTaxAgency](#QuickBooks+createTaxAgency)
* [.createTaxService](#QuickBooks+createTaxService)
* [.createTerm](#QuickBooks+createTerm)
* [.createTimeActivity](#QuickBooks+createTimeActivity)
* [.createTransfer](#QuickBooks+createTransfer)
* [.createVendor](#QuickBooks+createVendor)
* [.createVendorCredit](#QuickBooks+createVendorCredit)
* [.getAccount](#QuickBooks+getAccount)
* [.getAttachable](#QuickBooks+getAttachable)
* [.getBill](#QuickBooks+getBill)
* [.getBillPayment](#QuickBooks+getBillPayment)
* [.getClass](#QuickBooks+getClass)
* [.getCompanyInfo](#QuickBooks+getCompanyInfo)
* [.getCreditMemo](#QuickBooks+getCreditMemo)
* [.getCustomer](#QuickBooks+getCustomer)
* [.getDepartment](#QuickBooks+getDepartment)
* [.getDeposit](#QuickBooks+getDeposit)
* [.getEmployee](#QuickBooks+getEmployee)
* [.getEstimate](#QuickBooks+getEstimate)
* [.getExchangeRate](#QuickBooks+getExchangeRate)
* [.getEstimatePdf](#QuickBooks+getEstimatePdf)
* [.sendEstimatePdf](#QuickBooks+sendEstimatePdf)
* [.getInvoice](#QuickBooks+getInvoice)
* [.getInvoicePdf](#QuickBooks+getInvoicePdf)
* [.sendInvoicePdf](#QuickBooks+sendInvoicePdf)
* [.getItem](#QuickBooks+getItem)
* [.getJournalCode](#QuickBooks+getJournalCode)
* [.getJournalEntry](#QuickBooks+getJournalEntry)
* [.getPayment](#QuickBooks+getPayment)
* [.getPaymentMethod](#QuickBooks+getPaymentMethod)
* [.getPreferences](#QuickBooks+getPreferences)
* [.getPurchase](#QuickBooks+getPurchase)
* [.getPurchaseOrder](#QuickBooks+getPurchaseOrder)
* [.getRefundReceipt](#QuickBooks+getRefundReceipt)
* [.getReports](#QuickBooks+getReports)
* [.getSalesReceipt](#QuickBooks+getSalesReceipt)
* [.getSalesReceiptPdf](#QuickBooks+getSalesReceiptPdf)
* [.sendSalesReceiptPdf](#QuickBooks+sendSalesReceiptPdf)
* [.getTaxAgency](#QuickBooks+getTaxAgency)
* [.getTaxCode](#QuickBooks+getTaxCode)
* [.getTaxRate](#QuickBooks+getTaxRate)
* [.getTerm](#QuickBooks+getTerm)
* [.getTimeActivity](#QuickBooks+getTimeActivity)
* [.getTransfer](#QuickBooks+getTransfer)
* [.getVendor](#QuickBooks+getVendor)
* [.getVendorCredit](#QuickBooks+getVendorCredit)
* [.updateAccount](#QuickBooks+updateAccount)
* [.updateAttachable](#QuickBooks+updateAttachable)
* [.updateBill](#QuickBooks+updateBill)
* [.updateBillPayment](#QuickBooks+updateBillPayment)
* [.updateClass](#QuickBooks+updateClass)
* [.updateCompanyInfo](#QuickBooks+updateCompanyInfo)
* [.updateCreditMemo](#QuickBooks+updateCreditMemo)
* [.updateCustomer](#QuickBooks+updateCustomer)
* [.updateDepartment](#QuickBooks+updateDepartment)
* [.updateDeposit](#QuickBooks+updateDeposit)
* [.updateEmployee](#QuickBooks+updateEmployee)
* [.updateEstimate](#QuickBooks+updateEstimate)
* [.updateInvoice](#QuickBooks+updateInvoice)
* [.updateItem](#QuickBooks+updateItem)
* [.updateJournalCode](#QuickBooks+updateJournalCode)
* [.updateJournalEntry](#QuickBooks+updateJournalEntry)
* [.updatePayment](#QuickBooks+updatePayment)
* [.updatePaymentMethod](#QuickBooks+updatePaymentMethod)
* [.updatePreferences](#QuickBooks+updatePreferences)
* [.updatePurchase](#QuickBooks+updatePurchase)
* [.updatePurchaseOrder](#QuickBooks+updatePurchaseOrder)
* [.updateRefundReceipt](#QuickBooks+updateRefundReceipt)
* [.updateSalesReceipt](#QuickBooks+updateSalesReceipt)
* [.updateTaxAgency](#QuickBooks+updateTaxAgency)
* [.updateTaxCode](#QuickBooks+updateTaxCode)
* [.updateTaxRate](#QuickBooks+updateTaxRate)
* [.updateTerm](#QuickBooks+updateTerm)
* [.updateTimeActivity](#QuickBooks+updateTimeActivity)
* [.updateTransfer](#QuickBooks+updateTransfer)
* [.updateVendor](#QuickBooks+updateVendor)
* [.updateVendorCredit](#QuickBooks+updateVendorCredit)
* [.updateExchangeRate](#QuickBooks+updateExchangeRate)
* [.deleteAttachable](#QuickBooks+deleteAttachable)
* [.deleteBill](#QuickBooks+deleteBill)
* [.deleteBillPayment](#QuickBooks+deleteBillPayment)
* [.deleteCreditMemo](#QuickBooks+deleteCreditMemo)
* [.deleteDeposit](#QuickBooks+deleteDeposit)
* [.deleteEstimate](#QuickBooks+deleteEstimate)
* [.deleteInvoice](#QuickBooks+deleteInvoice)
* [.deleteJournalCode](#QuickBooks+deleteJournalCode)
* [.deleteJournalEntry](#QuickBooks+deleteJournalEntry)
* [.deletePayment](#QuickBooks+deletePayment)
* [.deletePurchase](#QuickBooks+deletePurchase)
* [.deletePurchaseOrder](#QuickBooks+deletePurchaseOrder)
* [.deleteRefundReceipt](#QuickBooks+deleteRefundReceipt)
* [.deleteSalesReceipt](#QuickBooks+deleteSalesReceipt)
* [.deleteTimeActivity](#QuickBooks+deleteTimeActivity)
* [.deleteTransfer](#QuickBooks+deleteTransfer)
* [.deleteVendorCredit](#QuickBooks+deleteVendorCredit)
* [.voidInvoice](#QuickBooks+voidInvoice)
* [.voidPayment](#QuickBooks+voidPayment)
* [.findAccounts](#QuickBooks+findAccounts)
* [.findAttachables](#QuickBooks+findAttachables)
* [.findBills](#QuickBooks+findBills)
* [.findBillPayments](#QuickBooks+findBillPayments)
* [.findBudgets](#QuickBooks+findBudgets)
* [.findClasses](#QuickBooks+findClasses)
* [.findCompanyInfos](#QuickBooks+findCompanyInfos)
* [.findCreditMemos](#QuickBooks+findCreditMemos)
* [.findCustomers](#QuickBooks+findCustomers)
* [.findDepartments](#QuickBooks+findDepartments)
* [.findDeposits](#QuickBooks+findDeposits)
* [.findEmployees](#QuickBooks+findEmployees)
* [.findEstimates](#QuickBooks+findEstimates)
* [.findInvoices](#QuickBooks+findInvoices)
* [.findItems](#QuickBooks+findItems)
* [.findJournalCodes](#QuickBooks+findJournalCodes)
* [.findJournalEntries](#QuickBooks+findJournalEntries)
* [.findPayments](#QuickBooks+findPayments)
* [.findPaymentMethods](#QuickBooks+findPaymentMethods)
* [.findPreferenceses](#QuickBooks+findPreferenceses)
* [.findPurchases](#QuickBooks+findPurchases)
* [.findPurchaseOrders](#QuickBooks+findPurchaseOrders)
* [.findRefundReceipts](#QuickBooks+findRefundReceipts)
* [.findSalesReceipts](#QuickBooks+findSalesReceipts)
* [.findTaxAgencies](#QuickBooks+findTaxAgencies)
* [.findTaxCodes](#QuickBooks+findTaxCodes)
* [.findTaxRates](#QuickBooks+findTaxRates)
* [.findTerms](#QuickBooks+findTerms)
* [.findTimeActivities](#QuickBooks+findTimeActivities)
* [.findTransfers](#QuickBooks+findTransfers)
* [.findVendors](#QuickBooks+findVendors)
* [.findVendorCredits](#QuickBooks+findVendorCredits)
* [.findExchangeRates](#QuickBooks+findExchangeRates)
* [.reportBalanceSheet](#QuickBooks+reportBalanceSheet)
* [.reportProfitAndLoss](#QuickBooks+reportProfitAndLoss)
* [.reportProfitAndLossDetail](#QuickBooks+reportProfitAndLossDetail)
* [.reportTrialBalance](#QuickBooks+reportTrialBalance)
* [.reportCashFlow](#QuickBooks+reportCashFlow)
* [.reportInventoryValuationSummary](#QuickBooks+reportInventoryValuationSummary)
* [.reportCustomerSales](#QuickBooks+reportCustomerSales)
* [.reportItemSales](#QuickBooks+reportItemSales)
* [.reportCustomerIncome](#QuickBooks+reportCustomerIncome)
* [.reportCustomerBalance](#QuickBooks+reportCustomerBalance)
* [.reportCustomerBalanceDetail](#QuickBooks+reportCustomerBalanceDetail)
* [.reportAgedReceivables](#QuickBooks+reportAgedReceivables)
* [.reportAgedReceivableDetail](#QuickBooks+reportAgedReceivableDetail)
* [.reportVendorBalance](#QuickBooks+reportVendorBalance)
* [.reportVendorBalanceDetail](#QuickBooks+reportVendorBalanceDetail)
* [.reportAgedPayables](#QuickBooks+reportAgedPayables)
* [.reportAgedPayableDetail](#QuickBooks+reportAgedPayableDetail)
* [.reportVendorExpenses](#QuickBooks+reportVendorExpenses)
* [.reportTransactionList](#QuickBooks+reportTransactionList)
* [.reportGeneralLedgerDetail](#QuickBooks+reportGeneralLedgerDetail)
* [.reportTaxSummary](#QuickBooks+reportTaxSummary)
* [.reportDepartmentSales](#QuickBooks+reportDepartmentSales)
* [.reportClassSales](#QuickBooks+reportClassSales)
* [.reportAccountListDetail](#QuickBooks+reportAccountListDetail)
### new QuickBooks()
Quickbooks integration class from node-quickbooks
### quickBooks.revokeAccess
Use either refresh token or access token to revoke access (OAuth2).
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Description |
| --- | --- |
| useRefresh | boolean - Indicates which token to use: true to use the refresh token, false to use the access token. |
### quickBooks.getUserInfo
Get user info (OAuth2).
**Kind**: instance property of [QuickBooks](#QuickBooks)
### quickBooks.batch
Batch operation to enable an application to perform multiple operations in a single request.
The following batch items are supported:
create
update
delete
query
The maximum number of batch items in a single request is 25.
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| items | object | JavaScript array of batch items |
### quickBooks.changeDataCapture
The change data capture (CDC) operation returns a list of entities that have changed since a specified time.
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| entities | object | Comma separated list or JavaScript array of entities to search for changes |
| since | object | JavaScript Date or string representation of the form '2012-07-20T22:25:51-07:00' to look back for changes until |
### quickBooks.upload
Uploads a file as an Attachable in QBO, optionally linking it to the specified
QBO Entity.
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| filename | string | the name of the file |
| contentType | string | the mime type of the file |
| stream | object | ReadableStream of file contents |
| entityType | object | optional string name of the QBO entity the Attachable will be linked to (e.g. Invoice) |
| entityId | object | optional Id of the QBO entity the Attachable will be linked to |
### quickBooks.createAccount
Creates the Account in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| account | object | The unsaved account, to be persisted in QuickBooks |
### quickBooks.createAttachable
Creates the Attachable in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| attachable | object | The unsaved attachable, to be persisted in QuickBooks |
### quickBooks.createBill
Creates the Bill in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| bill | object | The unsaved bill, to be persisted in QuickBooks |
### quickBooks.createBillPayment
Creates the BillPayment in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| billPayment | object | The unsaved billPayment, to be persisted in QuickBooks |
### quickBooks.createClass
Creates the Class in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| class | object | The unsaved class, to be persisted in QuickBooks |
### quickBooks.createCreditMemo
Creates the CreditMemo in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| creditMemo | object | The unsaved creditMemo, to be persisted in QuickBooks |
### quickBooks.createCustomer
Creates the Customer in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| customer | object | The unsaved customer, to be persisted in QuickBooks |
### quickBooks.createDepartment
Creates the Department in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| department | object | The unsaved department, to be persisted in QuickBooks |
### quickBooks.createDeposit
Creates the Deposit in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| deposit | object | The unsaved Deposit, to be persisted in QuickBooks |
### quickBooks.createEmployee
Creates the Employee in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| employee | object | The unsaved employee, to be persisted in QuickBooks |
### quickBooks.createEstimate
Creates the Estimate in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| estimate | object | The unsaved estimate, to be persisted in QuickBooks |
### quickBooks.createInvoice
Creates the Invoice in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| invoice | object | The unsaved invoice, to be persisted in QuickBooks |
### quickBooks.createItem
Creates the Item in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| item | object | The unsaved item, to be persisted in QuickBooks |
### quickBooks.createJournalCode
Creates the JournalCode in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| journalCode | object | The unsaved journalCode, to be persisted in QuickBooks |
### quickBooks.createJournalEntry
Creates the JournalEntry in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| journalEntry | object | The unsaved journalEntry, to be persisted in QuickBooks |
### quickBooks.createPayment
Creates the Payment in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| payment | object | The unsaved payment, to be persisted in QuickBooks |
### quickBooks.createPaymentMethod
Creates the PaymentMethod in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| paymentMethod | object | The unsaved paymentMethod, to be persisted in QuickBooks |
### quickBooks.createPurchase
Creates the Purchase in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| purchase | object | The unsaved purchase, to be persisted in QuickBooks |
### quickBooks.createPurchaseOrder
Creates the PurchaseOrder in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| purchaseOrder | object | The unsaved purchaseOrder, to be persisted in QuickBooks |
### quickBooks.createRefundReceipt
Creates the RefundReceipt in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| refundReceipt | object | The unsaved refundReceipt, to be persisted in QuickBooks |
### quickBooks.createSalesReceipt
Creates the SalesReceipt in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| salesReceipt | object | The unsaved salesReceipt, to be persisted in QuickBooks |
### quickBooks.createTaxAgency
Creates the TaxAgency in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| taxAgency | object | The unsaved taxAgency, to be persisted in QuickBooks |
### quickBooks.createTaxService
Creates the TaxService in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| taxService | object | The unsaved taxService, to be persisted in QuickBooks |
### quickBooks.createTerm
Creates the Term in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| term | object | The unsaved term, to be persisted in QuickBooks |
### quickBooks.createTimeActivity
Creates the TimeActivity in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| timeActivity | object | The unsaved timeActivity, to be persisted in QuickBooks |
### quickBooks.createTransfer
Creates the Transfer in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| transfer | object | The unsaved Transfer, to be persisted in QuickBooks |
### quickBooks.createVendor
Creates the Vendor in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| vendor | object | The unsaved vendor, to be persisted in QuickBooks |
### quickBooks.createVendorCredit
Creates the VendorCredit in QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| vendorCredit | object | The unsaved vendorCredit, to be persisted in QuickBooks |
### quickBooks.getAccount
Retrieves the Account from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Account |
### quickBooks.getAttachable
Retrieves the Attachable from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Attachable |
### quickBooks.getBill
Retrieves the Bill from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Bill |
### quickBooks.getBillPayment
Retrieves the BillPayment from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent BillPayment |
### quickBooks.getClass
Retrieves the Class from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Class |
### quickBooks.getCompanyInfo
Retrieves the CompanyInfo from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent CompanyInfo |
### quickBooks.getCreditMemo
Retrieves the CreditMemo from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent CreditMemo |
### quickBooks.getCustomer
Retrieves the Customer from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Customer |
### quickBooks.getDepartment
Retrieves the Department from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Department |
### quickBooks.getDeposit
Retrieves the Deposit from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Deposit |
### quickBooks.getEmployee
Retrieves the Employee from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Employee |
### quickBooks.getEstimate
Retrieves the Estimate from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Estimate |
### quickBooks.getExchangeRate
Retrieves an ExchangeRate from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | An object with options including the required `sourcecurrencycode` parameter and optional `asofdate` parameter. |
### quickBooks.getEstimatePdf
Retrieves the Estimate PDF from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Estimate |
### quickBooks.sendEstimatePdf
Emails the Estimate PDF from QuickBooks to the address supplied in Estimate.BillEmail.EmailAddress
or the specified 'sendTo' address
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Estimate |
| sendTo | string | optional email address to send the PDF to. If not provided, address supplied in Estimate.BillEmail.EmailAddress will be used |
### quickBooks.getInvoice
Retrieves the Invoice from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Invoice |
### quickBooks.getInvoicePdf
Retrieves the Invoice PDF from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Invoice |
### quickBooks.sendInvoicePdf
Emails the Invoice PDF from QuickBooks to the address supplied in Invoice.BillEmail.EmailAddress
or the specified 'sendTo' address
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Invoice |
| sendTo | string | optional email address to send the PDF to. If not provided, address supplied in Invoice.BillEmail.EmailAddress will be used |
### quickBooks.getItem
Retrieves the Item from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Item |
### quickBooks.getJournalCode
Retrieves the JournalCode from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent JournalCode |
### quickBooks.getJournalEntry
Retrieves the JournalEntry from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent JournalEntry |
### quickBooks.getPayment
Retrieves the Payment from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Payment |
### quickBooks.getPaymentMethod
Retrieves the PaymentMethod from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent PaymentMethod |
### quickBooks.getPreferences
Retrieves the Preferences from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
### quickBooks.getPurchase
Retrieves the Purchase from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Purchase |
### quickBooks.getPurchaseOrder
Retrieves the PurchaseOrder from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent PurchaseOrder |
### quickBooks.getRefundReceipt
Retrieves the RefundReceipt from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent RefundReceipt |
### quickBooks.getReports
Retrieves the Reports from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Reports |
### quickBooks.getSalesReceipt
Retrieves the SalesReceipt from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent SalesReceipt |
### quickBooks.getSalesReceiptPdf
Retrieves the SalesReceipt PDF from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent SalesReceipt |
### quickBooks.sendSalesReceiptPdf
Emails the SalesReceipt PDF from QuickBooks to the address supplied in SalesReceipt.BillEmail.EmailAddress
or the specified 'sendTo' address
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent SalesReceipt |
| sendTo | string | optional email address to send the PDF to. If not provided, address supplied in SalesReceipt.BillEmail.EmailAddress will be used |
### quickBooks.getTaxAgency
Retrieves the TaxAgency from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent TaxAgency |
### quickBooks.getTaxCode
Retrieves the TaxCode from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent TaxCode |
### quickBooks.getTaxRate
Retrieves the TaxRate from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent TaxRate |
### quickBooks.getTerm
Retrieves the Term from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Term |
### quickBooks.getTimeActivity
Retrieves the TimeActivity from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent TimeActivity |
### quickBooks.getTransfer
Retrieves the Transfer from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Term |
### quickBooks.getVendor
Retrieves the Vendor from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent Vendor |
### quickBooks.getVendorCredit
Retrieves the VendorCredit from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Id | string | The Id of persistent VendorCredit |
### quickBooks.updateAccount
Updates QuickBooks version of Account
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| account | object | The persistent Account, including Id and SyncToken fields |
### quickBooks.updateAttachable
Updates QuickBooks version of Attachable
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| attachable | object | The persistent Attachable, including Id and SyncToken fields |
### quickBooks.updateBill
Updates QuickBooks version of Bill
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| bill | object | The persistent Bill, including Id and SyncToken fields |
### quickBooks.updateBillPayment
Updates QuickBooks version of BillPayment
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| billPayment | object | The persistent BillPayment, including Id and SyncToken fields |
### quickBooks.updateClass
Updates QuickBooks version of Class
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| class | object | The persistent Class, including Id and SyncToken fields |
### quickBooks.updateCompanyInfo
Updates QuickBooks version of CompanyInfo
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| companyInfo | object | The persistent CompanyInfo, including Id and SyncToken fields |
### quickBooks.updateCreditMemo
Updates QuickBooks version of CreditMemo
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| creditMemo | object | The persistent CreditMemo, including Id and SyncToken fields |
### quickBooks.updateCustomer
Updates QuickBooks version of Customer
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| customer | object | The persistent Customer, including Id and SyncToken fields |
### quickBooks.updateDepartment
Updates QuickBooks version of Department
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| department | object | The persistent Department, including Id and SyncToken fields |
### quickBooks.updateDeposit
Updates QuickBooks version of Deposit
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| deposit | object | The persistent Deposit, including Id and SyncToken fields |
### quickBooks.updateEmployee
Updates QuickBooks version of Employee
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| employee | object | The persistent Employee, including Id and SyncToken fields |
### quickBooks.updateEstimate
Updates QuickBooks version of Estimate
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| estimate | object | The persistent Estimate, including Id and SyncToken fields |
### quickBooks.updateInvoice
Updates QuickBooks version of Invoice
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| invoice | object | The persistent Invoice, including Id and SyncToken fields |
### quickBooks.updateItem
Updates QuickBooks version of Item
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| item | object | The persistent Item, including Id and SyncToken fields |
### quickBooks.updateJournalCode
Updates QuickBooks version of JournalCode
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| journalCode | object | The persistent JournalCode, including Id and SyncToken fields |
### quickBooks.updateJournalEntry
Updates QuickBooks version of JournalEntry
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| journalEntry | object | The persistent JournalEntry, including Id and SyncToken fields |
### quickBooks.updatePayment
Updates QuickBooks version of Payment
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| payment | object | The persistent Payment, including Id and SyncToken fields |
### quickBooks.updatePaymentMethod
Updates QuickBooks version of PaymentMethod
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| paymentMethod | object | The persistent PaymentMethod, including Id and SyncToken fields |
### quickBooks.updatePreferences
Updates QuickBooks version of Preferences
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| preferences | object | The persistent Preferences, including Id and SyncToken fields |
### quickBooks.updatePurchase
Updates QuickBooks version of Purchase
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| purchase | object | The persistent Purchase, including Id and SyncToken fields |
### quickBooks.updatePurchaseOrder
Updates QuickBooks version of PurchaseOrder
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| purchaseOrder | object | The persistent PurchaseOrder, including Id and SyncToken fields |
### quickBooks.updateRefundReceipt
Updates QuickBooks version of RefundReceipt
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| refundReceipt | object | The persistent RefundReceipt, including Id and SyncToken fields |
### quickBooks.updateSalesReceipt
Updates QuickBooks version of SalesReceipt
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| salesReceipt | object | The persistent SalesReceipt, including Id and SyncToken fields |
### quickBooks.updateTaxAgency
Updates QuickBooks version of TaxAgency
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| taxAgency | object | The persistent TaxAgency, including Id and SyncToken fields |
### quickBooks.updateTaxCode
Updates QuickBooks version of TaxCode
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| taxCode | object | The persistent TaxCode, including Id and SyncToken fields |
### quickBooks.updateTaxRate
Updates QuickBooks version of TaxRate
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| taxRate | object | The persistent TaxRate, including Id and SyncToken fields |
### quickBooks.updateTerm
Updates QuickBooks version of Term
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| term | object | The persistent Term, including Id and SyncToken fields |
### quickBooks.updateTimeActivity
Updates QuickBooks version of TimeActivity
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| timeActivity | object | The persistent TimeActivity, including Id and SyncToken fields |
### quickBooks.updateTransfer
Updates QuickBooks version of Transfer
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| Transfer | object | The persistent Transfer, including Id and SyncToken fields |
### quickBooks.updateVendor
Updates QuickBooks version of Vendor
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| vendor | object | The persistent Vendor, including Id and SyncToken fields |
### quickBooks.updateVendorCredit
Updates QuickBooks version of VendorCredit
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| vendorCredit | object | The persistent VendorCredit, including Id and SyncToken fields |
### quickBooks.updateExchangeRate
Updates QuickBooks version of ExchangeRate
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| exchangeRate | object | The persistent ExchangeRate, including Id and SyncToken fields |
### quickBooks.deleteAttachable
Deletes the Attachable from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteBill
Deletes the Bill from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteBillPayment
Deletes the BillPayment from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteCreditMemo
Deletes the CreditMemo from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteDeposit
Deletes the Deposit from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteEstimate
Deletes the Estimate from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteInvoice
Deletes the Invoice from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteJournalCode
Deletes the JournalCode from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteJournalEntry
Deletes the JournalEntry from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deletePayment
Deletes the Payment from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deletePurchase
Deletes the Purchase from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deletePurchaseOrder
Deletes the PurchaseOrder from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteRefundReceipt
Deletes the RefundReceipt from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteSalesReceipt
Deletes the SalesReceipt from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteTimeActivity
Deletes the TimeActivity from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteTransfer
Deletes the Transfer from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.deleteVendorCredit
Deletes the VendorCredit from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.voidInvoice
Voids the Invoice from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| idOrEntity | object | 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 |
### quickBooks.voidPayment
Voids QuickBooks version of Payment
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| payment | object | The persistent Payment, including Id and SyncToken fields |
### quickBooks.findAccounts
Finds all Accounts in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findAttachables
Finds all Attachables in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findBills
Finds all Bills in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findBillPayments
Finds all BillPayments in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findBudgets
Finds all Budgets in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findClasses
Finds all Classs in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findCompanyInfos
Finds all CompanyInfos in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findCreditMemos
Finds all CreditMemos in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findCustomers
Finds all Customers in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findDepartments
Finds all Departments in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findDeposits
Finds all Deposits in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findEmployees
Finds all Employees in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findEstimates
Finds all Estimates in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findInvoices
Finds all Invoices in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findItems
Finds all Items in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findJournalCodes
Finds all JournalCodes in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findJournalEntries
Finds all JournalEntrys in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findPayments
Finds all Payments in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findPaymentMethods
Finds all PaymentMethods in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findPreferenceses
Finds all Preferencess in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findPurchases
Finds all Purchases in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findPurchaseOrders
Finds all PurchaseOrders in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findRefundReceipts
Finds all RefundReceipts in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findSalesReceipts
Finds all SalesReceipts in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findTaxAgencies
Finds all TaxAgencys in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findTaxCodes
Finds all TaxCodes in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findTaxRates
Finds all TaxRates in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findTerms
Finds all Terms in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findTimeActivities
Finds all TimeActivitys in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findTransfers
Finds all Transfers in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findVendors
Finds all Vendors in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findVendorCredits
Finds all VendorCredits in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.findExchangeRates
Finds all ExchangeRates in QuickBooks, optionally matching the specified criteria
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| criteria | object | (Optional) String or single-valued map converted to a where clause of the form "where key = 'value'" |
### quickBooks.reportBalanceSheet
Retrieves the BalanceSheet Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportProfitAndLoss
Retrieves the ProfitAndLoss Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportProfitAndLossDetail
Retrieves the ProfitAndLossDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportTrialBalance
Retrieves the TrialBalance Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportCashFlow
Retrieves the CashFlow Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportInventoryValuationSummary
Retrieves the InventoryValuationSummary Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportCustomerSales
Retrieves the CustomerSales Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportItemSales
Retrieves the ItemSales Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportCustomerIncome
Retrieves the CustomerIncome Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportCustomerBalance
Retrieves the CustomerBalance Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportCustomerBalanceDetail
Retrieves the CustomerBalanceDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportAgedReceivables
Retrieves the AgedReceivables Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportAgedReceivableDetail
Retrieves the AgedReceivableDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportVendorBalance
Retrieves the VendorBalance Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportVendorBalanceDetail
Retrieves the VendorBalanceDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportAgedPayables
Retrieves the AgedPayables Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportAgedPayableDetail
Retrieves the AgedPayableDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportVendorExpenses
Retrieves the VendorExpenses Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportTransactionList
Retrieves the TransactionList Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportGeneralLedgerDetail
Retrieves the GeneralLedgerDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportTaxSummary
Retrieves the TaxSummary Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportDepartmentSales
Retrieves the DepartmentSales Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportClassSales
Retrieves the ClassSales Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
### quickBooks.reportAccountListDetail
Retrieves the AccountListDetail Report from QuickBooks
**Kind**: instance property of [QuickBooks](#QuickBooks)
| Param | Type | Description |
| --- | --- | --- |
| options | object | (Optional) Map of key-value pairs passed as options to the Report |
# Code Generation
This is an automatically-generated codebase - including this `README`! To see how it is built,
```
yarn build
```
Or check out the `makePromises.js` to see how the analysis is done.