{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"peru-public-working-days-between"},"result":{"entity_type":"calculator","id":"peru-public-working-days-between","calculator_id":"peru-public-working-days-between","canonical_url":"https://tttkmbb.com/everyday/peru-public-working-days-between","name":"Count Peru Working Days","title":"Count Peru Working Days – authority package","category":"everyday","category_name":"Everyday Life","tool_name":"count_pe_working_days","featured_mcp_tool":false,"description":"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.","use_when":"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.","agent_examples":["Peru: National July week.","Peru: Public-sector July week."],"inputs":[{"name":"start_date","label":"Start date","type":"date","required":true,"description":"First date in 2026-2026.","example":"2026-01-01"},{"name":"end_date","label":"End date","type":"date","required":true,"description":"Last date in 2026-2026.","example":"2026-12-31"},{"name":"include_start_date","label":"Include start date","type":"boolean","required":false,"default":true,"description":"Whether start_date participates.","example":true},{"name":"include_end_date","label":"Include end date","type":"boolean","required":false,"default":true,"description":"Whether end_date participates.","example":true},{"name":"calendar_scope","label":"Calendar scope","type":"enum","required":true,"values":[{"value":"national_statutory","label":"national_statutory"},{"value":"public_sector","label":"public_sector"}],"description":"Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.","example":"national_statutory"},{"name":"workweek","label":"Workweek","type":"integer","required":true,"min":5,"max":6,"description":"Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.","example":5}],"outputs":[{"name":"working_days","label":"Working days","type":"integer","decimals":4,"description":"Authority-scope working dates."},{"name":"non_working_days","label":"Non-working days","type":"integer","decimals":4,"description":"Weekend and exact authority events."},{"name":"public_holidays_counted","label":"Authority events counted","type":"list","decimals":4,"description":"Exact events in the range."},{"name":"territory","label":"Territory","type":"string","decimals":4,"description":"PE (Peru)."},{"name":"territory_name","label":"Territory name","type":"string","decimals":4,"description":"Peru"},{"name":"day_type","label":"Day type","type":"string","decimals":4,"description":"Deterministic classification: official_weekend, regular_workday, or the first published authority event kind."},{"name":"holiday_names","label":"Holiday names","type":"string_list","decimals":4,"description":"Events applying on the date."},{"name":"holiday_kinds","label":"Holiday kinds","type":"string_list","decimals":4,"description":"Authority event classifications."},{"name":"holiday_details","label":"Holiday details","type":"list","decimals":4,"description":"Structured event details, including partial-day notes where published."},{"name":"calendar_scope","label":"Calendar scope","type":"string","decimals":4,"description":"Peru 2026 national_statutory"},{"name":"holiday_policy","label":"Holiday policy","type":"string","decimals":4,"description":"Peru_2026_national_holidays_with_explicit_public_sector_layer"},{"name":"substitute_day_policy","label":"Substitute-day policy","type":"string","decimals":4,"description":"Published dates only; no automatic Monday substitution or employer compensation roster is inferred"},{"name":"calendar_profile","label":"Calendar profile","type":"string","decimals":4,"description":"peru-public-holidays"},{"name":"dataset_version","label":"Dataset version","type":"string","decimals":4,"description":"pe-official-holidays-2026.1"},{"name":"sources","label":"Sources","type":"list","decimals":4,"description":"Authority and legislation sources."},{"name":"calendar_selection","label":"calendar_selection","type":"string","decimals":4,"description":"Explicit national_statutory or public_sector layer."},{"name":"workweek","label":"workweek","type":"integer","decimals":4,"description":"User-selected 5 or 6 days per week."},{"name":"compensable_day_details","label":"compensable_day_details","type":"list","decimals":4,"description":"Public-sector bridge-day facts for the classified date, even when excluded from the selected layer."}],"input_schema":{"type":"object","properties":{"start_date":{"description":"First date in 2026-2026.","type":"string","format":"date","examples":["2026-01-01"]},"end_date":{"description":"Last date in 2026-2026.","type":"string","format":"date","examples":["2026-12-31"]},"include_start_date":{"description":"Whether start_date participates.","type":"boolean","default":true,"examples":[true]},"include_end_date":{"description":"Whether end_date participates.","type":"boolean","default":true,"examples":[true]},"calendar_scope":{"description":"Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.","type":"string","enum":["national_statutory","public_sector"],"examples":["national_statutory"]},"workweek":{"description":"Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.","type":"integer","minimum":5,"maximum":6,"examples":[5]}},"additionalProperties":false,"required":["start_date","end_date","calendar_scope","workweek"],"examples":[{"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"national_statutory","workweek":5},{"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"public_sector","workweek":5}]},"output_schema":{"type":"object","properties":{"working_days":{"description":"Authority-scope working dates.","type":"integer"},"non_working_days":{"description":"Weekend and exact authority events.","type":"integer"},"public_holidays_counted":{"description":"Exact events in the range.","type":"array"},"territory":{"description":"PE (Peru).","type":"string"},"territory_name":{"description":"Peru","type":"string"},"day_type":{"description":"Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.","type":"string"},"holiday_names":{"description":"Events applying on the date.","type":"array","items":{"type":"string"}},"holiday_kinds":{"description":"Authority event classifications.","type":"array","items":{"type":"string"}},"holiday_details":{"description":"Structured event details, including partial-day notes where published.","type":"array"},"calendar_scope":{"description":"Peru 2026 national_statutory","type":"string"},"holiday_policy":{"description":"Peru_2026_national_holidays_with_explicit_public_sector_layer","type":"string"},"substitute_day_policy":{"description":"Published dates only; no automatic Monday substitution or employer compensation roster is inferred","type":"string"},"calendar_profile":{"description":"peru-public-holidays","type":"string"},"dataset_version":{"description":"pe-official-holidays-2026.1","type":"string"},"sources":{"description":"Authority and legislation sources.","type":"array"},"calendar_selection":{"description":"Explicit national_statutory or public_sector layer.","type":"string"},"workweek":{"description":"User-selected 5 or 6 days per week.","type":"integer"},"compensable_day_details":{"description":"Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.","type":"array"}}},"formula":"working day = outside selected weekly rest and selected holiday layer","method":"Apply the explicitly selected weekly-rest model and the pinned national or public-sector date layer. Do not infer compensating shifts or tax deadlines.","sources":[{"name":"El Peruano – 2026 national holidays","url":"https://elperuano.pe/noticia/286039-fin-de-semana-largo-el-2-de-enero-del-2026-sera-dia-no-laborable","type":"official_newspaper_annual_calendar"},{"name":"El Peruano – Decreto Supremo 042-2025-PCM","url":"https://busquedas.elperuano.pe/dispositivo/NL/2387094-1","type":"official_gazette_decree"},{"name":"El Peruano – Decreto Supremo 075-2026-PCM","url":"https://busquedas.elperuano.pe/dispositivo/NL/2516156-2","type":"official_gazette_decree"},{"name":"Sunafil – July 2026 holiday and non-working-day distinction","url":"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","type":"labour_inspectorate_explanation"},{"name":"Congress of Peru – Decreto Legislativo 713","url":"https://leyes.congreso.gob.pe/Documentos/DecretosLegislativos/00713.pdf","type":"original_legislation"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Pinned pe-official-holidays-2026.1 package."},"examples":[{"name":"National July week","inputs":{"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"national_statutory","workweek":5},"expected":{"working_days":3,"non_working_days":4},"url":"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"},{"name":"Public-sector July week","inputs":{"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"public_sector","workweek":5},"expected":{"working_days":2,"non_working_days":5},"url":"https://tttkmbb.com/api/v1/calculate/peru-public-working-days-between?start_date=2026-07-24&end_date=2026-07-30&calendar_scope=public_sector&workweek=5"}],"faq":[{"q":"Is 27 July a national holiday?","a":"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."},{"q":"Does this calculate tax deadlines?","a":"No. The decrees keep the compensable days working for tax purposes. Use a separately verified tax calendar."}],"tags":["Peru","Perú","PE","秘鲁","working day","feriados","compensable","public sector"],"related":[{"calculator_id":"peru-public-working-day","reason":"Inspect a date and source evidence."}],"links":{"html":"https://tttkmbb.com/everyday/peru-public-working-days-between","markdown":"https://tttkmbb.com/everyday/peru-public-working-days-between.md","json":"https://tttkmbb.com/everyday/peru-public-working-days-between.json","api":"https://tttkmbb.com/api/v1/calculate/peru-public-working-days-between","schema":"https://tttkmbb.com/api/v1/calculators/peru-public-working-days-between","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-27"},"timestamp":"2026-09-29T12:54:08Z","next_actions":[{"tool":"run_calculator","calculator_id":"peru-public-working-days-between","reason":"Run Count Peru Working Days with the inputs above."}],"links":{"mcp":"https://tttkmbb.com/mcp","a2a":"https://tttkmbb.com/a2a","openapi":"https://tttkmbb.com/openapi.json","llms_txt":"https://tttkmbb.com/llms.txt","feed":"https://tttkmbb.com/feed.xml","ard":"https://tttkmbb.com/.well-known/ard.json","ai_catalog":"https://tttkmbb.com/.well-known/ai-catalog.json","agent_card":"https://tttkmbb.com/.well-known/agent-card.json","mcp_server_card":"https://tttkmbb.com/mcp/server-card","mcp_server_card_legacy":"https://tttkmbb.com/.well-known/mcp-server-card.json","ai_plugin":"https://tttkmbb.com/.well-known/ai-plugin.json","agent_capabilities":"https://tttkmbb.com/agent-capabilities.json","docs":"https://tttkmbb.com/docs/index.md","privacy":"https://tttkmbb.com/docs/privacy","terms":"https://tttkmbb.com/docs/terms","support":"https://tttkmbb.com/docs/support","china_work_calendar_data":"https://tttkmbb.com/api/v1/data/china-work-calendar/2026","uk_bank_holidays_data":"https://tttkmbb.com/api/v1/data/uk-bank-holidays","iana_tzdb_data":"https://tttkmbb.com/api/v1/data/iana-tzdb","global_working_day_data":"https://tttkmbb.com/api/v1/data/global-working-day","global_public_holiday_data":"https://tttkmbb.com/api/v1/data/global-public-holidays","global_working_day_reference_data":"https://tttkmbb.com/api/v1/data/global-working-day-reference","australia_public_holidays_data":"https://tttkmbb.com/api/v1/data/australia-public-holidays","us_federal_holidays_data":"https://tttkmbb.com/api/v1/data/us-federal-holidays","canada_federal_holidays_data":"https://tttkmbb.com/api/v1/data/canada-federal-holidays","japan_national_holidays_data":"https://tttkmbb.com/api/v1/data/japan-national-holidays","india_central_government_holidays_data":"https://tttkmbb.com/api/v1/data/india-central-government-holidays","uae_federal_holidays_data":"https://tttkmbb.com/api/v1/data/uae-federal-holidays","new_zealand_public_holidays_data":"https://tttkmbb.com/api/v1/data/new-zealand-public-holidays","south_africa_public_holidays_data":"https://tttkmbb.com/api/v1/data/south-africa-public-holidays","ireland_public_holidays_data":"https://tttkmbb.com/api/v1/data/ireland-public-holidays","france_public_holidays_data":"https://tttkmbb.com/api/v1/data/france-public-holidays","argentina_public_holidays_data":"https://tttkmbb.com/api/v1/data/argentina-public-holidays","uzbekistan_public_holidays_data":"https://tttkmbb.com/api/v1/data/uzbekistan-public-holidays","vietnam_public_holidays_data":"https://tttkmbb.com/api/v1/data/vietnam-public-holidays","bangladesh_public_holidays_data":"https://tttkmbb.com/api/v1/data/bangladesh-public-holidays","sri_lanka_public_holidays_data":"https://tttkmbb.com/api/v1/data/sri-lanka-public-holidays","nigeria_public_holidays_data":"https://tttkmbb.com/api/v1/data/nigeria-public-holidays","ghana_public_holidays_data":"https://tttkmbb.com/api/v1/data/ghana-public-holidays","pakistan_public_holidays_data":"https://tttkmbb.com/api/v1/data/pakistan-public-holidays","kenya_public_holidays_data":"https://tttkmbb.com/api/v1/data/kenya-public-holidays","egypt_public_holidays_data":"https://tttkmbb.com/api/v1/data/egypt-public-holidays","russia_public_holidays_data":"https://tttkmbb.com/api/v1/data/russia-public-holidays","colombia_public_holidays_data":"https://tttkmbb.com/api/v1/data/colombia-public-holidays","chile_public_holidays_data":"https://tttkmbb.com/api/v1/data/chile-public-holidays","greece_public_holidays_data":"https://tttkmbb.com/api/v1/data/greece-public-holidays","kazakhstan_public_holidays_data":"https://tttkmbb.com/api/v1/data/kazakhstan-public-holidays","peru_public_holidays_data":"https://tttkmbb.com/api/v1/data/peru-public-holidays","slovakia_public_holidays_data":"https://tttkmbb.com/api/v1/data/slovakia-public-holidays","hungary_public_holidays_data":"https://tttkmbb.com/api/v1/data/hungary-public-holidays","czech_public_holidays_data":"https://tttkmbb.com/api/v1/data/czech-public-holidays","croatia_public_holidays_data":"https://tttkmbb.com/api/v1/data/croatia-public-holidays","slovenia_public_holidays_data":"https://tttkmbb.com/api/v1/data/slovenia-public-holidays","estonia_public_holidays_data":"https://tttkmbb.com/api/v1/data/estonia-public-holidays","luxembourg_public_holidays_data":"https://tttkmbb.com/api/v1/data/luxembourg-public-holidays","malta_public_holidays_data":"https://tttkmbb.com/api/v1/data/malta-public-holidays","lithuania_public_holidays_data":"https://tttkmbb.com/api/v1/data/lithuania-public-holidays","latvia_public_holidays_data":"https://tttkmbb.com/api/v1/data/latvia-public-holidays","bulgaria_public_holidays_data":"https://tttkmbb.com/api/v1/data/bulgaria-public-holidays","romania_public_holidays_data":"https://tttkmbb.com/api/v1/data/romania-public-holidays","brazil_federal_holidays_data":"https://tttkmbb.com/api/v1/data/brazil-federal-holidays","mexico_labor_rest_days_data":"https://tttkmbb.com/api/v1/data/mexico-labor-rest-days","philippines_public_holidays_data":"https://tttkmbb.com/api/v1/data/philippines-public-holidays","indonesia_public_holidays_data":"https://tttkmbb.com/api/v1/data/indonesia-public-holidays","south_korea_public_holidays_data":"https://tttkmbb.com/api/v1/data/south-korea-public-holidays","italy_public_holidays_data":"https://tttkmbb.com/api/v1/data/italy-public-holidays","spain_public_holidays_data":"https://tttkmbb.com/api/v1/data/spain-national-holidays","germany_public_holidays_data":"https://tttkmbb.com/api/v1/data/germany-national-holidays","netherlands_public_holidays_data":"https://tttkmbb.com/api/v1/data/netherlands-public-holidays","belgium_public_holidays_data":"https://tttkmbb.com/api/v1/data/belgium-public-holidays","austria_public_holidays_data":"https://tttkmbb.com/api/v1/data/austria-public-holidays","poland_public_holidays_data":"https://tttkmbb.com/api/v1/data/poland-public-holidays","portugal_public_holidays_data":"https://tttkmbb.com/api/v1/data/portugal-public-holidays","denmark_public_holidays_data":"https://tttkmbb.com/api/v1/data/denmark-public-holidays","sweden_public_holidays_data":"https://tttkmbb.com/api/v1/data/sweden-public-holidays","norway_public_holidays_data":"https://tttkmbb.com/api/v1/data/norway-public-holidays","finland_public_holidays_data":"https://tttkmbb.com/api/v1/data/finland-public-holidays","switzerland_public_holidays_data":"https://tttkmbb.com/api/v1/data/switzerland-public-holidays","taiwan_government_work_calendar_data":"https://tttkmbb.com/api/v1/data/taiwan-government-work-calendar","hong_kong_general_holidays_data":"https://tttkmbb.com/api/v1/data/hong-kong-general-holidays","turkey_public_holidays_data":"https://tttkmbb.com/api/v1/data/turkey-public-holidays","saudi_financial_holidays_data":"https://tttkmbb.com/api/v1/data/saudi-financial-holidays","thailand_financial_holidays_data":"https://tttkmbb.com/api/v1/data/thailand-financial-holidays","working_day_catalog":"https://tttkmbb.com/api/v1/data/working-day-calendars","markdown":"https://tttkmbb.com/everyday/peru-public-working-days-between.md"}}