AAMVA kod kreskowy prawa jazdy

Kod 2D na odwrocie każdego amerykańskiego prawa jazdy to symbol PDF417 kodujący dane posiadacza zgodnie ze Standardem AAMVA Card Design Standard. Pierwotnie określony w 2000 roku, obecna wersja 10 (2020). To materiał referencyjny dla tworzenia parserów, testowania kiosków i autoryzowanych przepływów pracy emitentów.

Kanoniczne źródło:AAMVA Card Design Standard v10 (2020-09).
Symbolika kodu kreskowego: PDF417 (ISO/IEC 15438).
Poprzednie wersje: v8 (2013), v9 (2016), v10 (2020).

Czym to jest

An AAMVA barcode is a PDF417 symbol whose decoded payload begins with a fixed header, then one "subfile" per data domain. The core subfile is DL (driver license).

Header structure:

@

ANSI <IIN><version><jurisdiction version><subfile count>DL<subfile offset><subfile length>

Kody elementów

CodeMeaningFormat
DAACustomer name (legacy)LAST,FIRST,MIDDLE
DACFirst nameText
DCSLast nameText
DBBDate of birthMMDDYYYY
DBALicense expirationMMDDYYYY
DBDLicense issue dateMMDDYYYY
DBCSex (1=male, 2=female, 9=N/A)1 digit
DAQLicense numberAlphanumeric
DAGStreet addressText
DAICityText
DAJStateAlpha
DAKZIP code5 or 9 digits
DAYEye colourBLU/BRO/GRN/GRY/HZL/BLK…
DCAVehicle classA/B/C/D/M…

Numer identyfikacyjny emitenta (IIN)

StateIINStateIIN
California636014New York636001
Texas636015Florida636010
Illinois636035Pennsylvania636025
Ohio636023Georgia636055

Różnice wersji

VersionPublishedKey changes
v82013Added compliance header (@\x1e\r). Baseline for modern parsers.
v92016Clarified DCF format. Added truncation flags.
v102020Added document-image elements; relaxed height units.

Co mają prawdziwe dokumenty, a naprawione kody PDF417 nie

Kanoniczne wektory testowe

CaseInputsExpected header substring
California v10, syntheticjurisdiction=CA
first=JOHN
last=TEST
license=D1234567
dob=1990-01-01
ANSI 636014100002DL
Texas v10, syntheticjurisdiction=TX
first=JANE
last=SAMPLE
license=12345678
ANSI 636015100002DL
New York v9, syntheticjurisdiction=NY
first=TEST
last=USER
ANSI 636001090002DL

Typowe pułapki

Kompatybilność skanerów

ReaderSupportNotes
iOS Camera (iOS 17+)License-awareWallet app recognises AAMVA payloads and can offer to add as an ID card.
Android CameraNot nativeRequires an ID-verification app.
Commercial ID-verification SDK (IDEMIA, Jumio, Onfido)Full parseIndustry-standard for age-verification kiosks and online KYC.
Industrial PDF417 scanner (Zebra, Honeywell)Full parseMost modern firmware includes AAMVA parsing.

Zobacz też

Wersja specyfikacji zweryfikowana 2026-04-18 (AAMVA CDS v10, 2020-09). Następna weryfikacja: 2026-07-18.