Book a discovery call
Book a discovery call

Automated Bank Statement Verification for Credit Risk Using Open-Source LLMs & RAG: 70%+ Less Manual Review

An on-premise RAG pipeline with open-source LLMs extracts and validates bank statement data for credit checks, keeping sensitive data in-house.

Quick Summary

The Case at a Glance

  1. Challenge

    Underwriters checked hundreds of bank statements a week by hand, and compliance rules meant data could not leave the institution.

  2. Solution

    Open-source LLMs and a RAG pipeline, running fully on-premise, extract statement data and check it against credit rules.

  3. Results

    Manual review time cut by more than 70%, with faster vetting, lower cost and full data privacy.

The Challenge

What Was Getting in the Way

Validating customer bank statements for credit eligibility meant several checks: minimum balance requirements, monthly transaction patterns and account activity over the last three months or more. Underwriters copied data from scanned statements into spreadsheets, filtered dates and values by hand and applied custom logic, across hundreds of applications every week.

The process was slow, costly and inconsistent. Manual date and value checks caused errors, statements came in many different formats, and nothing cross-checked transaction continuity automatically. On top of that, compliance rules required all data to stay on-premise, which ruled out most cloud AI services.

The institution needed an automated way to interpret structured and semi-structured financial documents while respecting strict data privacy rules.

Pain Points

  • Hundreds of statements checked by hand every week

  • Errors from manual date and value checks

  • Many different statement formats

  • No automatic check of transaction continuity

  • Data could not leave the institution's own systems

The Solution

How Tatras Built It

Tatras engineered a GenAI-powered document vetting system using open-source LLMs and a RAG pipeline to extract, validate and verify the key eligibility signals.

Reading any statement

Document parsing combined with embeddings extracts transactions, balances and account details through a retrieval-augmented generation pipeline, across layouts from PDFs to scanned images. Regular expressions normalise the many date formats, so transaction histories are validated precisely.

Checking against credit rules

A validation engine checks the extracted values against the institution's credit rules, such as the three-month average balance and transaction frequency, using open-source LLMs (Llama 2 and MixTAO) with prompt engineering for validation.

Private by design

All processing stays within the institution's own infrastructure, with audit and access controls. A FastAPI layer processes uploaded statements in real time and returns a traceable decision flag, so reviewers handle only the exceptions. Using open-source models also kept costs well below commercial alternatives.

The result: manual review time reduced by more than 70%, faster and more efficient vetting with robust handling of varied formats, significant cost savings from open-source LLMs, and an on-premise deployment that meets internal compliance and security standards.

Results

What Changed

  • 70%+

    Less manual review time

  • Faster vetting

    Robust handling of varied formats

  • Lower cost

    Savings from open-source LLMs

  • Fully private

    On-premise, meeting compliance standards

Figures: manual review time reduced by over 70%, as reported in the Tatras case study record; other outcomes are not quantified.

Tech Stack

What It Runs On

    • Open-source LLMs (Llama 2; MixTAO)
    • Prompt engineering for validation
    • Transaction classification
    • Entity extraction
    • Embeddings
    • RAG system
    • Regex for date validation
    • PyTorch
    • TensorFlow
    • FastAPI
    • LangChain
    • LlamaIndex
    • Fully on-premise, private data pipeline with audit and access controls

Tap any layer to see its full stack.

  1. AI

    • Open-source LLMs (Llama 2; MixTAO)
    • Prompt engineering for validation
  2. Machine learning

    • Transaction classification
    • Entity extraction
    • Embeddings
  3. Data and retrieval

    • RAG system
    • Regex for date validation
  4. Development

    • PyTorch
    • TensorFlow
    • FastAPI
    • LangChain
    • LlamaIndex
  5. Security

    • Fully on-premise, private data pipeline with audit and access controls

Proven Results

More Results for Our Clients

See all case studies

FAQs

How can AI verify bank statements?

It extracts transactions, balances and account details from each statement and checks them automatically against the lender's credit rules.

Why use open-source LLMs?

They can run fully on-premise, so sensitive data never leaves the institution, and they cost less than commercial alternatives.

What is RAG used for here?

Retrieval-augmented generation helps the system extract the right data from varied statement layouts.

Which credit rules are checked?

Rules such as the three-month average balance and transaction frequency.

Can it read scanned statements?

Yes. It handles multiple layouts, from PDFs to scanned images.

Do underwriters still review applications?

Only the exceptions. Each statement gets a traceable decision flag.

Where does the data go?

Nowhere. All processing stays within the institution's own infrastructure, with audit and access controls.

Is there a ready-made product for this?

Yes. Docuras, Tatras's intelligent document processing product, is built on the same capabilities.

Get Started

Could AI Do the Same for Your Business?

Book a discovery call and we'll look at your data, your use case and the results worth aiming for.

Book a discovery call