Starting 2027 in Comarch Optima's Księga Podatkowa: no accounting periods, but spis z natury, Zamknięcie zapisów and advances from the buffer
There is no "open 2027" button, and that's the point
If you close the year in Comarch Optima's Księga Handlowa, you know the routine: a new accounting period, a copied chart of accounts, an opening balance. I described it in the Optima year-end close post. Then you switch to a KPiR client, look for the same thing, and it isn't there.
Comarch answers the question directly. Their help article titled "Jak otworzyć nowy rok w module Księga Podatkowa?" (updated 25 November 2024) is a single sentence: "Moduł Księga Podatkowa nie posiada okresów obrachunkowych." There are no periods. A January 2027 entry goes into the same book as December 2026, just with a later date.
That sounds simpler, and in one way it is. In another, it's riskier. With no period to close, nothing forces you to finish 2026 before 2027 starts. December buffer entries sit next to January KSeF invoices, the year's spis z natury is a separate document nobody is chasing, and the December advance can be calculated from half the data.
The year ends cleanly only if you end it yourself.
I build integrations and agents on top of Optima for accounting offices (the module and integration guide covers the technical side). This is the checklist I'd run for every KPiR client.
The sources: Comarch's own help articles in the 2026 edition of the Optima knowledge base, "Jak otworzyć nowy rok w module Księga Podatkowa?" (25.11.2024), "Księga Przychodów i Rozchodów" (11.12.2025), "Spis z natury" (11.03.2025), "Jak obliczyć zaliczkę na PIT-36/PIT-36L?" (09.03.2026) and "Bilans otwarcia – Współpraca z modułem Księga podatkowa" (01.07.2024). The 2027 edition exists, but its pages didn't render for me, so check the labels in your version. Menu names are quoted from those pages. The order, the checks and the agent section are my own.
The year-turn checklist
| # | Step | Where in Optima | What it does |
|---|---|---|---|
| 1 | Check the KPiR parameters | Start/Konfiguracja firmy/Księgowość/Parametry | Księga podatkowa ticked, booking-date rule, duplicate control |
| 2 | Run the duplicate check | KPiR list toolbar → Wykonaj kontrolę (F8), Zakres dat unticked | Finds the same invoice booked twice, across years |
| 3 | Move December from the buffer to the book | Przenoszenie z bufora do księgi / Zamknięcie zapisów | Entries can no longer be edited or deleted |
| 4 | Enter the spis z natury as of 31.12.2026 | Księgowość/Spis z natury, or export from BZM | Closing stock for 2026, opening stock for 2027 |
| 5 | Check the owners' shares | Ogólne/Inne/Właściciele → Lista kwot deklaracji właściciela → Działalność gospodarcza | Shares used in the advance |
| 6 | Calculate the December advance | Księgowość/PIT/Zaliczki na PIT-36 | Advance per owner, month and year |
| 7 | Close 2026 | same button on the book list, date 31.12.2026 | Blocks changes to entries dated up to that day |
| 8 | Check the first 2027 entries | KPiR list, Lp and Renumeracja | Numbering and dates in the new year |
You can do steps 1 and 2 in December. Steps 3 to 7 have to wait for the last December documents, which in practice means mid-January.
Step 1: three parameters worth reading before January
In Start/Konfiguracja firmy/Księgowość/Parametry, three settings matter at the year turn.
Księga podatkowa. You choose between "Ewidencją ryczałtową" and "Książką podatkową" and tick "Księga podatkowa". If a client changes from ryczałt to the KPiR (or the other way round) for 2027, this is where the change shows up in the program. The deadline for telling the tax office is a tax question, covered in the 2027 limits post. Changing the program setting on time is down to you.
Booking date. In new databases the option "Księgowanie dokumentów z datą (nie dotyczy dokumentów z kasowym PIT)" defaults to "Przychody: Operacji / Koszty: Wystawienia". Note the bracket. Documents under the cash method follow different rules, and at the 2026/2027 turn that's the method whose first two-year caps fall due. I covered the tax side in kasowy PIT at the year turn.
Duplicate control. "Kontrola duplikacji zapisów w Księdze podatkowej" is on by default and compares "NIP Kontrahenta", "Numer dokumentu" and "Kwota dokumentu". At least two must stay ticked. Leave all three on.
Step 2: duplicates are a January problem
Someone books a December cost invoice by hand in December. In January the same invoice turns up in the KSeF download and gets booked again. With no period boundary, the book sees nothing wrong with either entry.
The check starts from a button in the KPiR list's toolbar. It opens a window with a date range and the control parameters, and "Wykonaj kontrolę" (F8) runs it. One setting decides whether it finds anything at the year turn: "Zakres dat" is ticked by default and takes its dates from the filter under the list. If your list is filtered to December, the January copy is outside the range. Untick it and the check covers all entries regardless of date. It skips struck-through entries. The article doesn't say outright whether buffer entries are included, so try it once on a pair you know about before you rely on it.
Run it before you move December to the book. Afterwards, a duplicate can only be struck through, not deleted.
While you're on the list, switch on the optional "Nr KSeF" and "NIP" columns. They're hidden by default. Invoices from before a supplier started issuing in KSeF have no number, and that's fine. But an entry without one from a supplier who already invoices through KSeF is either a legitimate exception (a receipt, a foreign invoice) or a document someone typed in from a PDF, and that's the one that comes back in January. Either way you want to see it.
Step 3: buffer, book and Zamknięcie zapisów
Entries in Optima's KPiR start in the buffer, where you can edit and delete them. The button "Przenoszenie z bufora do księgi / Zamknięcie zapisów" moves them into the book. From then on an entry can't be corrected or deleted. Deleting a book entry only strikes it through (it turns red and stops counting).
When the list shows book entries, the same button does the second job: it closes a day or a month. The help article says the program then blocks changes to entries dated up to and including the closing date, and shows that date above the list. It says nothing about reopening. I couldn't find a separate help article on it either. That isn't proof it can't be done, but I wouldn't plan January around it.
| Księga Podatkowa (KPiR) | Księga Handlowa | |
|---|---|---|
| Accounting periods | none | yes, Konfiguracja firmy/Księgowość/Okresy obrachunkowe |
| What ends the year | Zamknięcie zapisów with date 31.12 | Data zamknięcia on the period form |
| Opening position for 2027 | spis z natury as of 31.12.2026 | opening balance (BO) |
| Chart of accounts to copy | none | copied on saving the new period |
| Late 2026 document after the close | changes blocked up to the closing date; new entries too, by my reading | goes in before the period is closed |
Step 4: spis z natury in Księgowość/Spis z natury
The path is short. In Księgowość/Spis z natury, click the plus icon, fill in the header, add each line with plus and save. The help article lists the occasions the spis exists for: the start of the book, the end of each tax year, a change of partners, liquidation, and a spis ordered by the tax office.
Under the regulation on the KPiR, the 31 December spis closes 2026 and is also the first entry of 2027. Why that one number moves the whole year's income, and how to sanity-check it with a margin test, is in the spis z natury post. Here I'll stick to the program.
If the client keeps stock in Optima's Handel module, there's a second route. Comarch's article on working with Księga Podatkowa describes two exports. For the year end the relevant one is the warehouse closing balance, BZM (Bilans Zamknięcia Magazynu). You select it on the list, press the export button, and a spis z natury is created from it in Księga Podatkowa. The rules are short:
- one BZM at a time;
- each BZM can be exported only once, and an exported one shows in blue on the list;
- all its items go across together, including items from different warehouses.
The other export, from BOM (the warehouse opening balance, the route for a client starting out), has stricter rules on corrections. A correction can't go on its own, and once the spis is booked and the tax advance has been calculated from it, a correction can no longer be transferred (the help text still calls it PIT-5, the old form name). The article doesn't spell out the same for BZM, and it doesn't say what date the created spis gets.
My inference from both: count, correct the warehouse documents, close the warehouse, export, check the date on the spis in the KPiR, and only then calculate the advance. A correction that turns up after the advance has nowhere clean to go. The stocktake itself is covered in Optima stocktake at year end.
Steps 5 and 6: owners and the December advance
The advance is calculated from the entries and from the taxpayer's "Karta indywidualnych kwot deklaracji". Before the first calculation the help article has you enter the owners: Ogólne/Inne/Właściciele, plus, then the deklaracje icon on the owner's form, which opens "Lista kwot deklaracji właściciela". Add a line, go to the "Działalność gospodarcza" tab and enter the share, 100/100 for a sole trader.
The list of declaration amounts really is a list, with lines. My inference, not Comarch's text: if a partner's share changes on 1 January 2027, add a new line now. Don't edit the old one. That rewrites the base for 2026.
The advance itself is in Księgowość/PIT/Zaliczki na PIT-36: plus, then month, year and owner, then recalculate and save. One checkbox matters at the year turn: "Uwzględniaj zapisy w buforze".
| Calculation | Box | What it tells you |
|---|---|---|
| Working figure, early January | ticked | the December advance if everything in the buffer is right |
| Final figure, after step 3 | clear | the advance from the book only |
| Difference between the two | entries still sitting in the buffer |
If the final figure differs from the working one, don't approve it until you know why.
Step 8: the first entries of 2027
Optima has a Renumeracja function that renumbers entries in date order and can start from a chosen number. The help article ties it to clients who start the KPiR mid-year. My suggestion: after the first January entries go in, check the Lp of the first 2027 entry. If the numbering doesn't start where you expect for the new year, this is the tool to fix it. Far easier with ten entries than with three hundred. The same entries feed the JPK_PKPiR file for 2026, so a clean year boundary pays off again in April.
Where it usually drifts
| Symptom | Likely cause | What to do |
|---|---|---|
| December advance differs from what the client expected | Calculated with buffer entries, or before the spis | Recalculate with the buffer box clear, after the spis |
| Warehouse correction won't transfer to the spis | Spis already booked and advance calculated (rule stated for BOM) | Agree corrections with the client before you calculate |
| Same invoice twice, one in each year | Booked by hand in December, again from KSeF in January; check limited by Zakres dat | Wykonaj kontrolę (F8) with Zakres dat unticked, before moving December to the book |
| Late 2026 cost invoice won't go in | 2026 already closed with Zamknięcie zapisów (my reading of the lock) | Close only after the last December documents are in |
| Partner's 2026 share looks wrong | Old line in Lista kwot deklaracji właściciela edited | Add a new line from 2027 and leave 2026 alone |
Where an agent fits
Closing the year and approving the advance are decisions with your signature on them. In the four levels of agent permissions, they sit at the top, and I wouldn't automate them. The checks before them are another matter. They're identical for every KPiR client, and they're the first thing that gets dropped in January.
A read-only agent connected to the client's Optima database can, the night before you close each client:
- List entries still in the buffer dated 2026.
- Find likely duplicates by NIP, number and amount across the year boundary, and flag entries without a KSeF number from suppliers who already invoice through KSeF.
- Check that a spis z natury dated 31.12.2026 exists, and compare it with the previous year's spis and the year's purchases.
- Calculate the December advance both ways and show the difference.
For an office with sixty KPiR clients in Optima, that's sixty short reports instead of sixty rounds of the same screens. What the modules cost is in the Optima price list post.
If you run many KPiR clients in Optima and want those four checks ready 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.



