es_get_tax_ruling
Retrieve the full text of a Spanish DGT tax ruling by its official consultation number. Input the NUM-CONSULTA, such as V0001-25 or 0001-03, to get the complete ruling.
Instructions
Fetch a full DGT tax ruling by its official number.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"numero_consulta": "<numero_consulta>"
},
"name": "es_get_tax_ruling"
}
}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 |