← User guide

KB BEST Payment Files

Domestic transfers, direct debits and foreign/SEPA payments from a Komerční banka account, exported in KB's BEST format from an OCA payment order.

Version19.0.1.2.0
EditionCommunity and Enterprise
LicenceAGPL-3
Requiresaccount_payment_order, account_kb_best_base, base_iban

What it is for

BEST is Komerční banka's own fixed-width client format for its direct banking channels — MojeBanka Business, Profibanka and Přímý kanál (direct channel). This module writes BEST payment files from an OCA payment order (account_payment_order), so you pay a batch of bills from your KB account by uploading one file. It works on Community and Enterprise alike.

The specification is KB's Klientský formát BEST podporovaný v KB, valid from 20 June 2026.

Statements in the same format are imported by account_statement_import_kb_best.

Payment methods

Payment method Payment order BEST record File
KB BEST (domestic transfer) outbound (Payment Orders) 01, domestic transfer BEST-DP-<journal>-<date and time>.ikm
KB BEST (domestic direct debit / inkaso) inbound (Debit Orders) 01 with the direct-debit operation code BEST-DP-….ikm
KB BEST (foreign / SEPA transfer) outbound 02 with the 03 structured address BEST-ZP-<journal>-<date and time>.ikm

Files are Windows-1250 with CR LF line ends; domestic records keep Czech diacritics, foreign records use only the SWIFT character set.

Setting it up

  1. The bank journal (Accounting → Configuration → Accounting → Journals) must hold a KB account — bank code 0100 — as a CZ IBAN or prefix-number/0100. Any other account is refused. The journal's currency (or the company's, if the journal has none) is taken as the currency of the KB account.
  2. A payment mode for each method you use (Accounting → Configuration → Accounting → Payment Modes), with the KB journal.
  3. Partners: a bank account for everyone you pay. For a foreign payment that is not SEPA also the partner's street, city and country, and the BIC of their bank (or the bank's name, city and country).
  4. Recommended: l10n_cssk_payment_symbols so that each bill's symbols reach the payment lines on their own (see account_abo).

Making a payment file

  1. Accounting → Vendors → Payment Orders (or Customers → Debit Orders for direct debits), New, choose the KB BEST payment mode, Create Payment Lines from Journal Items.
  2. Check Variable Symbol, Constant Symbol and Specific Symbol on the lines; an empty one is taken from a VS: / KS: / SS: token in the Communication.
  3. Confirm Payments, Generate Payment File.
  4. Upload the .ikm file in MojeBanka Business, Profibanka or Přímý kanál, authorise it there, and mark the order with File Successfully Uploaded.

Rules the file follows

These are KB's rules; the module applies them before the bank does and stops with a message naming the payment:

Every payment

Domestic (record 01)

Foreign (record 02)

The shared BEST module

The BEST layouts — both payment records and the statement — live in account_kb_best_base, which this module and account_statement_import_kb_best build on. It has no screen of its own.

Limitations