Academy index

Page referenceBeginner/banking/statement-import

Bank Statement Import

Statement import brings a bank statement's lines from a file into a bank account, skipping lines already there. The main fields and buttons, accepted formats, refusals.

Reviewed independently, claim by claim against the sources and the screens, on 4 December 2026.

Last checked against the screen and the code: 4 December 2026, version 080e20835.

This page of the program is under construction: the reference states only what works in it today.

What this page is

You choose the bank account, then drag the file into the box or click it to pick one. Accepted formats: CSV, Excel (xlsx and xls), camt.053 XML, OFX and QFX, SWIFT MT940 (.sta, .940, .mt940), BAI2, and .txt files whose format is recognised from their content. Each line is kept with its sign: positive for money into the bank and negative for money out, in the bank account's currency. The import posts no entry and matches nothing: matching comes after it, on the bank reconciliation page.

A CSV or Excel file

The delimiter is detected (comma, semicolon, tab or vertical bar). Columns are recognised from their Arabic or English headers: a date column, an amount column or debit and credit columns, and the description, reference and payee if present. A file with no header is read as date, description, amount, then reference. Dates are read day first (31/01/2026), unless the second number cannot be a month, as in 01/31/2026, which is read month first; forms like 2026-01-31 and 12 Jan 2026 are accepted. An amount in brackets, with DR or with a trailing minus reads as negative. A row with no valid date, no amount or a zero amount is skipped and the reason kept.

A line already on the account's statement is not added again: it is known by its reference, date and amount, or without a reference by its date, amount and text, even inside the same file. If every row is already there, the message says nothing was added. The classification rules (Banking ▸ Rules) are applied to each new line before it is saved.

The two refusals for an unreadable file and an unsupported format show in English only: the first when the file has rows and none of them can be read (unreadable dates or amounts), or an OFX file cannot be read; the second for a format not in the list.

What does not work today

  • A CSV or Excel file whose headers are not recognised (no date column, or no amount or debit and credit columns) is not refused: an import with no lines is recorded, the success message says «0 added», and the reason shows only in the red badge and the import's details.
  • The statuses «error» and «processing» show in English on the Arabic screen, as they have no translation.
  • The red «1 Errors» badge shows whenever a note was kept with the import, such as a skipped row, even when the import succeeded; it is not a count of errors.

Before you start

  • A bank account in Banking ▸ Bank accounts.
  • A statement file from the bank for one account, in that account's currency.

Fields

Field as on the screenMeaningRequired
Select Bank AccountThe bank account the statement's lines are saved into.The file box is disabled until you choose it.Yes

Buttons and actions

ButtonWhen it showsWhat it doesPosts
Drag And DropOnce the account is chosen, for users with the create right.Uploads the file and saves its new lines, saying how many it added and how many duplicates it skipped. The format is taken from the file's extension.No
ViewOn every row of the log.Shows the import's details as the program kept them, including the total debits and credits and any notes kept.No
ExportIn the page header when there is an import.Downloads a CSV file of the whole import log.No

The document's statuses

  • Imported: New lines were added, not all of them matched yet.
  • Duplicate: Every row of the file was already on the statement; nothing was added.
  • Fully matched: All the lines the import brought in are matched.

Permissions

ToPermission needed
Open the page and read the import logBanking — View
Import a statementBanking — Create
Delete an import with the statement lines it brought inBanking — Delete

Refusals and fixes

  • STATEMENT_CURRENCY_MISMATCH

    The statement (MT940 or BAI2) states another currency than the chosen bank account's, or its balances are in two currencies.

    Fix: Choose the bank account the statement belongs to.

  • STATEMENT_SEVERAL_ACCOUNTS

    The MT940 or BAI2 file holds statements of more than one account.

    Fix: Import one file per bank account.

  • STATEMENT_BALANCE_MISMATCH

    In an MT940 file: the opening balance plus the lines does not equal the closing balance, so the statement was not imported.

    Fix: Ask the bank for the complete statement file again.

  • STATEMENT_IMPORT_IN_USE

    You deleted an import some of whose lines are matched or inside a reconciliation; nothing was deleted. An import none of whose lines is matched is deleted with all its lines, so the same file can be imported again.

    Fix: Remove those lines' matches on the bank reconciliation page first (a line inside a signed-off reconciliation needs it reopened), then delete the import.

Learn the idea

Educational content for general understanding, not accounting, tax or legal advice. Sources · About the Academy