| Namespace | http://www.mulesoft.org/schema/mule/quickbooks |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/quickbooks/1.0/mule-quickbooks.xsd |
| Version | 1.0 |
| Minimum Mule Version | 3.2 |
QuickBooks software provides an interface that allows you to use forms such as checks, deposit slips and invoices, making the accounting process more comfortable for the average business owner or manager. By using the built-in functions that pertain to your business, you are able to perform your company accounting by simply recording your vendor activities, customer activities, banking transactions, payroll checks and taxes. QuickBooks handles the accounting portion of each transaction behind the scenes. Read more: QuickBooks Accounting Tutorial | eHow.com http://www.ehow.com/way_5462311_quickbooks-accounting-tutorial.html#ixzz1csaydwxl
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an Account.
| |||||||||||
Creates a Bill.
| |||||||||||
Creates a BillPayment.
| |||||||||||
Creates a CashPurchase.
| |||||||||||
Creates a Check.
| |||||||||||
Creates a CreditCardCharge.
| |||||||||||
Creates a Customer.
| |||||||||||
Creates an Estimate.
| |||||||||||
Creates an Invoice.
| |||||||||||
Creates an Item.
| |||||||||||
Creates a Payment.
| |||||||||||
Creates a PaymentMethod.
| |||||||||||
Creates a SalesReceipt.
| |||||||||||
Creates a SalesTerm.
| |||||||||||
Creates a Vendor.
| |||||||||||
Deletes an object.
| |||||||||||
Retrieve objects by ID.
| |||||||||||
Updates an Account
The Account object represents the accounts that you keep to track your business.
| |||||||||||
Updates a Bill
The Bill object represents an expense to the business.
| |||||||||||
Updates a BillPayment
BillPayment represents the financial transaction of payment of bills that the business owner receives
from a vendor for goods or services purchased from the vendor.
| |||||||||||
Updates a CashPurchase.
| |||||||||||
Updates a Check.
| |||||||||||
Updates a CreditCardCharge.
| |||||||||||
Updates a Customer.
| |||||||||||
Updates an Estimate.
| |||||||||||
Updates an Invoice.
| |||||||||||
Updates an Item.
| |||||||||||
Updates a Payment.
| |||||||||||
Updates a PaymentMethod.
| |||||||||||
Updates a SalesReceipt.
| |||||||||||
Updates a SalesTerm.
| |||||||||||
Updates a Vendor.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:quickbooks="http://www.mulesoft.org/schema/mule/quickbooks"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/quickbooks
http://www.mulesoft.org/schema/mule/quickbooks/1.0/mule-quickbooks.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| https://qbo.intuit.com/qbo1/rest/user/v2 | Optional. The base uri of the quickbooks endpoint, used to fetch the company uri. | ||||||||||
| Optional. Quick-Books client. | |||||||||||
| Unique consumer key for the app. | |||||||||||
| Unique consumer secret for the app. | |||||||||||
| The realmID, also known as the Company ID, uniquely identifies the data for a company. | |||||||||||
This connector uses OAuth as an authorization and authentication mechanism. All the message processors or sources that require the connector to be authorized by the service provider will throw a NotAuthorizedException until the connector is authorized properly.
Authorizing the connector is a simple process of calling:
<quickbooks:authorize/>
The call to authorize message processor must be made from a message coming from an HTTP inbound endpoint as the authorize process will reply with a redirect to the service provider. The following is an example of how to use it in a flow with an HTTP inbound endpoint:
<flow name="authorizationAndAuthenticationFlow">
<http:inbound-endpoint host="localhost" port="8080" path="oauth-authorize"/>
<quickbooks:authorize/>
</flow>
If you hit that endpoint via a web-browser it will initiate the OAuth dance, redirecting the user to the service provider page and creating a callback endpoint so the service provider can call us back once the user has been authenticated. Once the callback gets called then the connector will switch to an authorized state and any message processor or source that requires authentication can be called.
As mentioned earlier once authorize gets called and before we redirect the user to the service provider we create a callback endpoint. The callback endpoint will get called automatically by the service provider once the user is authenticated and he grants authorization to the connector to access his private information.
The callback can be customized in the config element of the this connector as follows:
<quickbooks:config>
<quickbooks:oauth-callback-config domain="${fullDomain}" localPort="${http.port}" remotePort="80"/>
</quickbooks:config>
The oauth-callback-config element can be used to customize the endpoint that gets created for the callback. It features the following attributes:
| OAuth Callback Config Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Description | ||||||||||
| Optional. The domain portion of the callback URL. This is usually something like xxx.muleion.com if you are deploying to iON for example. | |||||||||||
| Optional. The local port number that the endpoint will listen on. Normally 80, in the case of Mule iON you can use the environment variable ${http.port}. | |||||||||||
| Optional. This is the port number that we will tell the service provider we are listening on. It is usually the same as localPort but it is separated in case your deployment features port forwarding or a proxy. | |||||||||||
The example shown above is what the configuration would look like if your app would be deployed to iON.
Once the service providers hits the callback it will do so in way that state information it is also sent. This state information is later used by the connector on each call made to the service provider to let him know that we have completed the authorization and authentication process.
The state information is currently held in-memory but the connector offers hooks to save/restore this state. The ammount of information that needs to be saved and/or restored varies between version of the OAuth specification. At the bare minimum for OAuth 1.0a that needs to be the OAuth access token and OAuth access token secret.
The following is an example of how to log the access token and access token secret.
<quickbooks:config>
<quickbooks:save-oauth-access-token>
<logger level="INFO" message="Received access token #[header:INBOUND:OAuthAccessToken] and #[header:INBOUND:OAuthAccessTokenSecret]"/>
</quickbooks:save-oauth-access-token>
</quickbooks:config>
The save-oauth-access-token is a message processor chain and you can add inside of it as many message processors as you want. The chain will be called with special inbound properties in the message which the information that needs saved.
Restoring the information is equally simple:
<quickbooks:config>
<quickbooks:restore-oauth-access-token>
<message-properties-transformer>
<add-message-property key="OAuthAccessToken" value="123"/>
<add-message-property key="OAuthAccessTokenSecret" value="567"/>
</message-properties-transformer>
</quickbooks:restore-oauth-access-token>
</quickbooks:config>
The example above does not do anything useful expect hardcode the access token and the token secret to 123 and 567 respectively. Just like save-oauth-access-token, restore-oauth-access-token is another message processor chain. Once the chain is done executing we will extract the OAuth access token property and OAuth access token secret property values.
The following shows a full example on how to save and restore using Mule ObjectStore Module to store the information inside an object store.
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:quickbooks="http://www.mulesoft.org/schema/mule/quickbooks"
xmlns:objectstore="http://www.mulesoft.org/schema/mule/objectstore"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/objectstore
http://www.mulesoft.org/schema/mule/objectstore/1.0/mule-objectstore.xsd
http://www.mulesoft.org/schema/mule/quickbooks
http://www.mulesoft.org/schema/mule/quickbooks/1.0/mule-quickbooks.xsd">
<quickbooks:config>
<quickbooks:save-oauth-access-token>
<objectstore:store key="OAuthAccessToken" value="#[header:INBOUND:OAuthAccessToken]"/>
<objectstore:store key="OAuthAccessTokenSecret" value="#[header:INBOUND:OAuthAccessTokenSecret]"/>
</quickbooks:save-oauth-access-token>
<quickbooks:restore-oauth-access-token>
<enricher target="#[header:OAuthAccessToken]">
<objectstore:retrieve key="OAuthAccessToken"/>
</enricher>
<enricher target="#[header:OAuthAccessTokenSecret]">
<objectstore:retrieve key="OAuthAccessTokenSecret"/>
</enricher>
</quickbooks:restore-oauth-access-token>
</quickbooks:config>
</mule>
Creates an Account. The Account object represents the accounts that you keep to track your business. Account is a component of a chart of accounts, and is part of a ledger. You can use Account to record the total monetary amount that is allocated for a specific use. For details see: Account Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| User-recognizable name for the account. This name must be unique. When you create a company, you get some default accounts. If you want to create an account, you must provide an account name that does not match the name of any default account. | ||
| Optional. Optional. User-entered description of the account. This description helps the book keepers or accountants to decide which journal entries should be posted to this account. | ||
| Detailed classification of the account that specifies the use of this account. The accepted values are defined in QboAccountDetailTypeEnum. | ||
| Optional. Optional. User-specified account number that help the user to identify the account within the chart of accounts and decide what should be posted to the account. | ||
| Optional. Optional. Opening balance amount when you create a new balance sheet account. | ||
| Optional. Date of the opening balance amount when creating a new balance sheet account. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Bill. The Bill object represents an expense to the business. For details see: Bill Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a BillPayment. BillPayment represents the financial transaction of payment of bills that the business owner receives from a vendor for goods or services purchased from the vendor. QBO supports bill payments through a credit card or a bank account. For details see: BillPayment Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a CashPurchase. CashPurchase represents an expense to the business as a cash transaction. For details see: CashPurchase Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Check. The Check object represents an expense to the business paid as a check transaction. For details see: Check Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a CreditCardCharge. The CreditCardCharge object represents an expense to the business as a credit card charge transaction. CreditCardCharge must have the total expense equal to the total expense of line items. For details see: CreditCardCharge Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Customer. The Customer object represents the consumer of the service or the product that your business offers. QBO allows categorizing the customers in a way that is meaningful to the business. For details see: Customer Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Specifies the full name of the customer. If the Name is specified, then GivenName, MiddleName, and FamilyName values are ignored. | ||
| Optional. Specifies the given name or first name of a person. GivenName is a required field only if Name is not sent in the request. If a Name is sent, then the GivenName field is optional. | ||
| Optional. Optional. Specifies the middle name of the person. A person can have zero or more middle names. | ||
| Optional. Optional. Specifies the family name or the last name of the customer. | ||
| Optional. Optional. Suffix appended to the name, Jr., Sr., etc. | ||
| Optional. Optional. Specifies the "Doing Business As" name of the customer. | ||
| Optional. Optional. Specifies the name of the vendor to be displayed. | ||
| Optional. QBO only supports the customers being taxable or not, so if this field is "1", the job is taxable. If the field value is null, the job is not taxable. All other values are invalid. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Estimate. The Estimate object represents a proposal for a financial transaction from a business to a customer for goods or services proposed to be sold, including proposed pricing. It is also known as quote. For details see: Estimate Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Invoice. The Invoice object represents an invoice to a customer. Invoice could be based on salesterm with invoice and due dates for payment. Invoice supports tax, but as of now shipping charges are not supported. Invoice can be printed and emailed to a customer. For details see: Invoice Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Item. The Item object represents any product or service that is sold or purchased. Inventory items are not currently supported. For details see: Item Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. User recognizable name of the Item. | ||
| Optional. Optional. User entered description for the item to further describe the details of service or product. | ||
| Optional. Optional. Indicates whether the item is subject to tax. | ||
| Optional. Optional. Name of parent Item. This field is output only. | ||
| Optional. Optional. User entered purchase description for the item to further describe the details of the purchase. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Payment. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. For details see: Payment Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a PaymentMethod. PaymentMethod represents the method of payment for a transaction. It can be a credit card payment type or a non-credit card payment type. For details see: PaymentMethod Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| User recognizable name for the payment method. | ||
| Optional. Type of payment. Specifies if it is a credit card payment type or a
non-credit card payment type. It must specify either of the following: * CREDIT_CARD * NON_CREDIT_CARD |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a SalesReceipt. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. For details see: SalesReceipt Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a SalesTerm. The SalesTerm object represents the terms under which a sale is made. SalesTerm is typically expressed in the form of days due after the goods are received. There is an optional discount part of the sales term, where a discount of total amount can automatically be applied if payment is made within a few days of the stipulated time. For details see: SalesTerm Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Specifies the user recognizable name for the salesterm. | ||
| Number of days from the delivery of goods or services till the payment is due. If DueDays is specified, only DiscountDays and DiscountPercent can be additionally specified. | ||
| Optional. Optional. Number of days for which the discount is applicable, if the payment is made within these days. This value is used only when DueDays is specified. | ||
| Optional. Optional. Percentage of discount that is available against a price, if paid within the days specified by DiscountDays. This value is used only when DueDays is specified. | ||
| Payment must be received by the day of the month specified by DayOfMonthDue. This value is used only when DueDays is not specified. | ||
| Optional. Optional. Payment due next month if issued that many days before the DayOfMonthDue. This value is used only when DueDays is not specified. | ||
| Optional. Optional. Discount applies if paid before that day of month. This value is used only when DueDays is not specified. | ||
| Optional. Optional. Percentage of discount that is available against a price, if paid before DiscountDayofMonth. This value is used only when DueDays is not specified. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Vendor. The Vendor object represents the buyer from whom you purchase any service or product for your organization. For details see: Vendor Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Specifies the full name of the vendor. If the FullName is specified, then GivenName, MiddleName, and FamilyName values are ignored. | ||
| Optional. Specifies the given name or first name of a person. GivenName is a required field only if Name is not sent in the request. If a Name is sent, then the GivenName field is optional. | ||
| Optional. Optional. Specifies the middle name of the vendor. A person can have zero or more middle names. | ||
| Optional. Optional. Specifies the family name or the last name of the vendor. | ||
| Optional. Optional. Specifies the "Doing Business As" name of the vendor. | ||
| Optional. Optional. Specifies the name of the vendor to be displayed. | ||
| Optional. Optional. Specifies the Tax ID of the person or the organization. This is a Personally Identifiable Information (PII) attribute. | ||
| Optional. Optional. Specifies the account name or the account number that is associated with the vendor. | ||
| Optional. Optional. Specifies that the Vendor is an independent contractor, someone who is given a 1099-MISC form at the end of the year. The "1099 Vendor" is paid with regular checks, and taxes are not withheld on the vendor's behalf. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Deletes an object.
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| EntityType of the object. | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Lazily retrieves Objects For details see: Vendor Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| EntityType of the object. | ||
| Optional. String with a filter format (see details). Each type of object to be retrieved, has a list of attributes for which it can be filtered (See this list following the link in the details of the documentation of the create or update method of that object). | ||
| Optional. String with a sort format (see details). Each type of object to be retrieved, has a list of attributes for which it can be sorted (See this list following the link in the details of the documentation of the create or update method of that object). |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Retrieve objects by ID.
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| EntityType of the object. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Account The Account object represents the accounts that you keep to track your business. Account is a component of a chart of accounts, and is part of a ledger. You can use Account to record the total monetary amount that is allocated for a specific use. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Account Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. | ||
| User-recognizable name for the account. This name must be unique. When you create a company, you get some default accounts. If you want to create an account, you must provide an account name that does not match the name of any default account. | ||
| Optional. Optional. User-entered description of the account. This description helps the book keepers or accountants to decide which journal entries should be posted to this account. | ||
| Detailed classification of the account that specifies the use of this account. The accepted values are defined in QboAccountDetailTypeEnum. | ||
| Optional. Optional. User-specified account number that help the user to identify the account within the chart of accounts and decide what should be posted to the account. | ||
| Optional. Optional. Opening balance amount when you create a new balance sheet account. | ||
| Optional. Optional. Date of the opening balance amount when creating a new balance sheet account. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Bill The Bill object represents an expense to the business. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Bill Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a BillPayment BillPayment represents the financial transaction of payment of bills that the business owner receives from a vendor for goods or services purchased from the vendor. QBO supports bill payments through a credit card or a bank account. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: BillPayment Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a CashPurchase. CashPurchase represents an expense to the business as a cash transaction. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: CashPurchase Especification
INCLUDE_ERROR
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Check. The Check object represents an expense to the business paid as a check transaction. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Check Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a CreditCardCharge. The CreditCardCharge object represents an expense to the business as a credit card charge transaction. CreditCardCharge must have the total expense equal to the total expense of line items. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: CreditCardCharge Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Customer. The Customer object represents the consumer of the service or the product that your business offers. QBO allows categorizing the customers in a way that is meaningful to the business. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Customer Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. | ||
| Optional. Optional. Specifies the full name of the customer. If the Name is specified, then GivenName, MiddleName, and FamilyName values are ignored. | ||
| Optional. Specifies the given name or first name of a person. GivenName is a required field only if Name is not sent in the request. If a Name is sent, then the GivenName field is optional. | ||
| Optional. Optional. Specifies the middle name of the person. A person can have zero or more middle names. | ||
| Optional. Optional. Specifies the family name or the last name of the customer. | ||
| Optional. Optional. Suffix appended to the name, Jr., Sr., etc. | ||
| Optional. Optional. Specifies the "Doing Business As" name of the customer. | ||
| Optional. Optional. Specifies the name of the vendor to be displayed. | ||
| Optional. QBO only supports the customers being taxable or not, so if this field is "1", the job is taxable. If the field value is null, the job is not taxable. All other values are invalid. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Estimate. The Estimate object represents a proposal for a financial transaction from a business to a customer for goods or services proposed to be sold, including proposed pricing. It is also known as quote. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Estimate Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Invoice. The Invoice object represents an invoice to a customer. Invoice could be based on salesterm with invoice and due dates for payment. Invoice supports tax, but as of now shipping charges are not supported. Invoice can be printed and emailed to a customer. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Invoice Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Item. The Item object represents any product or service that is sold or purchased. Inventory items are not currently supported. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Item Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. | ||
| Optional. Optional. User recognizable name of the Item. | ||
| Optional. Optional. User entered description for the item to further describe the details of service or product. | ||
| Optional. Optional. Indicates whether the item is subject to tax. | ||
| Optional. Optional. Name of parent Item. This field is output only. | ||
| Optional. Optional. User entered purchase description for the item to further describe the details of the purchase. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Payment. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Payment Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a PaymentMethod. PaymentMethod represents the method of payment for a transaction. It can be a credit card payment type or a non-credit card payment type. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: PaymentMethod Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. | ||
| User recognizable name for the payment method. | ||
| Optional. Optional. Type of payment. Specifies if it is a credit card payment type or a non-credit card payment type. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a SalesReceipt. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: SalesReceipt Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a SalesTerm. The SalesTerm object represents the terms under which a sale is made. SalesTerm is typically expressed in the form of days due after the goods are received. There is an optional discount part of the sales term, where a discount of total amount can automatically be applied if payment is made within a few days of the stipulated time. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: SalesTerm Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. | ||
| Specifies the user recognizable name for the salesterm. | ||
| Number of days from the delivery of goods or services till the payment is due. If DueDays is specified, only DiscountDays and DiscountPercent can be additionally specified. | ||
| Optional. Optional. Number of days for which the discount is applicable, if the payment is made within these days. This value is used only when DueDays is specified. | ||
| Optional. Optional. Percentage of discount that is available against a price, if paid within the days specified by DiscountDays. This value is used only when DueDays is specified. | ||
| Payment must be received by the day of the month specified by DayOfMonthDue. This value is used only when DueDays is not specified. | ||
| Optional. Optional. Payment due next month if issued that many days before the DayOfMonthDue. This value is used only when DueDays is not specified. | ||
| Optional. Optional. Discount applies if paid before that day of month. This value is used only when DueDays is not specified. | ||
| Optional. Optional. Percentage of discount that is available against a price, if paid before DiscountDayofMonth. This value is used only when DueDays is not specified. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Vendor. The Vendor object represents the buyer from whom you purchase any service or product for your organization. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Vendor Especification
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The oauth access token | ||
| The oauth secret token | ||
| Optional. Optional. Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. | ||
| Optional. Optional. Specifies the full name of the vendor. If the FullName is specified, then GivenName, MiddleName, and FamilyName values are ignored. | ||
| Optional. Specifies the given name or first name of a person. GivenName is a required field only if Name is not sent in the request. If a Name is sent, then the GivenName field is optional. | ||
| Optional. Optional. Specifies the middle name of the vendor. A person can have zero or more middle names. | ||
| Optional. Optional. Specifies the family name or the last name of the vendor. | ||
| Optional. Optional. Specifies the "Doing Business As" name of the vendor. | ||
| Optional. Optional. Specifies the name of the vendor to be displayed. | ||
| Optional. Optional. Specifies the Tax ID of the person or the organization. This is a Personally Identifiable Information (PII) attribute. | ||
| Optional. Optional. Specifies the account name or the account number that is associated with the vendor. | ||
| Optional. Optional. Specifies that the Vendor is an independent contractor, someone who is given a 1099-MISC form at the end of the year. The "1099 Vendor" is paid with regular checks, and taxes are not withheld on the vendor's behalf. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|