Is it possible to select a Tax Agency when creatin

2019-03-01 03:49发布

问题:

Is there anyway to get at my clients Tax Agencies when creating an invoice?

I'm using the C# IPP DevKit against QBO.

I don't see it mentioned in the documentation, however I can't imagine I'll be required to hard code all my clients tax tables into my app as that is silly.

回答1:

What you're looking for (the list of tax rates) is not really what you're asking for (tax agencies).

In any case, this thread answers your question: https://idnforums.intuit.com/messageview.aspx?catid=87&threadid=18930&enterthread=y

Unfortunately, the answer is:

In the current SDK or Services V2, this is a limitation that the tax code Id is not retained due to tax model changes. This limitation will be addressed in QBO Service V3.

Thus, what you're trying to do can't be done right now.



回答2:

I am not sure if you are using QuickBooks Online or for Windows. Either way, the Tax Agency would most likely be a Vendor in the customer's QuickBooks file.

So use the vendor query in the devkit to pull the list of vendor's and you can later use the CDCasOf filter to get the new or modified vendors to keep things up to date.

The supported objects and operations are listed here for future reference.

QBO:link
QBD:link

regards,
Jarred