How to connect to Quickbooks premier desktop edition through qbxmlrp using java? - quickbooks

I have installed a quickbooks premier 2014 desktop edition in my system and wants to integrate it using QBXML Request processor API(QBXMLRP2) through java application.
I have gone through the QBXML SDK Documentation but didn't find a proper way on integration with java.
I found this from the documentation :
1.Open a connection to QuickBooks.
2.Start a session for working on a specific QuickBooks company file.
3.Send whatever requests you want to do something in QuickBooks.
4.When you’re done or before your application exits, end the session.
5.Then close the connection.
It will be greatly appreciated if some one could provide me some sample code to integrate with Quickbooks.
And also how to configure QBXMLRP2Lib files in my java application?.
Thanks in advance.

There is a product called QuickBooks Web Connector that allows your app to use QBXML through a web service. Intuit has created a sample java application that communicates with web connector that may provide what you need.
Also, if you're starting a new app from scratch you may want to consider using the newer "V3 QBD" API instead of QBXML.

Related

I want to integrate my ASP.Net application with quickbooks enterprise, is the integration similar for desktop enterprise as it is for online with IPP?

I want to integrate my asp.net application with quickbooks enterprise.
I have done integration with quickbooks-online using IPPV3 ASP.net; I can send HTTP calls with JSON objects to get response, but now my requirement is to connect my asp.net application with quick books enterprise software.
Can I use that approach for quick books enterprise which I have used for quick books online?
Please help me with respect to my knowledge as I have done work with online (small scale) version.
Can i use that approach for quick books enterprise which i have used for quick books online?
No. There is no REST API for QuickBooks Enterprise.
You need to use the QuickBooks Web Connector, along with the QuickBooks SDK.
https://developer.intuit.com/docs/0250_qb/0020_get_set_up/sdk_downloads
http://wiki.consolibyte.com/wiki/doku.php/quickbooks_web_connector

Integrating with QB Desktop products

I wrote a QB integration a few years ago that uses the Web Connector to read and write data to and from QB desktop products. It works well but I am not in love with the Web Connector.
I am tasked with setting up another QB integration. I was hoping to avoid using the Web Connector this time. There are a few reasons why I am trying to avoid the Web Connector but the main reason is I would like to make this integration work with both Desktop and Online versions of QB.
Is it possible to use the Intuit Sync Manager to sync the company data up to Intuit and then just use the standard Online APIs to connect to that company file? I have done some testing and I can connect to QB Online via the Online APIs but I cannot seem to get it to see the synced company files.
Any help with this would be great. Just looking for a little direction here.
Thanks in advance for any help.
For QBO, of-course, you can use QBO REST APIs(V3) API.
Ref - https://developer.intuit.com/docs/0025_quickbooksapi
But for QBD, QBSDK and web-connector is still the only approach.
QBD V2 and V3 REST APIs are already deprecated.
https://developer.intuit.com/docs/0250_qb
https://developer.intuit.com/docs/0250_qb/0010_get_oriented/0080_quickbooks_web_connector
FAQ
Thanks

QuickBooks with Joomla integration

