DocuLens AI turns invoices, purchase orders and contracts into structured intelligence — classification, field extraction, mismatch detection and compliance scoring — as a single Next.js application with no database and no separate backend service.

Three tools, one document

  • Analyze: auto-classification with a confidence score, structured field extraction, an AI-generated executive summary, issue detection with severity flags.
  • Compare: deterministic mismatch detection between two documents — amounts, dates, line items.
  • Compliance: a reproducible scoring pass against a defined rule set.

Why "deterministic" is the whole pitch

An LLM given an invoice and asked "is this compliant?" will happily give you a different answer on two runs of the identical document. That's fine for a summary, unstable for anything you'd act on. DocuLens separates the two: the LLM extracts fields, and a schema-validated, deterministic layer scores them — so the same document produces the same score, every time, and you can explain exactly why.

Minimal infrastructure on purpose

No database, no auth layer, no separate backend. Enterprise-grade extraction logic, intentionally minimal infrastructure around it — a reminder that "production-grade" is about correctness and reproducibility, not how many services you're running.

Repo: github.com/Pranjulrathour/DOCULENS-AI-NEXTUPGRAD-.