Home / Documents / Bank statement

Banking

Bank statement analysis API

Send a digital or scanned statement, including password-protected PDFs. LendOCR returns every transaction and the analysis credit teams do by hand, and checks that every row's balance adds up, so edited statements stand out.

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

Real response for this sample

FieldValueConfidence
account number32145678901100%
account holderRAVI KUMAR100%
ifscSBIN0001234100%
bank nameState Bank of India100%
period from2026-08-01100%
period to2026-10-31100%
opening balance10000.0099%
closing balance127772.0099%
transaction count1199%

No review needed. Read in 19 ms.

Fields returned

FieldWhat it is
account_number, account_holder, ifsc, bank_nameHeader details
period_from, period_toStatement period
opening_balance, closing_balanceBalances
data.transactionsDate, narration, debit, credit, balance, category
data.analysisSalary, EMIs, bounces, cash, ATM, charges, monthly summary, average daily balance

Every field comes with a confidence score from 0 to 1.

Checks

  • Running balance adds up on every row (tamper check)
  • Stated closing balance matches the last transaction
  • Transactions found

If a required field is missing, unsure, or a check fails, the response hasneeds_review: true and a warning explaining why.

Used for

  • Income assessment
  • Banking surrogate programmes
  • Fraud screening

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=bank_statement

Authentication, errors, batch uploads and webhooks →

Questions about the bank statement API

Which banks' statements are supported?

LendOCR reads the transaction table by its structure and checks every row against the running balance, so it is not tied to fixed templates. Digital PDFs (including password-protected ones) give the most reliable results; scans and photos are read with OCR.

How does it spot an edited statement?

Every row's balance must equal the previous balance plus credits minus debits. Rows that do not add up are listed in the response and the statement is flagged for review.

What analysis is included?

Monthly credits, debits and balances, average daily balance, salary credits, EMI and loan debits, cheque and ECS bounces, cash deposits, ATM withdrawals, charges and interest.

Can I send a phone photo of a bank statement?

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 bank statement 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.