Feature
Contract and General Document Reading
Read contracts, letters and documents that do not fit a fixed template.
What is Contract and General Document Reading in Mahad OCR?
Available now. When a document does not match a known type, the universal reader still returns detected type, readable text and any label/value pairs it can identify — so nothing is a dead end. Input: Any supported document as PNG, JPG or PDF. Limitation: Clause-level legal analysis, obligation extraction and risk scoring are not provided.
What it does
When a document does not match a known type, the universal reader still returns detected type, readable text and any label/value pairs it can identify — so nothing is a dead end.
How it works
- 1Upload the document with no doc_type
- 2Type detection runs first
- 3The universal prompt extracts whatever structure exists
- 4Anything unstructured is returned as text
Sample result
Illustrative response shape using synthetic data.
{
"type": "Contract",
"values": { "document_type": "contract" },
"field_status": { "document_type": "read" }
}Supported inputs
Any supported document as PNG, JPG or PDF.
Fields returned
- document_type (detected)
- fields[] — label/value pairs found
- full readable text
- parties and dates where present
API
POST /v1/documents/upload (leave doc_type empty)
Security & privacy
Same tenant isolation, audit trail and retention controls as typed documents.
Current limitations
Clause-level legal analysis, obligation extraction and risk scoring are not provided. This feature reads documents; it does not interpret them legally.
Related document types
Try it on your own document
Run the live demo, or create an account and get an API key.