Auto-create statutory markdown windows across all organisations
Internal Ops
Auto-create statutory markdown windows across all organisations
Iterates over every organisation in the database and, for each country with auto_create_enabled=true, ensures the statutory markdown windows exist on the organisation’s periods calendar for the current and next calendar year. Idempotent — re-running never duplicates periods. Each organisation is processed in isolation so a single failure never blocks the others. Requires Bearer token authentication via INTERNAL_OPS_TOKEN.
POST
Auto-create statutory markdown windows across all organisations
Authorizations
Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.

