VALIDPDF417

South · TN · IIN 636053

Tennessee driver's license PDF417 barcode.

Tennessee's AAMVA issuer identification number is 636053. The encoder targets revision 2020-09 and writes 27 required elements into a single DL subfile. Everything needed to reproduce the symbol is on this page: the header value, the element table, the error correction recommendation, a JSON body, the cURL and the full payload string.

Generate a Tennessee barcode in three steps

  1. Fill the field map. The form below is preset to TN and preloaded with the sample record this page documents. Replace the values with the real ones.
  2. Generate. Every value is validated against the Tennessee element table above before the single DL subfile is written, so a blank required element fails here rather than at a scanner.
  3. Download and print. Take the PNG or SVG and print at 600 DPI at native size with the quiet zone intact.
aamva encoder
Raw AAMVA payload

    
idle
Pinned to AAMVA version 11 (2025) The later standard. Postal codes narrow to nine characters and are zero-filled rather than space-filled, which shortens every record with a DAK and shifts the subfile length. Opt in per request; it is not the default. The payload, the JSON body and the byte count on this page are rebuilt at version 11, so the difference is in the bytes rather than in a claim. Read the 2020 revision instead. The two versions are compared once at AAMVA revisions. Back to the default Tennessee page.

Jurisdiction IIN

636053 is written at byte offsets 9 to 14, immediately after the five-byte ANSI file type marker. It is six digits, zero-padded, and it identifies the issuing jurisdiction to every reader that parses the header. A Tennessee symbol carrying any other IIN is a valid PDF417 and an invalid Tennessee credential.

The IIN is not the state code and it cannot be computed from one. Tennessee's two-letter code is TN; that value appears in DAJ inside the subfile, in a different part of the payload. Both are required, and swapping them produces a symbol that parses and then fails jurisdiction checks.

Current card revision

Item2025 (v11)The other revision
DAK (postal code)space-filled to 11 characterszero-filled to 9 characters
Header version field1011
Subfile designator width2 bytes2 bytes
Default for new requestsyesno, opt in with aamva_version

The encoder builds Tennessee payloads against AAMVA DL/ID Card Design Standard, September 2020 (version 10), with jurisdiction version 00 and AAMVA version 10. That pair is fixed for every jurisdiction in the table. With one entry the header is 21 bytes and the directory entry is 10, so the subfile starts at byte 31 with its own designator.

The revision field states what the encoder targets. It is not a claim about the print date on the card in your hand. If a batch is being produced against a specific card stock or a state-issued template, confirm the version on that template before the run, and treat a mismatch as a reason to stop rather than a reason to hand-edit the header.

Required elements

The jurisdiction table is published as JSON, and the element codes the encoder accepts are at fields.json.

Tennessee requires 27 elements. Each row is the AAMVA element identifier, the label the API uses for it, and the format the encoder enforces before it will build a symbol.

CodeElementFormat
DAQLicense number25 characters max
DCSFamily name40 characters max
DACGiven name40 characters max
DBBDate of birthCCYYMMDD input; MMDDYYYY on the v10 wire
DBAExpiry dateCCYYMMDD input; MMDDYYYY on the v10 wire
DBCSex1 · 2 · 9
DAGStreet address40 characters max
DAICity25 characters max
DAJJurisdiction2 characters max
DAKPostal code9 characters max
DCFDocument discriminator25 characters max
DCKInventory control25 characters max
DCAVehicle class4 characters max
DCBRestrictions12 characters max
DCDEndorsements12 characters max
DDACompliance typeF · N
DDBCard revision dateCCYYMMDD input; MMDDYYYY on the v10 wire
DDDLimited duration1 · 0
DDEFamily name truncatedT · N
DDFGiven name truncatedT · N
DDGMiddle name truncatedT · N
DBDIssue dateCCYYMMDD input; MMDDYYYY on the v10 wire
DAYEye colourBRO · BLU · GRN · HAZ · BLK · GRY · DIC
DAUHeight10 characters max
DCGCountry3 characters max
DDKOrgan donor1 · 0
DDLVeteran1 · 0

Under IIN 636053, Tennessee requires the 27-element set with DAQ, DCF and DCK present, each limited to 25 characters.

Tennessee-specific encoding notes

The Tennessee license number is seven to nine digits, for example 1111111. The encoder validates against that published shape and rejects anything outside it, so a malformed number never reaches the symbol; the 25-character standard ceiling stays the hard cap. The discriminator is caller-supplied with no verified derivation recorded, and DCF and DCK each cap at 25 characters.

DCF and DCK rules

DCF is required for Tennessee. The document discriminator is jurisdiction-assigned and changes when a card is reissued. When the request asks for generation, the encoder writes 12 characters from an alphabet that omits I, O, 0 and 1, so a discriminator read off a card cannot be mistaken for those glyphs. That generated value is a deterministic stand-in built from DAQ, DBB and DCS; it is not the discriminator printed on a real Tennessee card, and it must not be presented as one.

DCK is required for Tennessee. The inventory control number is 12 digits from the same basis, so one record always produces one DCF/DCK pair and a different DAQ changes both. An explicit value in the request wins over generation, and neither element is taken from the licence number. Send the card's own values for a production run and generated values only for tests and fixtures.

Recommended error correction

Use level 5 for Tennessee. The reason is the substrate: polycarbonate card stock, the default substrate for a DL/ID payload. Level 5 absorbs the head dropout that shows up on a production run without pushing the symbol past the label edge.

Level 5 adds 64 error correction codewords. Raising it widens the symbol by adding rows, which is the wrong trade on a fixed label. If a print run starts failing, check density, head condition and laminate before raising EC, because correction budget cannot fix a symbol that has lost its start pattern or been cropped by the label template.

