---
id: "gdti"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["gs1", "objectids"]
langs: ["common"]
quality: 75
url: "http://registry.apicrafter.io/datatype/gdti"
---

# Global Document Type Identifier (GDTI) (`gdti`)

> **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 identification key for a type of document, such as a certificate, an invoice form or a permit. Thirteen digits (a GS1 Company Prefix, a document type and a GS1 check digit) may be followed by a serial component of up to 17 characters of GS1 character set 82 that identifies one document of that type. In barcodes it is carried by Application Identifier (253); the element string is the pattern gs1_ai_253.

- Personal data (PII): no
- Categories: GS1 standards (gs1), Objects identifiers (objectids)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier
- Patterns: `gs1_ai_253`

## Detection

Regular expression (Python `re`):

```
^\d{13}[!%-?A-Z_a-z\x22]{0,17}$
```

## Examples

- `9528765000420` — Synthetic value with the GS1 demonstration prefix 952: document type only, GS1 check digit in position 13
- `9528765000420CERT2026-15` — Synthetic value with the GS1 demonstration prefix 952: document type and serial component
- `952876500042` (invalid example) — Twelve digits: too short

## Sources

- doc: <https://ref.gs1.org/ai/253>
- doc: <https://ref.gs1.org/standards/genspecs/>

## Quality

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

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