# Spain Working Day

> Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.

- Calculator id: `spain-national-working-day` · Category: Everyday Life (`everyday`) · Tool name: `check_es_working_day`
- Canonical page: https://tttkmbb.com/everyday/spain-national-working-day · This document: https://tttkmbb.com/everyday/spain-national-working-day.md · JSON definition: https://tttkmbb.com/everyday/spain-national-working-day.json

## Purpose

Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.

**Use when:** You need a deterministic Spain Spain nationwide national non-substitutable labour holidays for 2026 result.

**Do not use when:** The remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar.

## Example user requests

- Spain: National Day.
- Spain: Ordinary weekday.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `date` | date |  | required | Gregorian date in Spain coverage. |

## Output

| Field | Type | Unit | Description |
| --- | --- | --- | --- |
| `territory` | string |  | ES (Spain). |
| `territory_name` | string |  | Spain |
| `weekday` | string |  | Gregorian weekday. |
| `is_working_day` | boolean |  | Monday-Friday with no event in this pinned authority scope. |
| `day_type` | string |  | Deterministic classification: official_weekend, regular_workday, or the first published authority event kind. |
| `holiday_names` | string_list |  | Events applying on the date. |
| `holiday_kinds` | string_list |  | Authority event classifications. |
| `holiday_details` | list |  | Structured event details, including partial-day notes where published. |
| `calendar_scope` | string |  | Spain nationwide national non-substitutable labour holidays for 2026 |
| `holiday_policy` | string |  | Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted. |
| `substitute_day_policy` | string |  | Autonomous-community substitution choices and local compensatory arrangements are not inferred. |
| `calendar_profile` | string |  | spain-national-holidays |
| `dataset_version` | string |  | es-national-holidays-2026.1 |
| `sources` | list |  | Authority and legislation sources. |

## Formula

`is_working_day = not an official Saturday/Sunday weekend date and no exact authority event`

Apply the pinned authority event table over the declared weekday baseline; do not infer uncovered employer or regional schedules.

## Data Sources

- BOE – Resolution of 17 October 2025: 2026 labour holidays — https://www.boe.es/diario_boe/txt.php?id=BOE-A-2025-21667 (government_calendar_reference)
- BOE – Royal Decree 2001/1983 — https://www.boe.es/buscar/act.php?id=BOE-A-1983-20906&lang=es&p=&tn=1 (government_law)
- Ministry of Labour and Social Economy – labour guide — https://www.mites.gob.es/es/Guia/texto/guia_6/index_2023.htm (government_guidance)

Data freshness: `static`. Refresh after the Spain authority publishes a new schedule.

## API

- `GET https://tttkmbb.com/api/v1/calculate/spain-national-working-day?date=…`
- `POST https://tttkmbb.com/api/v1/calculate/spain-national-working-day` with JSON body `{"inputs": {…}}`
- Response: unified envelope (`success`, `request`, `result.values`, `result.units`, `sources`, `freshness`, `timestamp`, `next_actions`, `links`); see https://tttkmbb.com/docs/response-format.md
- Schema: https://tttkmbb.com/api/v1/calculators/spain-national-working-day · OpenAPI operationId `check_es_working_day` in https://tttkmbb.com/openapi.json
- Authentication: none. Rate limit: fair use, see https://tttkmbb.com/docs/rate-limits.md.

## MCP

- Server: `https://tttkmbb.com/mcp` (Streamable HTTP, JSON-RPC 2.0, no auth)
- Tool:  `run_calculator` with `{"calculator_id": "spain-national-working-day", "inputs": {…}}`

## Example

- National Day: inputs `{"date":"2026-10-12"}` → `{"is_working_day":false,"day_type":"national_holiday"}`
- Ordinary weekday: inputs `{"date":"2026-10-13"}` → `{"is_working_day":true,"day_type":"regular_workday"}`

```
GET https://tttkmbb.com/api/v1/calculate/spain-national-working-day?date=2026-10-12
```

## Limitations

The remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar. Apply the pinned authority event table over the declared weekday baseline; do not infer uncovered employer or regional schedules. All values are computed from the formula above; no measurement or live data is involved.

## FAQ

**Does this answer every Spanish region and municipality?**

No. It is the nationwide non-substitutable subset only; autonomous-community, Ceuta/Melilla and local holidays require a jurisdiction-specific official calendar.

## Related

- [Add Spain Working Days](https://tttkmbb.com/everyday/spain-national-add-working-days.md) — Offset through the same authority package.
