VALIDPDF417

South · SC · IIN 636005

South Carolina driver's license PDF417 barcode.

South Carolina's AAMVA issuer identification number is 636005. 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 South Carolina barcode in three steps

  1. Fill the field map. The form below is preset to SC and preloaded with the sample record this page documents. Replace the values with the real ones.
  2. Generate. Every value is validated against the South Carolina 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

Jurisdiction IIN

636005 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 South Carolina symbol carrying any other IIN is a valid PDF417 and an invalid South Carolina credential.

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

The same jurisdiction is also published at each revision the encoder can target: version 10 (2020) · version 11 (2025).

The encoder builds South Carolina 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.

South Carolina 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

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

South Carolina-specific encoding notes

The South Carolina license number is five to eleven digits, for example 11111. 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 South Carolina. 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 South Carolina card, and it must not be presented as one.

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

json
{
  "state": "SC",
  "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": "SC"
  }
}

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":"SC","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":"SC"}}' \
  -o sc-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 636005100001DL00310277DLDAQ1234567␊
DCSSAMPLE␊
DACJORDAN␊
DBB03141990␊
DBA01152030␊
DBC1␊
DAG1234 SAMPLE ST␊
DAIBEVERLY HILLS␊
DAJSC␊
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 South Carolina records, in the order they are usually found.

  1. Offset field set to 0.
  2. A slash in DAI.
  3. Symbol printed on pre-printed stock with a dark background.

Questions

What IIN does South Carolina use?

South Carolina uses IIN 636005, written at header bytes 9 to 14. The two-letter code SC 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 South Carolina record require?

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

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