SOC2

Process Income Verification Document Extractor — Faster Underwriting

Loan processing requires reviewing dozens of documents per application. Manual review delays approvals and increases default risk.

64
Fields Extracted
180s
Max Processing

What This Template Does

AI-powered extraction using gemini-2.5-flash. Part of 113 production-ready templates.

Capabilities

  • Lending Extraction
  • Income Verification
  • Paystub Processing
  • Mortgage
  • Income

Output Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Income Verification Document Extraction",
  "description": "Schema for extracted income data from paystubs and verification documents",
  "type": "object",
  "required": [
    "document_type",
    "employee_info",
    "employer_info"
  ],
  "properties": {
    "document_type": {
      "type": "string",
      "enum": [
        "paystub",
        "w2",
        "tax_return",
        "1099",
        "pension",
        "social_secu
...

Quick Start

$ pip install doclayer
$ doclayer process document.pdf --agent lending.income-verification

See It In Action

Real extraction example showing input document and structured output.

Input Document
================================================================================
                            PAYSTUB / EARNINGS STATEMENT
================================================================================

EMPLOYER INFORMATION:
Midwest Technology Solutions Inc.
500 Innovation Drive, Suite 200
Springfield, IL 62702
Phone: (217) 555-8000
Federal EIN: XX-XXX4567

EMPLOYEE INFORMATION:
Robert James Thompson
Employee ID: EMP-45678
SSN: XXX-XX-4521
Address: 1234 Maple Avenue, Apt 5B
    
Extracted Data
{
  "document_type": "paystub",
  "document_date": "2024-09-20",
  "pay_period": {
    "start_date": "2024-09-01",
    "end_date": "2024-09-15",
    "pay_date": "2024-09-20",
    "frequency": "semi_monthly"
  },
  "employee_info": {
    "name": "Robert James Thompson",
    "ssn": "XXX-XX-4521",
    "address": "1234 Maple Avenue, Apt 5B, Springfield, IL 62701",
    "employee_id": "EMP-45678"
  },
  "employer_info": {
    "name": "Midwest Technology Solutions Inc.",
    "address": "500 Innovation Drive, Suite 200, Springfield, IL 62702",
    "ein": "XX-XXX4567",
    "phone": "(217) 555-8000"
  },
  "current_period_earnings": {
    "regular_hours": null,
    "regular_rate": null,
    "regular_earnings": "4791.67",
    "overtime_hours": 0,
    "overtime_earnings": "0.00",
    "bonus": "0.00",
    "commission": "0.00",
    "gross_pay": "4791.67"
  },
  "year_to_date": {
    "regular_earnings": "86250.00",
    "overtime_earnings": "0.00",
    "bonus": "10000.00",
    "commission": "0.00",
    "gross_pay": "96250.00",
    "federal_tax": "12842.10",
    "state_tax": "3734.25",
    "social_security": "4702.15",
    "medicare": "1099.90",
    "net_pay": "49691.60"
  },
  "deductions_current": {
    "federal_tax": "623.45",
    "state_tax": "181.25",
    "social_security": "228.37",
    "medicare": "53.41",
    "health_insurance": "425.00",
    "dental_insurance": "35.00",
    "vision_insurance": "12.50",
    "retirement_401k": "387.50",
    "hsa": "150.00",
    "fsa": "200.00",
    "other_deductions": [
      {
        "type": "Life Insurance (Supplemental)",
        "amount": "25.00"
      },
      {
        "type": "Parking",
        "amount": "75.00"
      }
    ],
    "total_deductions": "2396.48",
    "net_pay": "2395.19"
  },
  "leave_balances": {
    "vacation_hours": 80,
    "sick_hours": 48,
    "pto_hours": null,
    "personal_hours": 16
  },
  "calculated_income": {
    "monthly_gross": "9583.34",
    "annual_gross": "115000.00",
    "monthly_base": "9583.33",
    "monthly_bonus_avg": "833.33",
    "total_monthly_qualifying": "10416.66"
  },
  "income_analysis": {
    "pay_periods_in_year": 24,
    "is_consistent": true,
    "variance_from_prior": "0%",
    "notes": [
      "Salaried employee - semi-monthly pay",
      "YTD bonus of $10,000 (annual average: $10,000)",
      "No overtime income"
    ]
  },
  "validation": {
    "employer_verified": true,
    "dates_consistent": true,
    "math_verified": true,
    "ytd_reconciles": true
  }
}

Paystub from technology employer showing regular employment income and deductions. Demonstrates extraction of earnings and wage data for income verification in loan applications.

Frequently Asked Questions

What documents can Income Verification Document Extractor process?

The Income Verification Document Extractor template processes lending documents including various formats and layouts. See the instructions for specific document types supported.

How accurate is the Income Verification Document Extractor extraction?

The Income Verification Document Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.

Can I customize the Income Verification Document Extractor template?

Yes, you can modify the extraction schema, add custom fields, or adjust the instructions to match your specific requirements.

Start Extracting Data Today

Process your first document in under 5 minutes. No credit card required.