开发者

Add a customer to Quickbooks Online (qbXML)

开发者 https://www.devze.com 2023-02-26 07:31 出处:网络
I want to simply add a customer to Quickbooks Online from my .NET app.What is the best way to do this and what would the code look like开发者_如何学Python?There are 2 ways to do this: you can use the

I want to simply add a customer to Quickbooks Online from my .NET app. What is the best way to do this and what would the code look like开发者_如何学Python?


There are 2 ways to do this: you can use the QuickBooks SDK, construct an add customer XML message and send it to QuickBooks Online Edition (QBOE). Since you're in .NET you can also use the QBFC library which manages the XML for you and provides a structured API which is easier and safer to use than raw XML.

Or you can make a REST call using the Intuit Partner Platform (IPP). The REST API for QBOE was still in Beta last I checked, but this is definitely the way of the future and will probably have more full featured support for QBOE eventually (There have always been fewer supported features for QBOE in the SDK vs. the desktop edition).

In both cases you'll have to deal with authentication. For the SDK, you have to authorize the app and get a connection ticket. For the IPP, you'll have to authorize the app and negotiate with the SAML gateway.

If you're just doing a custom application or messing around, you'll probably want to use the SDK because it's easier, particularly the authentication. If you're building a product, IPP is worth a serious look. If you are building a product, you should be aware that Microsoft currently has a support program called Frontrunner that provides some goodies if you use the IPP.


For QBOE, you can post XML to authenticate and add customers. Here is a link to get started:

QBOE Integration

You'll need to use QBXML v 6, though you can get the XML here:

http://developer.intuit.com/qbsdk-current/common/newosr/index.html

You can use XML Serialization to parse the XML into strongly typed classes, so you can program against them.

I also offer C# kits for QB Desktop, QBOE, and QBPOS, if you are interested.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号