Ask a Romanian accountant for the ledger of account 5311 out of an international ERP. They will look at it for a few seconds and then ask: "and the counterpart account?"
The question is not a formality. A sheet without that column shows that 4,000 lei left the cash desk on 12 March. It does not show why: whether a supplier was paid, a treasury advance was handed out, or the money was deposited at the bank. For every row you care about, you open the entry.
Odoo does not have the column, because not every country uses it. Romania does, and in a precise way — through the counterpart map, the list of accounts an account is normally balanced against.
Two modules cover this: one that brings the map and computes the counterpart, another that puts it into a printed report.
1. The counterpart map, shipped ready made
Every account in the Romanian chart gets a list of accounts it can be balanced against. Account 103, for instance, can be matched with 101, 501, 643 and 665.
The module ships the official mapping — 219 lines, keyed on code prefixes — and a loader button in the accounting settings. Nobody writes it by hand, and it does not differ from one implementation to another.
Matching is done on the code prefix, so it also covers the analytic accounts you created under a synthetic one.
If you change the list on an account, there is a recompute action on the journal items list. It only touches lines that do not yet have a counterpart, so it is safe to run as often as you like — but it also means lines already filled in will not change by themselves after you edit the map. Those you clear first.
2. How the counterpart is chosen
For every posted line, on a company with the Romanian localization:
- the lines of the entry are taken, in document order;
- each debit line is allocated against the credit lines until its amount is used up;
- during allocation, accounts from the counterpart map come first — they are tried before the rest;
- the first allocation fixes the counterpart, on both lines at once.
It is worth remembering that the counterpart map is a priority, not a condition: if no line from the list matches, the line still gets a counterpart, out of the remaining allocation. It does not stay empty.
For two-leg entries — cash receipts, bank statements, manual vouchers — the result is unambiguous. For multi-line entries, such as a vendor bill with VAT, the map decides which of the lines shows up as "the other side", instead of whichever comes first.
The part that matters technically: both fields are stored, not computed at display time. Which means you can group and filter by the counterpart account — for instance the bank account grouped by counterpart, to see at a glance where the money went in a month.
At install time the columns are added directly in the database, so a database with history does not trigger a full recomputation.
3. The account sheet, as a document
The column solves reading on screen. The printed document is another matter.
From the General Ledger report, in the export menu next to PDF and XLSX, one extra entry appears: Print RO. It only shows on companies whose fiscal country is Romania. It takes whatever you already filtered on screen — the period, the journals, the accounts, what you unfolded — and opens a wizard.
There you choose:
- the type: account sheet, with one page for each selected account, or journal registry, with every account of the period;
- the format: Excel, PDF or CSV;
- the accounts, for the account sheet.
4. The opening balance, computed per account type
This is the detail that, done wrong, ruins the whole report.
For income and expense accounts, the opening balance is summed from the start of the fiscal year — because they close annually. For asset, liability, equity accounts and the off-balance-sheet ones, it is summed from the beginning.
It is not an option you tick; the system derives it from the account type. But it is worth knowing, because it explains why the sheet for account 607 starts from zero in January and the one for account 401 does not.
5. Large volumes
A journal registry over a year, at a busy company, has millions of lines. Two things are built specifically for that.
The PDF renders in chunks — accounts are grouped into batches of at most 5,000 lines, each rendered separately, and the files are merged at the end. Otherwise generation stops at the system's open-files limit.
The Excel can be split by month or by quarter, one sheet each, with opening and closing balances recomputed for every sub-period. That is the difference between a file you open and one you give up on.
What to check on first setup
- The counterpart map is loaded — open a cash account and see whether it has counterpart accounts in its list.
- A two-leg entry: the cash line has its counterpart filled in, and it is the expected one.
- A vendor bill with VAT: what counterpart came out on the supplier line? This is where you see whether the mapping suits your chart.
- The sheet of an expense account, over a period starting mid-year: the opening balance has to be the activity since the start of the fiscal year, not zero and not everything.
- A PDF export over a large period, once, so you know how long it takes before you need it urgently.
Why it is worth it
Because the report the accountant asks for is not "the ledger of account 5311". It is the ledger of account 5311 with counterparts — otherwise it is a list of amounts they have to translate themselves, row by row.
And the difference shows most clearly during an audit: a sheet that says "4,000 lei, counterpart account 401" is read in two seconds. One that says only "4,000 lei" starts a conversation.
We work with the Romanian localization on Odoo 19 and 20, for NextERP customers. If your account sheets are currently printed out of a spreadsheet, let's talk.