A barcode by standard has a number of code words that ensure that the barcode content is properly read and primarily used to avoid errors when scanning due to barcoding, poor condition, and like.
The content that is entered in the barcode has no additional control digit or similar mechanism, but the barcode reading as described above is reliable.
In order for a barcode to be considered a USDL barcode, its content must be strictly formatted according to the official AAMVA standard.
2D Mandatory data elements
Data Ref. |
Data Element |
Definition |
Card type |
Length / type |
a. |
Jurisdiction- specific vehicle class |
Jurisdiction-specific vehicle class / group code, designating the type of vehicle the cardholder has privilege to drive. |
DL |
V6ANS |
b. |
Jurisdiction- specific restriction codes |
Jurisdiction-specific codes that represent restrictions to driving privileges (such as airbrakes, automatic transmission, daylight only, etc.). |
DL |
V12ANS |
c. |
Jurisdiction- specific endorsement codes |
Jurisdiction-specific codes that represent additional privileges granted to the cardholder beyond the vehicle class (such as transportation of passengers, hazardous materials, operation of motorcycles, etc.). |
DL |
V5ANS |
d. |
Document Expiration Date |
Date on which the driving and identification privileges granted by the document are no longer valid. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
e. |
Customer Family Name |
Family name of the cardholder. (Family name is sometimes also called “last name” or “surname.”) Collect full name for record, print as many characters as possible on portrait side of DL/ID. |
Both |
V40ANS |
f. |
Customer First Name |
First name of the cardholder. |
Both |
V40ANS |
g. |
Customer Middle Name(s) |
Middle name(s) of the cardholder. In the case of multiple middle names they shall be separated by a comma “,”. |
Both |
V40ANS |
h. |
Document Issue Date |
Date on which the document was issued. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
i. |
Date of Birth |
Date on which the cardholder was born. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
j. |
Physical Description – Sex |
Gender of the cardholder. 1 = male, 2 = female, 9 = not specified. |
Both |
F1N |
k. |
Physical Description – Eye Color |
Color of cardholder's eyes. (ANSI D-20 codes) |
Both |
F3A |
l. |
Physical Description – Height |
Height of cardholder. Inches (in): number of inches followed by " in" ex. 6'1'' = "073 in" Centimeters (cm): number of centimeters followed by " cm" ex. 181 centimeters="181 cm" |
Both |
F6ANS |
m. |
Address – Street 1 |
Street portion of the cardholder address. |
Both |
V35ANS |
n. |
Address – City |
City portion of the cardholder address. |
Both |
V20ANS |
o. |
Address – Jurisdiction Code |
State portion of the cardholder address. |
Both |
F2A |
p. |
Address – Postal Code |
Postal code portion of the cardholder address in the U.S. and Canada. If the trailing portion of the postal code in the U.S. is not known, zeros will be used to fill the trailing set of numbers up to nine (9) digits. |
Both |
F11ANS |
q. |
Customer ID Number |
The number assigned or calculated by the issuing authority. |
Both |
V25ANS |
r. |
Document Discriminator |
Number must uniquely identify a particular document issued to that customer from others that may have been issued in the past. This number may serve multiple purposes of document discrimination, audit information number, and/or inventory control. |
Both |
V25ANS |
s. |
Country Identification |
Country in which DL/ID is issued. U.S. = USA, Canada = CAN. |
Both |
F3A |
t. |
Family name truncation |
A code that indicates whether a field has been truncated (T), has not been truncated (N), or – unknown whether truncated (U). |
Both |
F1A |
u. |
First name truncation |
A code that indicates whether a field has been truncated (T), has not been truncated (N), or – unknown whether truncated (U). |
Both |
F1A |
v. |
Middle name truncation |
A code that indicates whether a field has been truncated (T), has not been truncated (N), or – unknown whether truncated (U). |
Both |
F1A |
2D Optional data elements
Data Ref. |
Data Element |
Definition |
Card type |
Length / type |
a. | Address – Street 2 | Second line of street portion of the cardholder address. | Both | V12A |
b | Hair color | Bald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. If the issuing jurisdiction wishes to abbreviate colors, the three-character codes provided in AAMVA D20 must be used. | Both | V33A |
c. | Place of birth | Country and municipality and/or state/province | Both | V25ANS |
d. | Audit information | A string of letters and/or numbers that identifies when, where, and by whom a driver license/ID card was made. If audit information is not used on the card or the MRT, it must be included in the driver record. | Both | V25ANS |
e. | Inventory control number | A 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. (DHS recommended field) | Both | V25ANS |
f. | Alias / AKA Family Name | Other family name by which cardholder is known | Both | V10ANS |
g. | Alias / AKA Given Name | Other given name by which cardholder is known | Both | V15ANS |
h. | Alias / AKA Suffix Name | Other suffix by which cardholder is known | Both | V5ANS |
i. |
Name Suffix |
Name Suffix (If jurisdiction participates in systems requiring name suffix (PDPS, CDLIS, etc.), the suffix must be collected and displayed on the DL/ID and in the MRT). Collect full name for record, print as many characters as possible on portrait side of DL/ID.
|
Both |
V5ANS |
j. |
Physical Description – Weight Range |
Indicates the approximate weight range of the cardholder: 0 = up to 31 kg (up to 70 lbs) |
Both |
F1N |
k. |
Race / ethnicity |
Codes for race or ethnicity of the cardholder, as defined in AAMVA D20. |
Both |
F3A |
l. |
Standard vehicle classification |
Standard vehicle classification code(s) for cardholder. This data element is a placeholder for future efforts to standardize vehicle classifications. |
DL |
F4AN |
Data Ref. |
Data Element |
Definition |
Card type |
Length / type |
m. |
Standard endorsement code |
Standard endorsement code(s) for cardholder. See codes in D20. This data element is a placeholder for future efforts to standardize endorsement codes. |
DL |
F5AN |
n. |
Standard restriction code |
Standard restriction code(s) for cardholder. See codes in D20. This data element is a placeholder for future efforts to standardize restriction codes. |
DL |
F12AN |
o. |
Jurisdiction- specific vehicle classification description |
Text that explains the jurisdiction-specific code(s) for classifications of vehicles cardholder is authorized to drive. |
DL |
V50ANS |
p. |
Jurisdiction- specific endorsement code description |
Text that explains the jurisdiction-specific code(s) that indicates additional driving privileges granted to the cardholder beyond the vehicle class. |
DL |
V50ANS |
q. |
Jurisdiction- specific restriction code description |
Text describing the jurisdiction-specific restriction code(s) that curtail driving privileges. |
DL |
V50ANS |
r. |
Compliance Type |
DHS required field that indicates compliance: “F” = fully compliant; and, “N” = non-compliant. |
Both |
F1A |
s. |
Card Revision Date |
DHS required field that indicates date of the most recent version change or modification to the visible format of the DL/ID (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
t. |
HAZMAT Endorsement Expiration Date |
Date on which the hazardous material endorsement granted by the document is no longer valid. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
DL |
F8N |
u. |
Limited Duration Document Indicator |
DHS required field that indicates that the cardholder has temporary lawful status = “1”. |
Both |
F1N |
v. |
Weight (pounds) |
Cardholder weight in pounds Ex. 185 lb = “185” |
Both |
F3N |
w. |
Weight (kilograms) |
Cardholder weight in kilograms Ex. 84 kg = “084” |
Both |
F3N |
x. |
Under 18 Until |
Date on which the cardholder turns 18 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
y. |
Under 19 Until |
Date on which the cardholder turns 19 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
z. |
Under 21 Until |
Date on which the cardholder turns 21 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada) |
Both |
F8N |
a.a. |
Organ Donor Indicator |
Field that indicates that the cardholder is an organ donor = “1”. |
Both |
F1N |
a.b. |
Veteran Indicator |
Field that indicates that the cardholder is a veteran = “1” |
Both |
F1N |
Example of raw PDF417 data
The following represents the data stream of a compliant PDF417 barcode. For this example, Ontario DL was chosen and scanned viaUSDL recognizer and raw PDF417 Recognizer:
USDL barcode string data:
DocumentType: AAMVA
StandardVersionNumber: 3
CustomerFamilyName: CULO
CustomerFirstName: IVAN
CustomerFullName: CULO,IVAN
DateOfBirth: 05141984
Sex: 1
EyeColor: NONE
AddressStreet: XXX XXXXX XXXX,
AddressCity: MISSISSAUGA
AddressJurisdictionCode: ON
AddressPostalCode: L5C 1Y6
FullAddress: XXXX XXXXX XX,, MISSISSAUGA, ON, L5C 1Y6
Height: 191 cm
HeightIn: 75
HeightCm: 191
CustomerIdNumber: CXXXX-XXXXX-XXXXX
CountryIdentification: CAN
IssuerIdentificationNumber: XXXX
DocumentExpirationDate: XXXXXXX
JurisdictionVersionNumber: 0
JurisdictionVehicleClass: G1
JurisdictionRestrictionCodes: NONE
JurisdictionEndorsementCodes: NONE
DocumentIssueDate: 10132011
FederalCommercialVehicleCodes: NONE
IssuingJurisdictionName: Ontario
InventoryControlNumber: *XXXXXX*
DocumentDiscriminator: CEXXXXXX
USDL barcode raw data:
{64, 10, 30, 13, 65, 78, 83, 73, 32, 54, 51, 54, 48, 49, 50, 48, 51, 48, 48, 48, 49, 68, 76, 48, 48, 48, 48, 48, 51, 54, 55, 68, 76, 68, 67, 65, 71, 49, 32, 32, 10, 68, 67, 66, 78, 79, 78, 69, 32, 32, 32, 32, 32, 32, 10, 68, 67, 68, 78, 79, 78, 69, 32, 10, 68, 66, 65, 50, 48, 49, 54, 49, 48, 49, 50, 10, 68, 67, 83, 67, 85, 76, 79, 44, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 10, 68, 67, 84, 73, 86, 65, 78, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,...}
PDF417 barcode string data:
@
ANSI 636012030001
DL00000367
DLDCAG1
DCBNONE
DCDNONE
DBAXXXXXXXX
DCSCULO
DCTIVAN
DBD20111013
DBB19840514
DBC1
DAYNONE
DAU191 cm
DAGXX XXXXX XXXX,
DAIMISSISSAUGA
DAJON
DAKL5C 1Y6
DAQCXXXX-XXXXX-XXXXX
DCFCEXXXXXXX
DCGCAN
DCHNONE
DCK*XXXXX*
PDF417 barcode raw data:
{64, 10, 30, 13, 65, 78, 83, 73, 32, 54, 51, 54, 48, 49, 50, 48, 51, 48, 48, 48, 49, 68, 76, 48, 48, 48, 48, 48, 51, 54, 55, 68, 76, 68, 67, 65, 71, 49, 32, 32, 10, 68, 67, 66, 78, 79, 78, 69, 32, 32, 32, 32, 32, 32, 10, 68, 67, 68, 78, 79, 78, 69, 32, 10, 68, 66, 65, 50, 48, 49, 54, 49, 48, 49, 50, 10, 68, 67, 83, 67, 85, 76, 79, 44, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 10, 68, 67, 84, 73, 86, 65, 78, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,...}
Header Fields:
- Compliance Indicator: @
-
Data Element Separator: Line Feed character (LF)
-
Record Separator: Record Separator character (RS)
-
Segment Terminator: Carriage Return character (CR)
-
File Type: ‘ANSI ’ (Note: ANSI followed by a SPACE).
-
Issuer Identification Number (IIN): 6-digit IIN: ‘636000’
-
AAMVA Version Number: ‘09’
-
Jurisdiction Version Number: ‘00’
-
Number of Entries: ‘02’ (numeric value for # of sub-files in the barcode)
Sub-file Designator:
-
Sub-file Type: DL – DL data
-
Offset: 0041
-
Length: 0278
-
Sub-file Type: ZV – Jurisdiction Specific data
-
Offset: 0319
- Length: 0008
Mandatory Fields:
-
Customer Number - DAQ
-
Family Name - DCS
-
Family Name Truncation - DDE
-
First Names – DAC
-
First Names Truncation - DDF
-
Middle Names - DAD
-
Middle Names Truncation - DDG
-
Specific Class - DCA
-
Specific Restrictions - DCB
-
Specific Endorsements - DCD
-
Issue Date - DBD
-
Date of Birth - DBB
-
Expiration Date - DBA
-
Sex - DBC
-
Height - DAU
-
Eyes - DAY
-
Address - DAG
-
City - DAI
-
State - DAJ
-
Zip – DAK
-
Document Discriminator - DCF
- Country/territory of issuance - DCG
Optional Fields:
-
Suffix - DCU
-
Inventory Control Number – DCK (Recommended for DHS compliant licenses)
-
Compliance Type (ex. “F” = fully compliant) – DDA (Required for DHS compliant licenses)
-
Card Revision Date – DDB (Required for DHS compliant licenses)
-
HazMat Endorsement Expiry Date – DDC
- Limited Duration Document Indicator – DDD (Required for DHS compliant licenses)
Jurisdiction Specific Fields:
- Court Restriction Code(s) – ZVA
SOURCE:
Comments