# Read your net-entreprises DSN returns through an API

> Get the status of each DSN mensuelle, the comptes rendus métiers in anomaly and your signalements d'événements from net-entreprises.fr with one API call each. Or have a workflow check each échéance every weekday and post new CRM anomalies to payroll.

Page: https://fous.com/automate/net-entreprises-fr
Updated: 2026-11-12

Works with your own net-entreprises.fr account. Fous is an independent product.

## What you can build on net-entreprises

### Get monthly DSN statuses

Reads Gestion des DSN mensuelles for one échéance: each SIRET déclaré with its status and the CRM counters for anomalies.

- Takes: Échéance (05 or 15 of a month), status (optional), SIRET or SIREN (optional)
- Returns: SIRET déclaré, raison sociale, ID flux, status, CRM types in anomaly, count

### List comptes rendus métiers in anomaly

Reads the list of CRM retour for one échéance and keeps those in KO or ANO, with the organisme that sent each one.

- Takes: Échéance, CRM type (optional), SIRET (optional)
- Returns: SIRET déclaré, ID flux, organisme, CRM type, status, date

### Get signalements d'événements

Reads Gestion des signalements d'événements for a period of up to 30 days: FCTU, arrêt de travail and reprise signalements with their status.

- Takes: Start date, end date, signalement type, status
- Returns: SIRET déclaré, signalement type, date, ID flux, status

### Deposit a DSN file

Uploads a DSN mensuelle or signalement file in the deposit box on the home page with Parcourir and Transmettre, and reads the result.

- Takes: DSN file
- Returns: File name, deposit date, result shown, ID flux

## Automate net-entreprises with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Rejected or missing DSN after each échéance

Starts: Every weekday at 8:00

1. Get the monthly DSN statuses for the current échéance.
2. Keep the SIRET with status Rejetée or Non transmise, and stop the run when there are none.
3. Email you the list with SIRET déclaré, raison sociale and status.

### New CRM anomalies, sent to payroll

Starts: Every weekday at 9:00

1. List the comptes rendus métiers in anomaly for the current échéance.
2. Keep the CRM that were not there on the last run.
3. Post each one, with SIRET, organisme and CRM type, to your payroll system's webhook.

### Rejected FCTU and arrêt de travail signalements

Starts: Every weekday at 17:00

1. Get the signalements d'événements with status Rejeté for the last 2 days, one call per type.
2. Keep the ones not there on the last run.
3. Email you the list grouped by signalement type.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get monthly DSN statuses” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "net-entreprises.fr/get_monthly_dsn_statuses",
    "input": {
      "echeance": "2026-11-15",
      "status": "Rejetée"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "echeance": "2026-11-15",
    "declarations": [
      {
        "siret_declare": "12345678900021",
        "raison_sociale": "Acme Logistique",
        "id_flux": "DSN-2026-11-0004821",
        "status": "Rejetée",
        "crm_in_anomaly": []
      }
    ],
    "count": 1
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## Net-entreprises’s own options

GIP-MDS publishes the API DSN for payroll software and concentrateurs: it deposits DSN and fetches the accusés d'enregistrement, certificats de conformité and bilans de traitement. Each software publisher builds it into its own payroll product. The site itself is free, and its dashboards export to CSV and download CRM as a ZIP.

| Option | What it covers | What it takes |
| --- | --- | --- |
| API DSN | Deposits of DSN files, accusés d'enregistrement électronique, certificats de conformité, bilans de traitement and fiches de paramétrage des OC. | Payroll software whose publisher has built in the GIP-MDS specification (guide d'implémentation version 6.9, 4 September 2026). |
| CRM in your payroll software | The comptes rendus métiers sent back by Urssaf, DGFiP, Agirc-Arrco and other organismes. | Payroll software that integrates them. Otherwise they are on the DSN dashboard. |
| net-entreprises by hand | DSN dashboards for mensuelles and signalements, CSV export of declarations, ZIP download of CRM and deposit of DSN files. | A free account per SIRET déclarant, with the DSN habilitation. |

