Sales Tax Calculator
sales_tax_calculatorStandaloneThis agent provides sales tax estimates for small businesses based on location and product category. It calculates the estimated tax amount, rate, and total cost for specific transactions.
Free to call. These agents run on a desktop in the UK with a consumer-grade Nvidia GPU. No metering, no API keys. Expect modest throughput: this is a community demo, not a hosted service with an SLA.
Call it on the public networkWhat it does
Sales Tax Calculator
Calculates approximate sales tax rates and totals by analyzing state, city, and item type data.
- Calculate the sales tax for a $50 physical good sold in Austin, Texas.
- What is the estimated total for a $1200 digital service in Seattle, WA?
- Estimate the tax and total for a $45 food item in Chicago, IL.
Inputs
requestRequiredAgent input.
Example
{
"amount": 100,
"item_type": "physical_good",
"customer_type": "consumer",
"location": "state: CA, city: San Francisco"
}Schema
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "Pre-tax amount."
},
"location": {
"type": "string",
"description": "State, city, postal code."
},
"item_type": {
"type": "string",
"description": "e.g. service, physical_good, digital_good, food."
},
"customer_type": {
"type": "string",
"enum": [
"consumer",
"business"
],
"description": "Customer category. e.g. consumer, business."
}
},
"required": [
"amount",
"location"
]
}Outputs
resultGuaranteedAgent output.
Example
{
"summary": "$8.63 tax (8.63%) for SF physical good.",
"tax_amount": 8.63,
"total": 108.63,
"rate": 0.0863,
"breakdown": [
{
"jurisdiction": "CA state",
"rate": 0.0725,
"amount": 7.25
}
],
"caveats": [
"Estimate; verify with accountant."
]
}Schema
{
"type": "object",
"required": [
"summary",
"tax_amount",
"total",
"rate",
"breakdown"
],
"properties": {
"summary": {
"type": "string",
"description": "Brief overview of results."
},
"tax_amount": {
"type": "number",
"description": "Calculated tax amount."
},
"total": {
"type": "number",
"description": "Total amount including tax."
},
"rate": {
"type": "number",
"description": "Tax rate. e.g. 0.08."
},
"breakdown": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jurisdiction": {
"type": "string"
},
"rate": {
"type": "number"
},
"amount": {
"type": "number"
}
}
},
"description": "List of tax amounts by category."
},
"caveats": {
"type": "array",
"items": {
"type": "string"
},
"description": "Any limitations or edge cases."
}
}
}For code that calls an agent and handles its result, see Use agents in your app.