# Add Portugal Working Days

> Adds or subtracts Portugal authority-scope working days in exact coverage.

- Calculator id: `portugal-public-add-working-days` · Category: Everyday Life (`everyday`) · Tool name: `add_pt_working_days`
- Canonical page: https://tttkmbb.com/everyday/portugal-public-add-working-days · This document: https://tttkmbb.com/everyday/portugal-public-add-working-days.md · JSON definition: https://tttkmbb.com/everyday/portugal-public-add-working-days.json

## Purpose

Adds or subtracts Portugal authority-scope working days in exact coverage.

**Use when:** You need a deterministic Portugal working-day offset.

**Do not use when:** Mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred.

## Example user requests

- Add or subtract Portugal working days around Portugal Day.
- Add or subtract Portugal working days around Ordinary weekday.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `start_date` | date |  | required | Gregorian start date in 2026-2027. |
| `working_days` | integer |  | required | Signed offset; start date excluded for non-zero offsets. (min -1000, max 1000) |

## Output

| Field | Type | Unit | Description |
| --- | --- | --- | --- |
| `start_date` | date |  | Input date. |
| `result_date` | date |  | Date reached. |
| `working_days_added` | integer |  | Signed requested offset. |
| `calendar_days_elapsed` | integer |  | Signed Gregorian difference. |
| `public_holidays_skipped` | list |  | Exact events crossed. |
| `territory` | string |  | PT (Portugal). |
| `territory_name` | string |  | Portugal |
| `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 |  | Portugal nationwide mandatory public holidays for 2026-2027 |
| `holiday_policy` | string |  | Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred. |
| `substitute_day_policy` | string |  | No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected. |
| `calendar_profile` | string |  | portugal-public-holidays |
| `dataset_version` | string |  | pt-statutory-public-holidays-2026-2027.1 |
| `sources` | list |  | Authority and legislation sources. |

## Formula

`move one day at a time; decrement only on status.is_working_day=true`

Skip Saturday/Sunday and exact pinned authority events; do not add unverified substitute days.

## Data Sources

- Diário da República – Código do Trabalho Article 234 — https://diariodarepublica.pt/dr/legislacao-consolidada/lei/2009-34546475-46746675 (government_legal_text)
- Diário da República – Law 8/2016 restoring national holidays — https://files.diariodarepublica.pt/gratuitos/1s/2016/04/06400.pdf (government_legal_text)
- DGERT – Labour Code and regulations — https://www.dgert.gov.pt/codigo-do-trabalho-e-regulamentacao (government_labour_guidance)
- Boletim do Trabalho e Emprego 10/2026 — https://bte.gep.msess.gov.pt/completos/2026/bte10_2026.pdf (government_labour_bulletin)

Data freshness: `static`. Pinned pt-statutory-public-holidays-2026-2027.1 package.

## API

- `GET https://tttkmbb.com/api/v1/calculate/portugal-public-add-working-days?start_date=…&working_days=…`
- `POST https://tttkmbb.com/api/v1/calculate/portugal-public-add-working-days` 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/portugal-public-add-working-days · OpenAPI operationId `add_pt_working_days` 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": "portugal-public-add-working-days", "inputs": {…}}`

## Example

- Zero offset is identity: inputs `{"start_date":"2026-01-01","working_days":0}` → `{"result_date":"2026-01-01","working_days_added":0}`

```
GET https://tttkmbb.com/api/v1/calculate/portugal-public-add-working-days?start_date=2026-01-01&working_days=0
```

## Limitations

Mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred. Skip Saturday/Sunday and exact pinned authority events; do not add unverified substitute days. All values are computed from the formula above; no measurement or live data is involved.

## FAQ

**Does this include Carnival Tuesday or Lisbon municipal day?**

No. Portuguese law treats Carnival Tuesday and the municipal holiday as optional through collective regulation or contract; this package includes only the mandatory nationwide list.

## Related

- [Portugal Working Day](https://tttkmbb.com/everyday/portugal-public-working-day.md) — Inspect a date and source evidence.
