Kentucky auto insurance book of business

Insurance United States

Checks an insurer’s weekly book of business files before they’re sent to the Kentucky Insurance Verification System, then lists and counts the policies in them: every file’s name, trailer row and record count, every row’s length, fields and VIN check digit, and the rows of a file against each other.

From the KentuckyIVS Kentucky Automobile Insurers Reporting Guide, version 1.2, September 2026, and the VIN rules in 49 CFR 565.15.

Kentucky auto insurance book of business
Rules, a converter for the fixed-width files, test data, expected results and a pipeline snapshot. Zip, 82 KB.
Download the template

See it in Quantemplate

The pipeline

The Kentucky auto insurance book of business pipeline in Quantemplate, showing 11 of its 17 stages, from Prepare book of business, Book of business and Row keys to the five stages that count files, duplicate rows, vehicles and policies, and the first joins. The Uploads tab lists the test file, uploaded to stage 1.

The validations

The test run’s Validations tab: the one rule set, 01 Book of business in the Check book of business stage. Its bar is about a fifth red for failures and a fifth yellow for warnings, with green for rows that pass, as the test files are built to fail every rule.

Policies

Stage 16’s policies for the clean data: 10 rows, one for each policy in each file, with its NAIC number, policy number, type, line, rows, vehicles and earliest and latest effective dates. A Louisville couple’s policy has 4 rows and 2 vehicles, a courier’s non-vehicle-specific fleet policy has no vehicles, and an excavating company’s policy has 3 trucks.

What it checks

37 rules 24 Fail 13 Warning

A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Warnings are only reported. Validation never removes a row. Every rule and its formula is listed in VALIDATIONS.md in the download.

How the pipeline works

  1. Stages 1–2 Prepare and stack the book of business Detect headers, tidy every column (trim, collapse spaces and upper-case) and stack the uploads
  2. Stage 3 Row keys Work out each date’s year, month and day, mark the trailer rows, key each row by its file, policy, vehicle and customer, and work out the VIN’s length and check digit
  3. Stages 4–8 Files, duplicates, vehicles and policies Each file’s detail rows, trailer rows and last row, each customer, vehicle and policy’s rows, each vehicle’s effective dates and policies, and each policy’s types
  4. Stages 9–13 Joins Join all five to each row
  5. Stages 14–15 Check book of business Turn blank counts into 0, mark the row that carries each file’s own checks, label the policy type and line, and run the rules
  6. Stages 16–17 Policies and summary One row for each policy with its rows, vehicles and effective dates, and the policies, vehicles and rows counted by NAIC number, policy type and line

What’s in the download

The guide isn’t included. Download the Kentucky Automobile Insurers Reporting Guide from the Kentucky Transportation Cabinet.

Build it

  1. Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
  2. With Claude in Chrome signed in to Quantemplate, ask Claude Code:
    Build the Kentucky auto insurance book of business pipeline from the ky-insurance-bob folder.
  3. Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 3 minutes.

The agent builds through the Quantemplate app’s own API in your browser. That API isn’t published, so if a release changes it, the build stops and tells you what went wrong. Review what the agent builds before you rely on it.

Using your book of business

Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.

Limits