
Issuer Identification Number (IIN): 6-digit IIN: ‘636000’ Other suffix by which cardholder is knownįullAddress: XXXX XXXXX XX, MISSISSAUGA, ON, L5C 1Y6 Other given name by which cardholder is known Other family name by which cardholder is known If audit information is not used on the card or the MRT, it must be included in the driver record.Ī string of letters and/or numbers that is affixed to the raw materials (card stock, laminate, etc.) used in producing driver licenses and ID cards. If the issuing jurisdiction wishes to abbreviate colors, the three-character codes provided in AAMVA D20 must be used.Ĭountry and municipality and/or state/provinceĪ string of letters and/or numbers that identifies when, where, and by whom a driver license/ID card was made. I've only been able to test against a small handful of license samples from DMV's kind enough to post samples online.Second line of street portion of the cardholder address.īald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. It's not all that robust in terms of error checking, header validation and what not. This is just something I threw together in one night to test if I could do it. This is for scanners that don't do any of the parsing and just return the raw data from the barcode as if you typed it on a keyboard. If you've got one of those fancy scanners, you don't need this library.

Some higher-end scanners can parse out these codes and return them in the order you desire. This library assumes you're using a USB Barcode scanner capable of reading 2D codes. I searched the web for a library that does this, but everything I was finding was trying to do the image parsing. This script is a really basic parser that takes the encoded data from a PDF417 barcode and returns a hash of "normalized" data.

LicenseParser Javascript AAMVA Driver License/Identification Card Parser for use with USB 2D Barcode Scanners
