Home / Documents / Cheque

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.

Sample Cheque (synthetic specimen)
Synthetic specimen. No real person's data.

Real response for this sample

FieldValueConfidence
ifscSBIN000123498%
bank nameState Bank of India98%
micr code60000200299%
cheque number12345699%
micr account id00123499%
transaction code3199%
account number3214567890197%
account holderRAVI KUMAR100%

No review needed. Read in 171 ms.

Fields returned

FieldWhat it is
ifsc, bank_nameIFSC and the bank it belongs to
account_number9 to 18 digits
account_holderName printed near the signature
micr_code, cheque_numberFrom 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=cheque

Authentication, errors, batch uploads and webhooks →

Questions 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.