Detalle de una consulta vinculante de la DGT
Changed onDevuelve el detalle de una consulta de la DGT identificada por su slug (no el numero, p. ej. V1234-23, que no es válido en una URL). Con clave gratuita se devuelve identidad y resumen (titulo_seo, resumen, normativa); el texto íntegro (hechos, cuestion, contestacion) se omite por completo. Con plan Profesional o superior se devuelve además el texto íntegro de la consulta, normas_citadas y codes_iae.
Request
- Base URLhttps://www.conversoriaecnae.es/api/v1
- URLhttps://www.conversoriaecnae.es/api/v1/dgt/{slug}
- AuthAPI key in header X-API-Key
Path parameters
Slug de la consulta DGT (identificador URL-safe, distinto del número de consulta).
Response
Detalle de la consulta DGT
Example response
{
"numero": "V1234-23",
"slug": "v1234-23-arrendamiento-inmuebles",
"tipo": "vinculante",
"fecha": "2023-05-12",
"organo": "SG de Impuestos sobre la Renta de las Personas Físicas",
"titulo_seo": "Tributación del arrendamiento de inmuebles por autónomos",
"resumen": "La DGT concluye que el arrendamiento de inmuebles tributa por el epígrafe 861 del IAE cuando...",
"normativa": "Art. 78 y 79 RDLeg 1175/1990",
"_meta": {
"plan": "free",
"remaining": 248,
"trial_ends_in_days": 9,
"upgrade_hint": "Estás usando más del 80% de tu cuota diaria de Profesional. Empresa (79€/mes) amplía a 300.000 consultas/mes: https://www.conversoriaecnae.es/precios.",
"upgrade": {
"url": "https://www.conversoriaecnae.es/precios",
"current_plan": "free",
"recommended_plan": {
"id": "profesional",
"label": "Profesional",
"daily_limit": 2000,
"monthly_price_eur": 29
},
"daily_limit_after": 2000,
"price_eur_monthly": 29
}
}
}Changes
- info
added the optional property
/////to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info