check es residency
check_es_residencySpain tax residence: more than 183 days in the calendar year (sporadic absences count unless tax residence elsewhere is proven) or the main centre of economic activities or interests in Spain; presumption if the non-separated spouse and dependent minor children reside in Spain. Spain (AEAT), as of 2026-11-22. General information only: not tax advice; tax treaties can override the result. Verdict is resident, nonresident or depends.
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": {
"days": "<days>"
},
"name": "check_es_residency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days in Spain in the calendar year | |
| familyInSpain | No | Spouse and dependent minor children reside in Spain | |
| economicCentre | No | Main economic interests in Spain | |
| residentElsewhereCertificate | No | Has a tax residence certificate from another country |