trigger.quickbooks
Module trigger.quickbooks
API
Definitions
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_trigger.quickbooks_1.1.1.png)
ballerinax/trigger.quickbooks Ballerina library
Overview
The QuickBooks trigger allows you to listen to QuickBooks webhook notifications.
After you subscribe for webhooks to receive event-triggered callbacks for entities that your application must listen to. QuickBooks webhooks automatically notify you whenever data changes in your end user’s QuickBooks Online company files.
Prerequisites
Before using this trigger in your Ballerina application, complete the following:
- Create a QuickBooks account.
- Add listener endpoint URL to QuickBooks webhooks.
- [Optional] Select and Save Entities and their events.
Quickstart
To use the QuickBooks trigger in your Ballerina application, update the .bal file as follows:
Step 1: Import the trigger
First, import ballerinax/trigger.quickbooks
module into the Ballerina project as follows.
import ballerinax/trigger.quickbooks;
Step 2: Create a new trigger instance
Initialize the trigger by providing the app-specific verifier token (to validate the webhook notifications from the callback are from Intuit) and QuickBooks company IDs in the listener config and the port number where your trigger will be running. You can also pass an http:Listerner instance instead of the port number with the listener config. The app-specific verifier token is shown under webhooks section of your QuickBooks app after registering an endpoint URL. The QuickBooks companyId is shown in your app under the company list.
listener quickbooks:Listener quickBooksListener = new ( listenerConfig = { verificationToken: "<VERIFIER_TOKEN>", realmIds: ["<COMPANY_ID_01>", "<COMPANY_ID_02>"] }, listenOn = <PORT> );
If you don't provide a port it will use the default port which is 8090.
Step 3: Run the trigger service
-
Implement a service using the correct service type for the relevant event channel (e.g.,
quickbooks:CustomerService
).The following is a sample service that listens to QuickBooks Customer events via the QuickBooks trigger:
service quickbooks:CustomerService on quickBooksListener { remote function onCustomerCreate(quickbooks:QuickBookEvent event) returns error? { // YOUR LOGIC ON THE EVENT } remote function onCustomerUpdate(quickbooks:QuickBookEvent event) returns error? {} remote function onCustomerDelete(quickbooks:QuickBookEvent event) returns error? {} remote function onCustomerMerge(quickbooks:QuickBookEvent event) returns error? {} }
-
To compile and run the Ballerina program, issue the following command:
bal run
Step 4: Subscribe to a webhook topic with the URL of the service
For instructions to subscribe to a webhook topic with the URL of the service, see Intuit Developer Documentation - Webhooks.
Note:
- Locally, you can use ngrok to expose your web service to the internet and to obtain a public URL (For example: 'https://7745640c2478.ngrok.io').
- In Choreo, you can obtain this service URL from the
Invoke URL
section of theConfigure and Deploy
form underDeploy
view before App deployment.- Add a trailing
/
to the end of public URL if it's not present.
Listeners![](/images/permalink.svg)
trigger.quickbooks: Listener![](/images/permalink.svg)
attach![](/images/permalink.svg)
function attach(GenericServiceType serviceRef, () attachPoint) returns error?
detach![](/images/permalink.svg)
function detach(GenericServiceType serviceRef) returns error?
Parameters
- serviceRef GenericServiceType -
'start![](/images/permalink.svg)
function 'start() returns error?
gracefulStop![](/images/permalink.svg)
function gracefulStop() returns error?
immediateStop![](/images/permalink.svg)
function immediateStop() returns error?
Records![](/images/permalink.svg)
trigger.quickbooks: DataChangeEvent![](/images/permalink.svg)
Record for set of QuickBook data changes
Fields
- entities QuickBookEvent[] - Set of QuickBook data changes
trigger.quickbooks: EventNotification![](/images/permalink.svg)
Record for event notification for a company.
Fields
- realmId string - Company Id
- dataChangeEvent DataChangeEvent - The event changes information
trigger.quickbooks: EventNotifications![](/images/permalink.svg)
Record for set of event notification for all companies.
Fields
- eventNotifications EventNotification[] - Set of event notification for all companies
trigger.quickbooks: ListenerConfig![](/images/permalink.svg)
Fields
- verificationToken string -
- realmIds string[] -
trigger.quickbooks: QuickBookEvent![](/images/permalink.svg)
Record for QuickBook data change.
Fields
- lastUpdated string? - The latest timestamp in UTC.
- name string? - The name of the entity that changed (customer, Invoice, etc.).
- deletedID string? - The ID of the deleted or merged entity (this only applies to merge events)
- id string? - The ID of the changed entity.
- operation string? - The type of the change.
Object types![](/images/permalink.svg)
trigger.quickbooks: AccountService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Account is received. Available actions: onAccountCreate, onAccountUpdate, onAccountDelete, and onAccountMerge.
onAccountCreate![](/images/permalink.svg)
function onAccountCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onAccountUpdate![](/images/permalink.svg)
function onAccountUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onAccountDelete![](/images/permalink.svg)
function onAccountDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onAccountMerge![](/images/permalink.svg)
function onAccountMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: BillPaymentService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks BillPayment is received. Available actions: onBillpaymentCreate, onBillpaymentUpdate, onBillpaymentDelete, and onBillpaymentVoid.
onBillpaymentCreate![](/images/permalink.svg)
function onBillpaymentCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onBillpaymentUpdate![](/images/permalink.svg)
function onBillpaymentUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onBillpaymentDelete![](/images/permalink.svg)
function onBillpaymentDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onBillpaymentVoid![](/images/permalink.svg)
function onBillpaymentVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: BillService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Bill is received. Available actions: onBillCreate, onBillUpdate, and onBillDelete.
onBillCreate![](/images/permalink.svg)
function onBillCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onBillUpdate![](/images/permalink.svg)
function onBillUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onBillDelete![](/images/permalink.svg)
function onBillDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: BudgetService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Budget is received. Available actions: onBudgetCreate and onBudgetUpdate.
onBudgetCreate![](/images/permalink.svg)
function onBudgetCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onBudgetUpdate![](/images/permalink.svg)
function onBudgetUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: ClassService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Class is received. Available actions: onClassCreate, onClassUpdate, and onClassDelete.
onClassCreate![](/images/permalink.svg)
function onClassCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onClassUpdate![](/images/permalink.svg)
function onClassUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onClassDelete![](/images/permalink.svg)
function onClassDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: CreditMemoService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks CreditMemo is received. Available actions: onCreditmemoCreate, onCreditmemoUpdate, onCreditmemoDelete, and onCreditmemoVoid.
onCreditmemoCreate![](/images/permalink.svg)
function onCreditmemoCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCreditmemoUpdate![](/images/permalink.svg)
function onCreditmemoUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCreditmemoDelete![](/images/permalink.svg)
function onCreditmemoDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCreditmemoVoid![](/images/permalink.svg)
function onCreditmemoVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: CurrencyService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Currency is received. Available actions: onCurrencyCreate and onCurrencyUpdate.
onCurrencyCreate![](/images/permalink.svg)
function onCurrencyCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCurrencyUpdate![](/images/permalink.svg)
function onCurrencyUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: CustomerService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Customer is received. Available actions: onCustomerCreate, onCustomerUpdate, onCustomerDelete, and onCustomerMerge.
onCustomerCreate![](/images/permalink.svg)
function onCustomerCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCustomerUpdate![](/images/permalink.svg)
function onCustomerUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCustomerDelete![](/images/permalink.svg)
function onCustomerDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onCustomerMerge![](/images/permalink.svg)
function onCustomerMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: DepartmentService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Department is received. Available actions: onDepartmentCreate, onDepartmentUpdate, and onDepartmentMerge.
onDepartmentCreate![](/images/permalink.svg)
function onDepartmentCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onDepartmentUpdate![](/images/permalink.svg)
function onDepartmentUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onDepartmentMerge![](/images/permalink.svg)
function onDepartmentMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: DepositService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Deposit is received. Available actions: onDepositCreate, onDepositUpdate, and onDepositDelete.
onDepositCreate![](/images/permalink.svg)
function onDepositCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onDepositUpdate![](/images/permalink.svg)
function onDepositUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onDepositDelete![](/images/permalink.svg)
function onDepositDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: EmployeeService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Employee is received. Available actions: onEmployeeCreate, onEmployeeUpdate, onEmployeeDelete, and onEmployeeMerge.
onEmployeeCreate![](/images/permalink.svg)
function onEmployeeCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onEmployeeUpdate![](/images/permalink.svg)
function onEmployeeUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onEmployeeDelete![](/images/permalink.svg)
function onEmployeeDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onEmployeeMerge![](/images/permalink.svg)
function onEmployeeMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: EstimateService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Estimate is received. Available actions: onEstimateCreate, onEstimateUpdate, and onEstimateDelete.
onEstimateCreate![](/images/permalink.svg)
function onEstimateCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onEstimateUpdate![](/images/permalink.svg)
function onEstimateUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onEstimateDelete![](/images/permalink.svg)
function onEstimateDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: InvoiceService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Invoice is received. Available actions: onInvoiceCreate, onInvoiceUpdate, onInvoiceDelete, and onInvoiceVoid.
onInvoiceCreate![](/images/permalink.svg)
function onInvoiceCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onInvoiceUpdate![](/images/permalink.svg)
function onInvoiceUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onInvoiceDelete![](/images/permalink.svg)
function onInvoiceDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onInvoiceVoid![](/images/permalink.svg)
function onInvoiceVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: ItemService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Item is received. Available actions: onItemCreate, onItemUpdate, onItemDelete, and onItemMerge.
onItemCreate![](/images/permalink.svg)
function onItemCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onItemUpdate![](/images/permalink.svg)
function onItemUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onItemDelete![](/images/permalink.svg)
function onItemDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onItemMerge![](/images/permalink.svg)
function onItemMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: JournalCodeService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks JournalCode is received. Available actions: onJournalcodeCreate and onJournalcodeUpdate.
onJournalcodeCreate![](/images/permalink.svg)
function onJournalcodeCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onJournalcodeUpdate![](/images/permalink.svg)
function onJournalcodeUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: JournalEntryService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks JournalEntry is received. Available actions: onJournalentryCreate, onJournalentryUpdate, and onJournalentryDelete.
onJournalentryCreate![](/images/permalink.svg)
function onJournalentryCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onJournalentryUpdate![](/images/permalink.svg)
function onJournalentryUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onJournalentryDelete![](/images/permalink.svg)
function onJournalentryDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: PaymentMethodService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks PaymentMethod is received. Available actions: onPaymentmethodCreate, onPaymentmethodUpdate, and onPaymentmethodMerge.
onPaymentmethodCreate![](/images/permalink.svg)
function onPaymentmethodCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPaymentmethodUpdate![](/images/permalink.svg)
function onPaymentmethodUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPaymentmethodMerge![](/images/permalink.svg)
function onPaymentmethodMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: PaymentService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Payment is received. Available actions: onPaymentCreate, onPaymentUpdate, onPaymentDelete, and onPaymentVoid.
onPaymentCreate![](/images/permalink.svg)
function onPaymentCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPaymentUpdate![](/images/permalink.svg)
function onPaymentUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPaymentDelete![](/images/permalink.svg)
function onPaymentDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPaymentVoid![](/images/permalink.svg)
function onPaymentVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: PreferencesService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Preferences is received. Available action: onPreferencesUpdate.
onPreferencesUpdate![](/images/permalink.svg)
function onPreferencesUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: PurchaseOrderService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks PurchaseOrder is received. Available actions: onPurchaseorderCreate, onPurchaseorderUpdate, and onPurchaseorderDelete.
onPurchaseorderCreate![](/images/permalink.svg)
function onPurchaseorderCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPurchaseorderUpdate![](/images/permalink.svg)
function onPurchaseorderUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPurchaseorderDelete![](/images/permalink.svg)
function onPurchaseorderDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: PurchaseService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Purchase is received. Available actions: onPurchaseCreate, onPurchaseUpdate, onPurchaseDelete, and onPurchaseVoid.
onPurchaseCreate![](/images/permalink.svg)
function onPurchaseCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPurchaseUpdate![](/images/permalink.svg)
function onPurchaseUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPurchaseDelete![](/images/permalink.svg)
function onPurchaseDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onPurchaseVoid![](/images/permalink.svg)
function onPurchaseVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: RefundReceiptService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks RefundReceipt is received. Available actions: onRefundreceiptCreate, onRefundreceiptUpdate, onRefundreceiptDelete, and onRefundreceiptVoid.
onRefundreceiptCreate![](/images/permalink.svg)
function onRefundreceiptCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onRefundreceiptUpdate![](/images/permalink.svg)
function onRefundreceiptUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onRefundreceiptDelete![](/images/permalink.svg)
function onRefundreceiptDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onRefundreceiptVoid![](/images/permalink.svg)
function onRefundreceiptVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: SalesReceiptService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks SalesReceipt is received. Available actions: onRefundreceiptCreate, onRefundreceiptUpdate, onRefundreceiptDelete, and onRefundreceiptVoid.
onRefundreceiptCreate![](/images/permalink.svg)
function onRefundreceiptCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onRefundreceiptUpdate![](/images/permalink.svg)
function onRefundreceiptUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onRefundreceiptDelete![](/images/permalink.svg)
function onRefundreceiptDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onRefundreceiptVoid![](/images/permalink.svg)
function onRefundreceiptVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: TaxAgencyService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks TaxAgency is received. Available actions: onTaxagencyCreate and onTaxagencyUpdate.
onTaxagencyCreate![](/images/permalink.svg)
function onTaxagencyCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTaxagencyUpdate![](/images/permalink.svg)
function onTaxagencyUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: TermService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Term is received. Available actions: onTermCreate and onTermUpdate.
onTermCreate![](/images/permalink.svg)
function onTermCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTermUpdate![](/images/permalink.svg)
function onTermUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: TimeActivityService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks TimeActivity is received. Available actions: onTimeactivityCreate, onTimeactivityUpdate and onTimeactivityDelete.
onTimeactivityCreate![](/images/permalink.svg)
function onTimeactivityCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTimeactivityUpdate![](/images/permalink.svg)
function onTimeactivityUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTimeactivityDelete![](/images/permalink.svg)
function onTimeactivityDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: TransferService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Transfer is received. Available actions: onTransferCreate, onTransferUpdate, onTransferDelete and onTransferVoid.
onTransferCreate![](/images/permalink.svg)
function onTransferCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTransferUpdate![](/images/permalink.svg)
function onTransferUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTransferDelete![](/images/permalink.svg)
function onTransferDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onTransferVoid![](/images/permalink.svg)
function onTransferVoid(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: VendorCreditService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks VendorCredit is received. Available actions: onVendorcreditCreate, onVendorcreditUpdate, and onVendorcreditDelete.
onVendorcreditCreate![](/images/permalink.svg)
function onVendorcreditCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onVendorcreditUpdate![](/images/permalink.svg)
function onVendorcreditUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onVendorcreditDelete![](/images/permalink.svg)
function onVendorcreditDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
trigger.quickbooks: VendorService![](/images/permalink.svg)
Triggers when a new event related to Quickbooks Vendor is received. Available actions: onVendorCreate, onVendorUpdate, onVendorDelete and onVendorMerge.
onVendorCreate![](/images/permalink.svg)
function onVendorCreate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onVendorUpdate![](/images/permalink.svg)
function onVendorUpdate(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onVendorDelete![](/images/permalink.svg)
function onVendorDelete(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
onVendorMerge![](/images/permalink.svg)
function onVendorMerge(QuickBookEvent event) returns error?
Parameters
- event QuickBookEvent -
Union types![](/images/permalink.svg)
trigger.quickbooks: GenericServiceType![](/images/permalink.svg)
GenericServiceType
Import
import ballerinax/trigger.quickbooks;
Metadata
Released date: almost 2 years ago
Version: 1.1.1
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.2.3
GraalVM compatible: Yes
Pull count
Total: 68
Current verison: 6
Weekly downloads
Keywords
Finance/Accounting
Cost/Paid
Trigger
Contributors
Dependencies