Skip to content
Finovel
API documentation

Business document OCR

Reads a PAN card, GST certificate, certificate of incorporation, Udyam certificate or TAN letter.

Endpoint

POST https://api.finovel.in/v1/document-ocr

Charged only when the call succeeds. Errors are never charged. See how every API works for keys, retries and status codes.

Request fields

FieldTypeRequiredDescription
filefileYesDocument photo or PDF
document_typeselectNoDocument type. Leave empty to detect it. One of: PAN, GST, CIN, MSME, TAN, AADHAAR.
pdf_passwordtextNoPDF password. Only for a password-protected PDF.

Example request

curl -X POST https://api.finovel.in/v1/document-ocr \
  -H "Authorization: Bearer fin_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{}'

Response fields

Inside data:

FieldDescription
documentTypeDocument type
panPAN
gstinGSTIN
cinCIN
udyamNumberUdyam number
tanTAN
nameName
verification.requiresManualReviewNeeds manual review

Example response from the sandbox

{
  "request_id": "req_...",
  "success": true,
  "status": "success",
  "environment": "sandbox",
  "message": "OK",
  "data": {
    "pan": "ABCDE1234F",
    "name": "SANDBOX TEST USER",
    "documentType": "PAN",
    "verification": {
      "requiresManualReview": false
    }
  },
  "error": null,
  "charged_paise": 0
}

Sandbox scenarios

With a test key, this API can return:

  • PAN card read (default)