I need to integrate our website in Joomla and quickbooks by importing the customer, invoice data from joomla site to Quickbooks. I am using Quickbooks pro 2014 on windows machine. I see there is QuickBooks PHP DevKit available by ConsoliBYTE. By searching on stackoverflow, I see people have used this toolkit to perform the data import(customer creation) into QuickBooks. I need to know what all Quickbooks functionality can be achieved using this php toolkit. That is what it can and cannot do. Is it build on QB SDK?
For example I have scenario where I need to import customers and need to add them as customer jobs. So does phpdevkit supports job creation? If yes then how do I find the xml for that in phpdevkit quickbooks library? So probably there will be more such similar requirements coming from end user in future and I need to consider these facts while designing the solution using php toolkit. I do not want a solution which is limited to only few or specific functionality. I have read the QB SDK and it is mentioned that SDK can be used with .NET, java. both solution goes with webconnector. SDK can perform almost all the functions as supported in quickbooks UI. So I am confused which one I should pick PHP toolkit by ConsoliByte or .Net/Java based. Language is not a concern for me. My aim is to look for solution flexible and capable to cover maximum QB functionality which includes customer creation, invoice creation, adding customer job and updating the customer/invoice on every synchup as well as limitation which the solution poses must be known before implementation.
So along with what QuickBooks PHP DevKit can or cannot do, I need to know its difference from Java/.Net based QB SDK (Not language PHP or VB.NET/Java but core framework)?
I tried searching it over stackoverflow and google but could not found this information. I appreciate any inputs shared.
Thanks,
Amit
I need to know what all Quickbooks functionality can be achieved using this php toolkit.
The full list is much too long to post here. As a basic overview:
Automatically send orders placed on your website to QuickBooks Online or QuickBooks for Windows
Charge credit cards using the QuickBooks Merchant Service
Connect to Intuit Anywhere / the Intuit Partner Platform and the v3 APIs
Get access to QuickBooks reports
Pull information out of QuickBooks and display it online
Connect to all Microsoft Windows versions of QuickBooks
Connect to QuickBooks Online Edition
etc. etc. etc.
More details available here:
https://github.com/consolibyte/quickbooks-php
For QuickBooks FOR WINDOWS, you can see the full list of operations supported by clicking the "Select Message" drop-down in the OSR:
https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html
For QuickBooks ONLINE, you can see the full list of operations supported here:
https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services
Is it build on QB SDK?
Yes.
So does phpdevkit supports job creation?
Yes. Anything the QuickBooks SDK supports you can do.
If yes then how do I find the xml for that in phpdevkit quickbooks library?
Use the QuickBooks OSR I linked to above. Search for CustomerAdd (Jobs in QuickBooks are just Customers with a ParentRef defined).
We also have examples on our wiki:
http://www.consolibyte.com/docs/index.php/Example_qbXML_Requests
And provide support via our forums:
http://consolibyte.com/forum/
I do not want a solution which is limited to only few or specific functionality.
Again, anything the QuickBooks SDK can do, can be done via the PHP DevKit.
So I am confused which one I should pick PHP toolkit by ConsoliByte or .Net/Java based.
Joomla is written in PHP, so why the heck would you choose something written in another language...? It would be silly to try to tie .NET or Java in with your Joomla app/database...
which includes customer creation, invoice creation, adding customer job and updating the customer/invoice on every synchup
All of that is certainly do-able.
So along with what QuickBooks PHP DevKit can or cannot do, I need to know its difference from Java/.Net based QB SDK (Not language PHP or VB.NET/Java but core framework)?
The difference is the language. .NET is not PHP. PHP is not Java. Everything is just a wrapper around the QuickBooks SDK/COM API. The only practical difference in the language the stuff is written in.

How should I import data into QuickBooks from my Rails application?

I'm working on a Rails project that needs to be able to import/export (mostly import) invoice data to/from QuickBooks. In Googling, the QuickBooks SDK and Web Connector come up often. However, both seem to only be for the Windows desktop versions. This QuickBooks instance is on a Mac.
The import can either be via an API or, if possible, a file could be generated from within the web app that could later be imported manually.
Currently, QuickBooks 2009 is what's being used. However, assume we can use nearly any version of QuickBooks. Online or desktop (Mac).
What would the best route be to get invoice data to/from the Rails application to QuickBooks?
Unfortunately, QuickBooks for Mac does not support any real method of integration. It's definitely the "black sheep" of the Intuit family.
The closest you can get is IIF file imports/exports.
There is detailed information on this (deprecated, and very limited) file format over here:
http://support.quickbooks.intuit.com/support/articles/HOW12778
You would be so, so, sooo much better off moving off of QuickBooks for Mac through, as the APIs for both QuickBooks for Windows (Web Connector/SDK/COM) and QuickBooks Online (REST v3 APIs) are much, much better than IIF imports/exports.

Quickbooks PHP SDK Integration

Can anyone Plese help me regarding the Quickbook API integration
I have downloaded SDK from
https://majorapi.com/developers/quickbooks/sdk/php
I have installed it and configured the keys.
I've got some db tables when executing the Quickbook.php file.
I'm stuck there, can anyone please help me further.
If you're building a SaaS app (allowing other people to connect their QuickBooks companies to your app):
If you're building for QuickBooks ONLINE:
Instead of using that lib, use the QuickBooks PHP DevKit that's available on GitHub. It's open-source and well supported, and works fine with OAuth and v3.
You can follow the QuickBooks PHP IPP v3 Quick-Start Guide to get started. You'll go through a similar process to what you went through above, where you'll find in your own OAuth token/secret and app token in the configuration, and then you'll be able to connect to QuickBooks.
From there, you'll find several example scripts:
https://github.com/consolibyte/quickbooks-php/blob/master/docs/example_app_ipp_v3/
If you're building something else (something internal or for use only by a single company):
If you're building for QuickBooks for WINDOWS:
Here is a PHP QuickBooks Library which does exactly what you want to do.
You should follow the QuickBooks PHP Web Connector quick-start guide to get started. You'll want to architect your application so that your PHP script can receive the data, store it temporarily in a database (MySQL, etc.) and then the Web Connector can pick up the data destined for QuickBooks from there.
The Web Connector is a little different than a standard web service in that it works in a sort of backwards manner - the Web Connector will call out to your PHP web service vs. you calling out to it.
There's a overview of how the Web Connector works over here.
You should refer to these scripts (as the quick-start guide does above):
https://github.com/consolibyte/quickbooks-php/tree/master/docs/example_app_web_connector

Resources