Upload · Convert · Download

Convert UBL Bank Statements to OFX

Convert United Bank Limited (UBL) PDF statements into standard OFX files for accounting software import and bank reconciliation.

Statement inPDF / imageOFX

Upload Bank Statement

Drag & Drop your files for Demo or Browse

Supports PDF, JPG, JPEG & PNG (Max 1MB) No signup required to start

Converts 1 page in PDF or Single Image · This is Demo - limits 2/day

One file at a timePreview before exportClear output

To convert a UBL bank statement to OFX format, upload your PDF statement to BankStmtConverter, let the parser extract the transaction history, and download the generated .ofx file. The parser reads transaction dates, narrations, debit amounts, credit amounts, and running balances, converting them into standard Open Financial Exchange markup for immediate import into your accounting software.

How do I convert a UBL statement to OFX?

Converting your digital or scanned statement takes four steps:

  1. Download your statement as a PDF from UBL Digital internet banking or your branch account history.
  2. Upload the PDF file to BankStmtConverter.
  3. Review the extracted transactions to confirm opening balances, dates, and amounts match your statement summary.
  4. Select OFX as your export format and download your file. If you also need spreadsheet formats, you can generate an Excel file or a CSV file from the same statement.

What data is extracted from UBL statements?

UBL statements contain multi-line transaction narratives that combine reference numbers, payment channels, and counterparty details. The parser extracts the following fields from each entry:

  • Post Date and Value Date: Dates formatted in standard DD/MM/YYYY format and converted to the OFX standard timestamp format (YYYYMMDDHHMMSS).
  • Description and Narration: Channel tags such as IBFT (Inter-Bank Funds Transfer), Raast payments, 1Bill transactions, ATM cash withdrawals, and cheque clearing references.
  • Debit (Withdrawal): Outflows in Pakistani Rupees (PKR), marked as negative transaction amounts in the OFX payload.
  • Credit (Deposit): Inflows in PKR, marked as positive amounts.
  • Running Balance: The ending balance after each transaction, used to verify the mathematical integrity of the conversion.

Why use OFX for UBL accounting import?

OFX (Open Financial Exchange) is a structured format designed specifically for financial data exchange between banks and accounting platforms. Unlike raw spreadsheets, an OFX file includes standardized tags such as <STMTTRN>, <TRNAMT>, <DTPOSTED>, and <FITID>.

The primary advantage of OFX is the Financial Institution Transaction ID (<FITID>). BankStmtConverter generates a deterministic, unique <FITID> for every line item in your UBL statement based on the date, amount, and reference number. When you import the OFX file into platforms like QuickBooks Desktop, Xero, Sage, or GnuCash, the software uses this identifier to prevent duplicate entries if you import overlapping statement periods. If you manage multiple accounts across institutions, see our Pakistan banking page for supported formats across local institutions.

Worked example: UBL transaction extraction

Here is an example of typical transactions from a UBL business account statement in Pakistan and how they translate into structured data:

Date Narration / Description Debit (PKR) Credit (PKR) Balance (PKR)
12/10/2023 IBFT OUTWARD TO MEETHAL CO 02938472 145,000.00 855,000.00
14/10/2023 1BILL INVOICE PYMT UTILITY BILL 18,450.00 836,550.00
18/10/2023 RAAST INWARD TRF FROM RAO ENTERPRISES 250,000.00 1,086,550.00
22/10/2023 CHEQUE CLEARING CHQ# 983201 62,000.00 1,024,550.00

In the resulting OFX file, these entries are formatted with explicit signs and standardized metadata:

<STMTTRN>
  <TRNTYPE>DEBIT</TRNTYPE>
  <DTPOSTED>20231012000000</DTPOSTED>
  <TRNAMT>-145000.00</TRNAMT>
  <FITID>2023101214500000UBL001</FITID>
  <NAME>IBFT OUTWARD TO MEETHAL CO 02938472</NAME>
</STMTTRN>
<STMTTRN>
  <TRNTYPE>CREDIT</TRNTYPE>
  <DTPOSTED>20231018000000</DTPOSTED>
  <TRNAMT>250000.00</TRNAMT>
  <FITID>2023101825000000UBL003</FITID>
  <NAME>RAAST INWARD TRF FROM RAO ENTERPRISES</NAME>
</STMTTRN>

Comparison: Methods for importing UBL statements

Method Speed (50-page PDF) Error Risk Duplicate Prevention Scanned PDF Support
Manual typing 4 to 6 hours High (transposition errors) None Yes
PDF copy-paste to CSV 30 to 60 minutes High (column misalignment) None No
BankStmtConverter to OFX Under 10 seconds Low (balance verified) Built-in (via unique FITID) Yes (integrated OCR)

Does it work with scanned UBL statements?

Yes. Many branch-issued UBL statements and older archival documents are provided as scanned paper documents or image-only PDFs. BankStmtConverter uses an optical character recognition (OCR) engine trained on banking layouts to identify numbers, columns, and text even on low-resolution scans. The system verifies total debits and credits against the printed opening and closing balances, flagging any discrepancy for review.

Data privacy and security

Financial records require strict confidentiality. Uploaded statements are processed via 256-bit encrypted connections and deleted automatically after parsing is complete. Your data is not stored, sold, or used to train machine learning models. For more details on volume limits and security standards, review our pricing and policy terms.

Common questions

Frequently Asked Questions

Can I convert scanned or photographed UBL statements to OFX?+

Yes. The converter includes OCR designed for banking documents that reads scanned PDFs and image files, correctly parsing columns and running balances into OFX format.

How does the OFX file prevent duplicate transactions during accounting imports?+

Each transaction is assigned a unique Financial Institution Transaction ID (FITID) derived from the date, reference, and amount. When you import the OFX file, your accounting software uses the FITID to skip transactions that have already been recorded.

How are Pakistani Rupee (PKR) amounts formatted in the OFX output?+

Amounts are output as standard decimal figures with two decimal places. Debits are formatted as negative values and credits as positive values, complying with standard OFX specifications.

Are my UBL statement files stored after conversion?+

No. Files are processed over an encrypted connection and deleted automatically once the conversion completes. Your financial data is not archived or used for training purposes.

Which accounting programs can import the generated UBL OFX file?+

The generated OFX file works with accounting systems that support Open Financial Exchange imports, including QuickBooks Desktop, Sage, Xero, GnuCash, and various enterprise ERP systems.