Open taxcoderead opened 6 years ago
Can you post the last XML request/response sent to/from QuickBooks?
Also, please copy/paste the actual code you're having trouble with. The explanation you gave makes no sense --
This does NOT do a query or get tax codes:
$TaxCodeService = new QuickBooks_IPP_Service_TaxCode();
And this does NOT get tax rates either:
$TaxRateService = new QuickBooks_IPP_Service_TaxRate();
$TaxRateService = new QuickBooks_IPP_Service_TaxRate(); $taxRates = $TaxRateService->query($Context, $realm, "SELECT * FROM TaxRate WHERE Id IN('$id')");
We first get the taxcode from quickbooks using following query:- $TaxCodeService = new QuickBooks_IPP_Service_TaxCode(); and then get the tax rates for each tax code using the following query $TaxRateService = new QuickBooks_IPP_Service_TaxRate(); But It returns NULL and we are not getting any tax rates for the tax codes