Total Documents ๐Ÿ“„
12,847
Successful Extractions โœ…
11,923
Failed / Low Confidence โš ๏ธ
924
Avg Confidence Score ๐ŸŽฏ
94.7%
Avg Processing Time โšก
2.3s
API Requests Today ๐Ÿ”Œ
3,421

Recent Activity

๐Ÿ“„
Invoice #INV-2026-1247 processed successfully
2 minutes ago ยท Confidence: 97.3%
โœ…
Human review completed for document #DOC-8843
8 minutes ago ยท Approved and posted to ERP
โš ๏ธ
Low confidence extraction flagged for review
15 minutes ago ยท Document #DOC-8842 ยท Confidence: 68%
๐Ÿ“Š
Batch processing completed: 145 invoices
1 hour ago ยท 142 successful, 3 pending review
๐Ÿ”ง
Custom extraction template updated
2 hours ago ยท "Vendor Invoice Template" modified

๐Ÿ“ค Document Upload

Upload documents via API for processing. Supports PDF, PNG, JPG, TIFF formats up to 20MB.

POST
https://api.example.com/v1/upload
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข3x9K

๐Ÿ–ผ๏ธ Image Enhancement

Automatically enhance image quality, remove noise, and split multi-page documents.

POST
https://api.example.com/v1/enhance
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข7bQw

๐Ÿ”ค OCR Processing

Extract text from documents with Arabic and English support using advanced OCR technology.

POST
https://api.example.com/v1/ocr
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข2mRp

๐Ÿ“Š Structured Data Extraction

Extract structured invoice data: vendor info, line items, totals, dates, and tax information.

POST
https://api.example.com/v1/extract
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข8kNc

โœจ Custom Field Extraction

Define and extract custom fields specific to your business needs and document types.

POST
https://api.example.com/v1/extract/custom
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข5hLm

๐ŸŽฏ Confidence & Quality Check

Validate extraction confidence scores and flag documents requiring human review.

GET
https://api.example.com/v1/validate
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข9tYp

๐Ÿ“ Draft Creation

Generate draft entries for ERP systems with extracted data ready for approval.

POST
https://api.example.com/v1/draft
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข4wQs

๐Ÿ‘ค Human Review Trigger

Automatically route low-confidence documents to human reviewers for validation.

POST
https://api.example.com/v1/review
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข6rBn

โœ… Final Approval & ERP Post

Approve validated documents and automatically post to connected ERP systems.

POST
https://api.example.com/v1/approve
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข1dMz

๐Ÿ“ˆ Reports & Audit Logs

Access detailed processing logs, audit trails, and comprehensive analytics reports.

GET
https://api.example.com/v1/reports
Token: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข3fKx

Quick Start Templates

Choose a pre-configured template or build from scratch

๐Ÿงพ
Invoice Template
๐Ÿงพ
Receipt Template
๐Ÿ“œ
Contract Template
โœจ
Build Custom

Define Custom Fields

Add fields you want to extract from your documents

Field is required
Field Name Type Required Actions
Invoice Number Text Required
Invoice Date Date Required
Total Amount Currency Required
VAT Amount Currency Optional
Vendor Name Text Required

๐Ÿ“„ Sample Document

๐Ÿงพ
Invoice Preview
Upload or simulate a document to see extraction preview

โœจ Extraction Results

Invoice Number
INV-2026-001247
Confidence: 98.5%
Invoice Date
2026-02-05
Confidence: 96.2%
Total Amount
SAR 15,750.00
Confidence: 99.1%
VAT Amount
SAR 2,362.50
โš ๏ธ Low Confidence: 72.3%
Vendor Name
Al-Madar Trading LLC
Confidence: 94.7%

๐Ÿ”Œ API Integration

Use this configuration in your application

Sample API Request โ–ผ
{
  "endpoint": "https://api.example.com/v1/extract/custom",
  "method": "POST",
  "headers": {
    "Authorization": "Bearer sk_live_abc123def456ghi789jkl3x9K",
    "Content-Type": "application/json"
  },
  "body": {
    "document_id": "doc_abc123",
    "custom_fields": [
      { "name": "Invoice Number", "type": "text", "required": true },
      { "name": "Invoice Date", "type": "date", "required": true },
      { "name": "Total Amount", "type": "currency", "required": true },
      { "name": "VAT Amount", "type": "currency", "required": false },
      { "name": "Vendor Name", "type": "text", "required": true }
    ]
  }
}
Sample API Response โ–ผ
{
  "status": "success",
  "document_id": "doc_abc123",
  "extracted_data": {
    "Invoice Number": {
      "value": "INV-2026-001247",
      "confidence": 0.985,
      "type": "text"
    },
    "Invoice Date": {
      "value": "2026-02-05",
      "confidence": 0.962,
      "type": "date"
    },
    "Total Amount": {
      "value": "15750.00",
      "currency": "SAR",
      "confidence": 0.991,
      "type": "currency"
    },
    "VAT Amount": {
      "value": "2362.50",
      "currency": "SAR",
      "confidence": 0.723,
      "type": "currency",
      "flags": ["low_confidence"]
    },
    "Vendor Name": {
      "value": "Al-Madar Trading LLC",
      "confidence": 0.947,
      "type": "text"
    }
  },
  "overall_confidence": 0.921,
  "requires_review": true,
  "processing_time_ms": 2341
}

