Skip to content

Employee Management

Watch the step-by-step tutorial

This feature requires a Pro or Premium subscription.

Manage your workforce from this page: add employees manually or import them from the CNSS preetabli file.

Click Add employee to create an employee record with:

  • Identity: last name, first name, CIN
  • Social security numbers: CNSS, CIMR
  • Marital status and dependents (affect income tax calculation)
  • Salary type: monthly or hourly
  • Salary and hire date

This feature is only available for Moroccan companies. It lets you import your employee list from the preetabli file downloaded from the CNSS e-BDS portal.

  1. Click Import employees (in the page header or in the empty state area if no employees exist)
  2. In the dialog that opens, select the .txt preetabli file downloaded from the e-BDS portal
  3. Click Import preetabli
  • Company CNSS number: if your company does not yet have a CNSS number configured, it is automatically extracted from the file and saved to your identifiers. If a CNSS number is already configured and does not match the file, the import is rejected.
  • Employee creation: each insured person in the file is created as an employee (or updated if they already exist, matched by CNSS number). Imported information includes name, CNSS number, and number of dependents.
  • Incomplete employees: employees created by import do not have a hire date or salary — this information must be completed separately.

After a successful import, if any employees are missing a hire date, a review grid is displayed automatically. This grid lets you fill in the missing information in bulk:

ColumnDescription
Last name, First nameDisplayed for context (read-only)
Hire dateDate input, required
Salary typeMonthly or hourly, required
Monthly salaryAmount, required
Worked days26 for full-time, 13 for half-time
  • Fill in the fields for each employee then click Save to update all employees at once
  • You can also click Skip to close the grid and complete individual records later

The list displays your employees with the following information:

  • Employee name
  • Hire date
  • Salary (monthly or hourly rate)
  • Status: active or archived

Use the filters to show all employees, active only, or archived only. A search field lets you quickly find an employee by name.

Click the edit icon next to an employee to access their full record and update their information.

  • Import the preetabli first if you are getting started with Macompta: it automatically creates all your CNSS-registered employees
  • Complete the records immediately after import using the review grid
  • Verify that each employee’s CNSS number is correct before generating a BDS declaration
ProblemSolution
Import button does not appearImport is only available for Moroccan companies. Check the country in your company settings.
“File does not match CNSS number” messageThe CNSS number in the file does not match the one configured for your company. Check the file or correct the CNSS number in your identifiers.
Employees without salary after importThis is expected — the preetabli file does not contain salary data. Use the review grid or edit each record individually.

Need help? Contact our support team.