Produce documents from DSN files
In the application, Documents menu: Payroll review, Totals and reductions, Direct debits, Social documents, Gender equality and Accounting; each screen offers the same choices as the API, described below. Each document has its own route and its own DSNLint Connect command. The table gives what each one produces, the documents it receives and its own options. All return the formats text, json, csv, pdf, xlsx and powerbi.
- Document
- Payroll
- What it produces
- The recomputed contributions, the payroll check file and the employee payroll check sheet.
- Input documents
- dsn (1 to 512); optional: saisie, parametres,
controle_paie, fpoc - Function-specific options
annee_controle, dossier, cumuls, charges, fiche (base or complete)
- Document
- Direct debits
- What it produces
- The statement of payment orders, of the declared tax withheld at source and of the accounts to debit.
- Input documents
- dsn (one or more); optional: saisie
- Function-specific options
annee_controle
- Document
- HR documents
- What it produces
- The HR statements, the BDESE, the social report, the draft staff register and an accountancy firm’s portfolio.
- Input documents
- dsn; saisie;
manifeste_socialfor the portfolio - Function-specific options
- periode (required), vue, annee,
date_version
- Document
- Equality
- What it produces
- The gender equality index, the social and economic committee (CSE) file and the Egapro sheet.
- Input documents
- dsn (twelve months); saisie
- Function-specific options
- periode (required), document,
dossier_cse
- Document
- Accounting
- What it produces
- The reconciliation of the DSN and the FEC, and the verification entries.
- Input documents
- dsn; fec (required, only one); optional: saisie
- Function-specific options
ecritures_controle
The shared masquer_comptes and profil_csv options are illustrated by the simple check in machine CSV in the “Check options” section.
See the simple check with masked accounts in machine CSV
A social report built in one click from your DSN: headcount, contract movements, payroll.
The social documents are prepared from the DSN: social statement, BDESE, social report… A public example loads the January 2026 DSN. One click on Prepare the document starts the calculation. The document says what is calculated from the DSN, entered, still to enter or masked. The “Social table” tab gives headcount, contract movements and payroll.
Payroll
DSNLint works back through the payroll, employee by employee. For each contribution, it gives the declared amount, the recomputed amount and the difference in euros, with the available bases, rates, rules and sources. When the conditions for recomputation are not established, the recomputed amount and difference are marked “not recomputed”, with the reason given. Without options, you get the statement of recomputed contributions.
Paie : 8 lignes, 3 recalculées, 1 écart à vérifier. Résultat complet.
Les bases sont déclarées ; les taux sont publiés ou explicitement déclarés. Les choix de l’employeur sont saisis. Le recalcul n’affecte pas le verdict au regard de la norme.
vieillesse-plafonnee-nominal.dsn — contrôle de la norme : Conforme, 0 anomalie bloquante
URSSAF — individuel 076 — ligne 116 — établissement 00000036400018 — individu 1000000364000001 — contrat FICTIF-001
Déclaré : 154,50 € ; recalculé : 154,50 € ; écart (déclaré − recalculé) : 0,00 €
Base 02 déclarée : 1 000,00 € ; taux barème officiel : 15,45 %
Assiette individuelle déclarée : 1 000,00 €
Assiette utilisée déclarée : 1 000,00 €
recalculée [INFORMATION] : Aucun écart au calcul dans la résolution publiée
Règle : Assiette utilisée de base 02 (déclarée) × 15,45 % ; assiette déclarée non recontrôlée
Arrondi : Calcul arithmétique exact ; arrondi nominatif non publié (guide Urssaf, 1.6)
Barème 2026.1 : 1er janvier 2026 à 31 décembre 2026 ; variante standard ; plafond plafond déclaré
Période déclarée : 1er juin 2026 à 30 juin 2026
Source : Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN-v5.1-2026.pdf ; 1.3 ; 1.6 ; 3.1 à 3.3 ; 6.4 Reprise de crédit ; version 5.1 ; date 4 juin 2026 ; SHA-256 7be4aabb6c3b0c7f118d7232e22580e705e01d7d5d8b0080c3328de5a33c4456 ; provenance Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN-v5.1-2026.pdf.meta.json
https://www.urssaf.fr/files/live/sites/urssaffr/files/outils-documentation/guides/Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN.pdf
Source : fiche-3360-application-des-principes-du-fait-generateur.md ; Partie 1 ; 1.1 ; Corrections ; période transitoire 2026 ; version fiche 3360 ; date 30 janvier 2026 ; SHA-256 66dcd3b7d0f4f0ee7fe0e3d5ac5e0cc2c8c2d0358f945f25f57f5bd0d2a4e411 ; provenance fiche-3360-application-des-principes-du-fait-generateur.md.meta.json
https://net-entreprises.custhelp.com/app/answers/detail_dsn/a_id/3360
Source : dsn-cahier-technique-2026.1.pdf ; S21.G00.22 ; S21.G00.23 ; S21.G00.78 ; S21.G00.81 ; version P26V01 ; date 24 décembre 2025 ; SHA-256 76749006e12a0a8bdbffb085ebed8666276043b08a0b1b38385095b04ff68536 ; provenance dsn-cahier-technique-2026.1.pdf.meta.json
https://www.net-entreprises.fr/declaration/norme-et-documentation-dsn/
Source : code-securite-sociale-cotisations-reductions.html ; D242-4 ; L137-15 à L137-17 ; L136-8 ; version articles en vigueur au 11 octobre 2026 ; date 1er janvier 2026 ; SHA-256 088547f5fbc9bde5c81879ede5118171956f65c99b726feac361b91af2e7f240 ; provenance code-securite-sociale-cotisations-reductions.html.meta.json
https://www.legifrance.gouv.fr/codes/id/LEGITEXT000006073189/
Brut au net — individuel PAIE-NET-IMPOSABLE — ligne 71 — établissement 00000036400018 — individu 1000000364000001 — contrat FICTIF-001dsnlint-connect paie vieillesse-plafonnee-nominal.dsn --format textThe options dossier, cumuls and charges enable the same payroll check file: supplementary scheme cases DSNLint can recompute, MSA, the public Urssaf share, totals for the months supplied and a statement of contribution liabilities. The fiche option, payroll check data (controle_paie) or an fpoc document also enables this file. In this example, a health-cover contribution is declared at €20.00 and recomputed at €12.80 from the insurer’s form.
Document de contrôle, non valable comme bulletin de paie
Fiche de contrôle du salarié — DSNLint
Salarié : PERSONNE SYNTHETIQUE TEMOIN — établissement 73282932000074 — mois janvier 2026
Brut déclaré : 3 200,00 (déclarée)
Rémunération nette fiscale déclarée : 2 500,00 (déclarée)
PAS déclaré : 361,60 (déclarée)
Net versé déclaré avant PAS : 3 000,00 (déclarée)
Net à payer théorique : 2 638,40 (recalculée)
Code APET : 6201Z (déclaré)
Code postal de l’établissement : 75001 (déclaré)
Localité de l’établissement : PARIS (déclaré)
Numéro de contrat : CDI-001 — déclaré, ligne 57Prévoyance et mutuelle OC-MONTANT : recalculée ; déclaré 20,00 €, recalculé 12,80 €, écart 7,20 €
Règle : Cas A ; 79 ligne 119 nature 11 montant 3 200,00 € × 0,40 % = 12,80 €, arrondi unitaire au centime ; somme par affiliation ; parts patronale et salariale non ventilées ; Centime par composant, déduit des exemples V16 cas A ; demi-centime non départagé ; tolérance 1,00 euro ; Le montant déclaré ne semble pas correspondre au calcul documenté
Référence : DSN-FPOC-presentation-V16-2026-04-24.pdf — V16 — Contrôle des Montants 79 et 81 ; cas A et BPrévoyance et mutuelle — OC-MONTANT : recalculée ; déclaré 20,00 € ; recalculé 12,80 € ; écart 7,20 € ; Cas A ; 79 ligne 119 nature 11 montant 3 200,00 € × 0,40 % = 12,80 €, arrondi unitaire au centime ; somme par affiliation ; parts patronale et salariale non ventilées ; Centime par composant, déduit des exemples V16 cas A ; demi-centime non départagé ; tolérance 1,00 euro ; Le montant déclaré ne semble pas correspondre au calcul documentédsnlint-connect paie oc-a-ecart.dsn \
--piece fpoc=oc-a-ecart.xml \
--option dossier=true \
--format textWith cumuls=true, this request processes the fictional January and February DSNs. The JSON excerpt retains the first cumulative amount, the months included and its source references.
"dossier_controle_paie"{
"annee_controle": 2026,
"charges": true,
"controle": null,
"cumuls": true,
"dossier": true,
"fiche": null,
"fpoc": [],
"masquer_comptes": false,
"parametres": null,
"saisie": null
}{
"ancrages": [
{
"ligne": 1200,
"source_id": "f1"
},
{
"ligne": 1200,
"source_id": "f2"
}
],
"annee": 2026,
"individu": "1020535238806",
"libelle": "cumul des mois fournis",
"limite": "Mois non fournis et autres employeurs : non couvert ; aucun cumul annuel juridique supposé",
"mois": [
{
"origine": "declaree",
"valeur": "2026-01",
"valeur_declare": "202601"
},
{
"origine": "declaree",
"valeur": "2026-02",
"valeur_declare": "202602"
}
],
"origine": "recalculee",
"origine_detail": "somme de valeurs déclarées",
"rubrique": "Base déclarée 02",
"siret": "73282932000074",
"valeur": "3900.00"
}dsnlint-connect paie janvier-2026.dsn fevrier-2026.dsn --option cumuls=true --format jsonFor the same months, charges=true also enables the checking dossier. The JSON excerpt retains the first row of the charges statement.
"dossier_controle_paie"{
"annee_controle": 2026,
"charges": true,
"controle": null,
"cumuls": true,
"dossier": true,
"fiche": null,
"fpoc": [],
"masquer_comptes": false,
"parametres": null,
"saisie": null
}{
"code": "",
"debut": "2026-01-01",
"debut_declare": "20260101",
"debut_origine": "declaree",
"declare": "9956.00",
"ecart": null,
"etat": "non recalculé",
"fin": "2026-01-31",
"fin_declare": "20260131",
"fin_origine": "declaree",
"lignes": [
{
"declare": "9956.00",
"ligne": 43,
"raison": "Non recalculé : barème ou formule non fondés dans les volets qualifiés ; paiement distinct de la dette",
"recalcule": null,
"source_id": "f1"
}
],
"niveau": "paiement",
"organisme": "75357004300012",
"qualifiant": "",
"recalcule": null,
"regle": "Somme par organisme, code, qualifiant, niveau et période ; aucun paiement assimilé à une dette ; aucun arrondi nominatif supplémentaire",
"siret": "73282932000074"
}dsnlint-connect paie janvier-2026.dsn fevrier-2026.dsn --option charges=true --format jsonThis payroll request sets annee_controle=2026 on the fictional April DSN. The JSON excerpt retains the options, including the check year.
"paie"{
"annee_controle": 2026,
"charges": false,
"controle": null,
"cumuls": false,
"dossier": false,
"fiche": null,
"fpoc": [],
"masquer_comptes": false,
"parametres": null,
"saisie": null
}dsnlint-connect paie avril-2026.dsn --option annee_controle=2026 --format jsonReductions and net pay. With every DSN file for the year, or since hiring, and the contract parameters (parametres document: headcount, progressive or single annual adjustment), DSNLint recomputes the year’s general reduction in the last month of the year or of employment, under articles L. 241-13 and D. 241-7 to D. 241-11 of the French Social Security Code. This amount is given for checking: it is not yet capped at the contributions actually due. Net social pay is taken as declared. Pay is compared with the minimum wage (Smic) for information only, over a whole month. The full employer cost is not established.
Two real outputs: the general reduction for the year, and from gross to net
The fiche option is base or complete. The employee payroll check sheet gives the identity, the period, the gross pay, the taxable net pay, the tax withheld at source and the net paid, all declared. Theoretical net pay is declared net paid minus declared tax withheld at source. What the DSN does not contain, for example the employer’s name, stays “not declared in the DSN”.
Document de contrôle, non valable comme bulletin de paie
Fiche de contrôle du salarié — DSNLint
Salarié : ZAAAAAB YAAAAAB — établissement 80000000200017 — mois janvier 2026
Brut déclaré : 3 200,00 (déclarée)
Rémunération nette fiscale déclarée : 2 500,00 (déclarée)
PAS déclaré : 361,60 (déclarée)
Net versé déclaré avant PAS : 3 000,00 (déclarée)
Net à payer théorique : 2 638,40 (recalculée)
Code APET : 6201Z (déclaré)
Code postal de l’établissement : 75001 (déclaré)
Localité de l’établissement : VAAA (déclaré)
Numéro de contrat : ZXAAAAAB — déclaré, ligne 74
Emploi déclaré : ZXQ — déclaré, ligne 71
Code convention collective : 0016 — déclaré, ligne 80
Rémunération nette fiscale déclarée : 2 500,00 — déclaré, ligne 95
Net versé déclaré avant PAS : 3 000,00 — déclaré, ligne 96
PAS déclaré : 361,60 — déclaré, ligne 100
Montant soumis au PAS déclaré : 3 200,00 — déclaré, ligne 101
Date de versement : 31 janvier 2026 — déclaré, ligne 94
Brut déclaré : 3 200,00 — déclaré, ligne 121
Montant net social déclaré : 2 500,00 — déclaré, ligne 123
Base déclarée 31 : 0,00 — déclaré, ligne 127
Base déclarée 03 : 3 200,00 — déclaré, ligne 136
Base déclarée 02 : 3 200,00 — déclaré, ligne 140dsnlint-connect paie mensuelle-complete.dsn --option fiche=complete --format textDirect debits
The statement lists the declared payment orders, reconciles the tax withheld at source with the individual deductions, gives the latest deadlines and flags a change to the account debited from one month to the next. It produces no transfer file. Without a classification entered by you (headcount, quarterly option, sole payer), amounts and differences stay an arithmetic statement. With the masquer_comptes option, only the last four characters of IBAN and BIC are returned. The example compares two months.
Prélèvements : 48 éléments, 1 écart à vérifier. Résultat complet.
Montants déclarés, différences arithmétiques et qualifications saisies ; le relevé n’affecte pas le verdict au regard de la norme. Aucun fichier de virement produit.
comptes-juin.dsn — contrôle de la norme : Conforme, 0 anomalie bloquante
comptes-juillet-change.dsn — contrôle de la norme : Conforme, 0 anomalie bloquantecomptes-juillet-change.dsn — établissement 00000036400018 — mois juillet 2026 — ligne 36 — DGFIP
écart [INFORMATION] : Le compte à débiter déclaré pour DGFIP diffère de celui du mois précédent. Si ce changement est voulu, vérifier que le mandat SEPA correspondant est enregistré auprès de l’organisme avant l’échéance.
Déclaré non déclaré ; recalculé non recalculé ; écart non recalculé
Règle PRLV-COMPTE : Comparer les ensembles BIC/IBAN de deux mois successifs, par établissement, organisme, affectation et délégataire ; 1er janvier 2026 à 31 décembre 2026 ; Sans arrondi ; quatre derniers caractères seulement
Sources : prlv-ct-2026, prlv-guide-pas
Affectation et délégataire (déclaré) : DGFIP_PAS ; délégataire non déclaré
Comptes du mois courant (masqués) (déclaré) : BIC ••••FRPP, IBAN ••••0194
Comptes du mois précédent (masqués) (déclaré) : BIC ••••FRPP, IBAN ••••0097dsnlint-connect prelevements comptes-juin.dsn comptes-juillet-change.dsn \
--option masquer_comptes=true \
--format textHR
The period is required: write it in the form 2026-01:2026-12. Without the vue option, you get the statements. The four other views also require annee, from 2026 to 2099, and date_version, a date in YYYY-MM-DD format that you supply: no clock is consulted. These two options are refused for the statements.
- View
- social (default)
- What it prepares
- The HR statements (people present, contractual FTE, contract movements, turnover), payroll and headcount thresholds.
- View
- bdese
- What it prepares
- The pre-filled BDESE (economic, social and environmental database), in a dated, read-only version.
- View
- bilan
- What it prepares
- The pre-filled social report, for the past year and the two before, in a dated, read-only version.
- View
- registre
- What it prepares
- The draft staff register, by establishment. It necessarily identifies individuals and does not replace the staff register.
- View
- portefeuille
- What it prepares
- A read-only view for accountancy firms, client by client: thresholds, deadlines and data-entry progress. It receives a manifest, the
manifeste_socialdocument, which identifies each client’s DSN files and entered data.
The HR statements count people and contract movements; FTE is contractual, not a statement of hours worked. What the DSN does not carry, such as training, promotions, agency temps or paid leave, stays “to be entered”: DSNLint asks for it, it does not guess it. A group that is too small is masked with its value, to protect the people in it: the document shows “headcount too small”. The threshold, a DSNLint convention, is five distinct people; you can set it in the entry, down to two at least. It also applies when the headcount is not established.
DSNLint Social — période : janvier 2026 à janvier 2026
Relevé agrégé : les calculs sont des estimations non opposables et seul l’effectif notifié par l’Urssaf fait foi ; les conventions de calcul restent à valider.
800000002 · janvier 2026 · RH
Effectif présent observé [80000000200017] : 3,00 personnes (recalculée)
Établissement 80000000200017 ; contrats actifs au moins un jour, fin incluse ; mouvements de contrats, pas personnes uniques. Regroupements recalculés depuis les valeurs déclarées.
Source : Cahier technique DSN ; S21.G00.30, 40, 51, 53, 54, 60, 62, 86 ; version 2026.1 du 24 décembre 2025.
800000002 · janvier 2026 · RH
ETP contractuel observé — estimation [80000000200017] : 3,00 ETP (recalculée)
Prorata contractuel de présence, distinct des heures réellement travaillées ; paramètres proposés explicitement.
Source : Règles URSSAF de calcul des effectifs ; Agrégations ; RDG1, RDG3, RDG4, RDG8 ; version 4.1 du 9 février 2026.
800000002 · janvier 2026 · RH
Rotation de contrats — convention [80000000200017] : 0,00 % (recalculée)
Convention proposée : (entrées + sorties) / 2 / présents × 100 ; paramètres versionnés, aucune définition légale imputée au CT.
Source : Cahier technique DSN ; S21.G00.30, 40, 51, 53, 54, 60, 62, 86 ; version 2026.1 du 24 décembre 2025.
800000002 · janvier 2026 · RH
Masse de rémunération brute déclarée [effectif trop faible] : effectif trop faible (masquée)
Effectif trop faible ou non établi : groupe et valeur non diffusés. Convention DSNLint, seuil de 5 personnes ; seuil proposé, modifiable par saisie, sans fondement réglementaire imputé.
Source : Cahier technique DSN ; S21.G00.30, 40, 51, 53, 54, 60, 62, 86 ; version 2026.1 du 24 décembre 2025.
800000002 · janvier 2026 · RHdsnlint-connect social mensuelle-complete.dsn --option periode=2026-01:2026-01 --format textIn the portfolio, completeness measures the progress of the entries, not compliance. In curl, the portfolio manifest is one more document.
DSNLint Social — Portefeuille d’un cabinet
Version du 21 octobre 2026 ; DSN : janvier 2026 à décembre 2026 ; lecture seule : oui
Vue préparatoire en lecture seule : une valeur calculée porte sur les données fournies, jamais sur une obligation ni sur la conformité ; l’avancement mesure la saisie.
0 mentions renseignées, 10 à saisir.
800000002 · 2026 · client-synthetique
Seuil 11 — effectif travail : à saisir (à saisir)
Effectif travail à saisir ; au moins 11 pendant douze mois consécutifs ; L1251-54 absent ; douze mois complets non établis, aucune obligation conclue
Source : L2311-2 version 1er janvier 2018 ; L1111-2/-3.
800000002 · 2026 · client-synthetique
Seuil 20 — effectif css : à saisir (à saisir)
Effectif css à saisir ; cinq années civiles consécutives ; statut d’assujettissement à qualifier ; EMA CSS observée sur 2026, référence CSS pour 2027 ; DOETH selon D5212-1, année du relevé distincte de l’année de dépôt ; cinq années civiles consécutives non établies
Source : L5212-1 ; D5212-1 ; L130-1 II version 1er janvier 2025.
800000002 · 2026 · client-synthetique
Seuil 50 — effectif travail : à saisir (à saisir)
Effectif travail à saisir ; aucune obligation conclue
Source : Fondement du seuil de la base de données économiques, sociales et environnementales (articles L2312-8 et L2312-17) : ne figure pas dans les sources de DSNLint ; le vérifier hors de DSNLint.
800000002 · 2026 · client-synthetique
Seuil 250 — effectif css : à saisir (à saisir)
Effectif css à saisir ; statut fiscal, insertion professionnelle et durée à qualifier ; EMA CSS observée sur 2026, référence CSS pour 2027 ; DOETH selon D5212-1, année du relevé distincte de l’année de dépôt ; cinq années civiles consécutives non établies
Source : CT DSN 2026.1 / 2027.1.2, §2.3.1 contribution supplémentaire à l’apprentissage ; L130-1.dsnlint-connect social mensuelle.dsn \
--piece manifeste_social=portefeuille.json \
--option periode=2026-01:2026-12 \
--option vue=portefeuille \
--option annee=2026 \
--option date_version=2026-10-21 \
--format textcurl -X POST "$DSNLINT_API_URL/v1/social" \
-H "Authorization: Bearer $DSNLINT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-F 'manifeste={"version":1,"fonction":"social","options":{"periode":"2026-01:2026-12","vue":"portefeuille","annee":2026,"date_version":"2026-10-21","format":"text"},"pieces":[{"id":"p0","role":"dsn","nom":"mensuelle.dsn","taille":7643},{"id":"p1","role":"manifeste_social","nom":"portefeuille.json","taille":86}]};type=application/json' \
-F 'p0=@mensuelle.dsn;filename=mensuelle.dsn' \
-F 'p1=@portefeuille.json;filename=portefeuille.json' \
-o rapport.txtimport { readFile, writeFile } from "node:fs/promises";
import { randomUUID } from "node:crypto";
const headers = {
"Authorization": "Bearer " + process.env.DSNLINT_API_KEY,
"Idempotency-Key": randomUUID(),
};
const form = new FormData();
form.append("p0", new Blob([await readFile("mensuelle.dsn")], { type: "application/octet-stream" }), "mensuelle.dsn");
form.append("p1", new Blob([await readFile("portefeuille.json")], { type: "application/octet-stream" }), "portefeuille.json");
const encoded = new Response(form);
headers["Content-Type"] = encoded.headers.get("Content-Type");
const boundary = headers["Content-Type"].split("boundary=")[1];
const body = new Blob([
`--${boundary}\r\nContent-Disposition: form-data; name="manifeste"\r\nContent-Type: application/json\r\n\r\n`,
"{\"version\":1,\"fonction\":\"social\",\"options\":{\"periode\":\"2026-01:2026-12\",\"vue\":\"portefeuille\",\"annee\":2026,\"date_version\":\"2026-10-21\",\"format\":\"text\"},\"pieces\":[{\"id\":\"p0\",\"role\":\"dsn\",\"nom\":\"mensuelle.dsn\",\"taille\":7643},{\"id\":\"p1\",\"role\":\"manifeste_social\",\"nom\":\"portefeuille.json\",\"taille\":86}]}", "\r\n", await encoded.arrayBuffer(),
]);
const response = await fetch(process.env.DSNLINT_API_URL + "/v1/social", {
method: "POST", headers, body, signal: AbortSignal.timeout(120000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
await writeFile("rapport.txt", new Uint8Array(await response.arrayBuffer()));import os
import uuid
import urllib.request
headers = {
"Authorization": "Bearer " + os.environ["DSNLINT_API_KEY"],
"Idempotency-Key": str(uuid.uuid4()),
}
boundary = "dsnlint-" + str(uuid.uuid4())
headers["Content-Type"] = "multipart/form-data; boundary=" + boundary
chunks = [
("--" + boundary + '\r\nContent-Disposition: form-data; name="manifeste"\r\nContent-Type: application/json\r\n\r\n').encode(),
"{\"version\":1,\"fonction\":\"social\",\"options\":{\"periode\":\"2026-01:2026-12\",\"vue\":\"portefeuille\",\"annee\":2026,\"date_version\":\"2026-10-21\",\"format\":\"text\"},\"pieces\":[{\"id\":\"p0\",\"role\":\"dsn\",\"nom\":\"mensuelle.dsn\",\"taille\":7643},{\"id\":\"p1\",\"role\":\"manifeste_social\",\"nom\":\"portefeuille.json\",\"taille\":86}]}".encode("utf-8"), b"\r\n",
]
chunks.append(("--" + boundary + "\r\nContent-Disposition: form-data; name=\"p0\"; filename=\"mensuelle.dsn\"\r\nContent-Type: application/octet-stream\r\n\r\n").encode())
with open("mensuelle.dsn", "rb") as source:
chunks.extend([source.read(), b"\r\n"])
chunks.append(("--" + boundary + "\r\nContent-Disposition: form-data; name=\"p1\"; filename=\"portefeuille.json\"\r\nContent-Type: application/octet-stream\r\n\r\n").encode())
with open("portefeuille.json", "rb") as source:
chunks.extend([source.read(), b"\r\n"])
chunks.append(("--" + boundary + "--\r\n").encode())
body = b"".join(chunks)
request = urllib.request.Request(os.environ["DSNLINT_API_URL"] + "/v1/social",
data=body, headers=headers, method="POST")
with urllib.request.urlopen(request, timeout=120) as response:
if not 200 <= response.status < 300:
raise RuntimeError(f"HTTP {response.status}")
with open("rapport.txt", "wb") as output:
output.write(response.read())<?php
$headers = [
'Authorization: Bearer ' . getenv('DSNLINT_API_KEY'),
'Idempotency-Key: ' . bin2hex(random_bytes(16)),
];
$boundary = "dsnlint-" . bin2hex(random_bytes(16));
$headers[] = "Content-Type: multipart/form-data; boundary=" . $boundary;
$body = "--$boundary\r\nContent-Disposition: form-data; name=\"manifeste\"\r\nContent-Type: application/json\r\n\r\n"
. '{"version":1,"fonction":"social","options":{"periode":"2026-01:2026-12","vue":"portefeuille","annee":2026,"date_version":"2026-10-21","format":"text"},"pieces":[{"id":"p0","role":"dsn","nom":"mensuelle.dsn","taille":7643},{"id":"p1","role":"manifeste_social","nom":"portefeuille.json","taille":86}]}' . "\r\n";
$files = [
'p0' => new CURLFile('mensuelle.dsn', 'application/octet-stream', 'mensuelle.dsn'),
'p1' => new CURLFile('portefeuille.json', 'application/octet-stream', 'portefeuille.json'),
];
foreach ($files as $name => $file) {
$bytes = file_get_contents($file->getFilename());
if ($bytes === false) { exit(1); }
$body .= "--$boundary\r\nContent-Disposition: form-data; name=\"$name\"; filename=\""
. $file->getPostFilename() . "\"\r\nContent-Type: " . $file->getMimeType()
. "\r\n\r\n" . $bytes . "\r\n";
}
$body .= "--$boundary--\r\n";
$curl = curl_init(getenv('DSNLINT_API_URL') . '/v1/social');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_HTTPHEADER => $headers,
CURLOPT_POSTFIELDS => $body, CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_TIMEOUT => 120,
]);
$response = curl_exec($curl);
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
if ($response === false || $status < 200 || $status >= 300) {
fwrite(STDERR, "HTTP $status\n");
exit(1);
}
if (file_put_contents('rapport.txt', $response) === false) { exit(1); }Gender equality
The period is required: twelve consecutive months, for example 2026-01:2026-12, with the DSN of each month. You enter what the DSN does not carry, first of all the qualifying headcount. Below 50 employees, or with no headcount entered, the index cannot be calculated: the document is still complete, and the API answers 200.
The document option is public, by default, for the public summary, or cse for the social and economic committee (CSE) file alone, which can be requested in JSON, PDF, Excel or CSV (excel-fr or machine profile). The dossier_cse option returns a ZIP that gathers the report and the CSE file; it cannot be combined with document cse. The egapro format returns a CSV preparation sheet to copy onto the Egapro site: DSNLint transmits nothing and provides no confirmation of filing.
Index de l’égalité professionnelle : non calculable
Non calculable : Effectif d’assujettissement non saisi
Code du travail, annexe II (D1142-2-1) ; 3 salariés retenus
Écart de rémunération : non calculable (Données ou conventions indisponibles) — Code du travail, annexe II (D1142-2-1), §4.1 (décret n° 2019-15, version du 1er janvier 2019)
Écart d’augmentations individuelles : non calculable (Liste non saisie ; absence de saisie distincte d’une liste vide) — Code du travail, annexe II (D1142-2-1), §4.2 (décret n° 2019-15, version du 1er janvier 2019)
Augmentations au retour de maternité : non calculable (Retours éligibles et augmentations non saisis) — Code du travail, annexe II (D1142-2-1), §4.3 (décret n° 2019-15, version du 1er janvier 2019)
Sexe sous-représenté parmi les dix plus hautes rémunérations : non calculable (Moins de dix salariés retenus : motif hors de la liste limitative du §5.1 ; aucune proportionnalité — Code du travail, annexe II (D1142-2-1), §4.4 (décret n° 2019-15, version du 1er janvier 2019)) — Code du travail, annexe II (D1142-2-1), §4.4 (décret n° 2019-15, version du 1er janvier 2019)
Conventions (proposées, jamais validées par défaut) :Avertissements de préparation, indépendants du verdict DSN :
: Périmètre DSN incomplet, fractionné ou dupliqué : aucun index global — Annexes I et II §§1 à 3 ; couverture DSN
S21.G00.40.013 : Donnée non exploitable pour l’index ; consulter aussi le contrôle de la norme — CT2026.1 p. 189 / CT2027.1 p. 189, S21.G00.40.013, définition : quotité du contrat
S21.G00.52.001 : L’absence de prime ou d’indemnité en DSN n’atteste pas l’absence de versement ; qualifier sujétion, ancienneté, rupture, intéressement et participation dans la convention de rémunération (§3) — CT2026.1 p. 251 / CT2027.1 p. 253, S21.G00.52.001, définition : primes et indemnités de rupture ; sujétion et ancienneté à qualifierdsnlint-connect egalite mensuelle.dsn \
--piece saisie=egalite.json \
--option periode=2026-01:2026-12 \
--option document=public \
--format textOn the same fictional example, dossier_cse=true requests the report and the social and economic committee (CSE) dossier in a ZIP. The excerpt gives the member names and the start of both JSON documents.
dossier-cse.json
rapport.json{
"$schema": "urn:intek-center:dsnlint:egalite:cse:3",
"document": "egalite_cse",
"fichiers": [
{
"id": "f1",
"nom": "mensuelle.dsn",
"origine_empreinte": "disponible",
"origine_nom": "declaree",
"raison": null,
"role": "dsn",
"sha256": "3dc07e40edc864e032293e6ad55779146ec8be97f23bbabab6b8ce986fec701f"{
"$schema": "urn:intek-center:dsnlint:egalite:rapport:3",
"document": "egalite",
"fichiers": [
{
"id": "f1",
"nom": "mensuelle.dsn",
"origine_empreinte": "disponible",
"origine_nom": "declaree",
"raison": null,
"role": "dsn",
"sha256": "3dc07e40edc864e032293e6ad55779146ec8be97f23bbabab6b8ce986fec701f"dsnlint-connect egalite mensuelle.dsn \
--piece saisie=egalite.json \
--option periode=2026-01:2026-12 \
--option dossier_cse=true \
--format jsonAccounting
The FEC (the French accounting entries file) is required: a single fec document, as a flat file (tabs or vertical bar) or as XML (commercial, commercial IR, agricultural and non-commercial profits schemes). DSNLint reconciles the amounts in the DSN and in the FEC, month by month. It proposes the accounts, you confirm them in the entry, and each difference calls for your explanation: DSNLint reports it without calling it an error, and assumes no obligation for the DSN and the FEC to match.
With the ecritures_controle option, when entries are produced, you receive a ZIP containing the report and a file of verification entries. Each entry is marked “verification entries, to be validated”: this file is not the complete tax FEC. The fec format returns this entries file alone; it cannot be combined with ecritures_controle. If the FEC is rejected on tax grounds, the response remains HTTP 200 with X-DSN-Code-Sortie set to 2. The ZIP then contains only the report, and the fec format returns a text diagnostic, without an empty entries file.
Comptabilité — lecture achevée, 12 lignes FEC
Empreinte FEC : 98e37282994bdd205023af7e026dec01ec3a004a134d0aba49be9326856386cf
Les différences descriptives ne constituent pas une obligation de concordance.
Rémunérations brutes — non saisi — janvier 2026 : à saisir
FEC non évalué ; DSN déclarée 9 600,00 EUR ; différence non évalué
Compte 641 proposé, à confirmer ; type 001 : assiette de Sécurité sociale, distincte du brut comptable ; 52 et 54 à part
Clés : 51.002 / mois d’EcritureDate
Source : PCG 1221-64;CT S21.G00.51.011,013 (Plan comptable général, règlement ANC 2014-03 : 1er janvier 2026 (Consolidation au 1er janvier 2026) ; Cahier technique DSN P26V01 : 24 décembre 2025 (CT2026.1) ; Cahier technique DSN P27V01 : 9 septembre 2026 (CT2027.1.2)) ; S21.G00.51.013(type 001)
Rémunérations brutes — non saisi — juin 2026 : à saisir
FEC non évalué ; DSN déclarée non évalué ; différence non évalué
Compte 641 proposé, à confirmer ; type 001 : assiette de Sécurité sociale, distincte du brut comptable ; 52 et 54 à part
Clés : 51.002 / mois d’EcritureDate
Source : PCG 1221-64;CT S21.G00.51.011,013 (Plan comptable général, règlement ANC 2014-03 : 1er janvier 2026 (Consolidation au 1er janvier 2026) ; Cahier technique DSN P26V01 : 24 décembre 2025 (CT2026.1) ; Cahier technique DSN P27V01 : 9 septembre 2026 (CT2027.1.2)) ; S21.G00.51.013(type 001)
Rémunérations brutes — non saisi — juillet 2026 : à saisir
FEC non évalué ; DSN déclarée non évalué ; différence non évalué
Compte 641 proposé, à confirmer ; type 001 : assiette de Sécurité sociale, distincte du brut comptable ; 52 et 54 à part
Clés : 51.002 / mois d’EcritureDate
Source : PCG 1221-64;CT S21.G00.51.011,013 (Plan comptable général, règlement ANC 2014-03 : 1er janvier 2026 (Consolidation au 1er janvier 2026) ; Cahier technique DSN P26V01 : 24 décembre 2025 (CT2026.1) ; Cahier technique DSN P27V01 : 9 septembre 2026 (CT2027.1.2)) ; S21.G00.51.013(type 001)
Charges patronales — non saisi — janvier 2026 : à saisir
FEC non évalué ; saisie non évalué ; différence non évaluédsnlint-connect compta declaration.dsn \
--piece fec=comptabilite.fec \
--piece saisie=saisie-comptable.json \
--format textOn the public “differences” accounting example, ecritures_controle=true requests the ZIP containing the report and checking entries. The input confirms the accounts required for these entries. The excerpt retains the member names and their first lines.
ecritures-controle.txt
rapport.txtJournalCode JournalLib EcritureNum EcritureDate CompteNum CompteLib CompAuxNum CompAuxLib PieceRef PieceDate EcritureLib Debit Credit EcritureLet DateLet ValidDate Montantdevise Idevise
CTRL Contrôle comptable CTRL-000001 20260731 442100 Compte saisi DSN-202606-79e256de5790b206c70e182a20ce32dbe02b7e42ab44d4130081b1c292240505 20260731 écritures de contrôle, à valider 7,00 0,00
CTRL Contrôle comptable CTRL-000001 20260731 471000 Compte saisi DSN-202606-79e256de5790b206c70e182a20ce32dbe02b7e42ab44d4130081b1c292240505 20260731 écritures de contrôle, à valider 0,00 7,00
CTRL Contrôle comptable CTRL-000002 20260731 442100 Compte saisi DSN-202606-79e256de5790b206c70e182a20ce32dbe02b7e42ab44d4130081b1c292240505-36 20260731 écritures de contrôle, à valider 100,00 0,00
CTRL Contrôle comptable CTRL-000002 20260731 512000 Compte saisi DSN-202606-79e256de5790b206c70e182a20ce32dbe02b7e42ab44d4130081b1c292240505-36 20260731 écritures de contrôle, à valider 0,00 100,00Comptabilité — lecture achevée, 12 lignes FEC
Empreinte FEC : 98e37282994bdd205023af7e026dec01ec3a004a134d0aba49be9326856386cf
Les différences descriptives ne constituent pas une obligation de concordance.
Rémunérations brutes — 6411 — juin 2026 : différence à expliquer
FEC 1 007,00 EUR ; DSN déclarée 1 000,00 EUR ; différence 7,00 EUR
Montants différents, explication attendue ; type 001 : assiette de Sécurité sociale, distincte du brut comptable ; 52 et 54 à part
Clés : 51.002 / mois d’EcritureDate
Source : PCG 1221-64;CT S21.G00.51.011,013 (Plan comptable général, règlement ANC 2014-03 : 1er janvier 2026 (Consolidation au 1er janvier 2026) ; Cahier technique DSN P26V01 : 24 décembre 2025 (CT2026.1) ; Cahier technique DSN P27V01 : 9 septembre 2026 (CT2027.1.2)) ; S21.G00.51.013(type 001)
Charges patronales — 6451 — juin 2026 : différence à expliquer
FEC 207,00 EUR ; saisie 200,00 EUR ; différence 7,00 EURdsnlint-connect compta mensuelle.dsn \
--piece fec=differences.fec \
--piece saisie=differences.saisie.json \
--option ecritures_controle=true \
--format textThe API functions and their routes