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

# Get a tax by ID

> Retrieves detailed information about a specific tax.

## Use Cases
- View tax details
- Verify tax configuration
- Check tax status before applying to products

## Path Parameters
- `id`: Tax UUID (required) - Must be a valid UUID format

## Example Request
`GET /api/v0/taxes/123e4567-e89b-12d3-a456-426614174000`

## Example Response
```json
{
  "id": "tax_123456",
  "name": "Sales Tax",
  "description": "Standard sales tax for retail transactions",
  "percentage": 8.5,
  "active": true,
  "created_at": "2024-03-20T10:00:00Z",
  "updated_at": "2024-03-20T10:00:00Z"
}
```



## OpenAPI

````yaml /swagger.yml get /api/v0/taxes/{id}
openapi: 3.0.0
info:
  title: Devdraft AI Payment & Business Management API
  description: >-

    A comprehensive payment processing and business management API that enables
    seamless integration of cryptocurrency and traditional payment methods.
        
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.devdraft.ai
    description: Production Server
security: []
tags: []
paths:
  /api/v0/taxes/{id}:
    get:
      tags:
        - Taxes
      summary: Get a tax by ID
      description: |-
        Retrieves detailed information about a specific tax.

        ## Use Cases
        - View tax details
        - Verify tax configuration
        - Check tax status before applying to products

        ## Path Parameters
        - `id`: Tax UUID (required) - Must be a valid UUID format

        ## Example Request
        `GET /api/v0/taxes/123e4567-e89b-12d3-a456-426614174000`

        ## Example Response
        ```json
        {
          "id": "tax_123456",
          "name": "Sales Tax",
          "description": "Standard sales tax for retail transactions",
          "percentage": 8.5,
          "active": true,
          "created_at": "2024-03-20T10:00:00Z",
          "updated_at": "2024-03-20T10:00:00Z"
        }
        ```
      operationId: TaxController_findOne
      parameters:
        - name: id
          required: true
          in: path
          description: Tax unique identifier (UUID)
          schema:
            format: uuid
            example: tax_123e4567-e89b-12d3-a456-426614174000
            type: string
      responses:
        '200':
          description: Successfully retrieved tax
        '400':
          description: Bad Request - Invalid tax ID format
        '401':
          description: Unauthorized - Invalid API credentials
        '404':
          description: Not Found - Tax not found
      security:
        - x-client-secret: []
        - x-client-key: []
components:
  securitySchemes:
    x-client-secret:
      type: apiKey
      in: header
      name: x-client-secret
      description: >-
        Your secret API key. Keep this secure and never expose it in client-side
        code.
    x-client-key:
      type: apiKey
      in: header
      name: x-client-key
      description: Your unique client API key. Obtain this from your Devdraft AI dashboard.

````