---
id: "fr_greffe_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "French commercial court registry code (code greffe)"
regexp: "^\\d{4}$"
categories: ["companies", "legal"]
country: ["FR"]
langs: ["fr"]
quality: 90
url: "https://registry.apicrafter.io/datatype/fr_greffe_code"
---

# French commercial court registry code (code greffe) (`fr_greffe_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Four-digit code of the registry (greffe) of a commercial court or of another court that keeps the Registre du commerce et des sociétés, in the list of registries of the BODACC (DILA) and in Infogreffe data. The first two digits are a department as it was numbered when the court was coded, so not always its current department (7801 is Evry, 2001 Ajaccio); the last two are an order number. Overseas courts have codes starting with 97.

- Personal data (PII): no
- Categories: Companies/business/organizations (companies), Legal and compliance (legal)
- Countries: France (FR)
- Languages: French (fr)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{4}$
```

## Examples

- `8501` — La Roche-sur-Yon
- `7702` — Melun
- `2702` — Evreux
- `7801` — Evry
- `785` (invalid example) — three digits

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `frgreffebyname` (field, `fr/fr_companies.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- fr: Code greffe

## Sources

- doc: <https://www.data.gouv.fr/datasets/liste-des-greffes-bodacc>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/fr_greffe_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/companies/fr_greffe_code.yaml>