Read on November 12, 2026: [L'API DSN](https://www.net-entreprises.fr/declaration/api-dsn/), [Comptes rendus métiers DSN](https://www.net-entreprises.fr/declaration/comptes-rendus-metiers-dsn/), [Mode opératoire, nouvelle interface (October 2026)](https://www.net-entreprises.fr/media/documentation/guide-utilisateur-net-entreprises-tdb-dsn.pdf).

## Signing in to net-entreprises

net-entreprises signs you in with four fields: SIRET, Nom, Prénom and Mot de passe, or with a certificate instead. With Fous you sign in once through the password form with your own account: the login is sealed with AES-256, never returned by the API or written to logs, and an expired session is signed back in.

## Worth knowing

- **Two months back, then by ID flux**: The DSN mensuelle search goes back at most 2 months, by échéance of the 5 or the 15. Test DSN and DSN mensuelles older than 3 months are found by their ID flux alone.
- **The table stops at 60 declarations**: Beyond 60 declarations the results table is partial. The export to CSV holds every declaration that matches the search, with extra fields such as the raison sociale of the SIRET déclaré.
- **Check CRM counters against the list**: The October 2026 guide says the counter of CRM in anomaly is not always right and advises exporting the results and checking each line's status. Read the CRM list, not only the counter.
- **Habilitations decide what a déclarant sees**: Each déclarant needs the Habilitation pour la DSN RG to reach the DSN area. DSN for the Régime Agricole opens the MSA portal instead.

## More in Government: UK and Western Europe

- [Guichet unique des formalités d'entreprises](https://fous.com/automate/guichet-unique-des-formalites-d-entreprises.md)
- [Companies House WebFiling](https://fous.com/automate/companies-house-webfiling.md)
- [Planning Portal](https://fous.com/automate/planning-portal.md)
- [Chorus Pro](https://fous.com/automate/chorus-pro.md)
- [FCA RegData](https://fous.com/automate/fca-regdata.md)
- [Urssaf compte employeur](https://fous.com/automate/urssaf-compte-employeur.md)
- [ePortal ESTV](https://fous.com/automate/eportal-estv.md)
- [FinanzOnline](https://fous.com/automate/finanzonline.md)
- [impots.gouv.fr espace professionnel](https://fous.com/automate/impots-gouv-fr-espace-professionnel.md)
- [MOT Testing Service](https://fous.com/automate/mot-testing-service.md)

Other industries: [Metrc](/automate/metrc), [PEXA](/automate/pexa), [FMCSA Drug & Alcohol Clearinghouse](/automate/fmcsa-drug-and-alcohol-clearinghouse), [PlanetBids](/automate/planetbids), [Georgia Tax Center](/automate/georgia-tax-center), [Vestwell State Savings employer portal](/automate/vestwell-state-savings-employer-portal).

## Frequently asked questions

### Does net-entreprises.fr have an API?

Yes, the API DSN, for payroll software and concentrateurs. It deposits DSN and returns accusés d'enregistrement, certificats de conformité and bilans de traitement, and each software publisher builds it into its product. The DSN dashboards and their exports are used through the website.

### Where do I find the comptes rendus métiers of a DSN?

In your payroll software if it integrates them, or in Gestion des DSN mensuelles on net-entreprises. Search the retours d'informations by échéance and status, then read or download the list of CRM retour, or download them all as a ZIP.

### Can I see DSN older than two months?

Yes, by ID flux. The échéance search goes back at most 2 months, and a search on the ID flux alone finds test DSN and DSN mensuelles older than 3 months. A method you build can take the ID flux as its input.

### Can I check several SIRET at once?

Yes. The search takes a SIRET or a SIREN, with a list of up to 100 to pick from, and the results table shows up to 60 declarations. The CSV export holds all of them. A workflow can call one method for each SIRET you name.

### Is Fous affiliated with GIP-MDS?

No. Fous is an independent product. You use it with your own net-entreprises account, and a method reads and does only what that account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of net-entreprises.fr (GIP-MDS). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
