Skip to content
ERPDocs

AI-Powered Extraction

ERPDocs uses advanced AI to automatically extract key information from your documents — saving you hours of manual data entry.


How It Works

When you trigger AI processing on a staged document, ERPDocs:

  1. Downloads the document from storage
  2. Converts it (PDF pages to images, if needed)
  3. Sends it to the AI provider for analysis
  4. Parses the structured response
  5. Populates metadata fields automatically
  6. Generates a search embedding for semantic search

The entire process runs in the background — you can continue working while AI processes your documents.


What Gets Extracted

The AI analyzes each document and extracts:

Field Description Example
Entity Name The company or organization the document relates to Acme Corporation
Document Type The kind of document Invoice, Contract, GST Certificate, PAN Card
Document Category Whether the document is one-time or recurring ONE-TIME, RECURRING
Period The time period the document covers Jan 2025, Q3 2024, FY 2024-25
Department The relevant business department Finance, HR, Legal, Sales
Identification Numbers Global business identifiers found in the document PAN, GSTIN, CIN, EIN, VAT, ABN, etc.
Key Fields Amounts, dates, reference numbers (varies by document type) Total: ₹1,50,000

AI Provider

ERPDocs uses a single AI provider for document extraction:

Provider Capabilities
OpenAI GPT-4o Vision-based analysis, structured JSON output, global document type support

Document content is sent over encrypted (TLS 1.2+) connections, is not used to train the provider's models, and is not retained beyond a short abuse-monitoring window (no more than 30 days for the OpenAI API).


Entity Matching

When AI extracts identification numbers (PAN, GSTIN, EIN, VAT, etc.), ERPDocs automatically:

  1. Searches your existing entities for a match by identifier
  2. Links the document to the matching entity if found
  3. Creates a new entity if no match exists
  4. Updates entity identifiers only from authoritative documents (PAN Card, GST Certificate, etc.) to prevent data contamination from invoices or contracts

Date Range Computation

If the AI extracts a period (e.g., "October 2025", "Q1-2026", "FY 2024-25"), ERPDocs automatically computes:

  • From Date — The start of the period
  • To Date — The end of the period

These dates power the Expiring Documents section on your Dashboard and enable expiry reminders.

Supported period formats:

  • Monthly: Jan 2025, October 2025, 2025-01
  • Quarterly: Q1-2025, Q3 2024
  • Fiscal Year: FY 2024-25, FY2025-26

Processing Statuses

Status Meaning
PENDING Document uploaded, AI processing not yet triggered
PROCESSING AI is currently analyzing the document
COMPLETED AI extraction finished successfully
FAILED AI extraction encountered an error (you can retry)

Tips

  • Review before committing — AI is highly accurate but not perfect. Always review extracted fields in the Staging Review page before committing to your vault.
  • Reprocess anytime — If AI results seem incorrect, you can reprocess a document from its detail page.
  • Manual edits persist — Any edits you make to AI-extracted fields are saved and won't be overwritten.

Next Steps