I can use the SalesTaxCodeQuery in the SDK to get a list of the different tax codes that are configured in Quickbooks.
But I need to determine the actual % VAT Rate that applies to these tax codes.
What query do I need to use to get that information out of Quickbooks ?
Unfortunately, QuickBooks does not support returning this information to you.
Related
E.g. I would like to obtain the number of tweets on this page (after it is fully expanded). Is it possible?
As far as I can see, Twitter API, including the academic product does not provide a straightforward option to obtain the number of tweets over a specific period of time (one would need to request for each single tweets, and the number of tweets that can be requested is limited per month).
Today, counts are only available in the premium and enterprise APIs, not in the new v2 API. You can get timeseries and counts but you’ll be looking at a paid API.
Am trying to create a program that fetches data from yahoo finance all stock data.
I found one rest API that gives me a stock price but I have to pass two parameters ex. if I have to get Apple stock price I have to pass Apple and stock name but I want all stock data so how do I get ??
can anyone help me thanks in advance
Unfortunately there isn't any official source of tickers or method of getting them.
You can use this script link to download tickers but as creator mentioned:
it is not possible to get all the symbols due to limitations set by
Yahoo. About 75%-90% of all symbols are gathered using this script
depending on type.
And it also downloads some no longer existing or inaccessible tickers.
From this site link you can download list of almost all tickers but about 30% of tickers are either in wrong category or aren't working. Checking whether ticker exists is easy because when API returns no data then we can deduce that ticker is incorrect. But checking if category is appropriate is a bit more complicated.
I've filtered tickers from the second site but only ETFs and Mutual Funds, you can find them on my GitHub. Those files contain about 99% of ETFs and Mututal Funds avaiable on Yahoo. I might consider filtering stocks later and then I'll upload them with script too. Be aware that filtering tickers is impossible on one run without for example VPN because Yahoo limits request to about 10k-20k per day and there are about 20k tickers per category and checking each ticker requires 2 requests.
Try with IEX api, it's free, and it provides very complete data, a very simple implementation and a very neat documentation
if yu want AAPL real-time price you just have to request
https://api.iextrading.com/1.0/stock/aapl/price
Here's complete documentation
https://iextrading.com/developer/docs
I was searching for a solution to a similar question for a long time. and at last, I got a solution to my problem.
there's a library in python that does this for you!
All you have to is pass the right symbol for the stock (for ex: the symbol of Infosys is INFY)
Here's the link to the documentation of the library
Dynamic Stock prices :
https://nsetools.readthedocs.io/en/latest/
Historical Stock Data :
https://nsepy.readthedocs.io/en/latest/
I hope this helps! All the best
I actually want to know that whether i can use the Yahoo Finance API to get the data from a specific Stock Exchange. I tried to find the answer and looked through the YQL guide but they didn't mention that how can I specify the stock exchange to get the current share price.
For example I want to know the share price of a company from Australian Stock Exchange and then I want to know another share price of a different company from NewYork Stock Exchange.
Any help is much appreciated.
Thanks
For LSE (London Stock Exchange), all the symbols are just appended with '.L'.
It seems the Australian Stock Exchange is '.AX' (I got the info from this page: https://help.yahoo.com/kb/SLN2310.html )
I want to provide a Customer ListId through QBXML and get the list of all Invoices, Estimates and Payments under that particular customer. What QBXML request would give me this? Please help.
You should refer to the QuickBooks OSR for all qbXML reference:
https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html
There are also some additional samples here:
http://www.consolibyte.com/docs/index.php/Example_qbXML_Requests
If you refer to the QuickBooks OSR, you'll find some really unsurprising qbXML requests named:
InvoiceQueryRq
EstimateQueryRq
ReceivedPaymentQueryRq
An InvoiceQueryRq will give you invoices, an EstimateQueryRq will give you estimates, and so on and so forth. You may also want to check out TransactionQueryRq which queries all types of transaction at once (but be aware it will only give you summary data, and not detailed data like line items, etc. that the other more specific request types will give you).
The OSR will also show you that you can filter these queries to get back invoices, estimates, or payments for just a specific entity (e.g. a specific customer).
<EntityFilter>
<ListID >IDTYPE</ListID>
<!-- OR -->
<ListIDWithChildren >IDTYPE</ListIDWithChildren>
</EntityFilter>
You can refer to the QuickBooks OSR link above for full qbXML reference and examples (look at the XMLOps tab in the OSR).
I'm using Quickbooks SDK v11 to integrate with a C# application. Almost everything works fine, but I have a problem with the sales tax country. I want to add customer records to Quickbooks, and I can't figure out how to do it.
To see what's in Quickbooks already, I'm using the following code snippet:
ICustomerRet ret = [My code to retrieve a customer];
ENSalesTaxCountry stc = (ENSalesTaxCountry)ret.SalesTaxCountry.GetValue();
This works fine for a UK customer, but if the customer has a sales tax country of France, the GetValue() call throws an Exception.
A poke around with Intellisense reveals that my ENSalesTaxCountry type only has three options: stcAustralia, stcCanada and stcUK - clearly excluding France.
It seems that the SDK enum supports only these three countries, while Quickbooks itself supports a whole bunch of others.
Any ideas for how to patch the SDK or otherwise get round the problem?
There's no need to rely on intellisense for documentation - you can use the IDN Onscreen Reference for a complete description of SDK queries and responses. You are obviously either using the Canadian or UK edition of QuickBooks, so be sure to check Allow CA or UK 2008+, then either CA or UK to indicate the edition you are using.
However, once you do this you will see that the only sales tax countries supported by the SDK are the Australia, the UK and Canada. In order to find out whether qbXML is returning France or other values that are undocumented, you can call the ToXmlString() method on you ICustomerRet interface. This will give you the raw qbXML. If the value "France" is there, you should be able to see it.
If you find that the qbXML is supporting undocumented countries, you can try including them in customer add requests, but you have to build the qbXML yourself and use the request processor component instead of QBFC to send the message.
You might be able to get more information about this by posting on in the Intuit Developer forums, where you will find dedicated forums for both UK and Canadian QuickBooks development. In fact there is an active discussion on sales tax countries in the UK forum right now, but you won't find it to be encouraging.