---
id: "gs1_ai_8018"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["gs1", "pii"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/gs1_ai_8018"
---

# GSRN of a service recipient (GS1 AI 8018) (`gs1_ai_8018`)

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

GS1 element string of Application Identifier (8018): '8018' followed by the 18-digit GSRN that identifies the relationship between an organisation offering services and the recipient of the services. GS1 format N4+N18. In the human-readable text under a barcode it is written as (8018) and the value.

- Pattern of: `gsrn`
- Personal data (PII): yes
- Categories: GS1 standards (gs1), Personally identifiable information (pii)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^8018\d{18}$
```

## Examples

- `8018952876500003104257` — Synthetic value with the GS1 demonstration prefix 952
- `8018952876510000005891` — Synthetic value with the GS1 demonstration prefix 952
- `801895287650000310425` (invalid example) — Seventeen digits

## Mappings

- gs1_ai: `8018`

## Sources

- doc: <https://ref.gs1.org/ai/8018>

## Quality

Score 85/100. Missing: translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/gs1_ai_8018.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/gs1_ai_8018.yaml>
