Understand every document. Trace every insight.

Evidence-grounded document analysis you can verify. Extract deadlines, obligations, financial values, and potential anomalies with source pages and locations.

verified_user PDF-first analysis • lock_clock Evidence-backed results • memory FastAPI backend
DOCUMENT ANALYSIS PIPELINE

PDF Ingestion & Structured Analysis

FASTAPI ENDPOINT /api/analyze
✓ UPLOAD

Uploading PDF

PDF selected and sent to the FastAPI analysis endpoint for processing.

✓ 0.2s • File received
✓ EXTRACT

Extracting Content

Document text is extracted while preserving page references so results can be traced back to their source.

✓ 0.8s • Page references preserved
✓ ANALYZE

Analyzing Document

The document is analyzed for document type, deadlines, financial values, obligations, and potential review items.

✓ FLAGGED • Structured fields generated
◉ JSON

Preparing Dashboard

Results are returned as structured JSON with extracted fields, source pages, evidence, and rule-based confidence estimates.

◉ 0.2s • Ready for review
EVIDENCE REVIEW

Evidence: From Result to Source Page

Each extracted result can be traced back to the source page and text used for the analysis.

search_insights INSIGHT AUDIT
ID: demo
FIELD — rule-based estimate

Payment Deadline

Loading analysis…

EXACT CLAUSE EXTRACT

Connecting to the DocTrace backend.

pin_drop — • Section —
AMOUNT —

Loading analysis…

Connecting to the DocTrace backend
OBLIGATION —

—

—
description Loading demo PDF… —
Page 7
Open original PDF
Rendered page from the DocTrace demo PDF
verified Source Evidence Available Source: loading evidence…
DOCUMENT REVIEW SUPPORT

Selected Risk & Anomaly Checks

Rule-based checks look for selected missing fields in supported contract and invoice types, conflicting detected dates or contract/payment amounts, and arithmetic mismatches when a subtotal, tax, and total are all detected. Review each result in the original PDF.

Examples below are from the bundled demo PDF and are for demonstration only.

calculate
FINANCIAL REVIEW

Amount Checks

Extract financial values and compare subtotal, tax, and total when all three are detected.

Amount: ₹4,50,000
Source: Page 7
flagReview financial terms
calendar_today
DEADLINE REVIEW

Payment Deadlines

Extract date patterns and payment periods such as within 30 days with a source location for review.

Payment: within 30 days
Page 7 • Section 4.2
scheduleTrack important dates
rule
OBLIGATION REVIEW

Key Obligations

Find sentences containing common obligation cues such as shall, must, or will so reviewers can check the full clause.

Extracted obligations are linked to their source text and page.
descriptionReview source clauses
balance
CONSISTENCY REVIEW

Consistency Checks

Flag multiple detected values for selected date and amount fields, or a subtotal-plus-tax mismatch when all figures are found.

Rule-based checks cover selected dates, amounts, and supported arithmetic. They do not assess legal meaning.
warningReview flagged items

DocTrace is an automated review aid, not legal advice. Extraction and rule-based checks can miss or misread content. Confidence scores are heuristic estimates, not calibrated probabilities. Verify results in the original PDF and consult a qualified lawyer for legal decisions.

forum DOCUMENT TEXT SEARCH CHAT

Ask about the analyzed document.

DocTrace searches the uploaded PDF text for matching passages and returns a source page when it finds relevant text. It does not interpret legal effect.

check_circle Answers quote matching text from the uploaded PDF
check_circle Open the cited source page
check_circle Review extracted fields, source text, and rule-based estimates together
psychology

Ask DocTrace Assistant

Sample conversation • demo document

SOURCE-TEXT LOOKUP
What is the payment deadline?
D

Within 30 days of receiving the invoice after milestone acceptance. The clause appears on page 7, Section 4.2.

pin_drop Source page • section reference View in PDF →
What items need review?
D

The sample flags conflicting effective dates and contract values on page 8, plus an invoice total that does not match its subtotal and tax on page 11.

pin_drop Source page • section reference View in PDF →
MODULAR ARCHITECTURE

Built on HTML, Bootstrap, JavaScript & FastAPI

PIPELINE: Landing → Upload → FastAPI → Analysis → Dashboard
FRONTEND FILE MAP frontend/
foldercss/
Shared styling
└─ style.css (DocTrace visual system)
folderjs/
Frontend behavior
└─ app.js (Upload, API connection & dashboard data)
descriptionpages
HTML screens
├─ index.html (Landing & product overview)
├─ upload.html (PDF upload)
└─ dashboard.html (Analysis results)
FASTAPI BACKEND CONNECTIONLOCAL API

The frontend sends the selected PDF to FastAPI for document analysis and receives structured JSON for the dashboard.

POST /api/analyze
PDF upload → page text and layout extraction
Response → traceable fields, page, section, and heuristic confidence estimate

DocTrace Analysis Flow

1. Upload the PDF

The user selects a document from the landing or upload page.

2. Analyze the document

FastAPI extracts document content and sends it through the analysis pipeline.

3. Review structured results

The dashboard presents rule-based extracted fields, potential review items, source pages, and heuristic confidence estimates.

DOCUMENT ANALYSIS WORKFLOW

Turn every PDF into
structured, traceable results.

Upload a document to extract its type, deadlines, amounts, obligations, risks, source pages, and confidence through the DocTrace analysis workflow.