# French départements ranked by days to pay suppliers

**Use case:** 

Every French département council's average payment time in 2025, slowest first, with the days over the 30-day legal limit and the change since 2023.

## Input

```json
{
  "entityTypes": [
    "department"
  ],
  "minAverageDays": 60,
  "year": "2025",
  "compareYears": true,
  "maxResults": 101
}
```

## Output

```json
{
  "name": {
    "label": "Public body (budget)",
    "format": "text"
  },
  "department": {
    "label": "Department",
    "format": "text"
  },
  "departmentCode": {
    "label": "Code",
    "format": "text"
  },
  "entityType": {
    "label": "Kind",
    "format": "text"
  },
  "budgetCode": {
    "label": "Budget",
    "format": "text"
  },
  "year": {
    "label": "Year",
    "format": "number"
  },
  "averagePaymentDays": {
    "label": "Average payment time (days)",
    "format": "number"
  },
  "daysOverLegalLimit": {
    "label": "Days over the 30-day limit",
    "format": "number"
  },
  "previousYearDays": {
    "label": "Year before (days)",
    "format": "number"
  },
  "changeVsPreviousYear": {
    "label": "Change (days)",
    "format": "number"
  },
  "trend": {
    "label": "Trend",
    "format": "text"
  },
  "siret": {
    "label": "SIRET",
    "format": "text"
  },
  "annuaireUrl": {
    "label": "Official directory",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The France Public Sector Late Payers: Payment Times Actor is ready to run with the inputs already set for "French départements ranked by days to pay suppliers". [Sign up or log in](https://console.apify.com/create-task-from-example/IWSh7BXZO0ZdwtOzh) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "French départements ranked by days to pay suppliers" task

The France Public Sector Late Payers: Payment Times Actor will start running based on the input automatically. You can also change all the input fields, like kinds of public body, average payment time: at least (days), and more, to match your specific use case.

### 3. Receive the "French départements ranked by days to pay suppliers" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as public body (budget), department, code, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "French départements ranked by days to pay suppliers" task via API](https://apify.com/digital_influx/france-public-payment-times.md).

## FAQ

### Where does the data come from?

From the French Ministry of Economy's yearly files on local public bodies' payment times (Licence Ouverte 2.0), read through data.gouv.fr's official tabular API. About 90,000 budgets a year, 2023 to 2025.

### What is the 30-day legal limit?

French law gives local public bodies 30 days to pay a supplier's invoice (Code de la commande publique, article R2192-10). daysOverLegalLimit shows how far each budget's average goes past it.

### Which public bodies are covered?

Communes, départements, regions, intermunicipal bodies, syndicates, social action centres, fire services and more, each budget on its own row, searchable by department, kind, name or SIRET.

### Why can a run take up to a minute?

The government API is slow and sometimes busy; the Actor retries a failed query up to three times. A search with no results is free, and the free Apify plan saves up to 25 rows per run.

## About this Actor

This example demonstrates how to use [France Public Sector Late Payers: Payment Times](https://apify.com/digital_influx/france-public-payment-times.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/digital_influx/france-public-payment-times.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/digital_influx/france-public-payment-times.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
