
Real response for this sample
| Field | Value | Confidence |
|---|---|---|
| account number | 32145678901 | 100% |
| account holder | RAVI KUMAR | 100% |
| ifsc | SBIN0001234 | 100% |
| bank name | State Bank of India | 100% |
| period from | 2026-08-01 | 100% |
| period to | 2026-10-31 | 100% |
| opening balance | 10000.00 | 99% |
| closing balance | 127772.00 | 99% |
| transaction count | 11 | 99% |
No review needed. Read in 19 ms.
Fields returned
| Field | What it is |
|---|---|
account_number, account_holder, ifsc, bank_name | Header details |
period_from, period_to | Statement period |
opening_balance, closing_balance | Balances |
data.transactions | Date, narration, debit, credit, balance, category |
data.analysis | Salary, 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_statementQuestions 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.