# listRecentInsolvencyProceedings

**Identifier:** `bodacc_listRecentInsolvencyProceedings`

**Provider:** [BODACC](https://kirha.com/providers/bodacc.md)

List the insolvency judgments published in the French BODACC over a period, by department and stage (safeguard, receivership, liquidation, closure), newest first. Use it to monitor new business failures in France, in an area or among the companies it returns.

## Run it with the CLI

```bash
kirha tools run bodacc_listRecentInsolvencyProceedings \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "bodacc_listRecentInsolvencyProceedings",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "department": {
      "description": "e.g., 75, 13, 2A",
      "pattern": "^(\\d{2,3}|2[AB])$",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 25,
      "minimum": 1,
      "type": "integer"
    },
    "newProceedingsOnly": {
      "description": "Only judgments opening a proceeding or converting into the stage, not later ones",
      "type": "boolean"
    },
    "publishedAfter": {
      "description": "YYYY-MM-DD. Defaults to seven days before publishedBefore or today",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      "type": "string"
    },
    "publishedBefore": {
      "description": "YYYY-MM-DD",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      "type": "string"
    },
    "stage": {
      "enum": [
        "safeguard",
        "receivership",
        "liquidation",
        "closure"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "proceedings": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "city": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "court": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "family": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "judgmentDate": {
            "type": "string"
          },
          "nature": {
            "type": "string"
          },
          "noticeType": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "publishedOn": {
            "type": "string"
          },
          "siren": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "since": {
      "type": "string"
    },
    "sirens": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "since",
    "total",
    "proceedings",
    "sirens"
  ],
  "type": "object"
}
```

-----

[All BODACC tools](https://kirha.com/providers/bodacc.md) · [< Back to tools list](https://kirha.com/tools.md)