---
id: "eu_animal_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["agriculture"]
country: ["EU"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/eu_animal_id"
---

# EU identification code of kept bovine, ovine, caprine, camelid and cervid animals (`eu_animal_id`)

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

Identification code that ear tags, boluses and other means of identification carry for kept cattle, sheep, goats, camelids and deer in the European Union, under Article 12 of Implementing Regulation (EU) 2021/520. It is the country code of the Member State where the animal was first identified, as ISO 3166-1 alpha-2 letters (EL for Greece) or three ISO numeric digits, followed by an individual code of at most 12 digits. Electronic identifiers use the numeric country code. Tags often print the digits in groups.

- Personal data (PII): no
- Categories: Agriculture, livestock and food (agriculture)
- Countries: European Union (EU)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[A-Z]{2}|\d{3}) ?(?:\d ?){0,11}\d$
```

## Examples

- `UK 055555500001` — Illustration of a UK sheep tag number for the first lamb of flock 555555, from ScotEID
- `UK 0 244220 00100` — Illustration of a UK sheep tag number from a Defra leaflet
- `UK555555200001` — Illustration of a UK cattle tag number from ScotEID
- `UK 0555555000010` (invalid example) — The individual code has 13 digits

## Translations

- ru: Идентификационный код сельскохозяйственного животного в ЕС: Идентификационный код крупного и мелкого рогатого скота, верблюдовых и оленей в ЕС (статья 12 Регламента 2021/520) — код страны и индивидуальный номер не длиннее 12 цифр.

## Sources

- doc: <https://eur-lex.europa.eu/eli/reg_impl/2021/520/oj>
- doc: <https://eur-lex.europa.eu/eli/reg_del/2019/2035/oj>
- doc: <https://www.scoteid.com/Public/Documents/Bovine_EID_numbering.pdf>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

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