Home › Everyday Life › Count Peru Working Days
Count Peru Working Days
Counts authority-scope working and non-working dates in a range. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.
When to use
You need an auditable Peru working-day count.
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 July week.
- Peru: Public-sector July week.
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.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
start_date | date | yes | First date in 2026-2026. | |
end_date | date | yes | Last date in 2026-2026. | |
include_start_date | boolean | default true | Whether start_date participates. | |
include_end_date | boolean | default true | Whether end_date participates. | |
calendar_scope | enum: national_statutory | public_sector | yes | 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 | yes | Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster. Range: ≥ 5, ≤ 6 |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
working_days | integer | Authority-scope working dates. | |
non_working_days | integer | Weekend and exact authority events. | |
public_holidays_counted | list | Exact events in the range. | |
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. |
Example
National July week: {"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"national_statutory","workweek":5} → {"working_days":3,"non_working_days":4}
Public-sector July week: {"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"public_sector","workweek":5} → {"working_days":2,"non_working_days":5}
GET https://tttkmbb.com/api/v1/calculate/peru-public-working-days-between?start_date=2026-07-24&end_date=2026-07-30&calendar_scope=national_statutory&workweek=5
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/peru-public-working-days-between(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/peru-public-working-days-between · Markdown: https://tttkmbb.com/everyday/peru-public-working-days-between.md · JSON definition: https://tttkmbb.com/everyday/peru-public-working-days-between.json
- MCP: server
https://tttkmbb.com/mcp, toolrun_calculator with calculator_id="peru-public-working-days-between" - OpenAPI operationId:
count_pe_working_days - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- El Peruano – 2026 national holidays (official_newspaper_annual_calendar)
- El Peruano – Decreto Supremo 042-2025-PCM (official_gazette_decree)
- El Peruano – Decreto Supremo 075-2026-PCM (official_gazette_decree)
- Sunafil – July 2026 holiday and non-working-day distinction (labour_inspectorate_explanation)
- Congress of Peru – Decreto Legislativo 713 (original_legislation)
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 calculators
- Peru Working Day — Inspect a date and source evidence.