Human Resources: employees, contracts, leave and public holidays

Manage your employees' records, their contracts (due-date alerts), their absences and indicative leave balance, Morocco's public holidays, sensitive data and anonymization.

8 min readUpdated on 30 November 2026Intermediate
Browse help

What is the Human Resources module for?

The "Ressources humaines" module (Human Resources, its own module in the side menu, with the sub-menus "Salariés", "Absences", "Jours fériés", "Pointages", "Horaires" and, for an employee linked to their access, "Mon espace RH") brings together in one place: your employees' records, their contracts with due-date alerts, their absences and leave with an indicative balance, Morocco's public holidays and the staff documents. Payroll is prepared there for your accountant (sub-menus "Cycle de paie", "Préparation de la paie" and "Bulletins de paie"): Billora does not calculate payslips; it collects the month's data, then imports and distributes the payslips drawn up by your accountant (see the article "Payslips: import your accountant's payslips and distribute them").

The module is a paid option: it is available depending on your subscription or your options. If it is not active on your account, the page shows "Cette fonctionnalité est disponible avec l'option « … »." (the name is read from the configuration), with the option's description, its price excl. VAT, any free trial and the "Souscrire à l'option" (Subscribe to the option) button (owner or an administrator only: the request goes to our team, who activate the option and contact you). If a subscription plan includes it, the message names that plan. The number of active employees may also be limited by your subscription: at the limit, the "Nouveau salarié" (New employee) button disappears and a banner suggests moving to a higher plan.

The employee list with contract due dates The employee list with contract due dates.

Who can use the module?

  • Owner and administrators: the whole module (view, create, edit, record and decide absences, public holidays, sensitive data and documents).
  • Collaborator, read-only accountant, viewer: no access by default. A custom permission group (depending on your subscription) can grant "Consulter les salariés et les contrats", "Créer et modifier les salariés et les contrats" and the absence rights, but never the "Données sensibles (CIN, CNSS, RIB, salaires, documents)" right.
  • "Salarié" role: a team member can have access to "Mon espace RH" only (no seat, no invoicing access); the invitation is sent from the record, "Inviter dans Mon espace RH" button (see the article on giving an employee access to Mon espace RH).
  • Anonymizing an employee: reserved for the account owner.

Without the "Données sensibles" (sensitive data) right, the national ID (CIN), CNSS number, bank account (RIB), salaries and documents are not just hidden on screen: the server does not send them at all.

How do I add an employee?

  1. Open "Ressources humaines", the "Salariés" (Employees) tab, then click "Nouveau salarié".
  2. Fill in at least the first name, last name and hire date. The employee number (matricule) is assigned automatically (S-0001, S-0002…) if you leave it empty; it is unique within your company.
  3. Optional: job title, email, phone, address, date of birth (useful for employees under 18), weekly rest day (Sunday by default), "Horaire de travail" and "Accès relié (Mon espace RH)" (so the employee can view their record, request leave and clock in themselves).
  4. With the sensitive data right: CIN, CNSS number, RIB (24 digits) and monthly gross base salary. These values are encrypted in the database.
  5. Click "Enregistrer" (Save).

The list shows the employee number, name, job title, hire date and status ("Actif" or "Sorti"); you can filter it (Actifs, Sortis, Tous) and search by name, number or job title. In the list, the CIN is shown masked (last 4 characters only) and neither the RIB, the CNSS number nor the salary appears; the record shows the CIN, CNSS number and RIB in full.

At the top of the page, three clickable indicators: "Salariés actifs", "Sortis" and the year's "Embauches" (a click filters the list). The "Salariés", "Absences" and "Pointages" lists are sorted by clicking a column header (a second click reverses the order) and are shown in pages of 20 rows: "Lignes par page" (10, 20, 50 or 100) and the arrows below the table.

