> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Tax Rate

> Retrieve details of a specific tax rate

<Note>
  This endpoint retrieves detailed information about a specific tax rate, including its jurisdiction details and application statistics.
</Note>

## Authentication

This endpoint requires a valid API key with `tax:read` permissions.

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the tax rate
</ParamField>

### Response

Returns the tax rate object if found.

<RequestExample>
  ```bash cURL theme={null}
  curl --location 'https://api.stateset.com/v1/tax/rates/tax_rate_0901f083-aa1c-43c5-af5c-0a9d2fc64e30' \
  --header 'Authorization: Bearer YOUR_API_KEY'
  ```

  ```javascript Node.js theme={null}
  const taxRate = await stateset.tax.rates.retrieve(
    'tax_rate_0901f083-aa1c-43c5-af5c-0a9d2fc64e30'
  );
  ```

  ```python Python theme={null}
  tax_rate = stateset.tax.rates.retrieve(
    'tax_rate_0901f083-aa1c-43c5-af5c-0a9d2fc64e30'
  )
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "tax_rate_0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "object": "tax_rate",
    "name": "California State Sales Tax",
    "code": "CA_STATE_SALES",
    "rate": 0.0725,
    "type": "sales",
    "jurisdiction": {
      "country": "US",
      "state": "CA",
      "county": null,
      "city": null,
      "postal_codes": [],
      "district": null,
      "level": "state",
      "display_name": "California, United States"
    },
    "rules": {
      "product_categories": [],
      "exempt_categories": ["food_grocery", "prescription_drugs"],
      "customer_types": [],
      "exempt_customer_types": ["wholesale", "government"],
      "minimum_amount": null,
      "shipping_taxable": true,
      "compound": false,
      "priority": 1
    },
    "validity": {
      "effective_date": "2024-01-01T00:00:00Z",
      "expiration_date": null,
      "is_active": true
    },
    "registration": {
      "registration_number": "CA-123456789",
      "registered_name": "Acme Corporation",
      "registered_address": {
        "line1": "123 Commerce St",
        "city": "Los Angeles",
        "state": "CA",
        "postal_code": "90001",
        "country": "US"
      }
    },
    "is_inclusive": false,
    "status": "active",
    "created_at": "2024-01-20T11:00:00Z",
    "updated_at": "2024-01-20T11:00:00Z",
    "created_by": "user_123",
    "statistics": {
      "orders_count": 15234,
      "total_tax_collected": 1847532,
      "last_applied": "2024-06-20T14:45:00Z",
      "monthly_collections": [
        {
          "month": "2024-06",
          "amount": 342150,
          "orders": 2834
        }
      ]
    }
  }
  ```
</ResponseExample>
