VALIDPDF417

Midwest · IA · IIN 636018

Iowa driver's license PDF417 barcode.

Iowa's AAMVA issuer identification number is 636018. 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 an Iowa barcode in three steps

  1. Fill the field map. The form below is preset to IA and preloaded with the sample record this page documents. Replace the values with the real ones.
  2. Generate. Every value is validated against the Iowa 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 10 (2020) The version every jurisdiction defaults to. The header carries AAMVA version 10, postal codes are space-filled to eleven characters, and the subfile directory counts a two-byte designator. The payload, the JSON body and the byte count on this page are rebuilt at version 10, so the difference is in the bytes rather than in a claim. Read the 2025 revision instead. The two versions are compared once at AAMVA revisions. Back to the default Iowa page.

Jurisdiction IIN

636018 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. An Iowa symbol carrying any other IIN is a valid PDF417 and an invalid Iowa credential.

The IIN is not the state code and it cannot be computed from one. Iowa's two-letter code is IA; 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

Item2020 (v10)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 Iowa 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.

Iowa 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

Iowa's IIN 636018 carries the 27-element required list, DAQ, DCF and DCK included, each capped at 25 characters.

Iowa-specific encoding notes

The Iowa license number is three digits, then two letters, then four digits, for example 111AA1111. 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 Iowa. 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 Iowa card, and it must not be presented as one.

DCK is required for Iowa. 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 Iowa. 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 Iowa is present, plus a small optional set so the payload length is realistic. Change the values, keep the keys.

json
{
  "state": "IA",
  "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": "IA"
  },
  "aamva_version": "10"
}

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":"IA","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":"IA"},"aamva_version":"10"}' \
  -o ia-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 308 bytes.

payload
@␊
␞␍ANSI 636018100001DL00310277DLDAQ1234567␊
DCSSAMPLE␊
DACJORDAN␊
DBB03141990␊
DBA01152030␊
DBC1␊
DAG1234 SAMPLE ST␊
DAIBEVERLY HILLS␊
DAJIA␊
DAK90210      ␊
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 Iowa records, in the order they are usually found.

  1. County written into DAI, shifting city and postal values.
  2. Required element list copied from a neighbouring state's page.
  3. Compressed air in the print head causing intermittent module dropout.

Questions

What IIN does Iowa use?

Iowa uses IIN 636018, written at header bytes 9 to 14. The two-letter code IA 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 Iowa record require?

The encoder requires 27 elements for Iowa, 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 Iowa?

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 Iowa 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 Iowa barcodes, and the switching case is in the pdf417.pro alternative for Iowa. 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

Illinois · Indiana · Kansas · Michigan · Minnesota · Missouri · all 63 jurisdictions

Generate barcode now