-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any plans to add Tax API supports? #257
Comments
Everything is done on a volunteer and "as needed" (usually) basis. Since you need these abilities it would be great if you could add them back into the gem. By looking at the specs in combination with https://developer.intuit.com/docs/api/accounting it is easy to get started implementing these features. |
@minimul I tried to implement the TaxService API, but encountered the exception "System Failure Error: Cannot consume content type", Can you help to take a look? this is my fork version https://github.com/raecoo/quickbooks-ruby thanks. |
Where is service/tax_service.rb? |
@minimul Sorry, forgot committed. please pull it again. |
@raecoo Tax service is JSON only. https://developer.intuit.com/v2/apiexplorer?apiname=V3QBO#?id=TaxService |
@tchang1 Yes, I have already implemented the feature in my fork version, will push it later. |
@minimul I've pushed a beta version to my fork that implemented the TaxService API via JSON way. |
I know I was just looking at it. Good find and work but at the same time Intuit should be consistent and provide the same support for both data formats. For better or worse this gem is wedded to XML requests and responses so I would like to see them flip the switch on XML for this entity. I just put in a question https://intuitdeveloper.lc.intuit.com/questions/1195446-taxservice-is-json-only . We need to evaluate their response before we can consider a merge. |
Yup, I agree with you about the gem is wedded to XML requests and responses. so let's waiting their feedback then consider next thing. |
Update: There was some more comments on this thread: https://intuitdeveloper.lc.intuit.com/questions/1195446-taxservice-is-json-only |
By the way, I'm from Intuit (you may have seen me answer q's on the intuit live community) but I lurk here to see if theres any issues I can help with. The short answer is we would prefer clients to use JSON and will not be enhancing existing services for xml support. Here's the reasoning. Supporting xml and maintaining our (legacy) xsd schema has slowed us down and created problems when we do enhancements, fixes and improvements. In general, we are encouraging JSON for development moving forward which will help us deliver higher quality and more capabilities into our API. The next major version of the QBO API will for sure be JSON only. I agree though that this Tax Service should have been built with XML support to be compatible with existing V3 clients but starting to use JSON here will help us immensely. |
This might be the final nail in the coffin to do a top-down re-write and migrate to JSON |
@ruckus I don't know if it would be needed to rewrite the current ruby library for JSON, right now, but eventually - yes I would recommend it. For the most part, existing V3 accounting endpoints/services aren't going to change. New things that would be JSON only would be for example, a set of payroll use case APIs, or eventually V4 accounting APIs - our own UI & clients would be consuming these in JSON. |
Let's try to work in JSON only entity support without considering a large Anyway, let's cross the v4 bridge when we come to it in which time it may be Looking at @raecoo's fork I think we can at least abstract out the TaxService In this way we can more easily add new entities or existing ones that are |
@raecoo If you could form a PR like described in my previous post that would be so appreciated. If not I plan on contributing to this solution largely based on your fork. |
@minimul I agree with the ServiceCrudJSON solution. I've sent the PR. |
I am thinking more along the lines of this: I'll have more comments and code tomorrow. |
the refactoring is awesome. |
I have more updates on that branch that are based off sandbox testing. |
Merged into master. |
Currently, only the Tax Code query api available. Actually, we also need other Tax APIs. e.g. create and update.
The text was updated successfully, but these errors were encountered: