# Peru Working Day

> Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.

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

## Purpose

Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. 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 Peru 2026 national_statutory result.

**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 keeps July bridge open.
- Peru: Public-sector July bridge.
- Peru: Six-day Saturday.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `date` | date |  | required | Gregorian date in Peru coverage. |
| `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 |
| --- | --- | --- | --- |
| `territory` | string |  | PE (Peru). |
| `territory_name` | string |  | Peru |
| `weekday` | string |  | Gregorian weekday. |
| `is_working_day` | boolean |  | Working under the explicit scope and five-day/six-day baseline. |
| `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`. Refresh after the Peru authority publishes a new schedule.

## API

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

## Example

- National layer keeps July bridge open: inputs `{"date":"2026-07-27","calendar_scope":"national_statutory","workweek":5}` → `{"is_working_day":true}`
- Public-sector July bridge: inputs `{"date":"2026-07-27","calendar_scope":"public_sector","workweek":5}` → `{"is_working_day":false,"day_type":"compensable_public_sector_day"}`
- Six-day Saturday: inputs `{"date":"2026-09-19","calendar_scope":"national_statutory","workweek":6}` → `{"is_working_day":true}`

```
GET https://tttkmbb.com/api/v1/calculate/peru-public-working-day?date=2026-07-27&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

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