{
  "id": "se_vat",
  "kind": "datatype",
  "status": "draft",
  "name": "Swedish VAT number (momsregistreringsnummer)",
  "doc": "Momsregistreringsnummer, the VAT number in Sweden: SE, the 10-digit organisation number (organisationsnummer) of the business and the suffix 01. A sole trader uses the 10-digit personal identity number (personnummer) in place of the organisation number. The tenth digit is a Luhn check digit.",
  "parent": "vatin",
  "is_pii": true,
  "categories": [
    "finances"
  ],
  "country": [
    "SE"
  ],
  "langs": [
    "sv"
  ],
  "classification": "identifier",
  "regexp": "^(?:SE[ -]?)?\\d{10}01$",
  "checksum": "se_vat",
  "examples": [
    {
      "value": "SE556012579001",
      "description": "Aktiebolaget Volvo, organisation number 556012-5790",
      "valid": true
    },
    {
      "value": "556012579001",
      "description": "The same number without the country prefix",
      "valid": true
    },
    {
      "value": "SE556012579101",
      "description": "Check digit does not match",
      "valid": false
    },
    {
      "value": "SE5560125790",
      "description": "The suffix 01 is missing",
      "valid": false
    }
  ],
  "mappings": {
    "schema_org": "vatID",
    "stdnum": "se.vat"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/VAT_identification_number"
    },
    {
      "type": "doc",
      "url": "https://ec.europa.eu/taxation_customs/vies/"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.se.vat.html"
    }
  ],
  "translations": {
    "sv": {
      "name": "Momsregistreringsnummer"
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/SE/finances/se_vat.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/SE/finances/se_vat.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/SE/finances/se_vat.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/se_vat",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/se_vat.json"
  }
}