I know lot of people may be facing the issue of integrating QuickBooks SDK correctly using PHP. QuickBooks SDK basically used their own xml format qbXml to pass and retrieve data from QuickBooks. And if you have a website or an online store that need to create invoices automatically in QuickBooks, then you should create a SOAP web service to process these request.
Unlike other API’s around for different application, QuickBooks synchronization is is initiated from QuickBooks Web Connector (An application provided by Intuit to connect to the websites web service). This is mainly for security purpose. Once the QuickBooks Web Connector connects to the web service, the web service should pass qbXml requests for the corresponding tasks you want to achieve. The QuickBooks Web Connector will process the same and will send a qbXml response data to the web service, which can be processed by the website if required.
The PHP QuickBooks Framework can be found here at https://idnforums.intuit.com/messageview.aspx?catid=56&threadid=9164
This link also will be helpful to you. http://www.consolibyte.com/wiki/doku.php/quickbooks
The difficult part in these are it is difficult to debug the code when an error occurs. And when you start using this you will initially have lot of issues dealing with the correct qbXml format. If you have QuickBooks SDK installed in your system, a qbXml format document can be found under the Intuit installation directory. (For example, in my PC it is located at D:\Program Files\Intuit\IDN\QBSDK8.0\doc\qbxmlops80.xml). Always refer this document and make sure you don’t missed any required options while creating the qbXml request. You can also find a helpful an Xml Validator for qbXml in the “Start Up > Program Files > Intuit SDKs > QuickBooks SDK 8.0 > Tools > XML Validator“.
Luckily Keith Palmer has already spent time creating an open source PHP QuickBooks Framework ready to use for you. Thanks to him for creating that helpful framework for the PHP community. But still the above tools and info I mentioned may be helpful for you.
Feel free to post me if you have any questions, I will try my best to answer your queries.
Prabhul Sankar
South Ocean Solutions
