# Link an absence to your social secretariat's code

> Match each Shyfter absence type to the right social secretariat code so absences are paid.

Source: https://help.shyfter.com/en/payroll-export/link-an-absence-to-your-social-secretariats-code  
Category: Payroll export  
Updated: 2026-12-02

Your social secretariat does not know the names you give your absences in Shyfter. It only reads its own codes. For your employees' holidays, sick days and other absences to reach payroll correctly, each Shyfter absence type must therefore be linked to the matching code at your social secretariat.

You only need to set this up once per absence type. After that, every absence entered in the schedule is sent with the right code during the payroll export.

## Why it matters

As long as an absence type is not linked to a social secretariat code, the days concerned do appear on the employee's timesheet, but they are **removed from the file sent to payroll**. In practice, the employee may not be paid for those days.

Shyfter warns you when you close the month: the **unmapped codes** check lists each code involved and the days on which it appears. The **Map the codes** button takes you straight to the settings of that absence, with the panel already open.

## Before you start

- You need an **administrator** or **HR** role to access the HR settings.
- Your social secretariat must be installed under **Settings → Integrations**. Without an installed social secretariat, the linking section does not appear in an absence's panel.

## Open an absence's settings

1. Go to **Settings → HR → Absences**.
2. The table lists all your absence types with their **Name**, **Code**, **Type** and the **App** option (visibility in the mobile app). Use the search field to quickly find an absence.
3. Click the edit icon of the absence you want to link. The **Modification of a leave type** panel opens on the right.

To link an absence you are creating, click **New**: the linking is done in the same panel.

## Link the absence to the social secretariat code

Scroll down the panel to the **Partner code equivalent** section. It contains one field per social secretariat installed on your establishment, named after that secretariat.

1. Click your social secretariat's drop-down menu.
2. Choose the code that matches this absence. Each option shows the social secretariat's label followed by its code in brackets, for example "Sickness (code)". You can type a few letters to filter the list.
3. Click **Save**.

To remove a link, click the small cross in the field, then save.

> Not sure which code to choose? Ask your account manager at the social secretariat. They know the exact match between your absences and their codes (for example, the difference between a short leave and a justified absence).

## Check that everything is linked

The simplest way is to go through your absence types one by one in **Settings → HR → Absences** and check that the **Partner code equivalent** section is filled in for each of them, especially for the absences you actually use in the schedule.

When you close the month, if the **unmapped codes** check no longer appears, all the absences used during the period are correctly linked and will be included in the payroll file.
