es_get_tax_ruling
Fetch a complete Spanish DGT tax ruling by its official consultation number (e.g., V0001-25). Get the full tax resolution text for a specific case.
Instructions
Fetch a full DGT tax ruling by its official number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numero_consulta | Yes | the official NUM-CONSULTA, e.g. ``"V0001-25"`` (vinculante) or ``"0001-03"`` (general). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organo | No | ||
| normativa | No | ||
| source_url | No | ||
| contestacion | No | ||
| dataset_note | No | DGT consultas tributarias are reached by official number (es_get_tax_ruling, e.g. 'V0001-25') or by full-text/date search (es_search_tax_rulings). Source: petete.tributos.hacienda.gob.es (Doctrina Tributaria, ~69,500 consultas vinculantes + ~19,700 consultas generales). Tax rulings have no ELI/ECLI; the official NUM-CONSULTA is the durable identifier. | |
| fecha_salida | No | ||
| num_consulta | No | ||
| cuestion_planteada | No | ||
| descripcion_hechos | No | ||
| human_readable_citation | No |