# Bank and cash

> Bank and cash accounts (automatic creation of the sub-account, book balance) and bank/cash transactions — counter main account, transfer between accounts (virman), cancellation, cash negative-balance warning.

URL: https://erpdocs.corexlogic.com/en/finans/ekranlar/banka-ve-kasa

- **Type:** Screen
- **Module:** Finance
- **Menu path:** Finans › Banka ve Kasa › Banka ve Kasa Hesapları · Banka/Kasa Hareketleri · Banka/Kasa Hareketi Oluştur (Finance › Bank and Cash › Bank and Cash Accounts · Bank/Cash Transactions · Create Bank/Cash Transaction)
- **Screen route:** `/erp/treasury/accounts`
- **Required permission:** `erp-treasury-accounts.view (hesapları görme) · .create (hesap açma) · .edit (hesabı düzenleme, pasife alma)`, `erp-treasury-transactions.view (hareketleri görme) · .create (hareket oluşturma ve iptal)`

Each of the company's bank accounts and each cash desk is a **bank/cash account**. The account carries its own sub-account
in the chart of accounts: cash under 100, bank under 102 (100.01, 102.01, 102.02 …). No separate balance is kept for the
account; the balance is the posted movement of that sub-account. Money enters and leaves the account in three ways:

- A customer collection and a supplier payment with their own document: **Gelen Ödemeler** (Incoming Payments) and **Giden
  Ödemeler** (Outgoing Payments). For a transfer and a cash payment, the payment's bank or cash account is selected.
- A transaction whose counterparty is not a business partner (bank fee, interest, tax, shareholder) and a transfer of money
  between two accounts (virman): **Banka/Kasa Hareketi** (Bank/Cash Transaction).
- A check/note collection and an employee advance open a bank/cash transaction from their own screens.

Bank and cash is part of the Pre-Accounting package and requires accounting integration: each transaction writes its entry
the moment it is saved.

## Banka ve Kasa Hesapları (Bank and Cash Accounts)

**Finans › Banka ve Kasa › Banka ve Kasa Hesapları** (Finance › Bank and Cash › Bank and Cash Accounts)
(`/erp/treasury/accounts`)

