> ## 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 all taxes with filters

> Retrieves a list of taxes with optional filtering and pagination.

## Use Cases
- List all available tax rates
- Search taxes by name
- Filter active/inactive taxes
- Export tax configuration

## Query Parameters
- `skip`: Number of records to skip (default: 0, min: 0)
- `take`: Number of records to return (default: 10, min: 1, max: 100)
- `name`: Filter taxes by name (partial match, case-insensitive)
- `active`: Filter by active status (true/false)

## Example Request
`GET /api/v0/taxes?skip=0&take=20&active=true&name=Sales`

## 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
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:
    get:
      tags:
        - Taxes
      summary: Get all taxes with filters
      description: |-
        Retrieves a list of taxes with optional filtering and pagination.

        ## Use Cases
        - List all available tax rates
        - Search taxes by name
        - Filter active/inactive taxes
        - Export tax configuration

        ## Query Parameters
        - `skip`: Number of records to skip (default: 0, min: 0)
        - `take`: Number of records to return (default: 10, min: 1, max: 100)
        - `name`: Filter taxes by name (partial match, case-insensitive)
        - `active`: Filter by active status (true/false)

        ## Example Request
        `GET /api/v0/taxes?skip=0&take=20&active=true&name=Sales`

        ## 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_findAll
      parameters:
        - name: skip
          required: false
          in: query
          description: Number of records to skip for pagination
          schema:
            minimum: 0
            default: 0
            example: 0
            type: number
        - name: take
          required: false
          in: query
          description: Number of records to return (max 100)
          schema:
            minimum: 1
            maximum: 100
            default: 10
            example: 10
            type: number
        - name: name
          required: false
          in: query
          description: Filter taxes by name (partial match, case-insensitive)
          schema:
            maxLength: 100
            example: Sales
            type: string
        - name: active
          required: false
          in: query
          description: Filter by active status
          schema:
            example: true
            type: boolean
      responses:
        '200':
          description: Successfully retrieved taxes
        '400':
          description: Bad Request - Invalid query parameters
        '401':
          description: Unauthorized - Invalid API credentials
      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.

````