For matching the Urssaf annual reminder with DSN files
Substitute DSN: CRM 124 matched with your DSN files
See, amount by amount, what Urssaf proposes to substitute in your DSN files. DSNLint reads Urssaf’s CRM 124, finds your declarations and outlines the objection procedure. Amounts are Urssaf’s own, not recomputed.
A real document
1. Anomalies reçues — Établissement Liste Contrôle reçu Libellé Rubrique Rapprochement Nombre — 00000036400018 Liste UR_ANO_ASS_PLF_DIPA01i Assiette S21.G00.78.004 DSN de la 1
Substitution report (Rapport de substitution)
Page 3 of 5. Fictitious company, document produced by DSNLint and dated 26 October 2026.
What the report matches
The Urssaf list, your DSN files and the objection procedure, with the source of each item.
- A CRM 124 and your DSN filesThe annual CRM 124 and at least one DSN. The monthly CRM 120 and an entry of notification dates are optional.
- The Urssaf annual listOnly the substitutable anomalies of the latest March CRM 124 received are eligible; the report lists them with individual, period and field.
- Three amounts side by sideDeclared as returned by Urssaf, proposed by Urssaf, declared in your DSN: none is recomputed.
- The monthly CRM stays apartThe monthly anomalies of CRM 120 stay separate from the annual list and never add to it.
- Established exclusionsWhen your DSN files establish that a period is excluded (scheme, contract type, status), the report flags it with its source.
- A deadline never guessedWithout the notification date and the two declaration deadlines entered, the deadline stays “to be entered”.
- A reminder of the objection procedureIn writing, preferably in Suivi DSN, with the individuals, periods and arguments relating to the anomaly. You provide the grounds.
- Explicit refusalsDSNLint rejects a CRM in full if it does not comply with the technical specification, with no partial report. A rejection never means that there is no anomaly.
In the application
In the application, you provide the CRM 124 (the annual Urssaf reminder, as an XML file) and your DSN files, then “Build the document” matches them. The amounts are taken from Urssaf, not recomputed; no anomaly is deduced from the DSN files alone.
The annual list, amount by amount
A fictitious CRM 124 flags 2 substitutable items (June and July 2025), with no certain exclusion. For June, the DSN supplied is found: Urssaf returns €1,000.00 as declared and proposes €3,925.00, the DSN declares €1,000.00; the July DSN is still to be found. The overall impact, +€749.32, is not split by period.
rapport.txt · lines 1 to 60 of 73
DSN de substitution
Lecture du CRM 124 fourni ; seuls les chiffres de l’Urssaf sont repris, non recalculés
2 données substituables lues ; 0 exclusion certaine observée.
Montants repris de l’Urssaf, non recalculés.
Urssaf — Foire aux questions sur la DSN de substitution ; III.1.c — Réémission des CRM de rappel — Actualisation du 20 juillet 2026 — 20 juillet 2026
Seules les anomalies substituables restituées au sein du dernier CRM de rappel annuel transmis sont éligibles à la DSN de substitution.
Urssaf — Foire aux questions sur la DSN de substitution ; II — Contrôles éligibles à la substitution — Actualisation du 20 juillet 2026 — 20 juillet 2026
Une anomalie est signalée dès qu’un écart strictement supérieur à 1 € (en valeur absolue) est constaté entre l’assiette plafonnée déclarée et celle calculée par l’Urssaf pour au moins un mois de l’année civile contrôlée.
Pièce : CRM-FICTIF — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B002.R001 ; octet 371
Version : P26V01 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.R001 ; octet 52
Établissement : 00000036400018 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B000.R004 ; octet 199
Production — distincte de la notification : 23 mars 2026 à 09:00:00 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B002.R011 ; octet 769
Liste annuelle CRM 124
1000000364000001 — 00000036400018 — 1er juin 2025 au 30 juin 2025
Établissement, période et salarié retrouvés ; montants DSN déclarés, sans consolidation des régularisations
Traitement : UR_ANO_ASS_PLF_DIPA01i — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B004.R001 ; octet 826
Établissement : 00000036400018 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B000.R004 ; octet 199
Salarié : 1000000364000001 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B006.R002 ; octet 1538
Début : 1er juin 2025 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R005 ; octet 2127
Fin : 30 juin 2025 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R006 ; octet 2166
Donnée concernée : S21.G00.78.004 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R001 ; octet 2012
Déclaré restitué par l’Urssaf : 1 000,00 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R002 ; octet 2055
Proposé par l’Urssaf : 3 925,00 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R003 ; octet 2091
Déclaré dans la DSN : 1 000,00 — DSN déclarée — periode.dsn ; S21.G00.78.004 ; ligne 107
Net-entreprises — Cahier technique NEOReS ; RO.B004.R016 ; RO.B006 ; RO.B007.R009 — P26V01 — 24 octobre 2025
Lecture des blocs et rubriques publiés ; les points de leur code sont convertis en tirets bas lors de la transmission (§ 2.2). Le flux de rattachement ne définit pas les périodes contrôlées (§ 3.1).
Urssaf — Foire aux questions sur la DSN de substitution ; III.1.d — Montant recalculé des cotisations et contributions — Actualisation du 20 juillet 2026 — 20 juillet 2026
Le montant restitué dans le CRM de rappel annuel est un montant globalisé sur l’année tenant compte des différentes périodes d’emploi en anomalie.
1000000364000001 — 00000036400018 — 1er juillet 2025 au 31 juillet 2025
DSN de la période ou salarié à retrouver parmi les déclarations fournies
Traitement : UR_ANO_ASS_PLF_DIPA01i — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B004.R001 ; octet 826
Établissement : 00000036400018 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B000.R004 ; octet 199
Salarié : 1000000364000001 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B006.R002 ; octet 1538
Début : 1er juillet 2025 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R005 ; octet 2541
Fin : 31 juillet 2025 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R006 ; octet 2580
Donnée concernée : S21.G00.78.004 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R001 ; octet 2426
Déclaré restitué par l’Urssaf : 1 000,00 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R002 ; octet 2469
Proposé par l’Urssaf : 3 925,00 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B007.R003 ; octet 2505
Net-entreprises — Cahier technique NEOReS ; RO.B004.R016 ; RO.B006 ; RO.B007.R009 — P26V01 — 24 octobre 2025
Lecture des blocs et rubriques publiés ; les points de leur code sont convertis en tirets bas lors de la transmission (§ 2.2). Le flux de rattachement ne définit pas les périodes contrôlées (§ 3.1).
Urssaf — Foire aux questions sur la DSN de substitution ; III.1.d — Montant recalculé des cotisations et contributions — Actualisation du 20 juillet 2026 — 20 juillet 2026
Le montant restitué dans le CRM de rappel annuel est un montant globalisé sur l’année tenant compte des différentes périodes d’emploi en anomalie.
Anomalies mensuelles CRM 120 — distinctes de la liste annuelle
Montants collectifs CRM 124
Montants collectifs CRM 120 — mensuels
Montant global du détail d’action, non ventilé entre les périodes
Impact global Urssaf — ne pas additionner les répétitions par période : +749,32 — CRM 124 de l’URSSAF — nominal-i.xml ; RO.B005.R004 ; octet 1493
Opposition : motif à rédiger par le déclarant ; aucun motif suggéré.
Urssaf — Foire aux questions sur la DSN de substitution ; III.2.a — Modalités de l’opposition à la substitution par le déclarant — Actualisation du 20 juillet 2026 — 20 juillet 2026
Dès réception du CRM de rappel annuel, vous pouvez faire opposition depuis notre service en ligne Suivi DSN. Si vous n’avez pas accès à Suivi DSN : formulaire sur l’espace en ligne urssaf.fr, courrier postal.
Urssaf — Foire aux questions sur la DSN de substitution ; III.2.a — Pièces justificatives — Actualisation du 20 juillet 2026 — 20 juillet 2026
Votre demande doit être formalisée par écrit, porter sur une anomalie substituable, indiquer les salariés et les périodes, reposer sur des arguments en lien avec l’anomalie. Des pièces justificatives peuvent être communiquées mais celles-ci ne constituent pas un préalable obligatoire.DSNLint Connect
dsnlint-connect substitution periode.dsn --piece crm124=nominal-i.xml --format textThrough the API, from the command line or from an assistant
The same function, three ways: DSNLint Connect, the API (POST /v1/substitutions) or the Connect MCP server. With the same files and options, the content returned is the same.
Available formatsTextJSONCSVPDFExcelPower BI
POST /v1/substitutions
curl -X POST "$DSNLINT_API_URL/v1/substitutions" \
-H "Authorization: Bearer $DSNLINT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-F 'manifeste={"version":1,"fonction":"substitution","options":{"format":"text"},"pieces":[{"id":"p0","role":"dsn","nom":"periode.dsn","taille":2955},{"id":"p1","role":"crm124","nom":"nominal-i.xml","taille":2714}]};type=application/json' \
-F 'p0=@periode.dsn;filename=periode.dsn' \
-F 'p1=@nominal-i.xml;filename=nominal-i.xml' \
-o rapport.txtPOST /v1/substitutions
import { 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("periode.dsn")], { type: "application/octet-stream" }), "periode.dsn");
form.append("p1", new Blob([await readFile("nominal-i.xml")], { type: "application/octet-stream" }), "nominal-i.xml");
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\":\"substitution\",\"options\":{\"format\":\"text\"},\"pieces\":[{\"id\":\"p0\",\"role\":\"dsn\",\"nom\":\"periode.dsn\",\"taille\":2955},{\"id\":\"p1\",\"role\":\"crm124\",\"nom\":\"nominal-i.xml\",\"taille\":2714}]}", "\r\n", await encoded.arrayBuffer(),
]);
const response = await fetch(process.env.DSNLINT_API_URL + "/v1/substitutions", {
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()));POST /v1/substitutions
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\":\"substitution\",\"options\":{\"format\":\"text\"},\"pieces\":[{\"id\":\"p0\",\"role\":\"dsn\",\"nom\":\"periode.dsn\",\"taille\":2955},{\"id\":\"p1\",\"role\":\"crm124\",\"nom\":\"nominal-i.xml\",\"taille\":2714}]}".encode("utf-8"), b"\r\n",
]
chunks.append(("--" + boundary + "\r\nContent-Disposition: form-data; name=\"p0\"; filename=\"periode.dsn\"\r\nContent-Type: application/octet-stream\r\n\r\n").encode())
with open("periode.dsn", "rb") as source:
chunks.extend([source.read(), b"\r\n"])
chunks.append(("--" + boundary + "\r\nContent-Disposition: form-data; name=\"p1\"; filename=\"nominal-i.xml\"\r\nContent-Type: application/octet-stream\r\n\r\n").encode())
with open("nominal-i.xml", "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/substitutions",
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())POST /v1/substitutions
<?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":"substitution","options":{"format":"text"},"pieces":[{"id":"p0","role":"dsn","nom":"periode.dsn","taille":2955},{"id":"p1","role":"crm124","nom":"nominal-i.xml","taille":2714}]}' . "\r\n";
$files = [
'p0' => new CURLFile('periode.dsn', 'application/octet-stream', 'periode.dsn'),
'p1' => new CURLFile('nominal-i.xml', 'application/octet-stream', 'nominal-i.xml'),
];
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/substitutions');
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); }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 substitution does not do
The report restates what Urssaf communicates; it does not replace it.
- It does not recompute any Urssaf amount: it restates them as they appear in the CRM.
- It does not write grounds for objection: the objection and its grounds are yours.
- It infers no anomaly from your DSN files alone: the list comes from Urssaf’s CRM.
- Reading a CRM does not promise a substitution, and finding no exclusion in your DSN files does not prove eligibility.
Frequently asked questions
DSNLint reads Urssaf’s CRM 124, matches your DSN files and outlines the objection procedure. Amounts are Urssaf’s own, without recomputation.
The annual CRM 124 and at least one DSN. The monthly CRM 120 and an entry of notification dates are optional.
It never guesses it: without the notification date and the two declaration deadlines entered, the deadline stays “to be entered”.
No. The objection is made in writing, preferably in Suivi DSN, with the individuals, periods and arguments relating to the anomaly. The grounds are yours: DSNLint suggests none.
No. Reading a CRM does not promise a substitution, and finding no exclusion in your DSN files does not prove eligibility. A CRM that does not comply with the technical specification is rejected in full, with no partial report: a rejection never means that there is no anomaly.
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.