Sample JSON body

This body is complete: every required element for Tennessee is present, plus a small optional set so the payload length is realistic. Change the values, keep the keys.

json
{
  "state": "TN",
  "eclevel": 5,
  "format": "png",
  "dpi": 600,
  "fields": {
    "DAQ": "1234567",
    "DCS": "SAMPLE",
    "DAC": "JORDAN",
    "DBB": "19900314",
    "DBA": "20300115",
    "DBC": "1",
    "DAG": "1234 SAMPLE ST",
    "DAI": "BEVERLY HILLS",
    "DAK": "90210",
    "DCF": "QHCHQ8WX3J83",
    "DCK": "123456789012",
    "DCA": "C",
    "DCB": "NONE",
    "DCD": "NONE",
    "DDA": "F",
    "DDB": "20200101",
    "DDD": "1",
    "DDE": "N",
    "DDF": "N",
    "DDG": "N",
    "DBD": "20240115",
    "DAY": "BRO",
    "DAU": "070 IN",
    "DCG": "USA",
    "DDK": "0",
    "DDL": "0",
    "DAD": "A",
    "DAZ": "BRO",
    "DAW": "165 LB",
    "DAJ": "TN"
  },
  "aamva_version": "11"
}

Copy-ready cURL

The response is image/png at 600 DPI. Set format to svg for vector output; that requires a Pro or Team key.

bash
curl -s https://validpdf417.com/api/v1/aamva \
  -H "Authorization: Bearer $PDF417_KEY" \
  -H "Content-Type: application/json" \
  -d '{"state":"TN","eclevel":5,"format":"png","dpi":600,"fields":{"DAQ":"1234567","DCS":"SAMPLE","DAC":"JORDAN","DBB":"19900314","DBA":"20300115","DBC":"1","DAG":"1234 SAMPLE ST","DAI":"BEVERLY HILLS","DAK":"90210","DCF":"QHCHQ8WX3J83","DCK":"123456789012","DCA":"C","DCB":"NONE","DCD":"NONE","DDA":"F","DDB":"20200101","DDD":"1","DDE":"N","DDF":"N","DDG":"N","DBD":"20240115","DAY":"BRO","DAU":"070 IN","DCG":"USA","DDK":"0","DDL":"0","DAD":"A","DAZ":"BRO","DAW":"165 LB","DAJ":"TN"},"aamva_version":"11"}' \
  -o tn-dl.png

Full sample payload string

The string below is what the encoder hands to PDF417. Control characters are shown as visible glyphs: ␊ is the element separator (0x0A), ␞ is the record separator (0x1E) and ␍ is the segment terminator (0x0D). This payload is 306 bytes.

payload
@␊
␞␍ANSI 636053110001DL00310275DLDAQ1234567␊
DCSSAMPLE␊
DACJORDAN␊
DBB03141990␊
DBA01152030␊
DBC1␊
DAG1234 SAMPLE ST␊
DAIBEVERLY HILLS␊
DAJTN␊
DAK902100000␊
DCFQHCHQ8WX3J83␊
DCK123456789012␊
DCAC␊
DCBNONE␊
DCDNONE␊
DDAF␊
DDB01012020␊
DDD1␊
DDEN␊
DDFN␊
DDGN␊
DBD01152024␊
DAYBRO␊
DAU070 IN␊
DCGUSA␊
DDK0␊
DDL0␊
DADA␊
DAZBRO␊
DAW165 LB␊
␍

The header is 31 bytes: 21 bytes before the directory and one 10-byte directory entry. The subfile offset is the decimal value in the four digits after DL, and the subfile length counts its own two-byte designator, its elements and the closing 0x0D. The offset and length are not repeated inside the subfile; a second copy is read as a DL0 element.

Three scanner rejections

These are the failures that show up most often on Tennessee records, in the order they are usually found.

  1. Texas IIN used for a Tennessee card.
  2. Date of birth earlier than the issue date after a copy-paste.
  3. Barcode placed over a hologram.

Questions

What IIN does Tennessee use?

Tennessee uses IIN 636053, written at header bytes 9 to 14. The two-letter code TN is not the IIN: it appears in DAJ inside the DL subfile. A symbol carrying a different IIN parses and still fails the jurisdiction check.

How many elements does a Tennessee record require?

The encoder requires 27 elements for Tennessee, written into a single DL subfile. DCF is on that list, so a blank discriminator is rejected before encoding. DCK is on it as well. The element table on this page lists every code and the format the encoder enforces.

Can the API generate the DCF and DCK for Tennessee?

Yes, when the request includes "generate": {"dd": true, "icn": true}. Both values are derived deterministically from DAQ, DBB and DCS, so the same record produces the same pair on every call, and an explicit value in fields always overrides the generated one. Neither value is derived from the licence number.

Compare

A single Tennessee barcode costs $3.00 from pdf417.pro and $2.00 here, and the gap holds down the ladder: $239 against $299 at 500. The arithmetic and the API differences are in VALIDPDF417 vs pdf417.pro for Tennessee barcodes, and the switching case is in the pdf417.pro alternative for Tennessee. The per-symbol pricing at every rung is on the cheapest AAMVA generator page, and the volume break-even is in the cost calculator.

Reference

Read the byte layout in AAMVA payload structure, the element rules in Parameters, and the substrate decision table in Error correction.

To check a finished symbol instead of a payload, use the barcode inspector. It recomputes the offset and length and checks every element against the same registry this page uses.

Other jurisdictions

Alabama · Arkansas · District of Columbia · Delaware · Florida · Georgia · all 63 jurisdictions

Generate barcode now