Tennessee Driver License & ID Card PDF417 API

Decode the PDF417 barcode on Tennessee driver licenses and state ID cards into AAMVA JSON, with document_kind to tell licenses from ID cards.

Reading Tennessee Card Barcodes in Real Workflows

Tennessee bars and music venues check large tourist crowds at night, while healthcare and logistics employers onboard staff at scale. Dim door lighting is the main obstacle. PDF417 error correction recovers some damage, but an application should never invent identity values when the barcode cannot be decoded.

One API for Tennessee Licenses and ID Cards

Tennessee cards are issued by the Tennessee Department of Safety and Homeland Security Driver Services. Licenses and identification cards carry the same AAMVA DL/ID PDF417 barcode on the back. Send the back image to the StructOCR PDF417 API: it decodes the barcode deterministically, normalizes the jurisdiction to TN, and returns document_kind as driver_license or id_card. Test a non-sensitive sample in the free PDF417 scanner. For the printed front of the card, use the Driver License OCR API.

Where This Workflow Fits

  • Bar and music venue entry: Pre-fill names, dates, and address for bar and music venue entry and keep final confirmation in your application.
  • Hospital patient registration: Accept both Tennessee licenses and state ID cards, and use document_kind where only a license is acceptable.
  • Logistics hub staffing: Send unreadable Tennessee barcodes to a retake or manual review step instead of saving partial identity data.
Need more testing? Create a free account to get 200 free credits (equals 100 Driver License scans).

Decode a Tennessee Card Back

Upload a JPG, PNG, or WebP image of the full card back. Show a live guide frame, block submission when the barcode is cut off, and offer an instant retake after a 422 response.

Prerequisite: A server-side StructOCR API key and a clear image of the complete card back

curl -X POST https://api.structocr.com/v1/driver-license-pdf417 \
  -H "x-api-key: $STRUCTOCR_API_KEY" \
  -F "file=@tennessee-card-back.jpg"

Technical Specs

  • •Endpoint: POST https://api.structocr.com/v1/driver-license-pdf417
  • •Document scope: Back of a Tennessee driver license or state ID card with an AAMVA PDF417 record
  • •Inputs: JPG, PNG, or WebP; Base64 JSON or multipart upload; maximum 4.5 MB
  • •Cost: 2 credits for a successful decode; processing failures are refunded
  • •Region output: TN when encoded in a valid Tennessee record; document_kind separates licenses from ID cards
  • •Important: Parsing barcode data does not by itself authenticate the credential or the person presenting it

Key Features

  • •Deterministic source: Returned identity fields come from the decoded barcode payload, not generative guessing.
  • •Retake-safe errors: PDF417_NOT_DECODED and AAMVA_NOT_VALID return explicit 422 responses, with an optional capture_issue hint.
  • •License or ID card: document_kind reports which record the barcode carries; ID cards return null license class, restrictions, and endorsements.
  • •Local demand: Built for Nashville nightlife, healthcare systems, and logistics hubs.

Illustrative Tennessee ID Card Response

This response uses wholly fictional data to show a TN identification card. A license returns document_kind driver_license and its class fields.

{
  "success": true,
  "data": {
    "type": "drivers_license",
    "document_kind": "id_card",
    "source": "pdf417",
    "country_code": "USA",
    "region": "TN",
    "document_number": "SAMPLE1234",
    "surname": "SAMPLE",
    "given_names": "ALEX MORGAN",
    "first_name": "ALEX",
    "middle_name": "MORGAN",
    "sex": "X",
    "date_of_birth": "1990-01-15",
    "date_of_issue": "2025-01-15",
    "date_of_expiry": "2030-01-15",
    "address": "100 EXAMPLE AVE",
    "city": "SAMPLE CITY",
    "postal_code": "00000",
    "vehicle_class": null,
    "restrictions": null,
    "endorsements": null,
    "document_discriminator": "SAMPLE-DISCRIMINATOR",
    "issuer_identification_number": null,
    "aamva_version": 10,
    "jurisdiction_version": 0
  }
}

Frequently Asked Questions

Does the API read Tennessee state ID cards as well as driver licenses?

Yes, when the back of the card carries a usable AAMVA record. The response sets document_kind to id_card for identification cards and driver_license for licenses.

Does a successful Tennessee decode prove the card is genuine?

No. It proves a usable barcode payload was decoded and parsed. Authenticity, identity, eligibility, and fraud decisions require separate controls.

What should the app do after a 422 response?

Ask for a new photo of the full Tennessee card back in even light, using the capture_issue hint when present. Do not fill missing fields from an uncertain barcode.

You May Also Like

Related tutorials, platform guides, and comparisons

Tutorial

Michigan Driver License PDF417 API

Decode the PDF417 barcode on the back of a Michigan driver license or State ID and return normalized AAMVA fields as structured JSON.

Driver License
Country Tutorial

Pennsylvania Driver License OCR: Extract Fields with Python

Extract visible fields from Pennsylvania driver license images into JSON. Map identifiers, names and dates, with a review workflow for incomplete results.

Python · Driver License
Country Tutorial

Philippines Driver License OCR with Node.js SDK

Extract structured fields from a Philippines LTO driver's license with the StructOCR Node.js SDK and TypeScript + Express.

Node.js · Driver License
Country Tutorial

Georgia Driver License OCR: Extract Fields with Python

Extract visible fields from Georgia driver license images into JSON. Map identifiers, names and dates, with a review workflow for incomplete results.

Python · Driver License
Tutorial

Node.js US Driver License PDF417 API Tutorial

Decode US driver license PDF417 barcodes with Node.js. Send a license-back image, parse AAMVA fields, and handle unreadable barcode errors safely.

Node.js · Driver License
Country Tutorial

US Driver License OCR with Python SDK

Extract structured fields from a United States state-issued driver license with the StructOCR Python SDK and FastAPI.

Python · Driver License
Country Tutorial

US Driver License OCR with Node.js SDK

Extract structured fields from a United States state-issued driver license with the StructOCR Node.js SDK and TypeScript + Express.

Node.js · Driver License
Country Tutorial

UK Driver License OCR with Python SDK

Extract structured fields from a United Kingdom photocard driving licence with the StructOCR Python SDK and FastAPI.

Python · Driver License
Country Tutorial

UK Driver License OCR with Node.js SDK

Extract structured fields from a United Kingdom photocard driving licence with the StructOCR Node.js SDK and TypeScript + Express.

Node.js · Driver License
Tutorial

Texas Driver License PDF417 API

Decode the PDF417 barcode on the back of a Texas driver license or State ID and return normalized AAMVA fields as structured JSON.

Driver License

Technical Comparisons & Integrations

Explore platform integrations and competitive analysis

From tutorial to production in 5 minutes.

You've seen the code. Now get your API key, grab your 200 free credits, and see it work with your own images. No credit card required.

Instant Access Cancel Anytime No Credit Card