Skip to content
For linking each official return to its DSN

Anomaly reports and CRM: read the official DSN returns

Link each official return to its DSN and to the anomaly it reports. DSNLint reads the acknowledgements, anomaly reports and feedback reports you supply, identifies every file and looks for the DSN matching each return. The report lists the links found, missing or ambiguous.

A real document

2. Déclarations et anomalies reçues — Fichier Déclaration Contrôle reçu Catégorie Rubrique Rapprochement Nombre — Non renseigné 1 CSL-00 Non S20.G00.05.004 Trouvée par DSNLint 1

Official returns file (Dossier des retours)

Page 3 of 4. Fictitious company, document produced by DSNLint and dated 26 October 2026.

Download the PDF (80.4 kB)

What the official returns report contains

A normalised file, separate from the DSN check: what is read, linked or unread is all listed.
  • Every file is named
    Every file in a folder or zip appears in the report, even an unknown one; the SHA-256 fingerprint covers the bytes read, after decompression for a file taken from an archive.
  • Official formats supported
    DSNLint reads acknowledgements, anomaly reports, business feedback reports (CRM) in the Net-entreprises NEOReS format and CRM on rates, each version against its official schema.
  • Linked to the DSN you supply
    DSNLint matches each return with the DSN on every identifier available; the criteria it could not compare are listed.
  • Anomalies matched to DSNLint checks
    The report states whether DSNLint found each reported anomaly. A missing match is an informative signal, not a verdict.
  • Notified rates matched
    DSNLint matches CRM 34 (AT/MP) and CRM 117 (bonus-malus) supplied with a DSN against the rates declared in that DSN.
  • The PAS CRM 93 and 94
    The harmonised CRM 93 and 94 on income tax withheld at source (PAS) are read: rates, dates, identifiers, codes, labels and values are returned as received. Another version is never read with a neighbouring schema.
  • Identities masked
    NIR and NTT numbers read in the returns and in the DSN files supplied are masked, free-text messages included: only their last four characters remain visible. An NTT quoted only in free text, with no DSN supplied to recognise it, may remain visible.
  • A file you keep
    The JSON output is the normalised file your platform can keep; DSNLint keeps no return.
  • What is not read is stated
    An unknown, partial or non-compliant file, a PDF or an unavailable DSN stays visible.

In the application

In the application, you drop the returns received after a filing (XML or PDF, alone or in a ZIP or gzip archive), then “Read the returns” matches them with the DSN files you provide. The follow-up by DSN gathers the returns that you record one by one.

Three returns examined alongside a DSN

An acknowledgement, an anomaly report and a NEOReS feedback report, supplied with a DSN. The anomaly report is linked: DSNLint finds the format anomaly on line 7 (the return reports line 19), but not a fictitious one. The acknowledgement lacks identifiers to be linked; the feedback report is non-compliant with its schema.
rapport.txt
Retours officiels — dossier normalisé
États du retour et rapprochements : information.
Conservation CRM PAS : 6 ans de date à date — Net-entreprises, fiche 2972 (23 mars 2025).

DSN fournie : declaration-a.dsn — SHA-256 10839e1a7156280adf9eed697439a3e0e62f6be43a91eaff3f10f349498c853a — contrôlée
aee.xml — AEE — Lu
SHA-256 : e68d8ead86733fc00a00bcf58105b7db631916aa9f644e957a5ca1a99f83f4d7
État du retour : OK (retour)
Organisme : point de dépôt DSN (retour)
Version : v02r01 (retour)
Date de réception : 20 janvier 2026 (retour)
Heure de réception : 09:00:00 (retour)
Lien DSN : Non relié — Identifiants déclaratifs insuffisants ; le nom du fichier ne prouve pas son identité à l’octet.
Source : dsn_bilans_v02r01.xsd — v02r01 — capture du 11 septembre 2026 — rapport ; rapport_comp_type
https://www.net-entreprises.fr/declaration/norme-et-documentation-dsn/

ban.xml — BAN — Lu
SHA-256 : 4d602d64260ccc2cd7eeb70ededdb81e8ca34c8822a2298fa1cbd3669856fe5a
État du retour : ANO (retour)
Organisme : point de dépôt DSN (retour)
Version : v02r01 (retour)
Date de réception : 20 janvier 2026 (retour)
Heure de réception : 09:00:00 (retour)
Déclaration 1 — état : ANO (retour)
Lien DSN : Relié — Tous les identifiants portés et comparables concordent ; ce lien ne prouve pas l’identité à l’octet du dépôt. Critères absents du retour, donc non comparés : S20.G00.05.006, S20.G00.05.007. Un critère porté mais absent de la DSN exclut cette candidate ; idflux et dates de réception ne sont pas comparables à la DSN.
  declaration-a.dsn — déclaration 1 — SHA-256 10839e1a7156280adf9eed697439a3e0e62f6be43a91eaff3f10f349498c853a
Lien DSN : Relié — Tous les identifiants portés et comparables concordent ; ce lien ne prouve pas l’identité à l’octet du dépôt. Critères absents du retour, donc non comparés : S20.G00.05.006, S20.G00.05.007. Un critère porté mais absent de la DSN exclut cette candidate ; idflux et dates de réception ne sont pas comparables à la DSN.
  declaration-a.dsn — déclaration 1 — SHA-256 10839e1a7156280adf9eed697439a3e0e62f6be43a91eaff3f10f349498c853a
