Back to projects
Invoice Insights API

Invoice Insights API

Niket Girdhar / July 3, 2024

This project was a part of my internshit at DigiMantra


Problem Statement

  • Bill Classification: Manually classifying the bills is tedious and time consuming
  • Quantity: Even small businesses receive large amount of bills on a daily basis

Agenda

  • Automate the process using image processing and classify the bills into their respective company folders
  • Extract which ever bill you want according to the company
  • Total amount spent for a specific sector or company

Technologies/APIs used

  • Python 3.x
  • FastAPI
  • EasyOCR
  • Pytessaract
  • PIL

API Endpoints

The Invoice Insights have 4 endpoints:

  • /uploadfile/ : You enter the bill image, and it classifies it as recognized or unrecognized and puts them in respective company folders
  • /listfolders/ : Lists all the available company folders in your API directory
  • /renamefolder/ : Allows you to change the company id if you wish to modify it
  • /totalamount/ : Returns you the total amount of all bills present in the company id you enter

Project Collaborators:

  • Harsimran Singh: Supervisor and Guide
  • Shrey Kakkar: Supervisor and Guide
  • Manav Sagar
  • Diya Bhattacharjee
  • Niket Girdhar (me)