Conversor IAE CNAE · Schema
OnboardingActivityResponse
Respuesta del endpoint `/onboarding/activity`.
CompanyTaxSpainBusiness ClassificationCNAEIAEOpen DataMCP
Properties
| Name | Type | Description |
|---|---|---|
| match | object | |
| classification | object | |
| alta_036 | object | Datos para pre-rellenar el Modelo 036 de alta. |
| facturacion | object | Configuración de facturación para pre-rellenar el SaaS. |
| regimen_recomendado | objectnull | Régimen fiscal recomendado para esta actividad. Null si no se pudo determinar. |
| calendario | array | Próximos plazos fiscales aplicables (misma estructura que Obligacion). |
| subvenciones | object | |
| reta | object | Información orientativa sobre la cuota RETA. |
| _meta | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/conversoriaecnae-es/json-schema/conversoriaecnae-es-onboarding-activity-response-schema.json",
"title": "OnboardingActivityResponse",
"description": "Respuesta del endpoint `/onboarding/activity`.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/conversoriaecnae-es-openapi.yml#/components/schemas/OnboardingActivityResponse",
"type": "object",
"properties": {
"match": {
"$ref": "#/$defs/ActivityMatch"
},
"classification": {
"$ref": "#/$defs/ActivityClassification"
},
"alta_036": {
"type": "object",
"description": "Datos para pre-rellenar el Modelo 036 de alta.",
"properties": {
"epigrafe_iae": {
"type": [
"string",
"null"
],
"description": "Epígrafe IAE a consignar en el Modelo 036."
},
"casillas_relevantes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Casillas del Modelo 036 relevantes para esta alta."
}
}
},
"facturacion": {
"type": "object",
"description": "Configuración de facturación para pre-rellenar el SaaS.",
"properties": {
"iva_tipo": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"enum": [
"exento"
]
}
],
"nullable": true,
"description": "Tipo de IVA aplicable (número, p. ej. 21, o 'exento')."
},
"iva_regimen": {
"type": [
"string",
"null"
],
"description": "Régimen de IVA aplicable."
},
"retencion_irpf": {
"type": "object",
"properties": {
"tipo": {
"type": [
"number",
"null"
],
"description": "Tipo de retención IRPF general (número, p. ej. 15)."
},
"tipo_inicio_actividad": {
"type": [
"number",
"null"
],
"description": "Tipo reducido para los 3 primeros años de actividad (p. ej. 7). Null cuando no aplica."
}
}
},
"verified": {
"type": "boolean",
"description": "Si la configuración está verificada contra fuentes oficiales."
}
}
},
"regimen_recomendado": {
"type": [
"object",
"null"
],
"description": "Régimen fiscal recomendado para esta actividad. Null si no se pudo determinar.",
"properties": {
"modulos_elegible": {
"type": "boolean"
},
"modulos_summary": {
"type": [
"string",
"null"
]
},
"calculo_hints": {
"nullable": true,
"description": "Hints de cálculo (estructura variable)."
},
"verified": {
"type": "boolean"
}
}
},
"calendario": {
"type": "array",
"description": "Próximos plazos fiscales aplicables (misma estructura que Obligacion).",
"items": {
"$ref": "#/$defs/Obligacion"
}
},
"subvenciones": {
"$ref": "#/$defs/ActivitySubvencionesBlock"
},
"reta": {
"type": "object",
"description": "Información orientativa sobre la cuota RETA.",
"properties": {
"tarifa_plana_eur_mes": {
"type": [
"number",
"null"
],
"description": "Cuota de tarifa plana (€/mes). Null si no aplica."
},
"base_minima_aplica": {
"type": "boolean",
"description": "Si se puede optar por la base mínima RETA."
},
"nota": {
"type": "string",
"description": "Nota informativa sobre la cuota RETA."
},
"mei_eur_mes": {
"type": [
"number",
"null"
],
"description": "Cuota MEI mensual (€) cuando aplica."
},
"total_primer_periodo_eur_mes": {
"type": [
"number",
"null"
],
"description": "Total primer periodo RETA (€/mes) cuando aplica."
},
"source_anchor": {
"type": [
"string",
"null"
],
"description": "Referencia normativa de la tarifa plana."
}
}
},
"_meta": {
"$ref": "#/$defs/Meta"
}
},
"$defs": {
"ActivityClassification": {
"type": "object",
"description": "Clasificación IAE y CNAE 2025 del match.",
"properties": {
"iae": {
"type": [
"object",
"null"
],
"properties": {
"code": {
"type": "string",
"description": "Código con puntos."
},
"codeNormalized": {
"type": "string",
"description": "Código sin puntos (normalizado)."
},
"titulo": {
"type": "string"
}
}
},
"cnae2025": {
"type": [
"object",
"null"
],
"properties": {
"code": {
"type": "string",
"description": "Código con puntos."
},
"codeNormalized": {
"type": "string",
"description": "Código sin puntos (normalizado)."
},
"titulo": {
"type": "string"
}
}
}
}
},
"ActivityMatch": {
"type": "object",
"description": "Resultado de la resolución del código o actividad.",
"properties": {
"confidence": {
"type": [
"number",
"null"
],
"description": "Confianza del match (0.0–1.0). null para lexical/no-match."
},
"method": {
"type": "string",
"enum": [
"exact_code",
"semantic",
"lexical"
],
"description": "Método de resolución: `exact_code` (código exacto), `semantic` (búsqueda semántica) o `lexical` (búsqueda léxica sin embedding)."
},
"alternatives": {
"type": "array",
"description": "Alternativas de menor confianza cuando el match semántico es ambiguo.",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"titulo": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"iae",
"cnae"
]
},
"score": {
"type": [
"number",
"null"
]
}
}
}
}
}
},
"ActivitySubvencionesBlock": {
"type": [
"object",
"null"
],
"description": "Subvenciones BDNS/SNPSAP abiertas para la sección CNAE de la actividad resuelta. `null` cuando la actividad no tiene correspondencia CNAE 2025 (no se pudo derivar sección) o si el dato no está disponible. NUNCA incluye `fecha_cierre` — el dato de BDNS es poco fiable como plazo y no debe usarse para tomar decisiones de fecha límite.",
"properties": {
"seccion": {
"type": [
"string",
"null"
],
"description": "Sección CNAE (A–U) derivada del código CNAE 2025 resuelto."
},
"abiertas_count": {
"type": "integer",
"description": "Convocatorias abiertas en esta sección CNAE."
},
"para_actividad_economica_count": {
"type": "integer",
"description": "Subconjunto de abiertas_count dirigido a autónomos/pyme/empresa (tipos_beneficiarios)."
},
"destacadas": {
"type": "array",
"maxItems": 3,
"description": "Hasta 3 convocatorias abiertas más relevantes para la actividad.",
"items": {
"type": "object",
"properties": {
"codigo_bdns": {
"type": "string"
},
"titulo": {
"type": "string"
},
"organo": {
"type": [
"string",
"null"
]
},
"importe": {
"type": [
"number",
"null"
],
"description": "Dotación de la convocatoria (no por beneficiario)."
},
"url_oficial": {
"type": [
"string",
"null"
],
"format": "uri"
}
}
}
},
"fuente": {
"type": "string"
}
}
},
"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"
}
}
},
"Obligacion": {
"type": "object",
"description": "Una obligación fiscal (modelo AEAT) aplicable al código.",
"properties": {
"modelo_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"periodicidad": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": [
"number",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"fecha_proximo_plazo": {
"type": [
"string",
"null"
],
"description": "Fecha nominal del calendario AEAT (sin prórroga de días inhábiles aplicada)."
}
}
},
"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-onboarding-activity-response"
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.