Help / Records
Bank statements
Import a statement from camt.053, MT940 or CSV, allocate the lines to open items or accounts, and post the statement as one entry.
On this page
- Who can do what
- Bank accounts
- Import statement
- What the database checks on import
- Statements
- Allocating the lines
- Match suggestions
- Rule suggestions
- Manual allocation
- What the database refuses on allocation
- Cancelling an allocation
- Posting the statement
- Statement posting rules
- Statement profiles
- Exchange rates
- Audit trail and archive
The Bank statements screen is in the Records group. On it you enter the bank accounts, import the statements, allocate the lines and post the statement. The posting rules, the CSV profiles and the exchange rates are here too.
The work goes in this order:
- Enter the account once, in Bank accounts.
- Import the statement in Import statement.
- Allocate each line: to a partner’s open item or to an account.
- When all lines are allocated, click Post statement.
Who can do what
| Role | What they can do |
|---|---|
| administrator, accountant | accounts, import, allocation, cancelling, posting, rules, profiles, exchange rates |
| operator, reviewer, viewer | see the accounts, statements and allocations |
The API refuses records from other roles with “You do not have permission for this action in this legal entity”, and the database refuses them on its own as well (RLS). None of this is deleted: an allocation is cancelled with a reason, and a rule is deactivated. A legal entity that is read-only accepts no new records (see Read-only).
Bank accounts
- Enter the Account (IBAN or 15 digits).
- Enter the Bank. This field is required.
- Currency is MKD by default. For a foreign currency account, enter the ISO code (e.g. EUR).
- Optionally enter a Name.
- Click Add. The message “Added account … (GL …)” is shown.
The app determines the account in the books: 100 for a denar account, 103 for a foreign currency account. The database does not allow any other account.
An IBAN is checked with the mod 97 check. A domestic 15-digit account is checked only by length, because the official specification for its check is pending. The errors are “Invalid bank account: IBAN (mod 97 check) or 15 digits” and “Currency is a three-letter ISO code (e.g. MKD, EUR)”.
Import statement
Import one camt.053, MT940, NLB TXT or Stopanska TXT/DAT directly. For a Komercijalna denar statement select vdownizvod.300 and downizvod.300 together or upload a ZIP containing both.
For a custom layout select a profile and account. Enter the number and closing balance from the daily statement, plus its opening balance for the first import. Profiles can read CSV/TSV, fixed-width text, a single XLS/XLSX worksheet or repeating XML entries.
For MT940, select one complete statement. NLB uses Windows-1252 and Stopanska Banka uses UTF-8. The file may end in .txt, .sta, .mt940 or .940.
The original file is kept as an attachment with SHA-256. The same file cannot be imported twice (“The statement file has already been imported”), and neither can the same statement number for the same account (“Statement no. … for the account has already been imported”).
What the database checks on import
| Rule | Message |
|---|---|
| opening balance + turnover = closing balance | “KC131 Statement … does not reconcile: opening … + turnover … ≠ closing …” |
| the opening balance equals the closing balance of the previous statement | “KC132 The opening balance … does not equal the closing balance … of the previous statement …” |
| the statement is not older than the last one imported | “KC132 The statement is dated … — before the last imported statement … (…)” |
| the statement date is not in a locked period | “KC003 The period is locked until … — importing a statement dated … is not allowed” |
| the date is not in a closed financial year | KC110 |
If the account from the file has not been entered, “Account … from the statement has not been entered (or is not unique)” is shown.
Statements
The Statements table has the columns Statement no., Date, Account, Currency, Opening balance, Closing balance, Lines, Unallocated, Status and File (when you hover over it, you see the SHA-256). The status is:
- open — there are unallocated lines;
- allocated — all lines are allocated and the statement can be posted;
- posted — the statement has been posted.
Click a statement to open it. At the top it says “Statement no. … of …” with the account, bank, account in the books, balances and status. The lines table has the columns Line, Date, Counterparty, Payment reference, Description, Amount, Allocated and Status (✓ when the line is fully allocated).
Allocating the lines
Each line must be fully allocated before posting. There are three ways.
Match suggestions
The Match suggestions section suggests partners’ open items. The partner is recognised by the EDB, by an account the app has already learned from previous statements, or by the same name. The items are looked up by the document number in the payment reference or the description, then by the same amount, then by the oldest due date. The Match column shows how sure the suggestion is and why.
- Click Accept in the row of the suggestion to record it.
- Click Auto-match (sure only) to record all lines where all suggestions are marked sure. “Automatically allocated lines: …” is shown.
A suggestion is sure when the document and the partner or the amount match, or the partner and the exact amount match. You confirm the suggestions yourself.
Rule suggestions
If a posting rule applies to the line, the Rule suggestions section is shown with the columns Line, Rule, Account and Amount. Click Allocate by rules. “Allocated by rules: …” is shown.
Manual allocation
- In Manual allocation, choose the Line.
- Enter the Account.
- For a customer or supplier account, choose the Partner.
- The Amount is the remainder of the line by default. You can also allocate part of it.
- Optionally enter a Note.
- Click Allocate. “Allocation recorded” is shown.
What the database refuses on allocation
| Case | Code |
|---|---|
| the allocated amount is greater than the amount of the line or the open amount of the item | KC135 |
| an inflow does not match a credit item, nor an outflow a debit item | KC136 |
| a foreign currency account matches only items in the same currency | KC136 |
| the contra account is the account of the bank account itself | “KC136 The contra account cannot be the account of the bank account itself” |
| the statement has already been posted | KC134 |
| a customer or supplier account without a partner, or a partner on another account | KC120, KC121 |
Cancelling an allocation
The statement’s allocations are in the Allocated table. Enter a Reason and click Cancel. “Allocation … cancelled” is shown. Without a reason the database refuses with “KC092 A reason for cancelling is required”. After posting, the allocation cannot be cancelled (KC134).
Posting the statement
The Post statement button is enabled only when the statement is allocated. “Statement posted as entry …/…” is shown.
The statement is posted once, in one entry with the date of the statement. The document of the entry is the statement number, and the issuer is the bank. Every allocation gets a contra line. Every allocation to an open item becomes a match in Open items, with the note “Statement no. …, line …”. The original file is attached to the entry.
For a foreign currency account, the lines are converted at the rate on the posting date, and the exchange differences go to 775 (income) or 475 (expense). If there is no rate, the database refuses with “KC138 No rate for … on … or before — enter it in the exchange rates”.
The statement’s entry does not go to approval (see Drafts and approval). On COMMIT, the database checks that the entry reflects the statement lines exactly. If not all lines are allocated, it refuses with “KC137 Statement … is not fully allocated (lines: …)”.
If a line has been matched in the meantime, for example by hand, posting is refused with “Item …/… is already matched — cancel the allocation …”.
When a whole statement line goes to one partner, the app remembers the counterparty’s account for that partner. That account is then used in the suggestions and in Payment orders.
Statement posting rules
A rule allocates to an account lines that are not open items: bank fees, contributions, taxes, interest. If there are no rules, the screen suggests an example: text “fee” → account 446.
- Enter a Name.
- Choose the Direction: outflow, inflow or both.
- Enter at least one condition: Text contains (searched in the name, the payment reference and the description, regardless of upper and lower case), Counterparty account or Tax ID.
- Enter the Account and, for a customer or supplier account, the Partner.
- Priority is 100 by default. The first rule by priority applies.
- Valid from is today by default. The rule applies to lines dated from that day.
- Click Add. “Rule “…” added.” is shown.
Without a condition, “Enter at least one condition: text, account or tax ID.” is shown (the database: KC195). A rule cannot be on a fixed asset account (KC195).
A rule is not changed. To change it, you deactivate it (enter a Reason and click Deactivate) and add a new one. The database checks every allocation by a rule: if the rule does not apply to the line, it refuses with “KC196 Rule “…” does not apply to line … (conditions, date or deactivated)”.
Statement profiles
Profiles can read CSV/TSV, fixed-width text, a single XLS/XLSX worksheet or repeating XML entries.
- Enter a Name.
- Delimiter is
;by default. - Date format is
%d.%m.%Yby default. - Rows before header is 0 by default. Has header is ticked by default.
- For each field enter a column name or number (starting at 1). For fixed-width text enter a character range such as
1..10. For XML enter the date path, e.g./Statement/Entry/Date, then use an element name or@attributefor each other field. - Click Add
The fields are booking_date, value_date, amount, debit, credit, counterparty_name, counterparty_account, counterparty_edb, reference, description and bank_ref. A date column is required, and either amount or both debit and credit. A wrong column gives “Invalid column: …”.
Exchange rates
The rate is in denars for 1 unit of currency and applies from the date. A correction is a new entry for the same date; the last one applies.
- Manual — enter the Currency (EUR by default), Date, Rate (e.g. 61,495) and optionally a Note, then click Add.
- From NBRM — choose From and To and click Import from NBRM. The middle rate from the National Bank’s exchange rate list is taken, for at most 31 days. A rate that already applies with the same value for the same date and currency is not entered again. The message is “NBRM: … rates, new …, unchanged …”.
- From CSV — in Import exchange rates (CSV), choose a file with the columns
currency;date;rate.
The table has the columns Currency, Date, Rate, Source (manual, CSV import or NBRM), Note and User.
Audit trail and archive
Every account, import, allocation, cancellation and posting, as well as every exchange rate, is written to the Audit trail. The statements and attachments go into the archive.
Something unclear or wrong? Write to us at [email protected].