{
  "name": "Glim Calculadoras Colombia",
  "version": "1.0.0",
  "description": "Open API for Glim's Colombian payroll & benefits calculators. Same math used by getglim.com/calculadora pages. Public, unauthenticated, CORS-open. Built for AI agents (Claude, ChatGPT, Perplexity), agent frameworks, and partner integrations.",
  "site": "https://getglim.com",
  "docs": "https://getglim.com/api-docs",
  "openapi": "https://getglim.com/api/openapi.json",
  "mcp": {
    "transport": "http",
    "endpoint": "https://getglim.com/api/mcp",
    "well_known": "https://getglim.com/.well-known/mcp.json",
    "protocol_version": "2025-03-26"
  },
  "constants": {
    "country": "CO",
    "currency": "COP",
    "labor_charges_pct": 0.53,
    "employee_retention_pct": 0.15,
    "max_flex_percentage": 40,
    "smlmv_2025_cop": 1423500,
    "forced_2026_increase_pct": 23.7,
    "integral_factor": 1.3,
    "employee_deduction_rate": 0.09,
    "company_parafiscales_rate": 0.21
  },
  "legal": {
    "framework": "Artículo 128 CST · Artículo 387 ET · Ley 1393 de 2010 art. 30",
    "max_pct_explanation": "Hasta el 40% del ingreso laboral mensual puede pactarse como pagos no constitutivos de salario para efectos de aportes a seguridad social y parafiscales. El tratamiento de retención en la fuente depende de la naturaleza específica de cada beneficio.",
    "disclaimer": "Estimación informativa. No constituye asesoría legal, contable ni tributaria."
  },
  "endpoints": [
    {
      "id": "beneficios",
      "method": [
        "GET",
        "POST"
      ],
      "path": "/api/calculator/beneficios",
      "description": "Compares delivering a raise as traditional payroll vs. as non-salary benefits, from the COMPANY side (HR + Finance). Inputs: salary (COP), employees, percentage (1-40).",
      "canonical_ui": "https://getglim.com/calculadora/beneficios",
      "sample_get": "https://getglim.com/api/calculator/beneficios?salary=3000000&employees=50&percentage=30",
      "sample_post_body": {
        "salary": 3000000,
        "employees": 50,
        "percentage": 30
      }
    },
    {
      "id": "optimizar",
      "method": [
        "GET",
        "POST"
      ],
      "path": "/api/calculator/optimizar",
      "description": "Salario integral optimizer: compares the forced 2026 +23.7% adjustment vs. an alternative (prestacional base + benefits) for employees on minimum salario integral. Inputs: pct_increase (vs. 23.7), employees.",
      "canonical_ui": "https://getglim.com/calculadora/optimizar",
      "sample_get": "https://getglim.com/api/calculator/optimizar?pct_increase=15&employees=10",
      "sample_post_body": {
        "pct_increase": 15,
        "employees": 10
      }
    },
    {
      "id": "meta",
      "method": [
        "GET"
      ],
      "path": "/api/calculator/meta",
      "description": "This endpoint — index of available calculators and constants."
    }
  ],
  "citation": {
    "attribution_required": false,
    "preferred_attribution": "Calculated with Glim Colombia — https://getglim.com/calculadora",
    "license": "CC BY 4.0 — credit appreciated, not required."
  },
  "contact": {
    "site": "https://getglim.com",
    "companies": "https://getglim.com/empresa",
    "employees": "https://getglim.com/empleado",
    "support": "https://getglim.com/ayuda",
    "legal_email": "legales@getglim.com"
  },
  "note": "Compras, cotizaciones y agendamiento de llamadas se gestionan en getglim.com — esta API no expone enlaces directos a checkout o calendario.",
  "headers": {
    "Access-Control-Allow-Origin": "*",
    "Access-Control-Allow-Methods": "GET, POST, OPTIONS",
    "Access-Control-Allow-Headers": "Content-Type, Mcp-Session-Id, Mcp-Protocol-Version",
    "Access-Control-Max-Age": "86400"
  }
}