IDFC FIRST Bank statement parser API
IDFC FIRST Bank statements carry a summary table headed Opening Balance. The parser finds it on whichever page it appears and takes the opening and closing figures from it, so meta reports the bank's own numbers rather than ones worked out from the rows.
Formats and columns
- PDF: account statement with Transaction Date, Value Date, Particulars, Cheque, Debit, Credit and Balance in ruled tables whose first row names Debit and Credit.
How the API recognises it
A file is considered only when page one names IDFC FIRST, IDFC or the IDFB0 code. It then scores on STATEMENT OF ACCOUNT, CUSTOMER ID and the Transaction, Value Date, Particulars, Cheque, Debit, Credit and Balance headings.
Dates and amounts
Transaction dates are DD-Mon-YYYY, such as 03-Apr-2025, while the statement period is printed as YYYY-MM-DD TO YYYY-MM-DD. Debit and Credit are separate columns.
Account details
The account number from ACCOUNT NO : and the period from STATEMENT PERIOD :, with the cheque number on each row. The IFSC is not read, so ifsc_code is empty.
Opening and closing balances
Opening and closing balances are the printed ones: in the row under the Opening Balance headings, the first cell is the opening balance and the last is the closing balance. If no summary table is found, both are 0.00. Because they are printed, opening plus the sum of the amounts should equal closing, a quick completeness check on your side.
What the parser handles
- Particulars over several lines are joined with spaces.
- Only rows that start with a date become transactions, so headings and summary rows stay out.
Sample IDFC FIRST Bank result
One made-up IDFC FIRST Bank row, as printed:
03-Apr-2025 03-Apr-2025 IMPS/SAMPLE ENTERPRISES/INV 7 000412 - 5,600.00 45,600.00 And its result file:
{
"document_kind": "bank_statement",
"result": {
"meta": {
"account_number": "XXXXXXXX5150",
"bank_name": "IDFC FIRST BANK",
"closing_balance": "28500.00",
"detected_currency": "INR",
"ifsc_code": "",
"opening_balance": "40000.00",
"parser_name": "idfc-first-bank",
"parser_version": "0.1.0",
"period": {
"end": "2025-04-26",
"start": "2025-04-03"
},
"source": "file_upload"
},
"schema_version": "2.0",
"transactions": [
{
"amount": "5600.00",
"date": "2025-04-03",
"description": "IMPS/SAMPLE ENTERPRISES/INV 7",
"metadata": {
"balance_after": "45600.00",
"cheque_no": "000412"
}
},
{
"amount": "-2100.00",
"date": "2025-04-18",
"description": "ACH/DEMO INSURANCE/PREMIUM",
"metadata": {
"balance_after": "43500.00"
}
},
{
"amount": "-15000.00",
"date": "2025-04-26",
"description": "RTGS/SAMPLE STEEL WORKS/PO 19",
"metadata": {
"balance_after": "28500.00"
}
}
]
},
"schema_version": "2.0"
} A protected PDF opens with the password you send with the job. JSON only: no Excel, CSV or Tally export. Result fields · API docs · Pricing · Console