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.
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.
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.
Staff photograph handwritten GST bills using a mobile device or scanner. Images are uploaded to the FastAPI backend which queues them for OCR processing.
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.
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.
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.
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.
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.
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.