document_type-specific payload within ocr_data.
Each document type returns a distinct set of extracted fields, all following the same { "value": ..., "confidence_score": ... } structure. For the full list of fields per document type, see Supported Documents.
Document categories
Identity documents
Identity documents
These documents establish individual identity and are used for KYC verification in lending applications.
The
document_quality_flag field (values: original, xerox_copy, photo_of_photo) is currently returned for PAN cards. Use it to flag low-quality copies for manual review before making credit decisions.Business documents
Business documents
These documents verify the legal registration and operational status of a business entity.
Financial documents
Financial documents
These documents capture transaction and financing details for loan underwriting.
Property documents
Property documents
These documents are used in property loan and mortgage underwriting. Many are Maharashtra-specific revenue and registration records.
Asset and image documents
Asset and image documents
These document types process images rather than scanned paperwork, and are used to verify physical asset condition and identity at the point of delivery.
Type-specific OCR fields
Eachdocument_type in the ocr_data array returns a different field schema. For example, an AADHAAR document returns name, address, aadhaar_number, and date_of_birth, while an INVOICE returns customer_name, dealer_address, total_invoice_amount, and so on.
Your processing logic should branch on document_type to read the correct fields.
Extraction failures
If Atlas cannot extract data from a document, thedata object will be empty or partially populated, and the error_code and error_reason fields will contain a machine-readable code and a human-readable explanation.
UNRECOGNISED (document type not supported) and INVALID_DOC (document could not be processed, for example due to image quality or multiple subjects in frame).
For details on every extracted field per document type, see Supported Documents.
