{
  "id": "lv_pvn",
  "kind": "datatype",
  "status": "draft",
  "name": "Latvian VAT number (PVN)",
  "doc": "PVN reģistrācijas numurs, the 11-digit VAT number in Latvia. For legal entities the first digit is greater than 3; for natural persons it is the personal code (personas kods), which starts with the date of birth (DDMMYY) or, for newer codes, with 32.",
  "parent": "vatin",
  "is_pii": true,
  "categories": [
    "finances"
  ],
  "country": [
    "LV"
  ],
  "langs": [
    "lv"
  ],
  "classification": "identifier",
  "regexp": "^(?:LV[ -]?)?\\d{11}$",
  "examples": [
    {
      "value": "40700043818",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "44466923465",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "407000438187",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "schema_org": "vatID",
    "stdnum": "lv.pvn"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/National_identification_number#Latvia"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.lv.pvn.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_lv_pvn.html"
    }
  ],
  "translations": {
    "lv": {
      "name": "PVN reģistrācijas numurs"
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "dataprep",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/LV/finances/lv_pvn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/LV/finances/lv_pvn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/LV/finances/lv_pvn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/lv_pvn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/lv_pvn.json"
  }
}