Employee photo: on the record, click the circle to the left of the name (camera icon) and choose a JPEG, PNG or WebP image. Once the photo is set, the same click opens a small menu "Changer la photo" / "Retirer la photo" (also in the "…" menu). The photo appears in the employee list; anyone who can view employees can see it, and so can the employee themselves (header of "Mon espace RH", "Ma fiche", "Mon profil" and their account avatar), never other employees. It is erased on anonymization.

How do I manage contracts and their due dates?

On the employee's record, "Contrats" section: "Nouveau contrat". Available types: CDI (permanent), CDD (fixed-term), "Contrat d'insertion (ANAPEC)", Stage (internship), Autre (other). The end date is mandatory for a CDD, a "Contrat d'insertion (ANAPEC)" and a Stage (optional for a CDI and for "Autre"); the end of the trial period, weekly hours, the contract salary (sensitive data right) and notes are optional.

  • "Renouveler" (Renew) creates a new contract starting the day after the old one ends and linked to it.
  • CDD duration: if the duration of a CDD, renewals included, exceeds 2 years, a warning (never a block) is shown when the contract is saved and in "Échéances de contrats": "Durée totale supérieure à 2 ans : vérifiez le cadre légal du CDD (art. 16-17 du Code du travail)." The contract is saved anyway; the applicable rule (one year renewable once in the general case of art. 17) should be validated by your accountant or adviser.
  • For an employee who has left, "Nouveau contrat" and "Renouveler" are not offered (message "Réactivez le salarié pour lui ajouter un contrat.") and the server refuses both creating and renewing: "Ce salarié est sorti : aucun contrat ne peut être ajouté ni renouvelé. Réactivez-le d'abord." Editing or deleting an existing contract stays possible. When marking an employee as left, a contract that ends after the exit date (or has no end) is not changed: the record flags it with "Contrat en cours au moment de la sortie".
  • The "Échéances de contrats" (Contract due dates) panel at the top of the "Ressources humaines" page lists trial-period ends and contract ends within the next 30 days for active employees. The contract end no longer appears once the contract has been renewed.
  • Every day, a notification is sent to the owner and the administrators at D-30, D-7 and D-1 of each end of trial period and end of fixed-term contract (no email): see the article "Pointage, horaires et Mon espace RH" (clocking, schedules and My HR space).

