Banking
Cheque OCR API
Read cancelled cheques for disbursal and NACH set-up. The bank name comes from the IFSC, and the MICR band at the bottom is decoded even when OCR turns its special symbols into stray characters.

Real response for this sample
| Field | Value | Confidence |
|---|---|---|
| ifsc | SBIN0001234 | 98% |
| bank name | State Bank of India | 98% |
| micr code | 600002002 | 99% |
| cheque number | 123456 | 99% |
| micr account id | 001234 | 99% |
| transaction code | 31 | 99% |
| account number | 32145678901 | 97% |
| account holder | RAVI KUMAR | 100% |
No review needed. Read in 171 ms.
Fields returned
| Field | What it is |
|---|---|
ifsc, bank_name | IFSC and the bank it belongs to |
account_number | 9 to 18 digits |
account_holder | Name printed near the signature |
micr_code, cheque_number | From the MICR band |
Every field comes with a confidence score from 0 to 1.
Checks
- IFSC format
- MICR format
- Account number length
- 'Cancelled' detected
If a required field is missing, unsure, or a check fails, the response hasneeds_review: true and a warning explaining why.
Used for
- Disbursal account
- NACH / e-mandate set-up
Request
Send a JPEG, PNG, WebP, TIFF, BMP or PDF up to 10 MB. Leave out document_type to detect it automatically.
curl https://api.lendocr.com/v1/documents:extract \
-H "Authorization: Bearer lo_test_..." \
-F file=@document.jpg \
-F document_type=chequeQuestions about the cheque API
Can it read a cancelled cheque for NACH set-up?
Yes. It returns the IFSC, bank name, account number, account holder and the MICR code, and reports whether 'Cancelled' is written on the cheque.
Can I send a phone photo of a cheque?
Yes. Send a JPEG, PNG, WebP, TIFF, BMP or PDF up to 10 MB. Tilted and low-resolution photos are handled; if an image is too unclear, the response is flagged for review and says why.
Do you store the cheque after reading it?
No. On the extract API the document is processed in memory and dropped. For background jobs it is kept encrypted only until processed, and results are erased after 24 hours.