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

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

ParameterTypeUnitRequiredDescription
start_datedateyesFirst date in 2026-2026.
end_datedateyesLast date in 2026-2026.
include_start_datebooleandefault trueWhether start_date participates.
include_end_datebooleandefault trueWhether end_date participates.
calendar_scopeenum: national_statutory | public_sectoryesRequired: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.
workweekintegeryesRequired declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster. Range: ≥ 5, ≤ 6

Outputs

OutputTypeUnitDescription
working_daysintegerAuthority-scope working dates.
non_working_daysintegerWeekend and exact authority events.
public_holidays_countedlistExact events in the range.
territorystringPE (Peru).
territory_namestringPeru
day_typestringDeterministic classification: official_weekend, regular_workday, or the first published authority event kind.
holiday_namesstring_listEvents applying on the date.
holiday_kindsstring_listAuthority event classifications.
holiday_detailslistStructured event details, including partial-day notes where published.
calendar_scopestringPeru 2026 national_statutory
holiday_policystringPeru_2026_national_holidays_with_explicit_public_sector_layer
substitute_day_policystringPublished dates only; no automatic Monday substitution or employer compensation roster is inferred
calendar_profilestringperu-public-holidays
dataset_versionstringpe-official-holidays-2026.1
sourceslistAuthority and legislation sources.
calendar_selectionstringExplicit national_statutory or public_sector layer.
workweekintegerUser-selected 5 or 6 days per week.
compensable_day_detailslistPublic-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

Sources

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