---
id: "fr_nafa"
kind: "datatype"
status: "draft"
is_pii: false
name: "French crafts activity code (NAFA)"
regexp: "^\\d{4}[A-Z]{2}$"
categories: ["industry", "companies"]
country: ["FR"]
langs: ["fr"]
quality: 90
url: "https://registry.apicrafter.io/datatype/fr_nafa"
---

# French crafts activity code (NAFA) (`fr_nafa`)

> **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.

Code of the Nomenclature d'activités française du secteur des métiers de l'artisanat (NAFA), which refines NAF rév. 2 for establishments registered in the Répertoire des métiers. Sirene gives it as activitePrincipaleRegistreMetiersEtablissement for crafts establishments only: six characters, the NAF subclass without its dot (four digits and a letter) and a letter of the NAFA.

- Personal data (PII): no
- Categories: Industry (industry), Companies/business/organizations (companies)
- Countries: France (FR)
- Languages: French (fr)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{4}[A-Z]{2}$
```

## Examples

- `8121ZZ` — NAF 81.21Z, general cleaning of buildings
- `4321AB` — NAF 43.21A, electrical installation
- `5610CQ` — NAF 56.10C, fast food
- `81.21Z` (invalid example) — a NAF subclass, not a NAFA code
- `8121Z` (invalid example) — one letter

## Metacrafter rules

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

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

## Supported by tools

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

## Translations

- fr: Code NAFA

## Sources

- doc: <https://www.insee.fr/fr/metadonnees/definition/c1580>

## Quality

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

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