Document Management

OCR Workspace

PDF, JPG, PNG
@foreach ($stats as $label => $value)

{{ $label }}

{{ $value }}

@endforeach
@csrf

Upload and Extract

Upload PAN, citizenship, land, tax, audit, invoice, or bill documents. Paste sample OCR text to immediately test extraction and auto-fill.

Extraction Rules

@foreach ([ 'PAN Cards' => 'Name, address and PAN number', 'Citizenship' => 'Name, address and identity hints', 'Land Ownership' => 'Owner, location and registration references', 'Tax Clearance' => 'PAN, fiscal year and approval amount', 'Audit Reports' => 'Business name, year and report amount', 'Bills and Invoices' => 'Invoice number, date, amount and tax fields', ] as $title => $copy)

{{ $title }}

{{ $copy }}

@endforeach
@forelse ($documents as $document) @php $data = $document->extracted_data ?? []; $invoice = $data['invoice_details'] ?? []; @endphp

{{ $document->title }}

{{ $document->status }}

{{ $document->document_type }} @if($document->client) · {{ $document->client->name }} @endif @if($document->business) · {{ $document->business->business_name }} @endif

{{ number_format(($document->file_size ?: 0) / 1024, 1) }} KB · {{ $document->mime_type }}

@csrf @method('PATCH')
@empty
No documents uploaded yet.
@endforelse
{{ $documents->links() }}