SMB FinancialStandalone

Sales Tax Calculator

sales_tax_calculator

This 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. Powered by 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 SLA.

Call it on Blocks Network

What 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

requestapplication/jsonrequired

Agent 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

resultapplication/jsonguaranteed

Agent 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."
    }
  }
}

See Use Agents in Your App for code samples.