Conversor IAE CNAE · Schema
TarifaAtEpDetail
Tarifa AT/EP (cotización por cuenta ajena) de un código CNAE 2025.
CompanyTaxSpainBusiness ClassificationCNAEIAEOpen DataMCP
Properties
| Name | Type | Description |
|---|---|---|
| code | string | Código CNAE consultado, normalizado sin puntos. |
| cnae_code | string | Código CNAE efectivamente resuelto (puede ser un prefijo del código consultado, ver `resolved_via`). |
| ejercicio | integer | |
| tipo_it | numbernull | Tipo de Incapacidad Temporal, en %. |
| tipo_ims | numbernull | Tipo de Incapacidad Muerte y Supervivencia, en %. |
| tipo_total | numbernull | Suma tipo_it + tipo_ims, en %. |
| descripcion | stringnull | |
| source_anchor | stringnull | |
| resolved_via | string | Nivel de resolución usado para encontrar la tarifa: coincidencia exacta, o fallback a prefijo de 3 o 2 dígitos. |
| aplicacion | string | Esta tarifa aplica a trabajadores POR CUENTA AJENA (empleados). El autónomo cotiza AT/EP al tipo fijo indicado en `nota_reta`, no a este tipo. |
| nota_reta | string | Tipo fijo (%) que aplica el autónomo (RETA) por AT/EP, independiente de la actividad — no confundir con `tipo_total`. |
| _meta | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/conversoriaecnae-es/json-schema/conversoriaecnae-es-tarifa-at-ep-detail-schema.json",
"title": "TarifaAtEpDetail",
"description": "Tarifa AT/EP (cotización por cuenta ajena) de un código CNAE 2025.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/conversoriaecnae-es-openapi.yml#/components/schemas/TarifaAtEpDetail",
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Código CNAE consultado, normalizado sin puntos."
},
"cnae_code": {
"type": "string",
"description": "Código CNAE efectivamente resuelto (puede ser un prefijo del código consultado, ver `resolved_via`)."
},
"ejercicio": {
"type": "integer"
},
"tipo_it": {
"type": [
"number",
"null"
],
"description": "Tipo de Incapacidad Temporal, en %."
},
"tipo_ims": {
"type": [
"number",
"null"
],
"description": "Tipo de Incapacidad Muerte y Supervivencia, en %."
},
"tipo_total": {
"type": [
"number",
"null"
],
"description": "Suma tipo_it + tipo_ims, en %."
},
"descripcion": {
"type": [
"string",
"null"
]
},
"source_anchor": {
"type": [
"string",
"null"
]
},
"resolved_via": {
"type": "string",
"enum": [
"exact",
"prefix3",
"prefix2"
],
"description": "Nivel de resolución usado para encontrar la tarifa: coincidencia exacta, o fallback a prefijo de 3 o 2 dígitos."
},
"aplicacion": {
"type": "string",
"enum": [
"cuenta_ajena"
],
"description": "Esta tarifa aplica a trabajadores POR CUENTA AJENA (empleados). El autónomo cotiza AT/EP al tipo fijo indicado en `nota_reta`, no a este tipo."
},
"nota_reta": {
"type": "string",
"description": "Tipo fijo (%) que aplica el autónomo (RETA) por AT/EP, independiente de la actividad — no confundir con `tipo_total`."
},
"_meta": {
"$ref": "#/$defs/Meta"
}
},
"$defs": {
"Meta": {
"type": "object",
"description": "Metadatos del envelope para endpoints con clave: plan actual, cuota restante y días restantes de la prueba (solo plan trial) y nudge de upgrade a Empresa (solo plan Profesional al ≥80% de cuota).",
"required": [
"plan",
"remaining"
],
"properties": {
"plan": {
"type": "string",
"description": "Plan de la clave (free, trial, profesional, empresa, enterprise). `trial` = prueba Profesional de 14 días sin tarjeta; al terminar, la clave pasa a free."
},
"remaining": {
"type": "integer",
"description": "Peticiones restantes de la cuota diaria."
},
"trial_ends_in_days": {
"type": "integer",
"minimum": 0,
"description": "Días completos que quedan de la prueba Profesional (redondeo hacia arriba). Presente solo con plan `trial`."
},
"upgrade_hint": {
"type": "string",
"description": "Mensaje legible de upgrade a Empresa. Presente solo en plan Profesional al consumir ≥80% de la cuota. Las claves Free ya no reciben este nudge: ven el campo bloqueado (`locked: true`) en `associated_cnae` / `associated_iae`."
},
"upgrade": {
"$ref": "#/$defs/UpgradeMeta"
}
}
},
"UpgradeMeta": {
"type": "object",
"description": "Forma estructurada del nudge de upgrade para renderizar UI nativa. Presente solo en plan Profesional al ≥80% de cuota (nudge a Empresa).",
"properties": {
"hint": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"current_plan": {
"type": "string"
},
"recommended_plan": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"daily_limit": {
"type": "integer"
},
"monthly_price_eur": {
"type": "integer"
}
}
},
"daily_limit_after": {
"type": "integer"
},
"price_eur_monthly": {
"type": "integer"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/conversoriaecnae-es-tarifa-at-ep-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.