![Bank and cash accounts](https://erpdocs.corexlogic.com/en/en/img/screens/finans/banka-kasa-hesaplari.png)
1. Each account has its own GL account (102.01, 100.01)
2. Balance of posted transactions
3. Closing of the last statement
4. New bank or cash account

| Column | Description |
|---|---|
| **Kod** (Code) | The account's code; on an inactive account, a **Pasif** (Inactive) label next to it. |
| **Ad** (Name) | |
| **Tür** (Type) | **Banka** (Bank) or **Kasa** (Cash) and the currency. |
| **Ana Hesap** (Main Account) | The sub-account the account is linked to, e.g. 102.01 Demo Bankası Ticari Hesap. |
| **Banka / IBAN** (Bank / IBAN) | The bank and branch, below it the IBAN in groups of four. Empty for cash. |
| **Defter Bakiyesi** (Book Balance) | The posted entry lines of the sub-account, in the account's currency. A negative balance is red. |
| **Son Ekstre** (Last Statement) | The closing balance and date of the last uploaded bank statement; if it differs from the book balance, "fark …" (difference …). |
| **Açık Satır** (Open Lines) | The number of lines not yet processed in this account's statements; clicking the number opens the account's statements. |
| **İşlem** (Action) | The Actions menu: **Hareketler** (Transactions) (the account's transaction list) · **Düzenle** (Edit). |

The list opens with only active accounts; **Pasifleri göster** (Show inactive) also brings inactive accounts. **Hesap Aç**
(Open Account) on the title bar opens the new account window.

The last statement's closing is the balance of the statement day; the book balance is today's. Transactions recorded after
the statement explain the difference between the two amounts; a difference is not always a reconciliation gap.

### Account window

**Hesap Aç** opens the "Banka/Kasa Hesabı Aç" (Open Bank/Cash Account) window; **Düzenle** on a row opens the "Hesap — KOD"
(Account — CODE) window.

| Field | Description |
|---|---|
| **Tür** (Type) | **Banka** (Bank) or **Kasa** (Cash). Required. |
| **Ad** (Name) | Required, at most 128 characters. A second account with the same name is not opened. |
| **Kod** (Code) | Required, at most 16 characters. Suggested from the name; you can overwrite it. |
| **Para birimi** (Currency) | Required. On a new account it comes with the installation's default currency. |
| **Ana hesap** (Main account) | Required. **Kendiliğinden aç — 102 altında sıradaki alt hesap** (Open automatically — next sub-account under 102) (for cash, 100) or a free sub-account from the list. |
| **Banka** (Bank) | Only for bank; required. |
| **Şube** (Branch) | Only for bank; optional. |
| **IBAN** | Only for bank; required. The check digits are validated as you type. |
| **Hesap no** (Account no.) | Only for bank; optional, at most 34 characters. |
| **Ekstre biçimi** (Statement format) | Only for bank. **CoreX şablonu (Ekstre sayfası)** (CoreX template (Statement sheet)) or a defined statement format; the bank's own Excel export is read with this format; MT940 is always read. |
| **Durum** (Status) | Only when editing: **Aktif** (Active) / **Pasif** (Inactive). |

> **Fields that do not change after creation**
**Tür**, **Kod**, **Para birimi** and **Ana hesap** do not change after the account is opened. Set an incorrectly opened
account to inactive and open the correct one as a new account. There is no deletion: no transaction or payment is written to
an inactive account, and its past transactions remain.

### Automatic creation of the sub-account

If **Ana hesap** stays at "Kendiliğinden aç", when you click **Kaydet** (Save) the system opens a sub-account under 102 (for
cash, under 100) with the next number. The sub-account takes the account's name and currency restriction. The account and its
sub-account are opened in a single operation: if the account is rejected, the sub-account is not opened either.

In the demo company, three accounts are opened in this order:

| Code | Name | Type | Sub-account opened |
|---|---|---|---|
| KASA-01 | Merkez Kasa | Cash | 100.01 |
| BANKA-01 | Demo Bankası Ticari Hesap | Bank (TR84 0099 0000 0000 1234 5000 17) | 102.01 |
| BANKA-02 | Örnek Katılım Bankası Cari Hesap | Bank | 102.02 |

- The sub-account number is given in the order of opening. Because the opening trial balance will write to these codes, open
  the accounts in the order of the trial balance.
- If you want to select an existing free sub-account, the list shows only accounts in the type's group (under 100 or 102)
  that are open for posting, are not reconciliation accounts and are not linked to another bank/cash account. A sub-account
  with a currency restriction is linked only to an account in that currency.
- A sub-account belongs to a single bank/cash account.
- The opening balance is not entered in this window; the amount on the transition day comes from the opening trial balance
  by entry. Details: [Pre-accounting opening](https://erpdocs.corexlogic.com/en/surecler/on-muhasebe-acilisi) and [Opening from Trial Balance](https://erpdocs.corexlogic.com/en/veri-aktarimi/mizandan-acilis).

### Book balance

**Defter Bakiyesi** (Book Balance) is the total of the **posted** entry lines written to the account's sub-account: debit −
credit for a TRY account, the signed foreign-currency amount for a foreign-currency account. A draft entry or one awaiting
approval does not enter the balance. Every entry that writes to the sub-account counts: the opening entry, a bank/cash
transaction, an incoming and an outgoing payment linked to the account, a check/note collection.

In an incoming or outgoing payment, a cash account is selected if the method is **Nakit** (Cash), and a bank account if it is
**Havale** (Transfer). If an account that matches the payment's method and currency is defined, selection is required;
statement matching sees only a payment linked to an account. A check and card payment is not posted directly to a bank/cash
account.

## Banka/Kasa Hareketleri (Bank/Cash Transactions)

**Finans › Banka ve Kasa › Banka/Kasa Hareketleri** (Finance › Bank and Cash › Bank/Cash Transactions)
(`/erp/treasury/transactions`)

Transactions whose counterparty is a main account (fee, interest, tax) and transfers between accounts (virman). A customer
and a vendor payment are not in this list but on their own screens.

| Column | Description |
|---|---|
| **Hareket No** (Transaction No.) | `BKH-yyyy-nnnnnn`; clicking opens the transaction. |
| **Tarih** (Date) | The transaction's date. |
| **Hesap** (Account) | The bank/cash account's code. |
| **Yön** (Direction) | **Giriş** (Inflow) or **Çıkış** (Outflow). |
| **Karşı Taraf** (Counterparty) | The code and name of the counter main account; in a virman, "Virman → target account code". |
| **Açıklama** (Description) | |
| **Tutar** (Amount) | In the account's currency; an outflow is negative and red. |
| **Durum** (Status) | **Kaydedildi** (Saved) or **İptal** (Cancelled). |

**Filters:** **Ara** (Search; transaction no., description or reference), **Hesap** (Account) (**Tüm hesaplar** — All
accounts), **Durum** (Status) (**Tümü** — All) and a transaction date range. The list is sorted by date, newest first; it
cannot be sorted from the header. **Banka/Kasa Hareketi Oluştur** (Create Bank/Cash Transaction) on the title bar opens the
new transaction form.

> **The list of the **Hesap** filter comes with the permission to create transactions. If you have only the view permission, go**
to an account's transactions via the row's **Hareketler** action in **Banka ve Kasa Hesapları**.

## Banka/Kasa Hareketi Oluştur (Create Bank/Cash Transaction)

**Finans › Banka ve Kasa › Banka/Kasa Hareketi Oluştur** (Finance › Bank and Cash › Create Bank/Cash Transaction)
(`/erp/treasury/transactions/new`)

![Create a bank/cash transaction](https://erpdocs.corexlogic.com/en/en/img/screens/finans/banka-kasa-hareketi-olustur.png)
1. Account of the transaction
2. In or out
3. Counter account — not 120/320
4. Posted to an entry immediately

| Field | Description |
|---|---|
| **Banka/Kasa Hesabı** (Bank/Cash Account) | Required. Active accounts: "KASA-01 — Merkez Kasa · Kasa · TRY". |
| **Tarih** (Date) | Required. If you do not have the permission for a closed month and a past date, past days are not offered in the calendar. |
| **Karşı Taraf** (Counterparty) | **Ana hesap** (Main account) or **Virman** (Transfer). |
| **Yön** (Direction) | **Giriş (hesaba)** (Inflow (to the account)) or **Çıkış (hesaptan)** (Outflow (from the account)). Locked to **Çıkış** in a virman. |
| **Tutar** (Amount) | Required, greater than zero, at most two decimals; in the account's currency. |
| **Karşı Ana Hesap** (Counter Main Account) | Required if the counterparty is **Ana hesap**. Searched by code or name. |
| **Hedef Hesap** (Target Account) | Required if the counterparty is **Virman**. |
| **Referans** (Reference) | Optional, at most 64 characters (receipt voucher or receipt no.). |
| **Açıklama** (Description) | Required, at most 256 characters. |

**Kaydet** (Save) saves the transaction and writes its entry immediately; the transaction's details open. A saved
transaction is not edited — an incorrect transaction is cancelled and re-entered.

- The **Karşı Ana Hesap** list has active main and sub-accounts that are open for posting (without sub-accounts).
  Reconciliation accounts such as customer (120) and vendor (320), and the sub-accounts of bank/cash accounts are not in the
  list: a business partner payment is entered with its own document, and a money movement between two accounts with a
  virman.
- A **Virman** is a single transaction: it is entered as an outflow from the source account, and the inflow to the target
  account is written on the entry. The other active bank and cash accounts in the same currency appear as the target. A
  virman from cash to cash is not made.

### Cash negative-balance warning

A cash account does not give a credit balance. When an outflow from a cash account is being entered (an outflow transaction or
a virman whose source is cash), once the account, amount and date are known, the form asks for the cash balance. If the
outflow would make the cash negative, a warning appears at the bottom of the form:

> "Kasa eksiye düşüyor: KASA-01 bakiyesi … TRY, bu çıkışla en düşük gün sonu bakiyesi … TRY olur. Kasa hesabı alacak
> bakiyesi vermez — vergi incelemesinde kasa açığı (kayıt dışı hasılat ya da belgesiz borç) sayılabilir. Önce tahsilatı
> ya da bankadan çekişi kaydedin. Kayıt engellenmez."
>
> (The cash is going negative: the balance of KASA-01 is … TRY; with this outflow the lowest end-of-day balance will be …
> TRY. A cash account does not give a credit balance — in a tax audit it may be treated as a cash shortage (unrecorded
> revenue or an undocumented debt). First record the collection or the withdrawal from the bank. The record is not
> blocked.)

- The warning does not block saving; **Kaydet** stays available. It is recommended to first record the inflow to the cash
  (a collection, a virman for a withdrawal from the bank) and then enter the outflow.
- The rule looks at the end-of-day balance. Since a back-dated outflow lowers the balance of every day after that day, the
  warning calculates the lowest end-of-day balance after the transaction day.
- The same warning also appears for a cash payment in **Giden Ödeme Oluştur** (Create Outgoing Payment). In the **Kapanış
  Kontrol Listesi** (Closing Checklist) (General Accounting package), the **Kasa ters bakiyesi** (Cash reverse balance) item
  measures by the same rule.

## Transaction details

The details show **Durum** (Status), **Tarih** (Date), **Hesap** (Account), **Yön** (Direction), **Tutar** (Amount),
**Karşı taraf** (Counterparty), **Referans** (Reference), **Açıklama** (Description), **Oluşturan** (Created by) and, if
cancelled, **İptal** (Cancellation) (time and reason). If the transaction was recorded from a bank statement line,
**Kaynak** (Source) reads "Banka ekstresi satırından kaydedildi" (Recorded from a bank statement line). The **Muhasebe
belgesi** (Accounting document) section shows the transaction's entry.

**İptal Et** (Cancel) appears only in the **Kaydedildi** (Saved) status and with the permission to create transactions. In
the "Hareketi İptal Et" (Cancel Transaction) window, a **Gerekçe** (Reason) is required (at most 256 characters): "Fiş ters
kayıtla kapanır; hareket ekstre satırından doğduysa ya da bir satırla eşleştiyse satır yeniden açık olur." (The entry is
closed with a reversal; if the transaction arose from a statement line or was matched with a line, the line becomes open
again.)

### Statuses

| Status | Meaning |
|---|---|
| **Kaydedildi** (Saved) | The transaction was saved and its entry was written. It cannot be changed; it can only be cancelled. |
| **İptal** (Cancelled) | The transaction was cancelled with a reason; its entry was closed with a reversal. It is not reopened. |

## Good to know

- A transaction that arises from a check/note collection or a check payment is not cancelled from this screen; the operation
  is done from **Çek/Senet Portföyü** (Check/Note Portfolio). The payment and cash refund of an employee advance are also
  cancelled from **Personel Avansları** (Employee Advances). On the details of such a transaction, the **İptal Et** button
  does not appear; instead the route is written: "Bu belge bir çek/senede bağlı — işlemi Çek/Senet Portföyü'nden yapın."
  (This document is linked to a check/note — do the operation from the Check/Note Portfolio.) or "Bu hareket bir personel
  avansına bağlı — iptali Personel Avansları'ndan yapın." (This transaction is linked to an employee advance — cancel it
  from Employee Advances.)
- The list's **Hesap** filter is filled with the permission to view transactions; the permission to write transactions is
  not required.
- The transaction's date passes through the posting period rule: no transaction is written to a closed month.
- A foreign-currency account's transaction is in the account's currency; the target of a virman must be in the same
  currency.

## Accounting effect

The entry is written the moment the transaction is saved; the accounts come directly from the transaction (the account
determination rule is not used).

| Transaction | Debit | Credit |
|---|---|---|
| Inflow (from a main account) | The sub-account of the bank/cash account (102.01) | Counter main account |
| Outflow (to a main account) | Counter main account (e.g. 780 Financing Expenses) | The sub-account of the bank/cash account |
| Virman | The target account's sub-account | The source account's sub-account |

The entry type is selected from the cash rule: if cash is in debit, a **tahsil** (receipt voucher); if in credit, a
**tediye** (payment voucher); if there is no cash (between two banks or between a bank and a main account), a **mahsup**
(journal voucher). Cancellation closes the entry with a reversal.

If the transaction's date does not fall in an open fiscal year, the entry cannot be written; the transaction's accounting
event waits in **Finans › Genel Muhasebe › Muhasebeleşmemiş Olaylar** (Finance › General Accounting › Unposted Events) and
returns to an entry with **Tümünü Yeniden Dene** (Retry All) once the year is opened. The amount of a waiting event does not
enter the **Defter Bakiyesi** (Book Balance).

## Common messages

| Message | Cause and solution |
|---|---|
| "'…' kodlu banka/kasa hesabı var." (A bank/cash account with code '…' exists.) | The code is in use; enter another code. |
| "IBAN kontrol hanesi tutmuyor — yazımı denetleyin." (The IBAN check digit does not match — check the spelling.) | The IBAN was written incorrectly. Re-enter the number given by the bank. |
| "Türkiye IBAN'ı 26 karakterdir." (A Turkish IBAN has 26 characters.) | An IBAN that starts with TR is short or long. |
| "Banka adı zorunludur." · "Banka hesabının IBAN'ı zorunludur." (The bank name is required. · The IBAN of a bank account is required.) | Both fields must be filled on a bank account. |
| "Kod, tür, para birimi ve ana hesap açılıştan sonra değişmez — yeni hesap açın." (Code, type, currency and main account do not change after creation — open a new account.) | These fields cannot be changed when editing. Set the account to inactive and open a new one. |
| "'…' doğrudan bir banka/kasa hesabına bağlı — altına hesap açılmaz; ana hesabı seçin." ('…' is linked directly to a bank/cash account — no account is opened beneath it; select the main account.) | 102 (or 100) was linked directly to an account. Select a free sub-account in **Ana hesap**. |
| "'…' başka bir banka/kasa hesabına bağlı — her hesap kendi ana hesabını taşır." ('…' is linked to another bank/cash account — each account carries its own main account.) | The selected sub-account belongs to another account. Have it opened automatically or select a free sub-account. |
| "'…' kayda açık değil — alt hesabı seçin ya da Hesap Planı'nda açın." ('…' is not open for posting — select its sub-account or open one in the Chart of Accounts.) | The selected account has a sub-account. |
| "'…' yalnız … taşır." ('…' carries only ….) | The sub-account is restricted to another currency. |
| "Karşı hesap banka/kasa hesabının kendi ana hesabı olamaz." (The counter account cannot be the bank/cash account's own main account.) | The account's own sub-account was selected as the counter main account. |
| "'…' bir banka/kasa hesabının ana hesabı — iki hesap arası para hareketi virmanla." ('…' is the main account of a bank/cash account — a money movement between two accounts is done with a virman.) | Set the counterparty to **Virman** and select the target account. |
| "Virman kaynak hesaptan çıkış olarak girilir." (A virman is entered as an outflow from the source account.) | Enter the virman from the account the money leaves. |
| "Virman aynı para birimindeki hesaplar arasında yapılır." (A virman is made between accounts in the same currency.) | The target is in another currency. |
| "Kasadan kasaya virman yapılmaz — kasa fişi tek kasayla (tahsil ya da tediye)." (A virman from cash to cash is not made — a cash voucher involves a single cash desk (receipt or payment).) | Enter a transfer between two cash desks separately as an outflow from one and an inflow to the other. |
| "'…' hesabı pasif." (The account '…' is inactive.) | No transaction is written to an inactive account. Make the account active with **Düzenle** or select another account. |
| "Açıklama zorunludur." · "Tutar sıfırdan büyük olmalıdır." · "Tutar en çok iki ondalık olabilir." (The description is required. · The amount must be greater than zero. · The amount can have at most two decimals.) | Complete the form. |
| "Hareket zaten iptal edilmiş." (The transaction has already been cancelled.) | The transaction was cancelled before. |
| "Bu belge bir çek/senede bağlı — işlemi Çek/Senet Portföyü'nden yapın." (This document is linked to a check/note — do the operation from the Check/Note Portfolio.) | The transaction arose from a check/note collection or payment. |
| "Bu hareket bir personel avansına bağlı — iptali Personel Avansları'ndan yapın." (This transaction is linked to an employee advance — cancel it from Employee Advances.) | The transaction is an advance payment or cash refund. |

## Related

- [Opening a bank and cash account](https://erpdocs.corexlogic.com/en/finans/islemler/banka-kasa-hesabi-acma) ·
  [Creating a bank/cash transaction](https://erpdocs.corexlogic.com/en/finans/islemler/banka-kasa-hareketi-olusturma)
- [Bank statements](https://erpdocs.corexlogic.com/en/finans/ekranlar/banka-ekstreleri) · [Checks and promissory notes](https://erpdocs.corexlogic.com/en/finans/ekranlar/cek-ve-senet) ·
  [Employee advances](https://erpdocs.corexlogic.com/en/finans/ekranlar/personel-avanslari) · [Liquidity forecast](https://erpdocs.corexlogic.com/en/finans/ekranlar/likidite-tahmini)
- [Incoming payments](https://erpdocs.corexlogic.com/en/finans/ekranlar/gelen-odemeler) · [Outgoing payments](https://erpdocs.corexlogic.com/en/finans/ekranlar/giden-odemeler)
- [Pre-accounting opening](https://erpdocs.corexlogic.com/en/surecler/on-muhasebe-acilisi)
