Internship Project · AI Automation · OCR · Backend Engineering

Manufacturing AI Automation
GST Billing & OCR Pipeline

An AI-powered OCR and data automation system built during an internship at Maurice Engineering Works. Replaced manual data entry from 50+ handwritten GST bills per day with an automated pipeline — saving approximately 50 hours of combined manual and accounting work each week.

~50
Bills processed per day
~95%
OCR extraction accuracy
~25 hrs
Manual data entry saved/week
~50 hrs
Total work saved per week
The Problem

50 Handwritten Bills a Day — All Entered by Hand

Maurice Engineering Works processes approximately 50 handwritten GST bills per day. Before automation, each bill required manual reading, data extraction, GST validation, and database entry — consuming 25+ hours of staff time per week, with additional accounting overhead for reconciliation and error correction.

50
Bills entered manually each day — before
~4 min
Average time per bill — before
<30s
Average time per bill — after automation
~95%
Extraction accuracy with minimal review
System Architecture

How the OCR + Automation Pipeline Works

The pipeline captures bill images, extracts structured data with OCR, validates against GST rules, and writes to the production database — with a React dashboard for review and exception handling.

📷

Bill Image Capture

Staff photograph handwritten GST bills using a mobile device or scanner. Images are uploaded to the FastAPI backend which queues them for OCR processing.

🔍

OCR Extraction Pipeline

The OCR pipeline preprocesses images (deskew, contrast enhancement, noise removal) and extracts structured fields: vendor name, GST number, invoice number, line items, amounts, and tax components.

GST Validation Rules

Extracted data passes through validation rules: GST number format verification, tax calculation cross-check (CGST + SGST = total tax), invoice total validation, and duplicate detection against existing records.

🗄️

Supabase Database

Validated bill data is written to Supabase (PostgreSQL) with full audit trail — original image, extracted fields, validation status, and any manual corrections. All data is queryable for accounting and GST filing.

FastAPI Backend

Python FastAPI handles image upload, OCR job queuing, validation pipeline execution, database writes, and REST API endpoints consumed by the React frontend and accounting integrations.

🖥️

React Dashboard

Staff review extracted bills in a React + TypeScript dashboard. Bills with high confidence pass through automatically; low-confidence extractions are flagged for human review. Corrections feed back to improve accuracy.

Technology Stack

Python FastAPI Supabase OCR React TypeScript PostgreSQL REST APIs Computer Vision Image Preprocessing

Questions About AI Workflow Automation

What business processes are best suited for AI automation?
Processes best suited for AI automation are repetitive, rule-based, and involve structured or semi-structured data. Strong candidates include invoice and receipt processing, OCR-based document extraction (GST bills, purchase orders, delivery challans), inventory reconciliation, expense report generation, order fulfillment workflows, and customer data entry. This manufacturing project automated GST bill data entry — saving 50 hours/week of combined manual work and accounting overhead.
How does OCR automation work for handwritten documents?
OCR for handwritten documents uses computer vision models trained to recognize handwritten text. The pipeline captures an image of the document, preprocesses it (deskewing, contrast enhancement, noise removal), runs the OCR model to extract text fields, and applies post-processing validation rules to correct common recognition errors. This system achieved approximately 95% accuracy on handwritten GST bills — sufficient to automate the bulk of data entry with minimal human verification overhead.
Can AI automation integrate with existing accounting or ERP systems?
Yes. AI automation pipelines can write to any system that exposes an API or database connection. This system writes to Supabase (PostgreSQL), which can be connected to Tally, Zoho Books, QuickBooks, or custom accounting systems via REST APIs. The FastAPI backend acts as an integration layer between the OCR pipeline and the business's existing software.
How much manual work can AI automation realistically replace?
It depends on the process. For repetitive, high-volume document processing like GST billing, AI automation can reduce manual work by 80-95%. This system reduced a 25+ hour/week manual data entry process to under 2 hours of human review for exceptions — an approximately 90% reduction. Accounting reconciliation overhead dropped by a similar ratio since validated structured data eliminated manual cross-checking.

Need to automate a business workflow?

Sanskar Agrawal builds AI-powered automation systems for document processing, data extraction, workflow automation, and backend engineering. Based in Indore, India — available for remote projects across India and globally.