Skip to content
Sign in

Bank of Baroda statement parser API

Bank of Baroda prints its PDF statements newest first. The parser turns them around, so the transactions come back oldest first and each running balance follows from the one before it. It reads the PDF word by word, using the header row to find where each column starts.

Formats and columns

How the API recognises it

A PDF scores on BANK OF BARODA or the BARB0 code with the heading lines TRAN DATE VALUE DATE NARRATION and WITHDRAWAL(DR) DEPOSIT(CR) BALANCE(INR). The Excel export scores on Main Account Holder Name, Account Number :, Customer Id: and BARB0.

Dates and amounts

PDF dates are DD/MM/YYYY, and the balance carries a Cr or Dr suffix (12,500.00Cr); Dr comes out negative, in the PDF and the Excel export. A figure is a withdrawal or a deposit according to which column it ends in. The Excel export's dates must be DD/MM/YY or DD/MM/YYYY text.

Account details

From a PDF: the account number after Account No: (a masked number is accepted), the IFSC after IFSC Code: and the period from Statement Period from … to …. From Excel: account number and IFSC from the label cells at the top, with a period that runs from the first to the last row.

Opening and closing balances

Opening and closing balances are worked out from the first and last rows once the rows are oldest first. The PDF's CHQ.NO. column is not read, so its rows carry the running balance only.

What the parser handles

Sample Bank of Baroda result

One made-up Bank of Baroda row, as printed:

10/04/2025  10/04/2025  NEFT-SAMPLE DISTRIBUTORS   2,750.00      30,415.20Cr

And its result file:

{
  "document_kind": "bank_statement",
  "result": {
    "meta": {
      "account_number": "XXXXXXXXXX0712",
      "bank_name": "BANK OF BARODA",
      "closing_balance": "36515.20",
      "detected_currency": "INR",
      "ifsc_code": "BARB0XXXXXX",
      "opening_balance": "33165.20",
      "parser_name": "bank-of-baroda",
      "parser_version": "0.1.0",
      "period": {
        "end": "2025-04-14",
        "start": "2025-04-10"
      },
      "source": "file_upload"
    },
    "schema_version": "2.0",
    "transactions": [
      {
        "amount": "-2750.00",
        "date": "2025-04-10",
        "description": "NEFT-SAMPLE DISTRIBUTORS",
        "metadata": {
          "balance_after": "30415.20"
        }
      },
      {
        "amount": "6100.00",
        "date": "2025-04-14",
        "description": "IMPS/DEMO WHOLESALE/REFUND",
        "metadata": {
          "balance_after": "36515.20"
        }
      }
    ]
  },
  "schema_version": "2.0"
}

Protected PDF, .xls and .xlsx files open with the password you send with the job. JSON only: no Excel, CSV or Tally export. Result fields · API docs · Pricing · Console