Get Store Tax Rate
curl --request GET \
--url https://api-staging.luladelivery.store/stores/{store_id}/tax-rateimport requests
url = "https://api-staging.luladelivery.store/stores/{store_id}/tax-rate"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-staging.luladelivery.store/stores/{store_id}/tax-rate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.luladelivery.store/stores/{store_id}/tax-rate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-staging.luladelivery.store/stores/{store_id}/tax-rate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-staging.luladelivery.store/stores/{store_id}/tax-rate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.luladelivery.store/stores/{store_id}/tax-rate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"tax_rate": 123,
"tax_jurisdiction": "<string>",
"tax_type": "<string>",
"effective_date": "<string>",
"currency": "<string>",
"tax_inclusive": true
}Stores
Get Store Tax Rate
This endpoint retrieves the tax rate configuration for a specific store. Tax rates are essential for accurate order calculations and compliance with local tax regulations. The response includes applicable tax percentages and tax jurisdiction information.
GET
/
stores
/
{store_id}
/
tax-rate
Get Store Tax Rate
curl --request GET \
--url https://api-staging.luladelivery.store/stores/{store_id}/tax-rateimport requests
url = "https://api-staging.luladelivery.store/stores/{store_id}/tax-rate"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-staging.luladelivery.store/stores/{store_id}/tax-rate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.luladelivery.store/stores/{store_id}/tax-rate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-staging.luladelivery.store/stores/{store_id}/tax-rate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-staging.luladelivery.store/stores/{store_id}/tax-rate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.luladelivery.store/stores/{store_id}/tax-rate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"tax_rate": 123,
"tax_jurisdiction": "<string>",
"tax_type": "<string>",
"effective_date": "<string>",
"currency": "<string>",
"tax_inclusive": true
}This endpoint provides the current tax rate information configured for a store. Tax rates are used to calculate taxes on orders and ensure compliance with local tax regulations based on the store’s location.
Path Parameters
string
required
The unique identifier of the store to retrieve tax rate information for
Response
number
The tax rate as a decimal (e.g., 0.0875 for 8.75%)
string
The tax jurisdiction or authority that applies to this store
string
Type of tax applied (e.g., “sales_tax”, “vat”, “gst”)
string
When this tax rate became effective (ISO 8601 format)
string
Currency code for tax calculations (e.g., “USD”, “CAD”)
boolean
Whether prices include tax (true) or tax is added separately (false)
Response Example
{
"tax_rate": 0.0875,
"tax_jurisdiction": "California State Tax",
"tax_type": "sales_tax",
"effective_date": "2024-01-01T00:00:00Z",
"currency": "USD",
"tax_inclusive": false
}
Tax Rate Usage
How Tax Rates Are Applied
How Tax Rates Are Applied
usage
Tax rates are automatically applied to order totals during checkout
Tax calculation happens in real-time based on current rates
usage
Ensures orders comply with local tax regulations and reporting requirements
Tax rates may vary by product category or customer type
usage
Used for generating tax reports and remittance to tax authorities
Historical tax rates are preserved for audit purposes
Tax Rate Management
Tax Rate Information
Tax Rate Information
info
Tax rates may be updated automatically based on jurisdiction changes
Rate changes typically have advance notice periods
info
Rates are determined by store location and applicable tax jurisdictions
Stores in different locations may have different tax rates
info
Some jurisdictions apply different rates to different product types
The base rate shown may be modified based on product category
Common Use Cases
When to Check Tax Rates
When to Check Tax Rates
Error Scenarios
Common Tax Rate Errors
Common Tax Rate Errors
error
The specified store_id doesn’t existStatus Code: 404
error
Store doesn’t have tax rate configuration set upStatus Code: 404Solution: Contact support to configure tax rates for the store
error
Tax jurisdiction data is incomplete or invalidStatus Code: 500Solution: Verify store address and tax jurisdiction setup
Rate Precision: Tax rates are provided with high precision to ensure accurate calculations. Always use the exact decimal values provided.
Rate Changes: Tax rates can change due to legislative updates. Applications should periodically refresh tax rate information to ensure compliance.
Integration: This endpoint is commonly used by POS systems, e-commerce platforms, and accounting software to ensure consistent tax calculations across all systems.

