Havells × Turrant.ai
← Back to Overview

Invoice-to-Registration Workflow

AI-powered invoice verification and warranty activation

The Problem

Scale & Channel Diversity

Havells operates 14,000+ dealers across channels-85% of sales are offline. Each channel partner has different invoice formats and record-keeping practices.

Non-Standardized Invoices

Invoices vary dramatically: many are handwritten, pre-printed with custom layouts, or digitally generated in multiple formats. Standard OCR tools fail on non-standard layouts.

Manual Verification Bottleneck

Current OCR limitations require manual verification, which is slow, subjective, and expensive-creating a barrier to quick warranty activation and poor customer experience.

Emerging Fraud Risk

AI-generated fake invoices are becoming harder to distinguish. Invoice numbers vary across dealer sequences (no global validation possible), making authenticity verification critical.

The Solution

A 10-step intelligent workflow that combines form collection, AI verification, GST/dealer validation, and human review for fast, accurate warranty registrations.

1
Start
Registration triggered from any channel: WhatsApp, Web Portal, Email, or API from SFA/Sampark/Technician apps
Trigger
2
Form Collection
Collect consumer details (Name, Mobile, Email, Pincode) and product details (Category, Model, Serial Number, Purchase Date). Pre-filled if coming via API.
Form Node
3
Document Upload & Extract
Consumer uploads invoice photo/PDF. LLM-based extraction (not template OCR) pulls Dealer Name, GST Number, Invoice Number, Date, Product Description, Amount. Works on handwritten invoices. Each field gets confidence score.
Document Node
4
Authenticity Check
Third-party PDF/image tampering APIs detect document manipulation. Gemini 3.0 Flash analyzes the image for AI-generation artifacts and visual inconsistencies. Returns is_authentic + confidence + flags.
Integration + AI Node
5
Product & Serial Cross-Validation
Compares registered product (Step 2) with invoice product (Step 3). LLM handles terminology variations (AC = Air Conditioner, 1.5T = 1.5 Ton). Verifies serial number belongs to the same product as on the invoice. Checks price sanity and date consistency.
AI Node
6
GST Verification
If GST number present, verify via Perfios/GSTN API (is it active, does business name match). If no GST (common for retailers below ₹40L), skip but reduce confidence ~10%.
Integration Node
7
Havells Database Check + Duplicate Detection
Call Havells' internal API to verify: serial number in dispatch records, not already registered, product category matches, dealer is authorized. Also matches invoice against all previously registered invoices - same invoice image or same invoice number + dealer combo = reject as duplicate.
Integration Node
8
Decision Engine
Routes based on combined confidence: All pass → auto-approve. Some flags → manual review. Hard fail → reject.
Condition Node
9a
Auto-Approve Path
Push verified data to Havells API (consumer profile, product, invoice, warranty date, dealer, audit trail). Send confirmation to consumer.
Integration + Message
9b
Review Path
Havells team sees pre-analyzed data with confidence scores and specific flags. 30-second decision. Push to Havells API.
Review Node
9c
Reject Path
Send rejection with specific reason and re-upload option. Consumer can correct and resubmit.
Message Node
10
End
Warranty activated in Havells system. Customer receives email/SMS confirmation with warranty card details, service center info, claim process.
End

Dynamics 365 Integration

Same AI Pipeline, Inside Havells' Existing Tools

The AI verification workflow isn't just for consumer-facing registration. The same pipeline integrates directly into Dynamics 365 - where Havells' internal support team currently reviews invoices manually.

When a team member opens a registration in Dynamics 365, they see the AI-analyzed results: extracted fields with confidence scores, tampering flags, serial number validation status, and duplicate invoice alerts. Instead of manually inspecting each invoice from scratch, they review pre-analyzed data and make a decision in seconds.

This means both paths - consumer self-registration (WhatsApp/Web/Email) and internal team processing - run through the same verification engine with the same standards. No discrepancies between what the AI catches and what the human team reviews.

Key AI Capabilities

PDF & Image Tampering Detection

Third-party APIs specialized in document forensics detect pixel-level manipulation, metadata inconsistencies, compression artifacts, and layer detection in PDFs and images. Catches edits that are invisible to the human eye.

Terminology Matching

Gemini 3.0 Flash reasoning engine handles product name variations across dialects and languages. "AC" = "Air Conditioner" = "एसी", "WM" = "Washing Machine" = "वाशिंग मशीन", "1.5T" = "1.5 Ton".

Serial Number vs Product Matching

Cross-validates the consumer-provided serial number against Havells' dispatch database. Confirms the serial belongs to the same product category and model described on the invoice. Catches mismatches where someone registers Product A but uploads an invoice for Product B.

Duplicate Invoice Detection

Every incoming invoice is matched against all previously registered invoices. Same invoice image (visual similarity) or same invoice number + dealer combination = immediate rejection. Prevents the same invoice from being used for multiple registrations.

EXIF Metadata Analysis

Extracts camera metadata (timestamp, device model) from uploaded invoice photos. Compares timestamp against claimed purchase date. Flags images with stripped metadata or software-created origins (Photoshop, Canva, AI tools).

Confidence Scoring

Every extracted field gets a confidence score. Auto-approve registrations >90%, flag 70-90% for fast human review (30 seconds), reject <70%. Full audit trail for compliance.

The Three Decision Paths

Auto-Approve Path
  1. All AI checks pass
  2. All confidence scores >90%
  3. GST verified (or skipped)
  4. Serial number found & valid
  5. Data pushed to Havells API
  6. Warranty activated instantly
  7. Confirmation sent to customer
Flag for Review Path
  1. One or more checks flagged
  2. Confidence in 70-90% range
  3. GST not found or no GST
  4. Handwriting readability low
  5. Havells team sees pre-analysis
  6. 30-second manual decision
  7. Approve/Reject/Request resubmit
Reject Path
  1. Hard fail on any check
  2. Confidence <70%
  3. Tampering detected
  4. Serial not in system
  5. Invoice already used
  6. Rejection sent to customer
  7. Reason + re-upload option
← Back to Overview