{
  "id": "fr_budget_nomenclature",
  "kind": "datatype",
  "status": "draft",
  "name": "French local budget accounting instruction (M14, M57)",
  "doc": "Name of the budgetary and accounting instruction that a French local authority or local public body follows, a letter M and a number, with a letter for a variant in some files: M14 for communes, M52 for departments, M71 for regions, M57 for metropolises and since 2024 for all local authorities, M4 and its variants M41, M43 and M49 for industrial and commercial public services, M22 for social and medico-social institutions. It tells which chart of accounts the chapter, article and function codes of a budget line come from.",
  "is_pii": false,
  "categories": [
    "finances",
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^M(?:14|4|4[1-49]|4x|52|57|61|71|832|2[12]|9[1-9]?)[A-Z]?$",
  "examples": [
    {
      "value": "M14",
      "description": "Communes",
      "valid": true
    },
    {
      "value": "M57",
      "description": "Metropolises and, since 2024, all local authorities",
      "valid": true
    },
    {
      "value": "M49",
      "description": "Water and sanitation services",
      "valid": true
    },
    {
      "value": "M14V",
      "description": "A variant of M14 as a budget file writes it",
      "valid": true
    },
    {
      "value": "M1",
      "description": "not an instruction",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.collectivites-locales.gouv.fr/finances-locales/instructions-budgetaires-et-comptables"
    }
  ],
  "translations": {
    "fr": {
      "name": "Instruction budgétaire et comptable (nomenclature M14, M57)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frbudgetnomenclaturebyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_budget.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/finances/fr_budget_nomenclature.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/finances/fr_budget_nomenclature.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/finances/fr_budget_nomenclature.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_budget_nomenclature",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_budget_nomenclature.json"
  }
}