PHP + Quickbook在线版(API集成)?

10 php api integration quickbooks intuit

是否可以将我的PHP基于Web的电子商务应用程序与Quickbook Online Edition集成?

当我在我的网站上进行销售时,我希望能够在我的会计账簿中进行相应的日记账.

注意,我指的是Quickbook Online Edition,而不是桌面软件.

Kei*_*Jr. 15

我现在已经构建了一组PHP类,便于与QuickBooks Online Edition进行通信.它使与QuickBooks在线版的通信变得如此简单:

// Create the connection to QuickBooks
$API = new QuickBooks_API(...);

// Build the Customer object
$Customer = new QuickBooks_Object_Customer();
$Customer->setName($name);
$Customer->setShipAddress('134 Stonemill Road', '', '', '', '', 'Storrs', 'CT', '', '06268');

// Send the request to QuickBooks
$API->addCustomer($Customer, '_add_customer_callback', 15);

// The framework also supports processing raw qbXML requests
$API->qbxml('
    <CustomerQueryRq>
        <FullName>Keith Palmer Jr.</FullName>
    </CustomerQueryRq>', '_raw_qbxml_callback');
Run Code Online (Sandbox Code Playgroud)

您可以从我的主题下载框架: QuickBooks在线版PHP包

我已经开始编写一些关于如何将Web应用程序与QuickBooks在线版集成的文档/技巧: QuickBooks Integration wiki


inx*_*pro 3

Quickbooks OE 似乎有一个基于 XML 的 SDK,可从以下位置获取:

http://developer.intuit.com/technical_resources/default.aspx?id=1492