← User guide

Fio banka — Bank Statements

Pulls transactions and official numbered statements from the Fio banka API into the bank journal every hour, with VS/KS/SS and counterparty accounts.

Version19.0.2.4.1
EditionCommunity and Enterprise
LicenceAGPL-3
Requiresaccount_fio, account_fio_base, account_statement_import_base

What it is for

With this module a Fio banka journal fills itself: every hour Odoo asks the Fio API for new transactions and creates the statement lines, with the counterparty's account, the payment symbols and the message. There is no file to download and import. It works the same on Community and Enterprise, and for Czech and Slovak Fio accounts.

It needs the connection set up in account_fio: a read token on the journal.

Turning it on

  1. On the bank journal (Accounting → Configuration → Accounting → Journals), set Bank Feeds to Fio banka API. A journal set to Fio without a read token cannot be saved.
  2. In the Fio banka section, the right-hand column Bank statements appears. Choose the Fio Pull Mode (below) and, in movements mode, the Fio re-read days.
  3. Press Pull now to fetch the first batch. From then on the scheduled action Fio: pull bank statements runs every hour.

Because Bank Feeds holds one value, Fio and Odoo Enterprise's own bank synchronisation cannot both feed the same journal — which would import every transaction twice. A journal fed by Fio is also no longer prompted to "connect your bank" on the Accounting dashboard.

The tokens themselves stay usable when Bank Feeds is something else: a journal can send payments to Fio while its statements arrive another way.

Pull modes

Fio Pull Mode What each run does Good for
Movements (re-readable date range) — default reads the transactions from today − re-read days to today and adds those Odoo does not have yet day-to-day matching; a missed run or a restart leaves no gap
Official numbered statements asks Fio for the number of its latest statement and fetches every statement Odoo does not have yet (up to 12 per run); each becomes a bank statement named <number>/<year> with the bank's own opening and closing balance the accounting close: Odoo's balance check compares against the document the bank issued
Since the bookmark on the token fetches everything since a bookmark that Fio keeps on the token, and moves it only with a token used by nothing else

Notes:

Fetching a range by hand

Pull a range… on the journal (also in the journal's Action menu) opens Pull from Fio:

The wizard tells you how many calls the request means — at one call every 30 seconds, a year of movements cut into monthly chunks takes about six minutes.

Older than 90 days: Fio serves such data only while the full history is unlocked for the token in internet banking (Nastavení → API, the padlock), and the unlock lasts ten minutes. The wizard asks you to unlock it first and tick History unlocked in internet banking; the Pull button appears only then.

What lands on a statement line

Fio Odoo
ID pohybu (movement ID) the line's import key and Fio Movement ID
Datum date (the booking date as Fio states it)
Objem amount
Protiúčet + Kód banky counterparty account number/bank code, used to find the partner
Název protiúčtu partner name
VS, KS, SS the symbol fields (with l10n_cssk_payment_symbols) and VS:… tokens in the label
Zpráva pro příjemce, else Komentář, else Uživatelská identifikace, else Typ label (the first that is filled)
Typ transaction type
Reference plátce reference
ID pokynu Fio Instruction ID
Upřesnění in the form 20.00 EUR the original amount and currency of a payment made in another currency

The whole Fio record is also kept on the line. Duplicates are recognised by the movement ID only. The instruction ID is shared by a transfer and its fee, or a payment and its later reversal, so it is deliberately not used.

When something goes wrong

Limitations