๐Ÿ”ค OCR Settings

Select which languages to enable for OCR processing
Minimum confidence score required for automatic approval
85%

โš™๏ธ Processing Settings

Automatically approve documents that meet confidence threshold
Send low-confidence documents for human review
Automatically enhance image quality before OCR

๐Ÿ”‘ API Settings

Your unique API authentication token
sk_live_abc123def456ghi789jkl3x9K
Receive real-time notifications about document processing
Maximum API requests per minute
100 req/min
Documents Processed ๐Ÿ“„
12,847
Success Rate โœ…
92.8%
Avg Confidence ๐ŸŽฏ
94.7%
Cost Savings ๐Ÿ’ฐ
SAR 42.5K

Confidence Score Distribution

892 0-60%
1,324 61-70%
1,987 71-80%
2,341 81-90%
6,303 91-100%
Document ID Type Date Status Confidence Processing Time
DOC-2026-8847 Invoice 2026-02-08 14:23 Success 97.3% 2.1s
DOC-2026-8846 Receipt 2026-02-08 14:15 Success 94.8% 1.8s
DOC-2026-8845 Invoice 2026-02-08 14:02 Pending Review 68.2% 3.2s
DOC-2026-8844 Contract 2026-02-08 13:47 Success 92.1% 4.5s
DOC-2026-8843 Invoice 2026-02-08 13:31 Success 98.9% 1.9s
DOC-2026-8842 Receipt 2026-02-08 13:18 Failed 42.7% 2.3s
DOC-2026-8841 Invoice 2026-02-08 12:54 Success 95.4% 2.2s
DOC-2026-8840 Invoice 2026-02-08 12:41 Pending Review 73.6% 2.8s

๐Ÿ” Authentication

All API requests require authentication using your API token

Authorization: Bearer YOUR_API_TOKEN

Example:
Authorization: Bearer sk_live_abc123def456ghi789jkl3x9K

๐ŸŒ Base URL

https://api.example.com/v1

๐Ÿ“ก Available Endpoints

POST /upload - Upload Document โ–ผ
POST https://api.example.com/v1/upload

Headers:
  Authorization: Bearer YOUR_API_TOKEN
  Content-Type: multipart/form-data

Body (form-data):
  file: [binary file]
  document_type: "invoice" | "receipt" | "contract"

Response:
{
  "status": "success",
  "document_id": "doc_abc123",
  "message": "Document uploaded successfully"
}
POST /extract/custom - Custom Field Extraction โ–ผ
POST https://api.example.com/v1/extract/custom

Headers:
  Authorization: Bearer YOUR_API_TOKEN
  Content-Type: application/json

Body:
{
  "document_id": "doc_abc123",
  "custom_fields": [
    {
      "name": "Invoice Number",
      "type": "text",
      "required": true
    },
    {
      "name": "Total Amount",
      "type": "currency",
      "required": true
    }
  ]
}

Response:
{
  "status": "success",
  "document_id": "doc_abc123",
  "extracted_data": { ... },
  "overall_confidence": 0.921
}
GET /reports - Get Processing Reports โ–ผ
GET https://api.example.com/v1/reports?from=2026-01-01&to=2026-02-08

Headers:
  Authorization: Bearer YOUR_API_TOKEN

Query Parameters:
  from: Start date (YYYY-MM-DD)
  to: End date (YYYY-MM-DD)
  status: Filter by status (optional)
  document_type: Filter by type (optional)

Response:
{
  "status": "success",
  "total_documents": 12847,
  "success_rate": 0.928,
  "documents": [ ... ]
}

โš ๏ธ Error Codes

200 - Success
400 - Bad Request (invalid parameters)
401 - Unauthorized (invalid or missing API token)
403 - Forbidden (insufficient permissions)
404 - Not Found (resource doesn't exist)
429 - Too Many Requests (rate limit exceeded)
500 - Internal Server Error

๐Ÿ”” Webhooks

Configure webhooks in Settings to receive real-time notifications

POST https://your-domain.com/webhook

Payload:
{
  "event": "document.processed",
  "document_id": "doc_abc123",
  "status": "success",
  "confidence": 0.975,
  "timestamp": "2026-02-08T14:23:15Z",
  "extracted_data": { ... }
}