.. include:: /Includes.rst.txt .. _feature-1791238564: =================================== Feature: Import and export holidays =================================== Description =========== HR downloads a holiday import template as XLSX or CSV with the column headers in their language (``getHolidayImportTemplate``) and imports holiday rules from it (``importHolidayRules``): a name per language, the start date, the number of days, whether the date recurs every year, the half day and a holiday calendar code. The file format is recognised by its content, so a file the browser declares as ``application/octet-stream`` is read, where Horilla's import failed with a server error. The import is all or nothing, names every invalid row, skips rows identical to an existing rule and can be checked without storing. The new report ``holidays`` exports every holiday of a period, one row per day, named in the reader's language. Impact ====== The rules list of :guilabel:`Administration > Holiday rules` offers the templates, the import and the export. .. index:: API, Frontend, package:adsum-working-time, package:adsum-reporting