← Anuja Saini

Project

Invoice → Product → Star Rating → Green Building Point

2024-07 to 2024-12

AI for social good. Reads a purchase invoice, checks each product against India's green-building code.

01The question

Can a green-building certifier check an invoice in seconds instead of a site visit?

GRIHA, India’s green-building rating, gives points for efficient equipment. Proving it means reading every invoice and looking up each product’s BEE star rating by hand. Certification takes six months to a year.

02What I built

Upload an invoice or type a product name. The tool finds each product’s specification online, reads off its star rating, and says whether it clears the GRIHA bar. No rating found, it says so.

OCRLLMweb lookupstar rating → GRIHA checkFlaskhosted
The tool's front page: a search box for a product name, and a file upload for an invoice
The whole interface.
Pipeline: an invoice is read by OCR and an LLM picks out the product lines, or a product name is typed directly; the product is looked up on a retailer listing; an LLM reads the specification for the BEE star rating and checks it against GRIHA.Pipeline: an invoice is read by OCR and an LLM picks out the product lines, or a product name is typed directly; the product is looked up on a retailer listing; an LLM reads the specification for the BEE star rating and checks it against GRIHA.
One LLM call to read, one to decide, a web lookup between.
Result table: product name, BEE star rating 3, GRIHA compatible: yes
What comes back.

03Why this way

The national ratings database is PDFs with the star as a picture, incomplete and stale. Reading the live listing instead answers for anything on the market.

  • AI for social good: built in volunteer hours with People+ai for the GRIHA council. Buildings are 37 percent of global emissions; cheaper certification means more go green.
  • First certification check automated; site-plan green cover was next.

04Reading