# Opening from Trial Balance

> Convert the old program's closing trial balance on the cutover day into a draft opening entry; reconciliation accounts per business partner.

URL: https://erpdocs.corexlogic.com/en/veri-aktarimi/mizandan-acilis

- **Type:** Screen
- **Module:** Finance
- **Menu path:** Finans › Genel Muhasebe › Yevmiye Fişleri › Mizandan Açılış (Finance › General Accounting › Journal Entries › Opening from Trial Balance)
- **Screen route:** `/erp/accounting/journal-entries/opening-import`
- **Required permission:** `erp-accounting-journal-entries.view (şablon, kontrol) · .create (aktarma)`

The old program's closing trial balance on the cutover day — a debit or credit balance per account — becomes a **draft opening entry**.
The import does not post the entry: you open the entry from the **Yevmiye Fişleri** (Journal Entries) list, review it and post it
with its own **Muhasebeleştir** (Post) button. The screen's fields are **Açılış tarihi** (Opening date) and **Mizan dosyası
(.xlsx)** (Trial balance file (.xlsx)); its buttons are **Şablonu İndir** (Download Template), **Kontrol Et** (Validate), **Aktar** (Import). It is a screen of the General Accounting package.

> **One opening entry per fiscal year**
If the year has a posted opening entry, the validation result tells you so with the entry number and the new draft is not posted.
To correct the opening, first reverse the posted entry, then post the new one.

## The workbook's sheet

A single sheet: **Acilis** (`Acilis-Mizani-Sablonu.xlsx`). The **Açılış tarihi** (Opening date) must be the first day of a month and its fiscal year must be open
(Yönetim › Özelleştirme › Finans › Mali Yıllar ve Dönemler (Administration › Customization › Finance › Fiscal Years and Periods)).

## Columns

| Column | Required | Description |
|---|---|---|
| `HesapKodu` | Yes | The code in the chart of accounts (`100.01`, `120`, `153` …). The account must be active and open to posting: it cannot be written to a parent account that has sub-accounts. |
| `HesapAdi` | No | Information; not read. |
| `IsOrtagiKodu` | Yes on a reconciliation account | The balance of a **reconciliation account** such as 120 or 320 is a row per business partner: the record code is required and its role must match the account's type (customer on 120, supplier on 320). On other accounts (159 advances given, 340 advances received, 136 …) it is optional; if entered, the record must exist. |
| `Borc` | Depending on the row | Debit balance. A row carries either debit or credit. |
| `Alacak` | Depending on the row | Credit balance. |
| `Aciklama` | No | The description of the entry line. |

Amounts are in TRY, at most two decimals, and no negative is entered (a credit balance is entered as a positive in the **Alacak** column). At most
2,000 rows in one entry. The trial balance must balance in total.

> **The old program's business partner accounts**
If in the old program each business partner has its own accounting account (such as 120.01.001), the balances of those accounts become the `120`
rows here and `IsOrtagiKodu` carries the business partner record's code. A customer's row amount must equal the sum of that customer's items in [Customer Opening
Balance](https://erpdocs.corexlogic.com/en/veri-aktarimi/musteri-acilis-bakiyesi); otherwise the **Alt Defter
Mutabakatı** (Subledger Reconciliation) shows that customer with the difference.

The sub-accounts of bank and cash accounts (100.01, 102.01 …) are created when an account is opened in **Banka ve Kasa Hesapları** (Bank and Cash Accounts);
open them before the trial balance. The amount of the stock accounts (150–153) is the value of the stock opening — the stock opening does not post its own entry.

## Validation and import

**Kontrol Et** (Validate) writes nothing: "N/N satır geçerli · Borç … · Alacak …" ("N/N rows valid · Debit … · Credit …") and a result row by row. **Aktar** (Import) opens after a validation with no errors and a
balanced total: "Taslak açılış fişi açıldı: YEV-…" ("Draft opening entry created: YEV-…").

| Message | Cause and solution |
|---|---|
| "'…' hesap planında yok." ("'…' is not in the chart of accounts.") | The code is wrong or the sub-account has not been opened yet (open the bank/cash account first). |
| "'120' mutabakat hesabı — bakiye iş ortağı başına yazılır, İş ortağı kodu (IsOrtagiKodu) zorunlu." ("'120' is a reconciliation account — the balance is entered per business partner, Business partner code (IsOrtagiKodu) is required.") | A 120 / 320 row has no business partner. Split the balance into rows per business partner. |
| "'…' müşteri rolü taşımıyor — '120' müşteri mutabakat hesabı." ("'…' does not carry the customer role — '120' is the customer reconciliation account.") | A supplier record is on a 120 row (the reverse on 320: "tedarikçi rolü taşımıyor — '320' satıcı mutabakat hesabı." — "does not carry the supplier role — '320' is the supplier reconciliation account."). |
| "'…' kodlu cari kart yok." ("There is no business partner record with code '…'.") | `IsOrtagiKodu` is wrong. |
| "Satır ya borç ya alacak bakiye taşır." ("A row carries either a debit or a credit balance.") | Both columns are filled or both are empty. |
| "Tutar eksi olamaz — bakiye kendi sütununa yazılır." ("The amount cannot be negative — the balance is entered in its own column.") | A credit balance was entered as a negative debit. |
| "Tutar en çok iki ondalık olabilir." ("The amount can have at most two decimals.") | Round the kuruş. |
| "Mizan dengede değil: borç …, alacak … TRY." ("The trial balance does not balance: debit …, credit … TRY.") | The totals are not equal; take the old program's trial balance again. |

## Related

- [Customer Opening Balance import](https://erpdocs.corexlogic.com/en/veri-aktarimi/musteri-acilis-bakiyesi)
- [Supplier Opening Balance import](https://erpdocs.corexlogic.com/en/veri-aktarimi/satici-acilis-bakiyesi)
- [Pre-accounting opening](https://erpdocs.corexlogic.com/en/surecler/on-muhasebe-acilisi)
