Rapid account: SalesTaxIQ

SalesTaxIQ / TaxProDigital

Real-time and automatic tax configuration with street-level precision

无已发布 API
此用户尚未发布任何 API

讨论区

5
Title
Created at (Click to sort ascending)
A
1
Hello, Thank you for reaching out. The tax rate returned by the API is the combined tax rate for the specific location that you provide in your request. This includes the state, county, and city taxes, if applicable. For example, if you provide a location in New York City, the API will return the combined tax rate for that location, which includes the state tax, the city tax, and any applicable local taxes. Please let me know if you have any other questions or concerns. मंगल 4:05 7/3/23
A
1
Hi there! Thank you for your question. The API currently only covers tax rates for the United States. We do not have tax rate data for any other countries at this time. If you have any further questions or concerns, please don't hesitate to let me know. मंगल 4:03 7/3/23
A
3
Hello! Thanks for the inquiry! It's a little tough to debug where this may be failing with the markup issues in the message. Have you tried the sample PHP code and edit as needed for your input? ``` <?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://sales-tax-calculator.p.rapidapi.com/rates", CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "{\n \"city\": \"Menlo Park\",\n \"state\": \"CA\",\n \"street\": \"1 Hacker Way\",\n \"zip\": \"94025\"\n}", CURLOPT_HTTPHEADER => [ "X-RapidAPI-Host: sales-tax-calculator.p.rapidapi.com", "X-RapidAPI-Key: XXX-value-I-copied-XXX", "content-type: application/json" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; } ``` बुध 8:44 4/5/22
A
1
Hi! Please switch the single and double-quotes for the valid json post body like so: ``` curl --request POST --url https://sales-tax-calculator.p.rapidapi.com/rates --header "content-type: application/json" --header "x-rapidapi-host: sales-tax-calculator.p.rapidapi.com" --header "x-rapidapi-key: ****" --data '{"city": "New York","state": "NY","street": "48 E 12th St","zip": "10003"}' ``` गुरू 4:31 18/11/21
A
1
Hello, this has now been added! शुक्र 4:06 5/11/21