Closing 2026 and opening 2027 in Comarch Optima: the step order, when BO initialisation skips accounts, and three mistakes that surface in March
Optima lets you skip the order. That's the problem.
Most year-end guides for Comarch ERP Optima read like a checklist. The program doesn't enforce one. You can open 2027 in January without closing 2026. You can initialise the opening balance from a year that's still in the bufor. Optima will warn you, but it won't stop you. And closing the period posts nothing, so the financial result won't move unless you set it up yourself.
That freedom helps in January, when invoices for the new year arrive and the old year is months from final. You pay for it in March, when the auditor's adjustments land in 2026 and the 2027 opening balance no longer matches.
I connect Optima to bank statements, B2B portals and, lately, AI agents for accounting offices. Year-end is when those integrations get the awkward questions. Which period is current? Why does an account have no balance in January? Why does the 2027 trial balance start at a different number from the one 2026 ended at? This post follows the five steps in Comarch's own help for the Księga Handlowa module (the 2026 help pages), with the menu paths, the exact warnings, and the conditions that make the BO import skip accounts.
The five steps, in the order the help gives them
| # | Step | Where in Optima | What goes wrong if you skip or reorder it |
|---|---|---|---|
| 1 | Transfer revenue and costs to the financial result | Księgowość / Księgowania okresowe | Closing posts nothing, so the result account stays empty |
| 2 | Move journal entries from the bufor to the ledger | Księgowość / Dzienniki, Bufor, all journals, option Rok | A BO built from bufor entries of an unclosed period can't be saved permanently |
| 3 | Close the period | Konfiguracja firmy / Księgowość / Okresy obrachunkowe, field Data zamknięcia | Once saved, no changes to entries in that period are possible, so do it last |
| 4 | Open the new period | Same place, new period; prompt to copy settings | Accounts added to the old plan after copying are missing in 2027 |
| 5 | Initialise the opening balance | Księgowość / Inne / Dokumenty BO, icon Inicjalizuj bilans otwarcia | Accounts that fail the import conditions are silently left out |
Steps 4 and 5 can come before step 3. The help says so outright: the period "may be opened earlier, the program does not require the above steps". So the question isn't whether you may. It's which of the five you're prepared to redo.
Step 1: the result transfer is your job
Comarch has an FAQ titled, in effect, "Will the program transfer cost accounts to the financial result by itself after closing the period?" The answer is a description of how to build a periodic posting schema. So no.
The schema lives under Księgowość / Księgowania okresowe. It moves the turnover of the 4 and 7 account groups to the result account. Account masks do the selection; the help's example 7@{[34]1*} picks up revenue accounts like 731-2 or 741-1 and sends them to 860. Build the schema once, test it on a copy of the database, and keep it. You'll reuse it every year. An office with 40 clients on Księga Handlowa will reuse it 40 times.
Run it before step 2. Result entries left sitting in the bufor are the first thing you'll forget.
Step 2: bufor to ledger, with renumbering first
The help's procedure: Księgowość / Dzienniki, switch to the Bufor entries, choose all journals and the Rok option, select everything with Ctrl+A, press the book icon. The operator needs "operations on the general ledger" rights, set in Start / Konfiguracja / Program / Użytkowe / Operatorzy.
Read this warning twice: renumber the entries before you move them out of the bufor (the lightning icon, or sort by Data księgowania). Once they're in the ledger, the numbers are fixed. A journal numbered out of date order is exactly the kind of thing an auditor writes up.
Step 3: Data zamknięcia is a one-way door
On the period form in Konfiguracja firmy / Księgowość / Okresy obrachunkowe, the closing field is Data zamknięcia (the FAQ calls the same action ticking Zamknięty). The config page is blunt: ticking it, entering a date and saving the form makes any change to the period's entries impossible. You can undo the date until you save.
In practice, that means closing 2026 after the audit, not in January. Many offices leave the period open until the financial statements are signed. That's fine, provided the 2027 opening balance is treated as provisional until then.
Which brings us to the part that goes wrong.
Steps 4 and 5: the new period and the opening balance
When you create the 2027 period, Optima asks: "Czy kopiować ustawienia z poprzedniego okresu obrachunkowego?" Yes copies the chart of accounts, journal names, account groups, cost centres and the default journals for exchange differences and compensations. You can also choose whether to bring inactive accounts and dictionary accounts with zero balances. Untick both and you get only active accounts and dictionary accounts with a non-zero balance, which is usually what you want for a client that's churned through suppliers. The 2026 form also has a Typ ZOiS field, the trial balance type used for JPK_KR_PD, so set it while you're there. The maximum period length is 23 months; the default is 12.
Then the opening balance. In Księgowość / Inne / Dokumenty BO, add a document and press Inicjalizuj bilans otwarcia. The icon only works if this is the first BO document in the period.
The import doesn't take every account. These are the conditions from the 2026 FAQ, plus the two that the older form documentation adds:
| Condition for an account to be imported | Source | Typical way it fails at year-end |
|---|---|---|
| No BO document exists yet in the period | 2026 FAQ | Someone entered a manual BO line first |
| Account exists in the current (2027) period | 2026 FAQ | Account added to the 2026 plan after the copy |
| Account is active | 2026 FAQ | Deactivated during a plan clean-up in December |
| Type: Aktywa, Pasywa, Aktywa-pasywa or Pozabilansowe | 2026 FAQ | Correct by design: 4xx and 7xx don't carry over |
| Operator has no ban on the account | 2026 FAQ | Junior accountant runs the import with limited rights |
| Turnover on the account is non-zero | 2026 FAQ | Correct by design |
| Account is analytical | older form docs | Synthetic account with no analytics |
| Next-period account defined in the old period | older form docs | Plan copied before the account was created |
None of these failures produces an error. The account just isn't there. The fastest check: compare the 2026 closing trial balance with the 2027 opening one, account by account, before you approve anything.
The older BO scenarios page documents two more traps. On currency accounts, a mismatch between the currency settings in the two periods can stop the import at the first mismatched account, and nothing after it gets imported. And the import saves its data however you leave the form. Pressing Escape doesn't undo it.
The three mistakes that show up in March
1. Initialising BO in January and approving it. If the previous period isn't closed, Optima shows "Poprzedni okres obrachunkowy nie został zamknięty. Zaimportowane dane mogą być niekompletne. Czy kontynuować?" If you carry on, keep that BO in the bufor. An approved BO can't be edited; the scenarios page says balances then change only through correction documents. While it's still in the bufor, you can delete it and run the initialisation again once the audit adjustments are in.
2. Adding accounts to 2026 after the copy. A new supplier in December, a new analytic for a year-end currency valuation. The FAQ's fix: Księgowość / Plan kont, the menu next to Generowanie wzorcowego planu kont, "Aktualizacja planu kont z poprz. okresem". Then delete the previously generated BO and add it again. Which only works cleanly if the BO is still in the bufor.
3. Using the wrong correction flag. A correction BO carries the Korekta bilansu otwarcia flag. It can also carry Wpływa na bilans zamknięcia okresu poprzedniego, which changes the prior year's closing balance as well. Tick the second one only when you mean to change 2026's numbers from inside 2027. An approved financial statement and a closing balance that moved afterwards don't belong in the same file.
Where an agent fits, and where it doesn't
None of these steps should be automated from start to finish. Closing a period is a decision with an irreversible button, and it belongs to the person who signs the statements.
Where an agent earns its keep is the comparison nobody in a 40-client office has time for. For each client database: count the entries still in the bufor, list accounts in the 2026 plan with no 2027 counterpart, and diff the 2026 closing balance against the 2027 BO. Read-only access is enough. I wrote about how such an agent connects to Optima and about the multi-company module that makes it practical for offices. If you're still choosing the licence, the 2026 Optima price list shows what Księga Handlowa adds. And year-end has its other lists: balance confirmations go out before any of this.
If you run Optima for many clients and want that pre-close check built before January, get in touch.
Let’s talk about your project
Free 30-minute consultation. We’ll figure out if and how I can help.



