Employee Management
Watch the step-by-step tutorial
Manage your workforce from this page: add employees manually or import them from the CNSS preetabli file.
Add an employee
Section titled “Add an employee”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
Import from the CNSS preetabli file
Section titled “Import from the CNSS preetabli file”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.
Import steps
Section titled “Import steps”- Click Import employees (in the page header or in the empty state area if no employees exist)
- In the dialog that opens, select the
.txtpreetabli file downloaded from the e-BDS portal - Click Import preetabli
What the import does
Section titled “What the import does”- 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.
Post-import review grid
Section titled “Post-import review grid”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:
| Column | Description |
|---|---|
| Last name, First name | Displayed for context (read-only) |
| Hire date | Date input, required |
| Salary type | Monthly or hourly, required |
| Monthly salary | Amount, required |
| Worked days | 26 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
Employee list
Section titled “Employee list”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.
Edit an employee
Section titled “Edit an employee”Click the edit icon next to an employee to access their full record and update their information.
Best practices
Section titled “Best practices”- 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
Troubleshooting
Section titled “Troubleshooting”| Problem | Solution |
|---|---|
| Import button does not appear | Import is only available for Moroccan companies. Check the country in your company settings. |
| “File does not match CNSS number” message | The 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 import | This 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.