How do I record and approve an absence?

  1. "Absences" tab (or the employee's record, "Absences et congés" section): "Nouvelle absence".
  2. Choose the employee, the type ("Congé payé" paid leave, "Maladie" sick, "Congé sans solde" unpaid leave, "Événement familial" family event, "Autre" other), the dates and, for a single day, the "Demi-journée (0,5 jour)" (half-day) box. Do not enter any medical diagnosis: only the "Maladie" type is kept.
  3. The absence is created with the status "Demandée" (Requested). Use "Approuver" or "Refuser". "Modifier" is only possible while it is "Demandée"; "Annuler" remains possible for a "Demandée" or "Approuvée" absence.

When creating a contract, "Début" (start) is pre-filled with the hire date (if the employee has no contract yet) and "Salaire du contrat" with the base salary ("Données sensibles" right). Amounts can be typed as "7 500,50", "7500,50" or "7 500.50".

Finding an absence: the "Absences" page shows three indicators ("À valider", "Absents aujourd'hui", "Approuvées") and filters that combine: search by name ("Rechercher un salarié…"), "Tous les types", "Tous les salariés", "Toutes les périodes" ("En cours", "À venir", "Passées", "Cette année") and status chips you can tick several at a time ("Demandée", "Approuvée", "Refusée", "Annulée"; "Tous les statuts" clears the selection). "Réinitialiser" resets all filters. In the "Justificatif" column, the "Justificatif fourni" pill opens the file; the "…" menu next to it offers "Voir", "Joindre un justificatif" and "Retirer"; without a file, the "Justificatif manquant" pill (type that requires it) and the "Joindre un justificatif" button are shown.

The number of working days is calculated by the server: every day except the employee's weekly rest day and the public holidays of the "Jours fériés" tab. A period with no working day is refused, as is an overlap with another "Demandée" or "Approuvée" absence of the same employee. No absence can be recorded for an employee who has left.

In the form, once the employee, the type and the dates are filled in, a preview shows "N jours ouvrables · solde disponible X j" (working days and available balance; the balance only appears for paid leave). The preview blocks nothing and saves nothing. In the list, a requested paid leave shows "Solde disponible : X j" ("solde dépassé" in red when it does not cover the request).

Balance exceeded: a warning, not a block. The employer may grant leave in advance. A paid leave that exceeds the available balance (indicative balance minus the other paid leave still "Demandée") is therefore saved or approved normally, with the message "Ce congé dépasse le solde indicatif (X j disponibles).". On the record, a negative balance is shown in red with "Solde dépassé".

Absences: available balance, proof and one-click decision Absences: available balance, proof and one-click decision.

How is the paid-leave balance calculated?

The balance shown on the record is indicative: "Calcul indicatif (art. 231, 232 et 240 du Code du travail), à faire valider par votre comptable. Seuls les droits de l'année en cours et de l'année précédente sont comptés." (Indicative calculation, to be validated by your accountant; only the entitlements of the current year and of the previous year are counted. The notice also states that suspension periods are not deducted: adjust the opening balance if needed.)

  • Earned entitlement: 1.5 working day per completed month of actual service (2 days for an employee under 18), art. 231 of the Labour Code (law 65-99).
  • Seniority: +1.5 day per complete 5-year period of seniority, without the annual leave exceeding 30 working days (art. 232). The calculation applies this bonus month by month: it is a simplification.
  • Balance = entitlement earned in the current year + carry-over from the previous year − approved paid leave taken over those two years. Older entitlements are lost: leave can only be carried over to the following year (art. 240). An employee hired seven years ago who has never taken leave therefore has two years of entitlement, not seven. Other absence types do not reduce the balance. The balance can be negative (leave taken in advance).
  • Carry-over cap (optional): in "Ressources humaines" › "Équipes", the "Report des congés payés" box offers "Plafond de report (jours)". When empty, the whole previous-year remainder is carried over; when filled in, days above the cap are lost and the record says so ("− perdus (plafond de report) X j"). Enter a number between 0 and 60, such as "10" or "7,5".
  • Opening balance: when creating or editing an employee, "Reprise du solde de congés" (balance and date) restarts the calculation from that date; only leave approved from that date is then deducted. The opening balance is only taken into account if its date is on or after 1 January of the previous year; an older one is ignored.

"Actual service" is counted month by month from the hire date (or the opening-balance date): suspension periods (unpaid leave, long-term sick leave) are not deducted; adjust the opening balance if needed. The calculation ignores company agreements and collective agreements (for example a longer carry-over granted in writing): have your accountant validate it.

How do public holidays work?

The "Jours fériés" tab lists the days off for the chosen year. Each year is pre-filled only once, the first time it is viewed (or the first time an absence covering it is calculated), with the 10 fixed-date civil holidays (1 January, 11 January, 14 January "Nouvel an amazigh", 1 May, 30 July, 14 August, 20 August, 21 August, 6 November, 18 November) and, for 2026 to 2030, the religious holidays (Eid al-Fitr, Eid al-Adha, 1st Muharram, Mawlid).

Religious dates depend on moon sighting: they are estimated ("Date estimée" badge) and must be confirmed by the official announcement of the Ministry of Habous and Islamic Affairs. The 2028 to 2030 dates are calculated by shifting those of 2027 by about 11 days per Hijri year (same method as for 2026 and 2027): they are estimates too. Correct the date with the edit icon: a corrected date is no longer marked as estimated. You can also "Ajouter un jour férié" (a day off specific to your company) or delete one. Once a year has been pre-filled, deleting holidays (even all of them) does not bring them back. For a year without estimated religious dates, add those holidays yourself. In "Ajouter un jour férié" the date is empty (or today's date for the current year); the sentence "Corriger une date religieuse estimée la confirme." only appears when editing an estimated date.

Adding, moving or deleting a public holiday automatically recalculates the number of working days of the "Demandée" or "Approuvée" absences that cover the old or the new date (rejected or cancelled absences do not change). The leave balance follows this recalculation.

How do I organize teams and have absences approved by a manager?

  1. Open "Ressources humaines" › "Équipes" (right "Créer et modifier les salariés et les contrats") and click "Nouvelle équipe".
  2. Enter the name (unique in your company) and the "Responsable" (manager): an active member of your Billora team, external accountants excluded. "Équipe active" lets you deactivate a team without deleting it.
  3. Attach each employee to their team in the "Équipe" field of their record ("Modifier").

From then on, an absence request from a team member is decided by the team manager: they receive the notification "Demande d'absence à valider" and find the request in "Ressources humaines" › "Demandes à valider" (name, type, dates, working days, available balance for paid leave, and "Justificatif fourni" or "Justificatif manquant"). They click "Approuver" or "Refuser"; the employee linked to an access receives the notification "Demande d'absence approuvée" or "Demande d'absence refusée".

  • The manager never sees the CIN, the CNSS number, the RIB, the salary, the free-text reason of the request or the content of the proof.
  • They cannot decide their own request (message "Vous ne pouvez pas décider votre propre demande."): the owner or an administrator decides it. They cannot cancel an absence either.
  • A member who is not the manager of the employee's team gets "Vous n'êtes pas responsable de l'équipe de ce salarié.": the server checks the relationship at every decision.
  • The owner and administrators (right "Saisir, approuver ou refuser les absences") can always decide, from the "Absences" tab. An employee without a team, or in an inactive team or one without a manager, is decided by them alone, as before.
  • If two people decide at the same time, only one decision is recorded; the other gets "Cette absence vient d'être modifiée."

The manager also finds their pending requests and today's team on the "Accueil" page of their "Mon espace RH", "Mon équipe" block (see the "Time clocking, schedules and My HR space" article).

"Demandes à valider" as seen by a team manager "Demandes à valider" as seen by a team manager.

How do I require a proof for some absence types?

In "Ressources humaines" › "Équipes", the "Justificatif obligatoire" card has one checkbox per type ("Congé payé", "Maladie", "Congé sans solde", "Événement familial", "Autre"). By default only "Maladie" requires one. An absence of a required type can be requested without a proof; however it cannot be approved until a proof is attached: "Justificatif obligatoire pour ce type d'absence."

  • The employee attaches their proof (PDF or image) from "Mon espace RH" › "Mes congés" › "Mes absences et demandes" with "Joindre un justificatif": the file is sent directly, even for a "viewer" role; the owner and administrators can do it from the "Absences" tab (right "Données sensibles").
  • "Retirer": the employee removes their proof while the request is "Demandée"; the owner and administrators can remove it at any time. "Justificatif manquant" only appears for a "Demandée" or "Approuvée" request of a type that requires a proof.
  • Who sees what: a proof may reveal health data (law 09-08). Only the employee concerned ("Voir" button) and the owner / administrators (right "Données sensibles") can open the file; the team manager only sees "Justificatif fourni" or "Justificatif manquant". The file is never cached and also appears under "Documents" on the record.
  • Proofs are erased with the other documents when the owner anonymizes the employee.

Can employees see their colleagues' absences?

Yes, if you decide so. In "Ressources humaines" › "Équipes", the "Absences visibles par les salariés" setting offers three choices (right "Créer et modifier les salariés et les contrats", in practice the owner or an administrator):

  • "Personne" (default): each employee only sees their own absences.
  • "Collègues de la même équipe": the employee sees the absences of their team members and of the team manager (if the manager has an employee record). An employee without a team sees nothing.
  • "Toute l'entreprise": the employee sees the absences of all active employees.

The employee finds them on the "Accueil" page of "Mon espace RH", in the "Absences dans mon équipe" or "Absences dans l'entreprise" card: only approved absences in the next 14 days, with the name and dates ("Absent aujourd'hui", "Absent jusqu'au …", "demi-journée"). The absence type (sick leave is health data), the reason and the proof are never sent, whatever the choice. For the manager's own absence to appear, they need an employee record (see "How do I add an employee?").

The "Équipes" page settings, including "Absences visibles par les salariés" The "Équipes" page settings, including "Absences visibles par les salariés".

How do I view the team planning?

The "Planning" sub-menu shows the chosen month ("Mois précédent" and "Mois suivant" arrows): one row per employee present during the month (hired before the month ends and not left before it starts), one column per day. The "Toutes les équipes" filter limits the display to one team. Legend: one color per approved absence type, "Demandée (hachuré)" for a pending request, "Jour férié", "Repos hebdomadaire" and "Hors contrat" (before hiring or after leaving). Cells have no tooltip: the legend gives the colors, and a screen reader announces each cell's detail (absence type, "demi-journée" if applicable, status). The planning holds no sensitive data.

The owner, administrators and members with the right "Consulter les absences et les soldes de congés" see all employees; a team manager only sees the planning of their teams. On a phone, the names column stays fixed and the grid scrolls horizontally.

The monthly planning: absences, requests, public holidays and rest days The monthly planning: absences, requests, public holidays and rest days.

What happens when an employee leaves the company?

  1. On the record, open the "…" menu ("Autres actions sur le salarié") then "Marquer comme sorti" (Mark as left), enter the exit date and an optional reason. The status becomes "Sorti": the seat is freed in the active-employee limit and no new absence or contract can be recorded. "Demandée" or "Approuvée" absences planned after the exit date are cancelled (message "Les absences prévues après cette date seront annulées."). The window shows "Solde de congés à la sortie : X j (indemnité compensatrice, art. 251 du Code du travail, à faire valider par votre comptable)": indicative, to be validated by your accountant. The record is kept (employer obligations).
  2. "Réactiver" (Reactivate) makes the employee active again; the active-employee limit is checked again. The "Salarié" account linked to the record, deactivated on exit, is not reactivated automatically (Paramètres › Équipe).

How do I anonymize an employee (irreversible)?

To comply with law 09-08 on personal data protection (CNDP), the owner can, on the record of an employee who has left, open the "…" menu, then "Anonymiser" and "Anonymiser définitivement" (while the employee is active, the entry is greyed out: "Possible seulement après la sortie du salarié."). The following are erased: first and last name, contact details, date of birth, job title, CIN, CNSS number, RIB, salaries (record and contracts), contract notes, absence reasons, exit reason and all documents of the employee. The following are kept: employee number, hire and exit dates, status, contracts (types and dates) and absences (types, dates, days).

This action is irreversible. An anonymized employee can no longer be edited or reactivated. The legal retention period of each piece of data should be validated with your legal or accounting advisor.

How do I inform my employees with an information notice?

  1. Open "Ressources humaines" › "Notes d'information" (owner and administrators; right "Créer et modifier les salariés et les contrats"), then click "Nouvelle note".
  2. Fill in the "Titre" (120 characters at most) and the "Texte" (5,000 characters at most). The text is plain text: formatting and HTML are not interpreted, line breaks are kept.
  3. Optional: "Jour de publication (facultatif)" (a day, no time; left empty or set to today, the notice is published right away; a past day is refused) and "Pièce jointe (facultative)" (PDF or image, a single one, sent together with the notice: if the file is refused, the notice is not created).
  4. Click "Enregistrer": "Note publiée : les salariés reliés sont prévenus." or, for a future date, "Note programmée."
  • Who receives it? All active employees linked to an access (field "Accès relié (Mon espace RH)" on their record). There is no targeting by team: an employee who is not linked receives nothing. They read the notice in "Mon espace RH" › "Notes d'information" (most recent first) and receive the notification "Nouvelle note d'information".
  • Scheduled notice: invisible to employees (attachment included) until its day. It is published and employees are notified during the system's daily run, around 7 a.m. (Morocco time) on the chosen day (one notification per notice). To publish it earlier, open "Modifier" and clear the publication day.
  • Edit / delete: a scheduled notice can be edited ("Modifier") as long as it is not published; a published notice can no longer be edited ("Une note publiée ne peut plus être modifiée : supprimez-la ou publiez-en une nouvelle.") but can be deleted ("Supprimer", final: it disappears from "Mon espace RH" together with its attachment).
  • Attachment: only linked employees and people who manage notices can open it; the attachment is not available from the mobile app. A new file added when editing replaces the old one; "Retirer la pièce jointe actuelle" removes it (before publication) without closing the window.
  • The title and text never appear in the activity log. This feature depends on the Human Resources module: without the option nothing is accessible; the notices are kept.

Reading a notice again: in the "Notes d'information" list, the start of the text is shown under the title; a click on the row (or "Voir" in the "…" menu) opens the whole notice: status, text and attachment.

Where do I store an employee's documents?

On the record, "Documents" section (sensitive data right): first choose the type ("Contrat", "Pièce d'identité", "Certificat médical", "Diplôme", "Attestation" or "Autre"), then "Ajouter un document" (PDF or image). The list shows each document's type, date added and size; an absence supporting document appears there as "Justificatif d'absence". These files count towards your storage space and are only served to members with the sensitive data right; the mobile app has no access to them for now.

Is my HR data included in the account export?

Yes: the account export (owner and administrators) contains the files salaries.csv, contrats.csv, absences.csv, jours-feries.csv, equipes.csv, cycles-paie.csv, notes-information.csv and demandes-acompte.csv (amount and reason only with the "Données sensibles" right), with the CIN, CNSS number, RIB and salaries decrypted when the person exporting has the "Données sensibles" right (owner or administrator). Without that right, these columns are absent and employee documents are not included. Keep this archive in a safe place.

Frequently asked questions

Why can't I see the "Ressources humaines" menu?

It is hidden if your role does not have the "Consulter les salariés et les contrats" right. If the page shows "Cette fonctionnalité est disponible avec l'option « … »." (or "à partir du plan …"), the module is not active on your account: subscribe to the option from that page.

What happens to my HR data if the option ends?

It is kept (nothing is deleted), but as long as the option is not active (trial over, cancellation, option not renewed) the module is locked: no page, API or staff documents, HR lines are absent from the activity log and Settings › Files, and the HR sheets are absent from the account export. They become visible again when the option is reactivated. Consider exporting your HR data before the option ends.

Why can't I see an employee's CIN or salary?

These fields require the "Données sensibles" right, reserved for the owner and administrators.

Is the leave balance legally binding?

No: it is indicative. Have your accountant validate it before using it for payroll or a dispute.

Does the module calculate payroll, CNSS or income tax?

No. Billora collects the month's data for your accountant ("Préparation de la paie"), who draws up the payslips; you then import them into "Bulletins de paie" to distribute them. See the article "Payslips: import your accountant's payslips and distribute them".

Why do I see "Ce congé dépasse le solde indicatif"?

The requested paid leave is longer than the available balance. It is only a warning: you can still save and approve it (leave granted in advance).

Why is my absence refused with "Cette période ne contient aucun jour ouvrable"?

All the chosen dates are Sundays (or the employee's weekly rest day) or public holidays.

Why can't I anonymize an active employee?

Anonymization is reserved for employees with the "Sorti" status: first mark the employee as left.

Was this article helpful?