Skip to content

Check without any value read from the DSN

The masquer_valeurs option removes the values read in the DSN files before the report is written. You can hand this report to a support team, a service provider or an auditor: it keeps the verdict and the anomalies, without the declared values. The data can still be found in your file, by its line. In the application, tick “Without the DSN values” in the options of the upload window; through the API, the option is masquer_valeurs.

What the report keeps:

  • The verdict, the occurrences of anomalies, the severities, the exit codes, the counters and the calculated amounts.
  • For each anomaly: its line, its code, its severity, its field and the label of that field.
  • The title and the action of each anomaly, as written for the reader, with no declared values.
  • The individual, identified by rank: “Individu 3” (individual 3) is the third individual block of the declaration concerned, and the rank restarts at one in each declaration.
  • The SHA-256 of each file. The file is named by its input rank: fichier-1.dsn, or fichier-2.zip!membre-3.dsn for the third physical member of an archive.

What the report no longer contains:

  • The values read in the DSN files and the raw message of each anomaly: these fields are absent from the report, never replaced by an empty string.
  • The original name and path of each supporting document.
  • The rest of the report written for the reader (texts, sheets, linked data, appendices) follows the same rule: no declared value appears in it.

The original file remains the reference: each anomaly keeps its line, and the data can still be found there by that line. The SHA-256 that is kept lets you match each file to your own files.

Every format of the check is concerned: text, JSON, JSON Lines, CSV (machine and excel-fr profiles), PDF, Excel, XML and Power BI. The JSON attached to the PDF, as well as the detail of the workbooks and packages, is masked too. The neutral names of the files are the same in every format.

The JSON states true in the field options.masquer_valeurs. Without the option, it does not carry this field, and its absence means false.

What sets masquer_valeurs apart from masquer_comptes:

  • Option
    masquer_valeurs
    Effect
    Removes all the values read in the DSN files, the raw messages and the identities. The titles, actions, line numbers, counters and calculated amounts remain.
  • Option
    masquer_comptes
    Effect
    Reduces the IBAN and BIC numbers in the report to their last four characters, in every format. The check runs on the original data: the accounts and the verdict do not change.

The two options are distinct. To remove all the values, request masquer_valeurs.

Where to request masking:

  • Route
    POST /v1/controles
    Where to put the option
    In the address, with the other parameters: masquer_valeurs=true. Example: POST /v1/controles?masquer_valeurs=true&format=jsonl&fichier=mars-2026.dsn&annee=2026. The DSN is sent as is, exactly as without masking.
  • Route
    POST /v1/controles/avec-pieces
    Where to put the option
    In the manifest: the field options.masquer_valeurs, set to true. The format is set in options.format.

The check and the comparison of two versions accept this option; the other DSNLint commands refuse it.

DSNLint Connect lists masquer_comptes and masquer_valeurs among its common options, for the functions that publish them. For the check, add --option masquer_valeurs=true.

Here is the check of mars-2026.dsn, a DSN from the demonstration set, requested with masquer_valeurs=true. The report names the file fichier-1.dsn and each individual by rank; the status stays NON_VALIDE, with 6 blocking anomalies and 2 warnings, as without masking. The Command tab shows the DSNLint Connect command.

rapport.txt · lines 1 to 17 of 845
Fichier : fichier-1.dsn
Norme   : DSN P26V01
Lignes  : 3217
Statut  : Non conforme (6 anomalies bloquantes, 2 avertissements)
Contrôles de la norme : 661 inventoriés sur 669 recensés
Déclarations : 2
Déclaration 1 — lignes 17 à 1710 — Non conforme : 2 anomalies bloquantes, 2 avertissements
Déclaration 2 — lignes 1710 à 3218 — Non conforme : 4 anomalies bloquantes, 0 avertissement
Anomalies :
  - S21.G00.30.006/CCH-11 BLOQUANT ligne 528 [S21.G00.30.006 — Date de naissance] — Individu 3 : Date de naissance incohérente avec le NIR
  - S21.G00.40.021/SIG-11 AVERTISSEMENT ligne 1128 [S21.G00.40.021 — Motif de recours] — Individu 6 : Motif de recours du CDD absent
  - S21.G00.40.010/CCH-11 BLOQUANT ligne 1136 [S21.G00.40.010 — Date de fin prévisionnelle du contrat] — Individu 6 : Fin prévisionnelle du contrat antérieure à son début
  - S21.G00.81.001/SIG-18 AVERTISSEMENT ligne 1402 [S21.G00.81.001 — Code de cotisation] — Individu 7 : Cotisation de retraite complémentaire incomplète
  - CSL-04 BLOQUANT ligne 2062 [S21.G00.50.001 — Date de versement] — Individu 2 : Date qui n’existe pas au calendrier
  - S21.G00.40.004/CRE-11 BLOQUANT ligne 2232 [S21.G00.40.004 — Code profession et catégorie socioprofessionnelle (PCS-ESE)] — Individu 3 : Code de profession (PCS-ESE) inconnu de la nomenclature
  - CST-03 BLOQUANT ligne 2823 [S21.G00.30.004 — Prénoms] — Individu 6 : Rubrique obligatoire absente
  - S21.G00.50.009/CCH-11 BLOQUANT ligne 3068 [S21.G00.50.009 — Montant de prélèvement à la source] — Individu 7 : Prélèvement à la source différent de l’assiette multipliée par le taux
Excerpts from a real DSNLint API response, received with DSNLint Connect 1.3.0 on 5 December 2026, for public examples with fictitious data: mars-2026.dsn. Engine outputs are in French. The same request sent with curl returns the same document, byte for byte.

To see the same stream with and without masking, line by line, read the section “Receive DSN checks as JSON Lines”.

See the possible integrations on the API page

Extract, split and pseudonymise a DSN
Previous section
Receive DSN checks as JSON Lines
Next section