Disclaimer: QuickBooks.ninja is an independent site and is not affiliated with, endorsed by, or sponsored by Intuit Inc. "QuickBooks" is a registered trademark of Intuit Inc., used for identification and reference purposes only. See our Terms.

Home / QBO

How to Connect QuickBooks Online Using Visual Basic Code

Overview of connecting to QuickBooks Online programmatically using Visual Basic and the Intuit Developer API.

Overview

QuickBooks Online can be connected programmatically through Visual Basic (VB) code by using the official QuickBooks API provided by Intuit. This allows developers to build custom integrations that read and write data to a QuickBooks Online company.

Getting Started

  1. Visit the Intuit Developer Portal -- Go to developer.intuit.com to access the API documentation, SDKs, and code samples.

  2. Create a developer account -- Sign up for an Intuit Developer account if you do not already have one. This gives you access to sandbox environments for testing.

  3. Register your application -- Create an app in the developer portal to obtain your Client ID and Client Secret, which are required for OAuth 2.0 authentication.

  4. Use the QuickBooks Online API -- The API uses RESTful endpoints that can be called from Visual Basic using HTTP request libraries. You will authenticate using OAuth 2.0 and then make API calls to read or write accounting data.

Key Considerations

  • OAuth 2.0 authentication -- All API connections require OAuth 2.0. Your VB application will need to handle the authorization flow, including token refresh.
  • API rate limits -- Intuit enforces rate limits on API calls. Review the current limits in the developer documentation.
  • Sandbox testing -- Always test your integration in the sandbox environment before connecting to live company data.
  • SDKs available -- While Intuit provides official SDKs for several languages, VB developers can use the REST API directly via HTTP requests.

Resources