Information — CSL-00 : Format du numéro d’ordre non conforme.
  trouvée par DSNLint — Même code, même rubrique et même occurrence dans le contrôle du moteur sur la DSN fournie.
  Rubrique : S20.G00.05.004 (retour) — valeurs/rubrique_declenchante/identifiant
  Ligne annoncée : 19 (retour) — description/numero_ligne — sous réserve que ce fichier soit celui déposé ; aucun champ d’empreinte du fichier déposé dans ce schéma
  Anomalie DSNLint : CSL-00 ; S20.G00.05.004 ; déclaration 1 ; ligne 7 dans la DSN fournie ; SHA-256 10839e1a7156280adf9eed697439a3e0e62f6be43a91eaff3f10f349498c853a
Information — DEPOT-FICTIF-999 : Écart synthétique absent du moteur.
  non trouvée par DSNLint — Aucun constat du même code, de la même rubrique et de la même occurrence ; signal de parité informatif, sans verdict supplémentaire.
  Rubrique : S20.G00.05.004 (retour) — valeurs/rubrique_declenchante/identifiant
  Ligne annoncée : 19 (retour) — description/numero_ligne — sous réserve que ce fichier soit celui déposé ; aucun champ d’empreinte du fichier déposé dans ce schéma
Source : dsn_bilans_v02r01.xsd — v02r01 — capture du 11 septembre 2026 — rapport ; rapport_comp_type
https://www.net-entreprises.fr/declaration/norme-et-documentation-dsn/

crm-neores.xml — CRM NEOReS — Non conforme
SHA-256 : 4422600310b1208c88c214ae5b011a57aa22ee5961d333801c9bc72e9cef933f
Version : P26V01 (retour)
Lien DSN : Non relié — Identifiants déclaratifs insuffisants ; le nom du fichier ne prouve pas son identité à l’octet.
AVERTISSEMENT — Neores, ligne 2 : xs:element name=GIPMDS (racine obligatoire) ; XSD NEOReS 2026.1.1
Source : neores-cahier-technique-2026.1.pdf — 2026.1.2 — 24 octobre 2025 — § 2.3, rubriques RO et tableaux des usages ; compléments publiés
https://www.net-entreprises.fr/declaration/norme-et-documentation-dsn/
Source : NEOReS_Master_Message_2026.1.1.xsd — 2026.1.1 — capture du 17 octobre 2026 — Schéma officiel ; SHA-256 95839113b4f8baab2e63cc90afa872555c6502b76eee7836cd481f22ef0d3335
https://raw.githubusercontent.com/ArchitectureDSN/dsn-api-resources/main/NEOReS_Master_Message_2026.1.1.xsd
Source : NEOReS_datatypes_2026.1.1.xsd — 2026.1.1 — capture du 17 octobre 2026 — Schéma officiel ; SHA-256 bef1349f0bb60f9f649d3acf6c6306d2c40600b9331fe444e236b72a2083df68
https://raw.githubusercontent.com/ArchitectureDSN/dsn-api-resources/main/NEOReS_datatypes_2026.1.1.xsd

Dossier complet : tous les fichiers demandés sont nommés.
Excerpts from a real DSNLint API response, received with DSNLint Connect 1.3.0 on 5 December 2026, for public examples with fictitious data: aee.xml, ban.xml, crm-neores.xml, declaration-a.dsn. Engine outputs are in French. The same request sent with curl returns the same document, byte for byte.

Through the API, from the command line or from an assistant

The same function, three ways: DSNLint Connect, the API (POST /v1/retours) or the Connect MCP server. With the same files and options, the content returned is the same.
Available formatsTextJSONCSVPDFExcelPower BI
POST /v1/retours
curl -X POST "$DSNLINT_API_URL/v1/retours" \
  -H "Authorization: Bearer $DSNLINT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F 'manifeste={"version":1,"fonction":"retours","options":{"format":"text"},"pieces":[{"id":"p0","role":"retour","nom":"aee.xml","taille":465},{"id":"p1","role":"retour","nom":"ban.xml","taille":1451},{"id":"p2","role":"retour","nom":"crm-neores.xml","taille":2673},{"id":"p3","role":"dsn","nom":"declaration-a.dsn","taille":346}]};type=application/json' \
  -F 'p0=@aee.xml;filename=aee.xml' \
  -F 'p1=@ban.xml;filename=ban.xml' \
  -F 'p2=@crm-neores.xml;filename=crm-neores.xml' \
  -F 'p3=@declaration-a.dsn;filename=declaration-a.dsn' \
  -o rapport.txt
Each example was replayed against the API and returns the same document as the curl command, byte for byte.

A plain HTTP request: your key in the Authorization header, an idempotency key, then the file. If you resend an identical request already processed with the same idempotency key, the API returns 204 for 900 seconds at most: the request is neither recomputed nor counted again.

What reading the returns does not do

The report states what it read, and what it cannot establish.
  • Reading a return does not prove the filing was accepted: the accepted or rejected status of a return remains information.
  • A file name does not prove a file’s identity: the reported line numbers are valid only if the file supplied is the one that was filed.
  • It does not infer a format: an unknown version, a PDF or an export without a specification is flagged and is never read using the schema for another version.
  • It files nothing and retrieves nothing from Net-entreprises: it reads the files you send it.

Frequently asked questions

Related functions

The same engine in every plan

Cloud or Dedicated, the engine and the API are the same. The price depends on the number of declared individuals per month.