Regional holidays need the region
The date check may not count a holiday that only some states or regions keep. For an office in Bavaria or Catalonia, have your agent test the date against that region's holidays on the list.
Setting next year's payroll dates for five countries
A salary run set for Midsummer Eve in Stockholm doesn't go out until Monday. Check a year of pay dates against each country's holidays in one pass, and no one gets paid late.
Through Delegate, your AI assistant uses Strale for you, with no Strale account or API key.
Every holiday Nager.Date lists for one country and year, with local and English names, the type it's filed under and, when it isn't nationwide, the regions that keep it.
Whether a date is a working day in one country once weekends and public holidays are counted, the holiday's name when it isn't, and the nearest business days on each side.
The prompt
We pay salaries in [Sweden, Germany, the UK, Japan and the US] on the [25th] of every month. For [2027], list each country's public holidays, check every pay date against them, and move any that land on a weekend or holiday to the business day before. Mark holidays that only some regions keep.
The date check may not count a holiday that only some states or regions keep. For an office in Bavaria or Catalonia, have your agent test the date against that region's holidays on the list.
The holidays come from Nager.Date, which covers more than 200 countries and territories but leaves out some large ones, India among them. For a country it doesn't list, take the dates from that government's own calendar and don't rely on the business-day check.
Each holiday carries the type Nager.Date gives it, such as public or bank, so your agent can drop the days your offices stay open.
Service keys strale-holiday-calendar and strale-business-day-check.
The first one from the dlgt CLI:
dlgt hire strale-holiday-calendar --input '{"country_code": "US", "year": 2026}' --waitEvery field and its limits are listed with each service in the catalog.
Connect Delegate once and your agent can do this job, and use every other service in the catalog.