Document Detail & Editing
The Document Detail page gives you a comprehensive view of any document in your vault — including its AI-extracted metadata, preview, entity information, and editing capabilities.
Accessing Document Detail
Click on any document row in the Dashboard to open its detail page.
Page Layout
The detail page is split into two main areas:
- Left Panel — Full document preview (PDF viewer or image display)
- Right Panel — Metadata, entity information, and actions
Metadata Fields
Each document displays the following fields, all of which are editable:
| Field | Description | Input Type |
|---|---|---|
| Entity | The linked company/organization | Text input with autocomplete |
| Document Type | The kind of document | Text input with autocomplete |
| Category | ONE-TIME or RECURRING | Text input with autocomplete |
| Department | Business department | Text input with autocomplete |
| Period | Time period covered | Text input |
| From Date | Start of validity period | Date display (auto-computed from period) |
| To Date | End of validity period | Date display (auto-computed from period) |
Editing Metadata
- Click on any field to activate editing mode.
- Type your changes — autocomplete suggestions appear as you type, drawing from your existing data.
- Changes are saved automatically via the API.
- When you update the Period field, From Date and To Date are recomputed automatically.
Entity Information
If the document is linked to an entity, you'll see:
- Entity Name and Type (e.g., "Acme Corp — Private Limited")
- Identification Numbers — PAN, GSTIN, CIN, EIN, VAT, ABN, and other global identifiers
- Click the entity name to navigate to the entity detail page
Document Preview
- PDFs are rendered inline with page navigation
- Images (JPG/JPEG) are displayed at full resolution
- You can zoom and scroll through multi-page documents
AI Processing Status
The current processing status is displayed:
| Status | Badge Color | Action Available |
|---|---|---|
| PENDING | Yellow | Wait for processing or trigger manually |
| PROCESSING | Blue | Processing in progress |
| COMPLETED | Green | All done — review the extracted data |
| FAILED | Red | Click Reprocess to retry |
Reprocessing a Document
If the AI extraction was incorrect or failed:
- Click the Reprocess button.
- The document status resets to PENDING.
- A new AI extraction task is queued.
- The page will update when processing completes.
Note: Reprocessing uses the same AI pipeline but may produce different results — AI models can vary slightly between runs.
Expiry Reminder Toggle
If the document has a To Date set, you can toggle expiry reminders:
- Click the bell icon to enable/disable reminders
- Green bell = reminders active
- Reminders are sent at 7 days before expiry and daily at 3 days or less before expiry