Subscribe to our newsletter

Blog

Are hidden codes in a work certificate lawful?

November 17, 2026

The employment reference plays a decisive part in the professional development of every employee in Switzerland.

Faced with the statutory duty to draft this document benevolently so as to facilitate the employee’s economic future, some employers resort to double-edged turns of phrase or equivocal wording — commonly called “hidden codes” — intended discreetly to warn future recruiters of the candidate’s shortcomings.

Under Swiss law, the use of such concealed devices is formally unlawful.

The absolute prohibition of codes and the principle of clarity

The drafting of an employment reference is subject to strict fundamental principles laid down by statute and case law:

  • The mandatory principle of clarity: Assessments of the employee’s performance and conduct must be formulated in a limpid, transparent manner that any outside reader can understand; any wording whose true meaning is accessible only to insiders (informed recruiters or human-resources professionals), while concealing a pejorative assessment beneath complimentary appearances, directly breaches the duty of clarity.
  • The hierarchy between truth and benevolence: The reference must be drafted benevolently in order to favour the employee’s professional future, but that benevolence stops where the duty of truth begins; the employee is entitled to a reference that is objectively true and complete, but not to an indulgent one; if serious criticisms or negative elements are relevant to the overall assessment, they must be stated openly, in measured and clear terms, and not by means of coded insinuations.

The employee’s rights and the remedies

An employee faced with a reference containing coded or misleading turns of phrase has specific legal means of asserting his rights:

  • The action to rectify the employment reference: Where a reference contains ambiguities, coded wording or unnecessarily reductive turns of phrase that cast a shadow over his career, the employee may refuse the document and demand its full rectification in court; this claim for delivery or amendment of a conforming reference is brought before the labour courts and is subject to the general limitation period of ten years.
  • Protection of personality and of data: The employer may process and pass on information only insofar as it concerns the employee’s aptitude to perform his job; the use of hidden or deliberately disparaging messages constitutes an unlawful infringement of the employee’s personality and professional reputation, and may engage the employer’s liability.

The mandatory content is described in the article on the employment reference.

Legal sources

Federal legislation:

  • Art. 330a para. 1 and 2 CO (the employee’s right to obtain at any time a qualified certificate covering the nature, duration and quality of the work and his conduct, or a simple attestation)
  • Art. 328b CO (limitation of the processing and communication of the employee’s data to his professional aptitudes and to the strict needs of performance of the contract)
  • Art. 127 CO (cited by BGE 147 III 78 ) (general limitation period of ten years applicable to actions for delivery and rectification of the employment reference)
  • Art. 6 para. 2 FPA (cited by Federal Administrative Court judgment A-7670/2015 ; BGE 144 II 345 ) (application by analogy of the principles of private employment law to references issued in the public service)

Federal case law:

‍