API v1 reference
Before you start
Each instance has its own address: the shared Cloud service or the address of your dedicated instance. Routes and parameters are the same everywhere.
Authentication
Each request carries an API key, or a short-lived token issued to the application, in the Authorization header, as “Bearer” followed by the key. A test key only checks the published sample files.
Idempotency
Processing calls carry an Idempotency-Key header. For 900 seconds at most, within the same workspace and mode, an identical completed request receives 204 with no document; while running, or with different content, the same key receives 409. Keep the first response: this protection may end earlier, rarely.
Limits
- A file is one DSN submission in the sense of Net-entreprises: one monthly DSN, which may cover several establishments.
- Maximum size: 128 MiB (134,217,728 bytes) and 5,000,000 lines per file, which is of the order of 50,000 declared individuals. Beyond that, the file is refused with a clear message: send one file per establishment. For a readable document (PDF, Excel, CSV for Excel), a very large DSN can be refused for lack of memory: ask for JSON or machine CSV instead.
- Immediate response: 120 seconds at most per exchange; the report is streamed, even a very large one.
- Deferred response (on request): the report is kept in memory for 300 seconds and can be read once only; 2 MiB per report by default.
- Batches: from 1 to 32 files.
Common parameters
These parameters appear on several routes. Under its own parameters, each route says which of them it accepts.
| Name | Description |
|---|---|
Idempotency-Keyheader · string · required | Idempotency key of 1 to 128 characters. Its scope is the organisation, the mode (test or live) and the instance, for 900 s. The request fingerprint covers all files and all options; the multipart boundary is excluded. |
X-DSN-Sizeheader · integer | Exact size, in bytes, of the whole multipart body, including the multipart framing; required when Content-Length is absent. If both are present, they must be equal. |
Common responses
These responses appear on several routes. Under its own responses, each route says which of them it can return. Technical errors all have the same shape, described with the error codes further down.
| Status | Description |
|---|---|
204 | Request already processed (same Idempotency-Key); no report is retained, so the response is empty. Keep your first response. |
400403404408409411413414415421422431500503 | Stable technical error (code, message and request_id), with no values from the request. |
401 | 401, code authentification: absent Authorization header, token refused (format, signature, secret, dates, audience or authorisation) or inactive key. The response gives no detail about the cause and includes no values from the token or key. A repeated Authorization header, where no token is involved, is a 400 error (demande_invalide). |
429 | Quota, spending cap or saturation reached; this refusal is not billed. On each instance, each key has as many calls per UTC minute as its workspace has per minute (120 for a new workspace). The workspace may refuse beyond 120 calls per sliding minute, 20 per second and 10,000 per UTC day; each key has 60 per minute and 10 per second. On each instance, each workspace has a budget of 3,600 calls per UTC hour and 4 concurrent calls. Per hour, this budget also caps 32 GiB received, 32 GiB decompressed, 64 GiB returned and 4 hours of processing. The function routes draw on it: /v1/controles/avec-pieces, /v1/lots-fonctions, /v1/retours, /v1/substitutions, /v1/paie, /v1/egalite, /v1/social, /v1/compta, /v1/prelevements, /v1/extractions, /v1/decoupages, /v1/pseudonymisations and /v1/regularisations. The simple check of a DSN (/v1/controles) and its batches (/v1/lots) do not draw on it. Resubmissions after a correction, MCP calls and batch submissions use the same limits. The Retry-After header gives the seconds before retrying; it is absent when no wait frees the limit (spending or individuals cap). |
Checking a file
Check a DSN sent in the request body and receive its report in the requested format.
Body: application/octet-stream only. Content-Length or X-DSN-Size is required before admission and must give the exact number of bytes. Default maximum: 128 MB (134,217,728 bytes) and five million lines. Expect: 100-continue is recommended so that you receive any admission rejection before uploading the file. No archive and no HTTP compression. Default total timeout: 120 s. Idempotency-Key is required: an opaque value of 1 to 128 characters, using letters, digits, hyphens or underscores. The profile and FPOC headers (X-DSN-Profil-Hex and X-DSN-Fpoc-Hex) count towards the 16 kB (16,384 bytes) limit that applies to all headers together. A body that starts with a ZIP signature (file, empty archive or segment) or a gzip signature is rejected with 415 (demande_invalide), before any computation or counting; for archives or several DSN files, use POST /v1/controles/avec-pieces. Each file represents one DSN submission; send one file per establishment. A 413 taille rejection states the configured limits and this advice. Never log the body, attachment headers, URL, file or responses at the frontend. The optional RFC 7240 preference Prefer: respond-async, wait=N leaves the direct call unchanged without respond-async. N is an integer from 1 to the configured timeout (120 s by default), measured after full reception and limited by the remaining HTTP time. A check completed within that wait returns 200 with the same report; a 200 without a notification destination releases the already consumed batch. Otherwise, or without wait, the response is 202 with Preference-Applied: respond-async, Location pointing to /v1/lots/{lot_id} and the receipt {lot_id,index:0}. This preference consents to keeping a single-file batch in memory, closed automatically: the same admission, quotas, counting, receipts and report limits as explicit batches, including 2 MB (2,097,152 bytes) per report by default. The batch reservation does not exceed half the report budget. Computation is bounded by the batch deadline (300 s); the report can be retrieved for 300 s after completion, once only via /v1/lots/{lot_id}/rapports/0. Prefer: respond-async; webhook=destination_1 may name a preregistered destination belonging to the organisation for the signed lot.termine notification. No file or report is written to disk; a restart loses the report. Keep the affinity cookie between the submission and the reads: the report is in the memory of the instance that produced it. Any batch operation that reaches another instance receives 421 instance_incorrecte, with no redirect or Retry-After. Affinity reduces these wrong arrivals without ruling them out. Idempotency keeps its responses: 409 while processing or on conflict, 204 when already completed. Unknown preferences are ignored; only the first occurrence of each is used.
Accepted body: application/octet-stream
| Name | Description |
|---|---|
Idempotency-Keyheader · string · required | |
X-DSN-Sizeheader · integer | Required when Content-Length is absent; it must equal Content-Length when both are present. An empty file is checked and produces an anomaly report. |
anneequery parameter · integer | Check year, from 2000 to 2100. By default, the UTC year when the request is received; provide it explicitly whenever you replay a request. |
formatquery parameter · string | Output format. fec is refused on the check routes (422 options_incompatibles): it is available only on /v1/compta, as a direct call. xml is reserved for checks. csv: the business tables in a ZIP archive, with the machine and excel-fr profiles. jsonl carries only the verdict of the standard: it is refused (422 options_incompatibles) with enrichi, etendu, detail, multi_fichiers, declarations or an attached file, as by the command line. Values: text, json, csv, jsonl, pdf, xlsx, xml, powerbi. Default: text. |
fichierquery parameter · string | File label, reproduced exactly as given in the report. It is never opened as a path: at most 1024 UTF-8 bytes, with no control characters. Default: message.dsn. |
completquery parameter · boolean | Default: false. |
declarationsquery parameter · boolean | Default: false. |
etenduquery parameter · boolean | Default: false. |
enrichiquery parameter · boolean | Default: false. |
detailquery parameter · boolean | Calculation details require enrichi, etendu, multi_fichiers or a profile. Using detail alone is rejected with 422 options_incompatibles. Default: false. |
limitequery parameter · integer | Additional limit on the number of anomalies returned in the report, from 0 to 10,000; the counters are still calculated before this limit is applied. 0 disables this display limit. Without the complet option or an option that requires a complete check, the ordinary stop at 200 anomalies still applies. Must stay at 0 with enrichi, etendu, multi_fichiers or a profile. Default: 0. |
multi_fichiersquery parameter · boolean | Single-file comparison, identical to the engine’s multi-file mode applied to one file. An asynchronous batch is not a comparison of several files. Default: false. |
X-DSN-Profil-Hexheader · string | UTF-8 bytes of the user JSON profile, conforming to the schema published by DSNLint, encoded as lowercase hexadecimal. Never logged. Incompatible with X-DSN-Fpoc-Hex, multi_fichiers and the jsonl format. |
X-DSN-Fpoc-Hexheader · string | UTF-8 JSON list of 1 to 8 objects, each with the fields nom and octets_hex, encoded as lowercase hexadecimal. octets_hex carries the exact XML bytes in hexadecimal, which preserves their declared encoding. The FPOC files are loaded in memory. Incompatible with X-DSN-Profil-Hex, multi_fichiers and the jsonl format. |
Preferheader · string | The optional RFC 7240 preference Prefer: respond-async, wait=N leaves the direct call unchanged without respond-async. N is an integer from 1 to the configured timeout (120 s by default), measured after full reception and limited by the remaining HTTP time. A check completed within that wait returns 200 with the same report; a 200 without a notification destination releases the already consumed batch. Otherwise, or without wait, the response is 202 with Preference-Applied: respond-async, Location pointing to /v1/lots/{lot_id} and the receipt {lot_id,index:0}. This preference consents to keeping a single-file batch in memory, closed automatically: the same admission, quotas, counting, receipts and report limits as explicit batches, including 2 MB (2,097,152 bytes) per report by default. The batch reservation does not exceed half the report budget. Computation is bounded by the batch deadline (300 s); the report can be retrieved for 300 s after completion, once only via /v1/lots/{lot_id}/rapports/0. Prefer: respond-async; webhook=destination_1 may name a preregistered destination belonging to the organisation for the signed lot.termine notification. No file or report is written to disk; a restart loses the report. Keep the affinity cookie between the submission and the reads: the report is in the memory of the instance that produced it. Any batch operation that reaches another instance receives 421 instance_incorrecte, with no redirect or Retry-After. Affinity reduces these wrong arrivals without ruling them out. Idempotency keeps its responses: 409 while processing or on conflict, 204 when already completed. Unknown preferences are ignored; only the first occurrence of each is used. Separate preferences with commas; multiple Prefer fields are equivalent. Names are case-insensitive. The webhook value is an opaque identifier, never a URL. |
masquer_comptesquery parameter · boolean | Keeps only the last four characters of IBANs and BICs in every output. Presentation option only. Default: false. |
masquer_valeursquery parameter · boolean | Removes all DSN values, raw messages and identities, including in the reader and attachments. Titles, actions, positions, counts and calculated amounts remain available. With identical options, documents have the same bytes as the command output. See the confidentiality guide. Default: false. |
profil_csvquery parameter · string | With format=csv, excel-fr is the default profile: the same sheets and values as the human-readable workbook, with LISEZMOI.txt. The machine profile removes the two check-scope tables and the grouping-logic column; the other tables are retained and the dictionary carries version_format 5. The excel-fr profile uses a UTF-8 BOM, CRLF line endings, a decimal comma and DD/MM/YYYY dates. Values: machine, excel-fr. Default: excel-fr. |
| Status | Description |
|---|---|
200 | Check report, DSN anomalies included: the response is 200. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
202 | File received; the check continues in a closed batch. The optional RFC 7240 preference Prefer: respond-async, wait=N leaves the direct call unchanged without respond-async. N is an integer from 1 to the configured timeout (120 s by default), measured after full reception and limited by the remaining HTTP time. A check completed within that wait returns 200 with the same report; a 200 without a notification destination releases the already consumed batch. Otherwise, or without wait, the response is 202 with Preference-Applied: respond-async, Location pointing to /v1/lots/{lot_id} and the receipt {lot_id,index:0}. This preference consents to keeping a single-file batch in memory, closed automatically: the same admission, quotas, counting, receipts and report limits as explicit batches, including 2 MB (2,097,152 bytes) per report by default. The batch reservation does not exceed half the report budget. Computation is bounded by the batch deadline (300 s); the report can be retrieved for 300 s after completion, once only via /v1/lots/{lot_id}/rapports/0. Prefer: respond-async; webhook=destination_1 may name a preregistered destination belonging to the organisation for the signed lot.termine notification. No file or report is written to disk; a restart loses the report. Keep the affinity cookie between the submission and the reads: the report is in the memory of the instance that produced it. Any batch operation that reaches another instance receives 421 instance_incorrecte, with no redirect or Retry-After. Affinity reduces these wrong arrivals without ruling them out. Idempotency keeps its responses: 409 while processing or on conflict, 204 when already completed. Unknown preferences are ignored; only the first occurrence of each is used. |
204 | This check has already been completed for this organisation, with this Idempotency-Key, these bytes and these options. Nothing is checked or counted again. The report of a direct call is not retained: keep your first response. |
403 | exemple_requis: a dsn_test_ key only checks published files, recognised by their SHA-256 fingerprint and size: the DSN, and the profile and FPOC files received in headers. |
409 | Conflict: deja_en_cours (the same request is already being processed), idempotence_conflit (same Idempotency-Key with different content or options), incomplete batch or submission already accepted. No Retry-After. |
422 | Technical error, never DSN anomalies. options_incompatibles: multi_fichiers combined with a profile or FPOC. annexe_invalide, norme_non_embarquee and an incompatible limite value are also refused. |
And the common responses: 400, 401, 408, 411, 413, 414, 415, 429, 431, 500, 503.
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 tauxChecking with supporting documents
Checking one or more DSN files with supporting documents: supplementary scheme forms, notified rates, Urssaf data entry or a profile.
The manifest uses fonction=controle_avec_pieces for a check or fonction=comparer with the dsn_a and dsn_b roles to compare two versions. Comparison is direct, with the same reception and processing limits. X-DSN-Code-Sortie carries code 0 or 1; usage or reading errors return 4xx without a partial report. The comparaison-versions v1 JSON is returned without an envelope; machine CSV is a raw UTF-8 stream. Documents have the same bytes as the command output.
Accepted body: multipart/form-data
| Name | Description |
|---|---|
masquer_comptesmanifest option · boolean | Default: false. |
masquer_valeursmanifest option · boolean | Default: false. |
strictmanifest option · boolean | Default: false. |
completmanifest option · boolean | Default: false. |
declarationsmanifest option · boolean | Default: false. |
enrichimanifest option · boolean | Default: false. |
etendumanifest option · boolean | Default: false. |
detailmanifest option · boolean | Adds calculation details. Requires enrichi, etendu, multi_fichiers or a profil file; otherwise, the response is 422 options_incompatibles. Default: false. |
multi_fichiersmanifest option · boolean | Default: false. |
annee_controlemanifest option · integer | By default, the UTC year when the request is received, kept throughout processing. From 1900 to 9999. |
filsmanifest option | Values: 1. Default: 1. |
formatmanifest option · string | Values: text, json, jsonl, csv, pdf, xlsx, xml, powerbi. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
limitemanifest option · integer | At least 0. Default: 0. |
max_decompressemanifest option · integer | Decompression limit per DSN file, in bytes. This option does not raise the service limits; exceeding a limit returns 413. At least 1. Default: 2147483648. |
max_entreesmanifest option · integer | Maximum number of entries per DSN ZIP archive. This option does not raise the service limits; exceeding a limit returns 413. At least 1. Default: 100000. |
Accepted document roles: dsn, fpoc, taux_notifies, saisie_urssaf, profil.
| Name | Description |
|---|---|
masquer_comptesmanifest option | To hide values in a comparison, use masquer_valeurs. Values: false. |
masquer_valeursmanifest option · boolean | Removes all DSN values and pseudonymises the individual using a random key specific to the request. Default: false. |
strictmanifest option · boolean | Default: false. |
enrichimanifest option · boolean | Default: false. |
etendumanifest option · boolean | Default: false. |
detailmanifest option · boolean | Adds calculation details for both versions. Requires enrichi or etendu; otherwise, the response is 422 options_incompatibles. Default: false. |
multi_fichiersmanifest option | The two versions are processed separately for comparison. Values: false. |
annee_controlemanifest option · integer | By default, the UTC year when the request is received, kept throughout processing. From 1900 to 9999. |
filsmanifest option | Fixed at 1 for API calls. Values: 1. |
formatmanifest option · string | Values: text, json, csv. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
limitemanifest option | Comparison returns all anomalies; their number cannot be limited. Values: 0. |
max_decompressemanifest option · integer | Decompression limit per DSN file, in bytes. This option does not raise the service limits; exceeding a limit returns 413. At least 1. Default: 2147483648. |
max_entreesmanifest option · integer | Maximum number of entries per DSN ZIP archive. This option does not raise the service limits; exceeding a limit returns 413. At least 1. Default: 100000. |
fichiers_isolesmanifest option · boolean | Compares two individual files, one on each side, even when their names differ. Default: false. |
Accepted document roles: dsn_a, dsn_b.
The common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | Legacy check or version comparison according to the manifest function; the document is identical to the command output. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
{"type":"fichier","version_format":23,"fichier":"avril-2026.dsn","sha256":"e7bf7cc84029dc7fb6e33c86267ad69d84acd3b8e6407e1f9f8155765878c893","normes":["P26V01"],"statut":"VALIDE","nb_bloquants":0,"nb_avertissements":0,"anomalies":[]}
{"type":"fichier","version_format":23,"fichier":"fevrier-2026.dsn","sha256":"83d970d4c7ec4f34734c5d353b1eb5a537bffb6f1f6e9aa11ac24dfb25af1480","normes":["P26V01"],"statut":"VALIDE","nb_bloquants":0,"nb_avertissements":0,"anomalies":[]}
{"type":"fichier","version_format":23,"fichier":"janvier-2026.dsn","sha256":"5179554878fe6b5515717265cecd25c6f5887f58ffd9d96183889de439a1fb1b","normes":["P26V01"],"statut":"VALIDE","nb_bloquants":0,"nb_avertissements":0,"anomalies":[]}
{"type":"fichier","version_format":23,"fichier":"mars-2026.dsn","sha256":"6a1dcbb1eb052666f11d5b4919af8a6b2abfb1d83131b839ff12068c7d4e7e3b","normes":["P26V01"],"statut":"NON_VALIDE","nb_bloquants":6,"nb_avertissements":2,"anomalies":[{"code":"S21.G00.30.006/CCH-11","gravite":"BLOQUANT","rubrique":"S21.G00.30.006","libelle":"Date de naissance","ligne":528,"titre":"Date de naissance incohérente avec le NIR","action":"Corriger la date de naissance ou le NIR de l’individu pour rendre leurs années cohérentes.","valeur":"08071994","message":"année de naissance 1994 incohérente avec l'identifiant"},{"code":"S21.G00.40.021/SIG-11","gravite":"AVERTISSEMENT","rubrique":"S21.G00.40.021","libelle":"Motif de recours","ligne":1128,"titre":"Motif de recours du CDD absent","action":"Indiquer le motif de recours du contrat à durée déterminée.","message":"Motif de recours attendu pour le contrat non concerné par un dispositif de politique publique."},{"code":"S21.G00.40.010/CCH-11","gravite":"BLOQUANT","rubrique":"S21.G00.40.010","libelle":"Date de fin prévisionnelle du contrat","ligne":1136,"titre":"Fin prévisionnelle du contrat antérieure à son début","action":"Corriger la date de fin prévisionnelle du contrat.","valeur":"31122025","message":"fin 31122025 antérieure au début 01012026"},{"code":"S21.G00.81.001/SIG-18","gravite":"AVERTISSEMENT","rubrique":"S21.G00.81.001","libelle":"Code de cotisation","ligne":1402,"titre":"Cotisation de retraite complémentaire incomplète","action":"Vérifier le paramétrage des cotisations de retraite complémentaire de l’individu.","valeur":"076","message":"cotisation 131 sans 142 sous le même versement (mois déclaré)"},{"code":"CSL-04","gravite":"BLOQUANT","rubrique":"S21.G00.50.001","libelle":"Date de versement","ligne":2062,"titre":"Date qui n’existe pas au calendrier","action":"Saisir une date réelle au format prévu par la norme dans le logiciel de paie.","valeur":"30022026","message":"La rubrique ne respecte pas les contraintes calendaires."},{"code":"S21.G00.40.004/CRE-11","gravite":"BLOQUANT","rubrique":"S21.G00.40.004","libelle":"Code profession et catégorie socioprofessionnelle (PCS-ESE)","ligne":2232,"titre":"Code de profession (PCS-ESE) inconnu de la nomenclature","action":"Choisir le code de profession dans la nomenclature PCS-ESE en vigueur.","valeur":"999z","message":"valeur '999z' hors nomenclature [CRE-11]"},{"code":"CST-03","gravite":"BLOQUANT","rubrique":"S21.G00.30.004","libelle":"Prénoms","ligne":2823,"titre":"Rubrique obligatoire absente","action":"Renseigner la rubrique manquante dans le logiciel de paie.","message":"Absence de la rubrique S21.G00.30.004."},{"code":"S21.G00.50.009/CCH-11","gravite":"BLOQUANT","rubrique":"S21.G00.50.009","libelle":"Montant de prélèvement à la source","ligne":3068,"titre":"Prélèvement à la source différent de l’assiette multipliée par le taux","action":"Recalculer le prélèvement à la source : montant soumis au PAS multiplié par le taux, à un euro près.","valeur":"119.24","message":"Le montant de prélèvement à la source ne correspond pas à l'assiette multipliée par le taux (tolérance d'un euro).","valeurs_liees":[{"rubrique":"S21.G00.50.006","libelle":"Taux de prélèvement à la source","valeur":"1.00"},{"rubrique":"S21.G00.50.013","libelle":"Montant soumis au PAS","valeur":"1924.49"}]}]}
{"type":"bilan","version_format":23,"fichiers":4,"valides":3,"avec_avertissements":0,"non_valides":1,"illisibles":0,"nb_bloquants":6,"nb_avertissements":2,"options":{"annee_controle":2026,"complet":false,"fils":1,"limite":0,"masquer_comptes":false,"max_decompresse":2147483648,"max_entrees":100000,"strict":false}}Payroll, equality and HR documents
Recomputed payroll, gender equality and HR documents, drawn from the DSN files provided.
The payroll summary is the default; dossier requests the payroll check dossier and fiche requests the employee check sheet. Their JSON contracts are versions 5, 3 and 3 respectively. The identite and lecteur fields contain declared identities, findings, actions and amounts. PDF, Excel and human CSV follow the same sections; the PDF includes the full JSON. Above thirty sheets, Excel provides a package containing a summary workbook and one workbook per DSN. Text and machine CSV retain their previous bytes.
Accepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
dossiermanifest option · boolean | Produces the payroll check dossier. Default: false. |
cumulsmanifest option · boolean | Default: false. |
chargesmanifest option · boolean | Default: false. |
fichemanifest option · string | Produces the employee check sheet, with basic information (base) or full information (complete). Values: base, complete. |
annee_controlemanifest option · integer | Payroll check year, 2026 by default. A check, FPOC files and the employee check sheet enable the payroll check dossier. From -2147483648 to 2147483647. |
Accepted document roles: dsn, saisie, parametres, controle_paie, fpoc.
| Name | Description |
|---|---|
formatquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesquery parameter · boolean | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: false. |
dossierquery parameter · boolean | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: false. |
cumulsquery parameter · boolean | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: false. |
chargesquery parameter · boolean | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: false. |
fichequery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: base, complete. |
annee_controlequery parameter · integer | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. |
fichierquery parameter · string | Default: declaration.dsn. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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éAccepted body: multipart/form-data
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi, egapro. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
periodemanifest option · string · required | Period in YYYY-MM:YYYY-MM format: twelve consecutive months for gender equality; from 2026 onwards for social reporting. |
dossier_csemanifest option · boolean | Packages the report and dossier-cse.json in a ZIP archive. Default: false. |
documentmanifest option · string | cse produces the CSE dossier in JSON, PDF, Excel or CSV (excel-fr or machine profiles). Incompatible with dossier_cse. Values: public, cse. Default: public. |
Accepted document roles: dsn, saisie.
The common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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é à qualifierAccepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
periodemanifest option · string · required | Period in YYYY-MM:YYYY-MM format: twelve consecutive months for gender equality; from 2026 onwards for social reporting. |
vuemanifest option · string | Values: social, bdese, bilan, registre, portefeuille. Default: social. |
anneemanifest option · integer | Year required for the bdese, bilan, registre and portefeuille views; not accepted for simple statements. From 2026 to 2099. |
date_versionmanifest option · string | Version date required for the bdese, bilan, registre and portefeuille views. No date is added to the document automatically. |
Accepted document roles: dsn, saisie, manifeste_social.
| Name | Description |
|---|---|
formatquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesquery parameter · boolean | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: false. |
periodequery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. |
vuequery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: social, bdese, bilan, registre, portefeuille. Default: social. |
anneequery parameter · integer | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. |
date_versionquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. |
fichierquery parameter · string | Default: declaration.dsn. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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 · RHAccounting and direct debits
Reconciling the DSN with the FEC, and the statement of direct debits.
Reconciles the amounts declared in DSN files and the FEC. The accounting JSON report follows contract v3 (version_format=3). Accepted options: format=text|json|csv|pdf|xlsx|powerbi|fec (text by default), profil_csv=excel-fr|machine (excel-fr by default, for CSV), masquer_comptes and ecritures_controle (false by default). For direct calls, format=fec returns the check entries; ecritures_controle=true returns a ZIP containing the report and the entries, and is incompatible with format=fec. Both modes are refused in batches. Accounting differences are descriptive. A rejected FEC produces no entries. A FEC rejected on tax grounds, with a complete document, remains a 200 response whose X-DSN-Code-Sortie header is 2; the DSN files are counted, as for a DSN with a blocking anomaly. A FEC record or token longer than 65,536 bytes stops processing: 422 annexe_invalide, with no document and nothing counted (CLI code 4). The year used is the UTC year, fixed before the body is received and before queuing.
Accepted body: multipart/form-data
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi, fec. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
ecritures_controlemanifest option · boolean | Packages the report and entries in a ZIP archive, for direct calls only. Incompatible with format=fec. A rejected FEC creates no entries. Default: false. |
Accepted document roles: dsn, fec, saisie.
The common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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éStatement of orders, due dates and amounts declared in DSN files, without creating a bank payment file. Formats: text, JSON, CSV, PDF, Excel and Power BI.
Accepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
annee_controlemanifest option · integer | Check year, 2026 by default. From 1900 to 9999. |
Accepted document roles: dsn, saisie.
| Name | Description |
|---|---|
formatquery parameter · string | For raw-stream requests only (application/octet-stream body); not allowed in multipart requests, where this option goes in the manifest. Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvquery parameter · string | For raw-stream requests only (application/octet-stream body); not allowed in multipart requests, where this option goes in the manifest. Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesquery parameter · boolean | For raw-stream requests only (application/octet-stream body); not allowed in multipart requests, where this option goes in the manifest. Default: false. |
annee_controlequery parameter · integer | For raw-stream requests only (application/octet-stream body); not allowed in multipart requests, where this option goes in the manifest. |
fichierquery parameter · string | Default: declaration.dsn. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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 ••••0097Official returns and substitution
Official returns read and linked to the DSN files, and the substitution report.
Accepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
Accepted document roles: retour, dsn.
| Name | Description |
|---|---|
fichierquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: retour.xml. |
formatquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvquery parameter · string | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesquery parameter · boolean | For raw-stream requests only (application/octet-stream body); refused in multipart requests, where this option goes in the manifest. Default: false. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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)Accepted body: multipart/form-data
| Name | Description |
|---|---|
formatmanifest option · string | Values: text, json, csv, pdf, xlsx, powerbi. Default: text. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
Accepted document roles: crm124, crm120, saisie, dsn.
The common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
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 2055Transformations
Extraction, splitting, pseudonymisation and assisted corrections.
Delivers a 27-column long-format CSV and its manifest. With par=salarie, salaries must be non-empty and tolerant is not allowed; a pseudonymisation key is accepted only with pseudonymiser. With par=rubrique, no selector and no pseudonymisation. Nothing is retained or written to disk. Only whole source DSN files are counted for billing, never a DSN produced by DSNLint. The package (document=dossier) is the same ZIP as the one the engine produces.
Accepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
parmanifest option · string | Values: rubrique, salarie. Default: rubrique. |
salariesmanifest option · array | Individual selection by exact NIR, NTT or payroll numbers, in the request body only. Required with par=salarie. Default: []. |
pseudonymisermanifest option · boolean | Default: false. |
tolerantmanifest option · boolean | Default: false. |
documentmanifest option · string | Values: dossier, csv, manifeste. Default: dossier. |
parametresmanifest option · object |
Accepted document roles: dsn, cle_pseudonymisation.
| Name | Description |
|---|---|
fichierquery parameter · string | Raw stream only. A plain label for the file, never a path opened on the server. Default: declaration.dsn. |
parquery parameter · string | Raw stream only; the raw body is a single DSN file, with no key and no individual selection. No personal selector (NIR, NTT, payroll number) is accepted in the URL. Values: rubrique, salarie. Default: rubrique. |
tolerantquery parameter · boolean | Raw stream only; the raw body is a single DSN file, with no key and no individual selection. No personal selector (NIR, NTT, payroll number) is accepted in the URL. Default: false. |
documentquery parameter · string | Raw stream only; the raw body is a single DSN file, with no key and no individual selection. No personal selector (NIR, NTT, payroll number) is accepted in the URL. Values: dossier, csv, manifeste. Default: dossier. |
filsquery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 1. |
max_decompressequery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 2147483648. |
max_entreesquery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 100000. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | Long-format CSV and manifest, depending on document: dossier (ZIP), csv or manifeste. With par=salarie, salaries must be non-empty and tolerant is not allowed; a pseudonymisation key is accepted only with pseudonymiser. With par=rubrique, no selector and no pseudonymisation. X-DSN-Code-Sortie is 0. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
version_format;source_id;norme;ligne_source;declaration_id;bloc_id;bloc_code;parent_bloc_id;rattache;etablissement_bloc_id;siren;nic;individu_bloc_id;nir;ntt;contrat_bloc_id;numero_contrat;etat_rattachement;rubrique;libelle_rubrique;valeur;libelle_valeur;etat_libelle;source_libelle;article_libelle;empreinte_source;etat_lecture
1;"s1";"P26V01";1;"";"s1:l1";"S10.G00.00";"";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.00.001";"Nom du logiciel utilisé";"ZAAAA";"";"non_codee";"";"";"";"lisible"
1;"s1";"P26V01";2;"";"s1:l1";"S10.G00.00";"";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.00.002";"Nom de l'éditeur";"YAAAA";"";"non_codee";"";"";"";"lisible"
1;"s1";"P26V01";3;"";"s1:l1";"S10.G00.00";"";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.00.005";"Code envoi du fichier d'essai ou réel";"01";"envoi fichier test";"publie";"datatypes-2026.xlsx";"Data Types!H22";"adb774b4ee7c584ecf359f20564106490c00ba97b2717ae4d47e11dbaf9d8af8";"lisible"
1;"s1";"P26V01";4;"";"s1:l1";"S10.G00.00";"";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.00.006";"Numéro de version de la norme utilisée";"P26V01";"Année 2026 Version 1";"publie";"datatypes-2026.xlsx";"Data Types!H83";"adb774b4ee7c584ecf359f20564106490c00ba97b2717ae4d47e11dbaf9d8af8";"lisible"
1;"s1";"P26V01";5;"";"s1:l1";"S10.G00.00";"";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.00.007";"Point de dépôt";"01";"Net-entreprises";"publie";"datatypes-2026.xlsx";"Data Types!H84";"adb774b4ee7c584ecf359f20564106490c00ba97b2717ae4d47e11dbaf9d8af8";"lisible"
1;"s1";"P26V01";6;"";"s1:l1";"S10.G00.00";"";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.00.008";"Type de l'envoi";"01";"envoi normal";"publie";"datatypes-2026.xlsx";"Data Types!H76";"adb774b4ee7c584ecf359f20564106490c00ba97b2717ae4d47e11dbaf9d8af8";"lisible"
1;"s1";"P26V01";7;"";"s1:l7";"S10.G00.01";"s1:l1";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.01.001";"Siren de l'émetteur de l'envoi";"900000019";"";"non_codee";"";"";"";"lisible"
1;"s1";"P26V01";8;"";"s1:l7";"S10.G00.01";"s1:l1";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.01.002";"Nic de l'émetteur de l'envoi";"00019";"";"non_codee";"";"";"";"lisible"
1;"s1";"P26V01";9;"";"s1:l7";"S10.G00.01";"s1:l1";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.01.003";"Nom ou raison sociale de l'émetteur";"ZAAAA";"";"non_codee";"";"";"";"lisible"
1;"s1";"P26V01";10;"";"s1:l7";"S10.G00.01";"s1:l1";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.01.005";"Code postal";"75001";"";"source_absente";"NEODESP26_P26V01_NEODESP26_CUMUL_P26V01.csv";"HEX ; ligne 138071";"d1dec1e071bdc764bf1cea9b8fbfaf5603ff4497bfec5c792ae17499b16b80f0";"lisible"
1;"s1";"P26V01";11;"";"s1:l7";"S10.G00.01";"s1:l1";"true";"";"";"";"";"";"";"";"";"hors_individu";"S10.G00.01.006";"Localité";"VAAA";"";"non_codee";"";"";"";"lisible"Self-contained checked DSN files, grouped by establishment, and a manifest. Nothing is retained or written to disk. Only whole source DSN files are counted for billing, never a DSN produced by DSNLint. The package is the same ZIP as the one the engine produces.
Accepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
parmanifest option · string | Values: etablissement. Default: etablissement. |
parametresmanifest option · object |
Accepted document roles: dsn.
| Name | Description |
|---|---|
fichierquery parameter · string | Raw stream only. A plain label for the file, never a path opened on the server. Default: declaration.dsn. |
parquery parameter · string | Raw stream only; the raw body is a single DSN file, with no key and no individual selection. No personal selector (NIR, NTT, payroll number) is accepted in the URL. Default: etablissement. |
filsquery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 1. |
max_decompressequery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 2147483648. |
max_entreesquery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 100000. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | Self-contained checked DSN files, grouped by establishment, and a manifest, in a ZIP. X-DSN-Code-Sortie is 0. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
manifeste.json
morceau-00000001.dsn{
"$schema": "urn:intek-center:dsnlint:decoupage:manifeste:10",
"document": "decoupage",
"fichiers": [
{
"id": "f1",
"nom": "mensuelle-complete.dsn",
"origine_empreinte": "disponible",
"origine_nom": "declaree",
"raison": null,
"role": "dsn",
"sha256": "3dc07e40edc864e032293e6ad55779146ec8be97f23bbabab6b8ce986fec701f"
}
],
"moteur": {
"nom": "dsnlint",
"version": "1.3.0"
},
"normes": [
"P26V01"
],
"options": {
"annee_controle": 2026,
"fils": 1,
"masquer_comptes": false,
"max_decompresse": 2147483648,
"max_entrees": 100000,
"par": "etablissement"
},
"resultat": {A set of pseudonymised DSN files and a manifest. Without a pseudonymisation key, a new operation draws fresh system randomness; while the 900-second receipt is valid, replaying the same completed submission with the same Idempotency-Key in the same organisation, mode and instance returns 204 without a new draw or a document. Nothing is retained or written to disk. Only whole source DSN files are counted for billing, never a DSN produced by DSNLint. The package is the same ZIP as the one the engine produces.
Accepted body: multipart/form-data, application/octet-stream
| Name | Description |
|---|---|
parametresmanifest option · object |
Accepted document roles: dsn, cle_pseudonymisation.
| Name | Description |
|---|---|
fichierquery parameter · string | Raw stream only. A plain label for the file, never a path opened on the server. Default: declaration.dsn. |
filsquery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 1. |
max_decompressequery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 2147483648. |
max_entreesquery parameter · integer | Raw stream only. In multipart requests, this parameter goes in options.parametres of the manifest (fils is named fils_maximum there). It never raises the service limits. Default: 100000. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | A set of pseudonymised DSN files and a manifest, in a ZIP. Without a pseudonymisation key, a new operation draws fresh system randomness. Replaying an identical successful submission with the same Idempotency-Key in the same organisation, mode and instance returns 204 without a new draw while the 900-second receipt is valid. X-DSN-Code-Sortie is 0 for the document returned with HTTP 200. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
S21.G00.30.001,'1900175001001'
S21.G00.30.002,'ZAAAAAB'
S21.G00.30.004,'YAAAAAB'
S21.G00.30.005,'01'
S21.G00.30.006,'01011990'
S21.G00.30.001,'2900175001002'
S21.G00.30.002,'ZAAAAAC'
S21.G00.30.004,'YAAAAAC'
S21.G00.30.005,'02'
S21.G00.30.006,'01011990'
S21.G00.30.001,'1900175001003'
S21.G00.30.002,'ZAAAAAD'manifeste.json
pseudonyme-00000001.dsnS21.G00.30.001,'1900175607567'
S21.G00.30.002,'HOYVJXE'
S21.G00.30.004,'KCGMXZC'
S21.G00.30.005,'01'
S21.G00.30.006,'01011990'
S21.G00.30.001,'2900175768037'
S21.G00.30.002,'HOYVJXF'
S21.G00.30.004,'KCGMXZD'
S21.G00.30.005,'02'
S21.G00.30.006,'01011990'
S21.G00.30.001,'1900175607569'
S21.G00.30.002,'HOYVJXG'One DSN file for the month, zero or more original DSN files and a version 1 JSON request with explicit acceptances. The package is complete; the candidate DSN (mois-regularise.dsn) is included only if the engine produces one. Nothing is retained or written to disk. Only whole source DSN files (month and origins) are counted for billing, never a DSN produced by DSNLint. The package is the same ZIP as the one the engine produces.
Accepted body: multipart/form-data
| Name | Description |
|---|---|
annee_controlemanifest option · integer | From -2147483648 to 2147483647. |
formatmanifest option · string | Values: csv, pdf, xlsx, powerbi. Default: csv. |
profil_csvmanifest option · string | Values: machine, excel-fr. Default: excel-fr. |
masquer_comptesmanifest option · boolean | Default: false. |
Accepted document roles: dsn_mois, dsn_origine, demande.
The common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
200 | One DSN file for the month, zero or more original DSN files and a version 1 JSON request with explicit acceptances. Complete package, with the candidate DSN only if one exists. X-DSN-Code-Sortie is 0, or 2 with no candidate or with a refused proposal. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
controle-complet.json
controle-complet.txt
controle-complet.zip
mois-regularise.dsn
propositions.json
propositions.txt
propositions.zipDate du contrôle : 5 décembre 2026
RAPPORT DE CONTRÔLE DSN
=======================
Fichier : assiette-anomalie.dsn
Norme : DSN P26V01 | Lignes lues : 138
Période : juin 2026
Établissement : 00000036400018
Verdict : Conforme avec avertissements | Bloquants : 0 | Avertissements : 1
Score : 99/100
Contrôles complémentaires : 0 avertissement, 5 non-évaluations (sans effet sur le verdict).
ANOMALIES À CORRIGER
TEMOIN PERSONNE FICTIVE — NTT 1000000364000001 — déclaration 1
Donnée à vérifier — ligne 55Date du contrôle : 5 décembre 2026
Régularisation assistée — à reporter dans la paie
1 proposition, 0 avertissement complémentaire.
assiette-1 — Acceptée
Différentiel exact, fondé sur l’assiette fournie ; bordereau, cotisation agrégée, base et cotisation individuelle forment un groupe indivisible.
Règle : Assiette.
Référence : Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN-v5.1-2026.pdf, §3.3.1, p.19 — Si l’erreur porte sur une assiette, la régularisation s’opère en différentiel
Référence : Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN-v5.1-2026.pdf, §3.3.1, p.19 — Les régularisations de cotisations sociales doivent être datées du mois de survenance de l’erreur. La datation s’opère au travers de périodes de rattachement « Date de début / fin de période de rattachement » couvrant un mois unique.
Référence : Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN-v5.1-2026.pdf, §3.2, p.18 — Dès lors que des éléments sont à déclarer à la maille nominative, il faut qu’ils soient cohérents avec les éléments agrégés. En effet les cotisations agrégées doivent porter l’ensemble des éléments déclarés à maille individuelle ;
Référence : DIDA-equivalence-dida-2026-06-11.csv, Correspondances : base assujettie / cotisation individuelle / CTP —
Référence : Guide-declaration-regularisation-cotisations-sociales-Urssaf-DSN-v5.1-2026.pdf, §1.6, p.15 — Tous les montants des blocs « Cotisation agrégée - S21.G00.23 doivent être arrondis à l'euro le plus proche, qu’il s’agisse de montants d’assiette ou de montants de cotisations ; Les montants de cotisations des blocs « Versement organisme de protection sociale - S21.G00.20 » et « Bordereau de cotisation due - S21.G00.22 », supportent également la même règle d'arrondi. Sur un plan purement fonctionnel, ces sommes arrondies figurent dans la norme avec deux décimales après le point : ".00"
Référence : fiche-3360-application-des-principes-du-fait-generateur.md, §1.1.3.1 — Erreur en paie et en DSN — Lorsqu'une erreur intervient à la fois en paie et en DSN (par exemple une rémunération brute mal calculée), la correction doit être opérée dans la paie suivante et déclarée en DSN en rattachant socialement les montants corrigés à la période d'emploi concernée.
Référence : FichierDirect-codesTypesCsv.csv, CTP 719, effet 1er janvier 2026, qualifiant 920 ; taux déplafonné 40,00 —Check batches
Several checks submitted as a batch for background processing, with each report retrieved once.
Submissions take neither archives nor multipart bodies. A batch accepts 1 to 32 independent submissions. Limits: 8 batches per organisation and 256 per instance; a report budget of 128 MB by default, of which at most 64 MB per organisation, with 2 MB reserved per file. A reservation that exceeds that share, even on an empty instance, is refused permanently with 413. The lot_id carries the identity of the instance that created the batch: any operation that reaches another instance receives 421 instance_incorrecte, with no redirect and no Retry-After; the calls for a batch are routed to its instance. An incomplete batch expires after 300 s. The retrieval period starts once the batch is both closed and fully completed. Reports are kept in memory only, can be read once and are lost on restart. A batch is an ephemeral delivery, not storage; a direct call returns the report in its response, without a batch. Keep the affinity cookie between the submission and the reads: the report is in the memory of the instance that produced it. Affinity reduces wrong arrivals without ruling them out.
Accepted body: application/json
| Status | Description |
|---|---|
201 | Batch created; the response gives lot_id and expires_in=300 (seconds). |
And the common responses: 400, 401, 408, 413, 414, 415, 422, 429, 431, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier, in the form lot_<instance identity 20 hex>_<nonce 20 hex>_<sequence hex>. It carries the identity of the instance that created the batch: calls must reach that instance, otherwise the response is 421 instance_incorrecte, with no Retry-After. |
| Status | Description |
|---|---|
200 | State of the batch: lot_id, the completed and failed counters and the closed flag. |
And the common responses: 400, 401, 404, 414, 421, 429, 431, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier, in the form lot_<instance identity 20 hex>_<nonce 20 hex>_<sequence hex>. It carries the identity of the instance that created the batch: calls must reach that instance, otherwise the response is 421 instance_incorrecte, with no Retry-After. |
| Status | Description |
|---|---|
204 | Batch deleted |
And the common responses: 400, 401, 404, 414, 421, 429, 431, 503.
Same body and options as POST /v1/controles. Use a distinct Idempotency-Key per file: the same active submission returns 409 deja_en_cours; a completed submission returns 204 without a report; different content returns 409 idempotence_conflit. A key completed through another route does not recreate the report. The 202 follows complete reception in memory, without writing to disk. Disconnection before admission cancels the submission; after 202, the computation belongs to the batch until its time limit, deletion or expiry. ZIP or gzip bodies are rejected with 415 demande_invalide before computation and counting; use POST /v1/controles/avec-pieces for archives or several DSN files.
Accepted body: application/octet-stream
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier, in the form lot_<instance identity 20 hex>_<nonce 20 hex>_<sequence hex>. It carries the identity of the instance that created the batch: calls must reach that instance, otherwise the response is 421 instance_incorrecte, with no Retry-After. |
indexpath · integer · required | |
Idempotency-Keyheader · string · required | |
X-DSN-Sizeheader · integer | Required when Content-Length is absent; it must equal Content-Length when both are present. An empty file is checked and produces an anomaly report. |
anneequery parameter · integer | Check year, from 2000 to 2100. By default, the UTC year when the request is received; provide it explicitly whenever you replay a request. |
formatquery parameter · string | Output format. fec is refused on the check routes (422 options_incompatibles): it is available only on /v1/compta, as a direct call. xml is reserved for checks. csv: the business tables in a ZIP archive, with the machine and excel-fr profiles. jsonl carries only the verdict of the standard: it is refused (422 options_incompatibles) with enrichi, etendu, detail, multi_fichiers, declarations or an attached file, as by the command line. Values: text, json, csv, jsonl, pdf, xlsx, xml, powerbi. Default: text. |
fichierquery parameter · string | File label, reproduced exactly as given in the report. It is never opened as a path: at most 1024 UTF-8 bytes, with no control characters. Default: message.dsn. |
completquery parameter · boolean | Default: false. |
declarationsquery parameter · boolean | Default: false. |
etenduquery parameter · boolean | Default: false. |
enrichiquery parameter · boolean | Default: false. |
detailquery parameter · boolean | Calculation details require enrichi, etendu, multi_fichiers or a profile. Using detail alone is rejected with 422 options_incompatibles. Default: false. |
limitequery parameter · integer | Additional limit on the number of anomalies returned in the report, from 0 to 10,000; the counters are still calculated before this limit is applied. 0 disables this display limit. Without the complet option or an option that requires a complete check, the ordinary stop at 200 anomalies still applies. Must stay at 0 with enrichi, etendu, multi_fichiers or a profile. Default: 0. |
multi_fichiersquery parameter · boolean | Single-file comparison, identical to the engine’s multi-file mode applied to one file. An asynchronous batch is not a comparison of several files. Default: false. |
X-DSN-Profil-Hexheader · string | UTF-8 bytes of the user JSON profile, conforming to the schema published by DSNLint, encoded as lowercase hexadecimal. Never logged. Incompatible with X-DSN-Fpoc-Hex, multi_fichiers and the jsonl format. |
X-DSN-Fpoc-Hexheader · string | UTF-8 JSON list of 1 to 8 objects, each with the fields nom and octets_hex, encoded as lowercase hexadecimal. octets_hex carries the exact XML bytes in hexadecimal, which preserves their declared encoding. The FPOC files are loaded in memory. Incompatible with X-DSN-Profil-Hex, multi_fichiers and the jsonl format. |
masquer_comptesquery parameter · boolean | Keeps only the last four characters of IBANs and BICs in every output. Presentation option only. Default: false. |
masquer_valeursquery parameter · boolean | Removes all DSN values, raw messages and identities, including in the reader and attachments. Titles, actions, positions, counts and calculated amounts remain available. With identical options, documents have the same bytes as the command output. See the confidentiality guide. Default: false. |
profil_csvquery parameter · string | With format=csv, excel-fr is the default profile: the same sheets and values as the human-readable workbook, with LISEZMOI.txt. The machine profile removes the two check-scope tables and the grouping-logic column; the other tables are retained and the dictionary carries version_format 5. The excel-fr profile uses a UTF-8 BOM, CRLF line endings, a decimal comma and DD/MM/YYYY dates. Values: machine, excel-fr. Default: excel-fr. |
| Status | Description |
|---|---|
202 | File received; the check continues asynchronously. The response gives lot_id and index. |
204 | Submission already processed in this batch (same Idempotency-Key): the response is empty and no new report is produced. |
409 | Conflict: deja_en_cours (the same request is already being processed), idempotence_conflit (same Idempotency-Key with different content or options), incomplete batch or submission already accepted. No Retry-After. |
And the common responses: 400, 401, 403, 404, 408, 411, 413, 414, 415, 421, 422, 429, 431, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier, in the form lot_<instance identity 20 hex>_<nonce 20 hex>_<sequence hex>. It carries the identity of the instance that created the batch: calls must reach that instance, otherwise the response is 421 instance_incorrecte, with no Retry-After. |
| Status | Description |
|---|---|
202 | Batch closure accepted |
409 | Conflict: deja_en_cours (the same request is already being processed), idempotence_conflit (same Idempotency-Key with different content or options), incomplete batch or submission already accepted. No Retry-After. |
And the common responses: 400, 401, 404, 414, 421, 429, 431, 503.
Reading removes the report from the batch immediately. If the transfer is interrupted, the report is lost: no copy is kept for a retry. An active key from the same organisation and the same mode, test or live, can retrieve the report. The report may contain personal data; only the client receives its bytes.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier, in the form lot_<instance identity 20 hex>_<nonce 20 hex>_<sequence hex>. It carries the identity of the instance that created the batch: calls must reach that instance, otherwise the response is 421 instance_incorrecte, with no Retry-After. |
indexpath · integer · required |
| Status | Description |
|---|---|
200 | Check report, DSN anomalies included: the response is 200. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
409 | Conflict: deja_en_cours (the same request is already being processed), idempotence_conflit (same Idempotency-Key with different content or options), incomplete batch or submission already accepted. No Retry-After. |
410 | Stable technical error (code, message and request_id), with no values from the request. |
And the common responses: 400, 401, 404, 414, 421, 422, 429, 431, 503.
Function batches
Several functions with their supporting documents submitted as a batch, with each result retrieved once.
Accepted body: application/json
| Status | Description |
|---|---|
201 | Batch created; the response gives lot_id and expires_in=300 (seconds) |
And the common responses: 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier. Calls must reach the instance that created the batch; another instance returns 421 instance_incorrecte. |
| Status | Description |
|---|---|
200 | State of the batch (lot_id, completed, failed, closed), without the content of the files |
And the common responses: 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier. Calls must reach the instance that created the batch; another instance returns 421 instance_incorrecte. |
| Status | Description |
|---|---|
204 | Stop requested for running computations; reports released |
And the common responses: 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
Accounting: report only. The entries file alone (format=fec) and the entries package (ecritures_controle=true) are refused before any domain-specific processing and before the 202. Direct debits: same formats and same bodies as in a direct call.
Accepted body: multipart/form-data, application/octet-stream
Function controle_avec_pieces: the same options as POST /v1/controles/avec-pieces.
Function retours: the same options as POST /v1/retours.
Function substitution: the same options as POST /v1/substitutions.
Function paie: the same options as POST /v1/paie.
Function egalite: the same options as POST /v1/egalite.
Function social: the same options as POST /v1/social.
Function compta: the same options as POST /v1/compta.
Function prelevements: the same options as POST /v1/prelevements.
Function extraire: the same options as POST /v1/extractions.
Function decouper: the same options as POST /v1/decoupages.
Function pseudonymiser: the same options as POST /v1/pseudonymisations.
Function regulariser: the same options as POST /v1/regularisations.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier. Calls must reach the instance that created the batch; another instance returns 421 instance_incorrecte. |
indexpath · integer · required | |
fonctionquery parameter · string | Optional in multipart requests, where it must match the manifest; required for a raw stream of returns, payroll or social documents. Values: controle_avec_pieces, retours, substitution, paie, egalite, social, compta, prelevements. |
And the common parameters: Idempotency-Key, X-DSN-Size.
| Status | Description |
|---|---|
202 | Submission accepted. The files, the options and, with a test key, the published sample are checked before admission; no input is retained after the computation. |
And the common responses: 204, 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier. Calls must reach the instance that created the batch; another instance returns 421 instance_incorrecte. |
| Status | Description |
|---|---|
202 | Batch closed. The results expire after the batch has completed, according to the retention period you chose (ttl_seconds). |
And the common responses: 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
| Name | Description |
|---|---|
lot_idpath · string · required | Batch identifier. Calls must reach the instance that created the batch; another instance returns 421 instance_incorrecte. |
indexpath · integer · required |
| Status | Description |
|---|---|
200 | The engine’s document delivered through --sortie, byte for byte: no API envelope and no line feed added by HTTP. DSN anomalies also return 200; the X-DSN-Code-Sortie header carries the business code of the document. Above 8 MB (8,388,608 bytes), the body is streamed in chunks no larger than 64 kB (65,536 bytes), without Content-Length (Transfer-Encoding: chunked in HTTP/1.1). The body bytes and other headers are unchanged. This applies to direct calls and to the retrieval of batch reports and exports. The Server-Timing: traitement;dur=<milliseconds> header measures the time before the response, excluding body reception and result transfer; for a request without a body or rejected before full reception, it starts when the request headers are received. |
410 | Stable technical error (code, message and request_id), with no values from the request. |
And the common responses: 400, 401, 403, 404, 408, 409, 411, 413, 414, 415, 421, 422, 429, 431, 500, 503.
Error codes
A technical error returns a stable JSON object: a code, a message and the request identifier, with no values from your file. The table gives each possible value of the code, the HTTP statuses the contract publishes for it and its meaning. Anomalies in a DSN are not errors: they are in the report, with a 200 response.
| Code |
|---|
demande_invalide400409415 The request does not match the required format or batch state; correct it before sending it again. |
authentification401 The Authorization header is absent, the token is rejected or the key is inactive; check your authentication before calling again. |
exemple_requis403 A test key accepts only exact copies of published files, attachments included; use a published example. |
interrompu408 Processing was interrupted. |
idempotence_conflit409 The same idempotency key was used with different content; use that key only for the original submission. |
deja_en_cours409 The same submission is already being processed under this idempotency key; wait for it to finish before calling again. |
taille411413 The required size is missing or exceeds a limit; supply the exact size or reduce the submission before retrying. |
options_incompatibles422 The requested options are incompatible; correct their combination before resubmitting the request. |
annexe_invalide422 An attachment is invalid or could not be fully read; correct it before resubmitting the request. |
norme_non_embarquee422 The requested standard is not included in the software. |
option_non_disponible—The requested option is not available. |
sature429 The service is temporarily at capacity; retry after the delay specified by Retry-After. |
releve_usage_indisponible503 Usage reporting is unavailable; do not retry automatically, as the service requires intervention and no Retry-After is provided. |
quota_depasse429 A quota or spending cap has been exceeded; honour Retry-After when present, otherwise check your quotas and spending cap before retrying. |
introuvable404 The requested object cannot be found; check its identifier. |
rapport_recupere410 The batch result has already been retrieved and can only be read once; use your saved copy. |
rapport_trop_grand413 The report exceeds the accepted size; reduce the request before retrying, as no truncated result is delivered or billed. |
deja_traite—The request has already been processed. |
interne500 An internal error occurred. |
trop_grand_pour_l_instance413 The request exceeds the instance’s capacity even when idle; this rejection is permanent for this request, so do not retry it unchanged. |
memoire_insuffisante422503 Processing was stopped due to insufficient memory, with no usage counted: 503 for a direct call, 422 when reading a batch result; another attempt is possible. |
instance_incorrecte421 Keep the affinity cookie between the submission and the reads: the report is in the memory of the instance that produced it. Any batch operation that reaches another instance receives 421 instance_incorrecte, with no redirect or Retry-After. Affinity reduces these wrong arrivals without ruling them out. |
indisponible503 The service is unavailable; wait for service to be restored before resuming your calls. |
plan_controle_invalide503 On a Dedicated instance, check metering returned an invalid response; the check does not complete. |
plan_controle_indisponible503 The control plane is unavailable, when authorising a key on its first use or, on a Dedicated instance, when metering checks; the check does not complete: wait for it to be restored before resuming your calls. |
operation_non_autorisee403 The requested operation is not authorised. |