Skip to content

Latest commit

 

History

History
98 lines (69 loc) · 5.6 KB

setup.md

File metadata and controls

98 lines (69 loc) · 5.6 KB

Setting up a bank

The library reads the e-mail a bank sends when money moves on an account. Somebody has to switch that e-mail on, in their own internet banking, and point it at an address your application receives. That is the account holder, not the developer: no API key, no contract with the bank, no PSD2 licence.

Send it straight to your address, not through a mailbox forward. The bank's DKIM signature is what makes the e-mail trustworthy, and a forward can break it. Every bank below lets the notification go to any address, except Komerční banka, whose e-mail needs a mailbox filter that forwards it unchanged.

Air Bank

On a computer, not in the My Air app (Fakturoid's guide says the same):

  1. Internet banking → Účty a karty → the account.
  2. Možnosti → Info o dění na účtu.
  3. Tick Jiný kontakt and enter your address.
  4. Under the balance change, choose e-mail and the lowest amount. A 1 CZK payment produced an e-mail (2026-11-10); whether anything below that does is not known.
  5. Pokračovat.

No guide mentions a confirmation of the address. Send yourself a small payment and check that read returns a Transaction for it.

It is a balance-change notification: outgoing payments arrive as well, as Direction.OUTGOING.

Fio banka CZ

Fio sends an e-mail for every movement, money in and out, card payments and direct debits included. In internet banking, Nastavení → Oznámení → Uživatelská oznámení → Pohyby → Přidat oznámení opens Přidat nové oznámení o pohybu na účtu (Add a new account transaction notification in English); its fields, as both interfaces showed them on 2026-11-10:

  1. Číslo účtu (Account number): the account. One notification per account; a CZK and a EUR account each need their own.
  2. Kam posílat (Send to): E-mail, not SMS or push; see #12 for why only the e-mail can be trusted.
  3. Vyberte kontaktní e-mail: Jiný email, then type your address. Any address is accepted; no confirmation step is described (Fakturoid's guide, read 2026-11-10).
  4. Vše / Příchozí / Odchozí: which direction. Vše sends outgoing payments too; Příchozí is enough for matching payments.
  5. Částka, Platba je z/na účet, Kód banky, Variabilní symbol: filters. Leave them empty, so every payment is sent; Fakturoid's guide puts 0,01 in Částka to the same end.
  6. Informace v oznámení (Notification format): three choices, each shown with a preview. Choose the middle one, Fio banka - příjem na účtu, the preview starting Dobrý den, zůstatek účtu … se … zvýšil o, with an ID pokynu. The first, Nový příjem na účtu in one line with the counter-party, and the third, one sentence without it, carry no transaction id, and the library cannot read them.
  7. Posílat online (Online notifications): keep it on. Off, Fio holds notifications between 00:00 and 8:00, so a payment at night is announced in the morning.

Check that read returns a Transaction for a small payment.

Komerční banka

KB+ sends an e-mail for incoming payments only, and only to the account holder's main contact e-mail, not to an address of your choice. So the holder's own mailbox forwards it, by an automatic filter. Verified on 2026-11-25: a real KB+ e-mail forwarded by a Gmail (Google Workspace) filter to a Seznam.cz mailbox still verified (d=kbinfo.cz, DKIM pass), as Gmail only adds headers above the signed ones.

  1. KB+ → Nastavení → Oznámení → Příchozí platby → e-mail. It goes to the main contact e-mail.
  2. In that mailbox, an automatic filter: from servis@kbinfo.cz, forward to your address. In Gmail: Settings → Forwarding and POP/IMAP → Add a forwarding address, enter your address and confirm the code Gmail sends to it; then a filter with From servis@kbinfo.cz and Forward it to that address.
  3. Never forward by hand (Forward in the mail client): that writes a new e-mail, which the bank did not sign, and read throws Unverified.

Microsoft 365 blocks automatic forwarding to outside addresses by default (bounce 5.7.520); an administrator has to allow it. Other mail providers are not verified yet. A business account in KB+ gets no payment notifications at all. Check that read returns a Transaction for a small payment. More in kb.

MONETA

See moneta.md: Upozornění - Info Servis, e-mail for incoming and outgoing payments, only from 100 Kč. Not verified yet: no real MONETA e-mail has been read.

Creditas

See creditas.md. Not verified yet: no real Creditas e-mail has been read.

Raiffeisenbank

See raiffeisenbank.md. Not verified yet: no real Raiffeisenbank e-mail has been read.

Česká spořitelna

See ceskasporitelna. Not verified yet: no real Česká spořitelna e-mail has been read.

UniCredit Bank

See unicredit. Not verified yet: no real UniCredit e-mail has been read.

ČSOB

See csob. Not verified yet: no real ČSOB e-mail has been read.

Another bank

Not supported yet; see banks. Adding one starts from one of its real e-mails, see development.