Take a live AI-guided product tour with Lando.Launch AI demo
Document type

Extracting data from certified payroll reports

Contractors on prevailing wage public works file a certified payroll each week, on the federal WH-347, a state form or their payroll software's own layout. Prime contractors and awarding agencies review one from every contractor and subcontractor on the job, every week. They arrive as emailed PDFs and compliance portal uploads.

Compliance review needs each worker's classification, hours, hourly rate, fringe benefits and gross wages. A labor compliance system compares each rate against the prevailing wage determination for that classification, and flags any shortfall before the agency releases the contractor's next payment.

Page 1 of a sample Certified Payroll Report, with extracted values outlined
11,538Markdown characters
270parse blocks
170fields extracted
The problem

What makes certified payroll reports hard

Each worker spans stacked rows

Every worker gets a block of overtime and straight-time rows, with one set of classification and pay cells spanning the whole block.

Gross cells split diagonally

Many payroll forms split the gross cell diagonally, with earnings on this project above the rule and earnings from all work below.

A form for every jurisdiction

Contractors file on the federal WH-347, a state agency's form or their payroll software's own printout, each arranging the columns differently.

How it works

Parse, extract, verify

1

Parse

Parse turns the document into reading-order Markdown and a hierarchy of blocks (text, tables, figures), and grounds each block to its exact location on the page.

2

Extract

You define the fields in a JSON schema, and Extract returns their values in a consistent, structured format, each linked back to where it appears in the Markdown.

3

Verify

Each value links back to where it appears, down to the character range in the Markdown, and the page and bounding box in the source document, so every result can be verified.

Worked example

One certified payroll report, end to end

About this document: A filled specimen of Oregon's WH-38 certified payroll form, published by the state's Bureau of Labor and Industries in its prevailing wage training. Two landscape pages: the payroll grid of hours and wages, then the certified statement on its reverse. Page 1 is featured. The workers are fictional, and the contractor's name and contact details were replaced with stand-ins.

Processing objective: The objective is to tie one worker's week to the project and payroll it was reported under, as an agency reviewer does. The worker's gross for all work, $1,163.75, sits in the lower half of a diagonally split cell, beneath the gross earned on this project.

Demonstration fields: Project name, Payroll number, Straight-time hours, Gross wages (all work), Net wages paid

The document

2 of 2 pages
  • Page 1 of the sample Certified Payroll ReportPage 1shown below
  • Page 2 of the sample Certified Payroll ReportPage 2

Where each value came from

Page 1 of the sample Certified Payroll Report, with every featured field outlined
Project nameproject.name
Rock Creek Middle School
The region of the sample Certified Payroll Report containing Project name, with the extracted value outlined
extraction_metadata["project.name"]
{
  "value": "Rock Creek Middle School",
  "page": 1,
  "range": {
    "end": 493,
    "start": 383
  },
  "box": {
    "xmin": 0.01948,
    "ymin": 0.12078,
    "xmax": 0.98022,
    "ymax": 0.1537
  }
}
Payroll numberpayroll_number
3
The region of the sample Certified Payroll Report containing Payroll number, with the extracted value outlined
extraction_metadata["payroll_number"]
{
  "value": "3",
  "page": 1,
  "range": {
    "end": 190,
    "start": 178
  },
  "box": {
    "xmin": 0.47716,
    "ymin": 0.08339,
    "xmax": 0.55536,
    "ymax": 0.09789
  }
}
Straight-time hoursworkers[2].total_straight_time_hours
3
The region of the sample Certified Payroll Report containing Straight-time hours, with the extracted value outlined
extraction_metadata["workers[2].total_straight_time_hours"]
{
  "value": 3,
  "page": 1,
  "range": {
    "end": 5353,
    "start": 5352
  },
  "box": {
    "xmin": 0.43734,
    "ymin": 0.66587,
    "xmax": 0.47605,
    "ymax": 0.70352
  }
}
Gross wages (all work)workers[2].gross_wages_all_work
1,163.75
The region of the sample Certified Payroll Report containing Gross wages (all work), with the extracted value outlined
extraction_metadata["workers[2].gross_wages_all_work"]
{
  "value": 1163.75,
  "page": 1,
  "range": {
    "end": 4998,
    "start": 4973
  },
  "box": {
    "xmin": 0.58349,
    "ymin": 0.62818,
    "xmax": 0.64845,
    "ymax": 0.72237
  }
}
Net wages paidworkers[2].net_wages_paid
872.81
The region of the sample Certified Payroll Report containing Net wages paid, with the extracted value outlined
extraction_metadata["workers[2].net_wages_paid"]
{
  "value": 872.81,
  "page": 1,
  "range": {
    "end": 5054,
    "start": 5047
  },
  "box": {
    "xmin": 0.71159,
    "ymin": 0.62818,
    "xmax": 0.78084,
    "ymax": 0.72237
  }
}

How to try it yourself

Everything on this page is reproducible. The sample, its schema, and the Parse and Extract API outputs are published. You can repeat the same two calls from whichever surface you already build on.

  • Claude Skilldescribe the job; the agent writes it
  • CLIno code at all
  • MCPexpose ADE docs as an agent tool
  • REST APIany language
  • Pythonlandingai-ade
  • TypeScriptlandingai-ade
Why LandingAI?

Documents into data

Accurate

The best accuracy on the difficult documents other tools get wrong, such as messy scans, complicated tables, checkboxes and handwriting.

Auditable

Every answer cites its sources. Values come back with an audit trail (page, bounding box, character range) so a human can review them.

Agentic

Applies multi-step reasoning, and plans before it acts. Handles documents it has never seen before and adapts to variations.

API-first

Composable APIs that drop into any tech stack and can be called from anywhere. Easy to build on and embed in your pipelines and products.

Affordable

Cost-competitive rates with complete price transparency. Spend controls before you run, and every job reports its exact cost.

Enterprise-grade

Built for production and scale from day one. Fully observable and monitored, running securely in our cloud or yours.

Built for high-volume, high-throughput production

  • Zero data retention
  • Priority rate limits
  • Enhanced support
  • VPC and on-prem deployment

Available on Team and Enterprise plans. VPC and on-prem deployment require an Enterprise plan.

Compare plans
Capabilities

Certified Payroll Report processing highlights

Daily straight and overtime hours
Classification and rate per worker
Fringe benefit plans per worker
Diagonally split gross cells
Deductions and net pay
Prime and subcontractor sections
Statement of compliance page
Payroll number and pay period
State and federal forms
Payroll software layouts
Scanned and emailed copies
Bounding box for every value
FAQs

Questions, answered

Yes. Define the workers as an array in your schema, with classification, daily hours, rates, gross, deductions and net pay. Each worker comes back as its own entry, with straight-time and overtime hours kept apart.

Yes. Parsing transcribes both values in the cell. A schema can then ask for each as its own field: the gross earned on this project and the gross from all work.

Yes. Describe the fringe benefits as a nested array on each worker, with the plan name and its hourly amount. Each plan comes back paired with its own worker, including workers whose block lists none.

A certified payroll carries worker names and identification numbers. Accounts are available with zero data retention, which deletes results as soon as they are retrieved, alongside SOC 2 Type II, GDPR and HIPAA compliance.

Every extracted value carries the character range it was quoted from in the parsed Markdown. The Ground API maps that range to a page and a bounding box, so a reviewer sees each figure in the cell that printed it.

Start extracting certified payroll report data

Reliable, structured outputs with full traceability in minutes