# Add Peru Working Days

> Adds or subtracts Peru authority-scope working days in exact coverage. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.

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

## Purpose

Adds or subtracts Peru authority-scope working days in exact coverage. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.

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

**Do not use when:** Choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported.

## Example user requests

- Peru: National layer skips independence holidays.
- Peru: Public-sector bridge changes deadline.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `start_date` | date |  | required | Gregorian start date in 2026-2026. |
| `working_days` | integer |  | required | Signed offset; start date excluded for non-zero offsets. (min -1000, max 1000) |
| `calendar_scope` | enum: national_statutory \| public_sector |  | required | Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster. |
| `workweek` | integer |  | required | Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster. (min 5, max 6) |

## 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 |  | PE (Peru). |
| `territory_name` | string |  | Peru |
| `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 |  | Peru 2026 national_statutory |
| `holiday_policy` | string |  | Peru_2026_national_holidays_with_explicit_public_sector_layer |
| `substitute_day_policy` | string |  | Published dates only; no automatic Monday substitution or employer compensation roster is inferred |
| `calendar_profile` | string |  | peru-public-holidays |
| `dataset_version` | string |  | pe-official-holidays-2026.1 |
| `sources` | list |  | Authority and legislation sources. |
| `calendar_selection` | string |  | Explicit national_statutory or public_sector layer. |
| `workweek` | integer |  | User-selected 5 or 6 days per week. |
| `compensable_day_details` | list |  | Public-sector bridge-day facts for the classified date, even when excluded from the selected layer. |

## Formula

`working day = outside selected weekly rest and selected holiday layer`

Apply the explicitly selected weekly-rest model and the pinned national or public-sector date layer. Do not infer compensating shifts or tax deadlines.

## Data Sources

- El Peruano – 2026 national holidays — https://elperuano.pe/noticia/286039-fin-de-semana-largo-el-2-de-enero-del-2026-sera-dia-no-laborable (official_newspaper_annual_calendar)
- El Peruano – Decreto Supremo 042-2025-PCM — https://busquedas.elperuano.pe/dispositivo/NL/2387094-1 (official_gazette_decree)
- El Peruano – Decreto Supremo 075-2026-PCM — https://busquedas.elperuano.pe/dispositivo/NL/2516156-2 (official_gazette_decree)
- Sunafil – July 2026 holiday and non-working-day distinction — https://www.gob.pe/institucion/sunafil/noticias/1422099-sunafil-recuerda-las-diferencias-entre-dias-no-laborables-y-feriados-para-este-27-28-y-29-de-julio (labour_inspectorate_explanation)
- Congress of Peru – Decreto Legislativo 713 — https://leyes.congreso.gob.pe/Documentos/DecretosLegislativos/00713.pdf (original_legislation)

Data freshness: `static`. Pinned pe-official-holidays-2026.1 package.

## API

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

## Example

- National layer skips independence holidays: inputs `{"start_date":"2026-07-24","working_days":1,"calendar_scope":"national_statutory","workweek":5}` → `{"result_date":"2026-07-27"}`
- Public-sector bridge changes deadline: inputs `{"start_date":"2026-07-24","working_days":1,"calendar_scope":"public_sector","workweek":5}` → `{"result_date":"2026-07-30"}`

```
GET https://tttkmbb.com/api/v1/calculate/peru-public-add-working-days?start_date=2026-07-24&working_days=1&calendar_scope=national_statutory&workweek=5
```

## Limitations

Choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported. Apply the explicitly selected weekly-rest model and the pinned national or public-sector date layer. Do not infer compensating shifts or tax deadlines. All values are computed from the formula above; no measurement or live data is involved.

## FAQ

**Is 27 July a national holiday?**

It is a compensable public-sector day under DS 075-2026-PCM. The national_statutory layer keeps it working when the selected weekly baseline permits.

**Does this calculate tax deadlines?**

No. The decrees keep the compensable days working for tax purposes. Use a separately verified tax calendar.

## Related

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