---
updatedAt: 2025-08-22T14:11:12.000Z
agentTools:
  projectIndex: https://api-taskinset.readme.io/llms.txt
---

# Buscar tipo de documento

Retorna os dados de um tipo de documento.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "API 2"
  },
  "servers": [
    {
      "url": "https://api2.webdanca.com/v1"
    }
  ],
  "paths": {
    "/document-types/{id}": {
      "get": {
        "tags": [
          "Tipos de documento"
        ],
        "summary": "Buscar tipo de documento",
        "description": "Retorna os dados de um tipo de documento.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "examples": {
                  "OK": {
                    "value": {
                      "id": 1,
                      "name": "Dinheiro",
                      "type": "receipt",
                      "fines": "0.00",
                      "interest": "0.00",
                      "discount_1_days": 0,
                      "discount_1_days_percentage": "0.00",
                      "discount_1_days_amount": "0.00",
                      "discount_2_days": 0,
                      "discount_2_days_percentage": "0.00",
                      "discount_2_days_amount": "0.00",
                      "financial_account_id": 1,
                      "allows_in_forward_sale": false,
                      "requires_document_number": false,
                      "allows_in_pending_installments": false,
                      "allows_in_paid_installments": true,
                      "allows_in_enrollments_screen": false,
                      "allows_in_receipt_screen": true,
                      "composes_the_cash_balance": true,
                      "attached_fee_percentage": "0.00",
                      "attached_fee_supplier_id": 1,
                      "attached_fee_description": "",
                      "attached_fee_document_type_id": 8,
                      "attached_fee_chart_of_account_category_id": 11,
                      "tax_type": "--",
                      "charging_with_bank_slip": false,
                      "charging_with_pix": false
                    },
                    "summary": "OK"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "api_token"
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ]
}
```