Skip to content
First Circle / Jun 2024 — Dec 2024 (6 months)

Data Extractor

Automated document data extraction and processing using Azure AI Form Recognizer and OpenAI API.

data-extractor
Data Extractor

01 / Overview

As the lead developer for the Data Extractor project, I built a powerful Kotlin API that automates the extraction and processing of data from a wide range of documents. The API has processed 24,938 documents, cutting average handling time from 58 minutes to 2 per document.

Project Overview:

The Data Extractor API accepts a file and its associated document type (e.g., AFS, Bank Statement, Cheque, General Information Sheet, Income Tax Return, Security Certificate). It then automates the process of extracting critical data from these documents and converting it into a standardised JSON schema format required by our internal systems.

  • Document Parsing: The project leveraged Azure AI Form Recognizer to extract structured and unstructured data from documents with high accuracy.

  • Data Mapping: The extracted data was processed using the OpenAI API’s Chat Completions feature to map the information into a well-defined JSON schema format. This allowed seamless integration with our databases.

  • Automation & Efficiency: The automation of this document workflow eliminated the need for manual data entry and significantly reduced processing time, enhancing overall productivity.

  • Backend: Built entirely in Kotlin, the API utilized the robust and reusable Kotlin Base project I had developed previously.

  • Azure AI Form Recognizer: Handled the initial data extraction phase.

  • OpenAI API: Used Chat Completions to transform raw data into a structured JSON schema, ensuring the information was accurately and consistently stored in our databases.

Impact:

This project not only increased efficiency but also reduced the potential for human error in data processing. It enabled our team to focus on higher-value tasks while automating repetitive document handling, contributing directly to operational scalability and business growth.

Documents processed
24,938
Avg. time per document (was 58 min)
2 min
Document types
6

02 / Problem

Financial documents such as bank statements, cheques, tax returns and security certificates were keyed into internal systems by hand, which was slow and prone to error.

03 / Decisions

I split the job in two. Azure AI Form Recognizer extracts the data from the raw document, then OpenAI's Chat Completions maps it into a standardised JSON schema for each document type, which our internal systems consume directly.

04 / Outcome

The Kotlin API has processed 24,938 documents across 6 types (AFS, bank statement, cheque, general information sheet, income tax return, security certificate), cutting average handling time from 58 minutes to 2 per document.

05 / Stack

  • Azure AIAI
  • KotlinBackend
  • OpenAIAI
Next projectIndividual Verification Platform →