By Raphael Schwirtlich · Published Tue Dec 01 2026 · Last updated Sat Oct 20 2018
Risky Vibes pt. 05
HR Data
Disclaimer
This article is general information and my personal opinion, not legal, tax or insurance advice. Laws differ by country and state/canton, change over time, and depend on the facts of each case. Before you replace a business system, ask a qualified lawyer, tax adviser or data protection specialist about your own situation.
Payroll, HR and pensions
If I had to pick the part of a small company's software I would be most reluctant to replace with a homemade tool, it would be anything that touches payroll and personnel files. Not because a salary calculation is hard, but because of everything around it is delicate.
What sits in HR data
Salaries, bank details, ID and social-insurance numbers, contracts, absences, sickness notes, performance reviews, pension-fund information and withholding-tax data. These are the records of the people you work with every day.
Switzerland: limits on what an employer may process
Art. 328b of the Code of Obligations says an employer may process data about an employee only as far as it concerns suitability for the job or is needed to carry out the employment contract, and the data protection act applies on top. The Federal Data Protection and Information Commissioner (FDPIC) states that this rule cannot be set aside to the employee's detriment, even with consent. So the question is not only "can our tool store this field" but "should we hold this data at all".
Pension-fund data
Switzerland's occupational pension law contains a secrecy duty (Art. 86 BVG) for people involved in carrying out the scheme. In an FDPIC opinion, employer staff in HR or finance who process data for the scheme were described as covered by that duty, and the employer was treated as a third party in relation to the pension fund's own data. In practical terms, think about who in your company sees pension data, whether you need a copy at all, and how it is protected. Your pension fund can tell you what rules and interfaces it works with.
Payroll reporting
In Switzerland, payroll software certified under the Swissdec standard (ELM) can send wage data to social insurers and authorities in one procedure, with encrypted and signed transmission. The federal SME portal says this considerably lightens the administrative burden. Certification is given to software vendors after testing. A homemade payroll tool would not have it, so you would need to know which reports are due, to whom, in what format, and how corrections work. That is a big hidden workload. Whether certified software is required in your case is a question for a payroll specialist or adviser.
Sensitive data hiding in payroll
Absence and sickness records can reveal health information. Some payroll setups also deal with details such as religious affiliation for church tax in certain cantons (check whether that applies to you). Data like this is generally treated as more sensitive under data protection law, with stricter expectations.
The EU
The GDPR applies to employee data, alongside national employment law and, in some countries, works-council rights that can affect which systems you introduce and how staff are monitored. Special categories such as health data or union membership need a stronger justification. Rules vary by country, so local advice matters.
If it leaks
A CRM leak is a customer problem. An HR leak is personal: colleagues' salaries and health information become exposed. Staff may need to be told, trust suffers, and in Switzerland, as commonly described, certain intentional breaches can lead to criminal fines for responsible individuals. I'm not saying that is likely. I'm saying HR failures are different in kind.
My "not in a homemade tool" list
This is a rule of thumb, not a legal rule:
- salary and bank data
- health and absence data
- pension information
- ID and social-insurance numbers
- performance and disciplinary records
If you build an HR helper such as a holiday planner, keep it away from the above.
Questions to bring to your adviser
- What may I record about employees, and what must I not?
- What duties apply to pension-fund data in my case, and what does my pension fund require?
- Do I need certified payroll software or specific reporting channels?
- What would I have to tell staff if their data were exposed?
- If I have EU staff, which local employment-data rules apply?