DSN report formats
- Format
- text
- What you receive
- A text report, readable as it is.
- What it is for
- Reading on screen.
- Format
- json
- What you receive
- A versioned document, described by a closed schema: no unknown field is accepted. For the check, the API adds the date of the response.
- What it is for
- Payroll software and integrations.
- Format
- jsonl
- What you receive
- A JSON Lines stream (application/jsonl): one JSON line per file checked, then a summary line. Each line validates on its own against its schema. Requested through the API or through DSNLint Connect.
- What it is for
- Software and integrations that process files one by one.
- Format
- csv
- What you receive
- A ZIP archive (CSV contract, version 5). Two profiles: excel-fr, the default, one CSV file per sheet of the workbook, with a LISEZMOI.txt file (UTF-8 with BOM, decimal comma, DD/MM/YYYY dates); machine, the linked tables and their dictionary (UTF-8 without BOM, decimal point, YYYY-MM-DD dates).
- What it is for
- Spreadsheets, accountancy firms and programs.
- Format
- What you receive
- An A4 PDF to read and print, with the JSON document defined by the contract attached.
- What it is for
- Reading and archiving.
- Format
- xlsx
- What you receive
- An Excel workbook with the parts of the report, then its detail tab. Cells are typed: amounts as numbers, identifiers as text. The tables of the parts and of the detail are named Excel tables.
- What it is for
- Spreadsheets, accountancy firms.
- Format
- xml
- What you receive
- The same facts as the JSON, described by an XSD schema. Check report only.
- What it is for
- Integrations that require it.
- Format
- powerbi
- What you receive
- A ZIP archive: the tables as CSV, a model (types, keys, relationships), the Power Query loading script and the DAX measures.
- What it is for
- Analysis in Power BI.
A format changes the presentation, never the facts: no format recomputes the verdict, and a richer format does not launch a more complete check. The profil_csv option is excel-fr by default; the machine profile returns the linked tables. It applies to the csv format.
masquer_comptes and masquer_valeurs are booleans, false by default. The table shows which DSNLint Connect commands and corresponding API functions accept them. profil_csv selects excel-fr (the default) or machine for CSV output, with a special case for comparer.
- Functions
- controler, controler-avec-pieces
- masquer_comptes
- Yes
- masquer_valeurs
- Yes
- profil_csv
- excel-fr or machine, for
format=csv.
- Functions
- retours, substitution, paie, egalite, social, compta, prelevements
- masquer_comptes
- Yes
- masquer_valeurs
- No
- profil_csv
- excel-fr or machine, for
format=csv.
- Functions
- regulariser
- masquer_comptes
- Yes
- masquer_valeurs
- No
- profil_csv
- excel-fr or machine, for the CSV in the dossier.
- Functions
- comparer
- masquer_comptes
- Must remain false.
- masquer_valeurs
- Yes
- profil_csv
- machine only with
format=csv; raw CSV.
- Functions
- extraire, decouper, pseudonymiser
- masquer_comptes
- No
- masquer_valeurs
- No
- profil_csv
- No; extraction CSV has its own contract.
For a simple check, these settings are URL parameters; for functions with files, they go in the manifest’s options object. With DSNLint Connect, use --option name=value. For comparer, omit masquer_comptes; to set it explicitly, put the boolean false in the --options-fichier object. An option marked “No” is not accepted by that function. Pseudonymisation settings for the tools are covered in the “Tools for a DSN” section.
The check with supporting documents on the fictitious March DSN requests machine CSV with masked bank accounts and limite=2. The excerpt shows the tables for the file and its anomalies; the archive retains the dictionary used to link them.
donnees/contrats.csv
donnees/controles.csv
donnees/fichiers.csv
donnees/fichiers_anomalies.csv
donnees/fichiers_couverture.csv
donnees/origines_faits.csv
dictionnaire.jsoncle_ligne;commune;commune_etat;document_id;fichier;fichier_sha256;fichier_sha256_etat;lignes_lues;mois_principal;mois_principal_etat;nb_avertissements;nb_bloquants;norme;siret;siret_etat;statut;version_format
e33a90e4b9f2025a6c3db14abc7033fc52bde2cf4025ae9146cd26b8f1b91b33-1;;non disponible dans le rapport;d1;mars-2026.dsn;6a1dcbb1eb052666f11d5b4919af8a6b2abfb1d83131b839ff12068c7d4e7e3b;;3217;;non déclaré;2;6;DSN P26V01;;non déclaré;non_valide;21cle_ligne;cle_parent;code;declaration;declaration_ligne;document_id;fichier;fichier_sha256;gravite;libelle;libelle_rubrique;ligne;message;rubrique;valeur_date;valeur_date_etat
c05120f9db2831daa2019f4bb4a002fd2017c3dc6d2d2df2076959ddef2f8fdf-1;e33a90e4b9f2025a6c3db14abc7033fc52bde2cf4025ae9146cd26b8f1b91b33-1;S21.G00.30.006/CCH-11;1;17;d1;mars-2026.dsn;6a1dcbb1eb052666f11d5b4919af8a6b2abfb1d83131b839ff12068c7d4e7e3b;bloquant;Date de naissance;Libellé non disponible;528;année de naissance 1994 incohérente avec l'identifiant;S21.G00.30.006;1994-07-08;
5458e928f835cefddfef266bdd19874919538f9d720a515950149c2686319302-1;e33a90e4b9f2025a6c3db14abc7033fc52bde2cf4025ae9146cd26b8f1b91b33-1;S21.G00.40.021/SIG-11;1;17;d1;mars-2026.dsn;6a1dcbb1eb052666f11d5b4919af8a6b2abfb1d83131b839ff12068c7d4e7e3b;avertissement;Motif de recours;Libellé non disponible;1128;Motif de recours attendu pour le contrat non concerné par un dispositif de politique publique.;S21.G00.40.021;;non déclarédsnlint-connect controler-avec-pieces mars-2026.dsn \
--option masquer_comptes=true \
--option profil_csv=machine \
--option limite=2 \
--format csvFor the check, DSNLint Connect accepts several formats in one command and makes one call per format, plus a JSON call to read the verdict if that format is not requested. The command below asks for every format at once. Only the file list of the CSV archive is shown here; the JSON Lines stream has its own section.
Synthèse.csv
1 Déclarations.csv
2 Anomalies.csv
A Fondements.csv
B Sources.csv
D Détail.csv
LISEZMOI.txtdsnlint-connect controler contrat-duplique.dsn \
--option fichier=contrat-duplique.dsn \
--format text \
--format json \
--format csv \
--format pdf \
--format xlsx \
--format xml \
--format powerbiThe other documents do not all offer the same formats:
- The standard check and the check with supporting documents return 8 formats, including the JSON Lines stream, which is reserved for them (when no file is attached for the check with supporting documents), through the API and through DSNLint Connect.
- Official returns, substitution, payroll, HR statements and direct debits return 6 formats: text, json, csv, pdf, xlsx and powerbi, without xml or JSON Lines.
- Equality adds the egapro format, a CSV preparation sheet.
- Accounting adds the fec format, a file of verification entries.
- The CSV and Power BI of business documents are ZIP archives.
Each document has a versioned contract, described by a schema shipped with the software. Read the major version, validate the document against its schema, then read the fields. The schema is closed: an unknown field or version is refused.
- Document
- Check report
- Major version of the contract
- 24
- Document
- JSON Lines stream of the check
- Major version of the contract
- 23
- Document
- Official returns
- Major version of the contract
- 5
- Document
- Substitute DSN
- Major version of the contract
- 4
- Document
- Payroll
- Major version of the contract
- 6
- Document
- Payroll check file
- Major version of the contract
- 4
- Document
- Employee payroll check sheet
- Major version of the contract
- 4
- Document
- Direct debits
- Major version of the contract
- 4
- Document
- HR statements
- Major version of the contract
- 4
- Document
- HR documents (BDESE, social report, register, portfolio)
- Major version of the contract
- 4
- Document
- Gender equality
- Major version of the contract
- 3
- Document
- Social and economic committee (CSE) file
- Major version of the contract
- 3
- Document
- Accounting
- Major version of the contract
- 4
See how the price is calculated