Help / Rules and tools
Archive
A complete archive (ZIP) of the legal entity for an auditor or UJP: journal, all records, attachments and payslips, with SHA-256 for each file.
On this page
The archive is one ZIP file with all books and records of the legal entity. It is intended for an auditor or for UJP, and as your own copy. Each file in the archive has a SHA-256, so that it can be checked that nothing has been changed.
Downloading from the application
- Open the Journal screen.
- Click Export and choose Archive (ZIP).
- The message “Preparing the archive…” appears.
- The application verifies the archive and saves it as
arhiva-<EDB>-<date>.zip. - At the end it shows how many files there are and “SHA-256 verified”.
The archive can be downloaded even when the legal entity is in read-only mode (see Read-only).
What is in the archive
| Path | Contents |
|---|---|
manifest.json |
The legal entity, the export time, who exported it, the subscription status, the number of entries and attachments, and the SHA-256 and size of each file. |
PROCITAJ.txt |
Description of the archive. |
dnevnik/dnevnik-YYYY.csv |
The journal by year: UTF-8, separator “;”, dates DD.MM.YYYY, amounts in denars. |
podatoci/*.jsonl |
All records, one file for each book or register. Each line is one JSON object. Amounts are in deni (1 MKD = 100 deni). |
plati/<YYYY-MM>-v<version>/<row>.html |
The payslips from each locked payroll run and correction. |
prilozi/<id>-<name> |
The original attachments, byte for byte. |
podatoci/ contains records for everything KontoCloud keeps, among other things:
- chart of accounts, entries, lines and locks;
- attachments, memberships, invitations (without the code), contracts, the required second step setting (
vtor-cekor-postavki) and the logo versions (logo, the image as PNG in hex); - subscription, annual accounts, VAT, KIF/KUF, business year and year closings;
- partners, bank statements, schemes and drafts;
- responsible persons, deadlines and month-end close;
- payment orders, set-offs, interest, dunning, profit tax and other income;
- e-Invoice (certificates without the .p12);
- HR records, contracts, payroll and MPIN;
- items, warehouses and stocktakes;
- filings and the Audit trail (
podatoci/revizorska-traga.jsonl).
Note:
podatoci/*.jsonland the CSV files are an internal KontoCloud format for review and transfer. There is no prescribed format for a private legal entity: the rules for long-term preservation apply only to public archival material.
Verifying the archive
The application verifies every archive before saving it: the ZIP CRC and the SHA-256 of each file according to manifest.json. If an attachment in the database does not match its SHA-256, the export fails with the message “Attachment {id} does not match its SHA-256”.
You verify an archive you already have with kc verify-archive <file>.
What goes in depends on your role
The archive is assembled with your rights. Only what your role may see in the legal entity goes in. HR and payroll data are seen only by the administrator and the accountant, so only their archive contains payroll and payslips.
That is why a complete archive is exported by an administrator or an accountant.
All data is read in one transaction, so the archive is a snapshot of the books at one moment.
If the archive is too large for the ZIP file, the export fails.
How long the books are kept
According to the Law on Trade Companies, Article 474:
- the annual accounts and financial statements are kept permanently;
- the trade (business) books — at least 10 years;
- accounting documents — at least 5 years, and payroll documents permanently.
KontoCloud does not delete anything automatically: postings are not deleted and not changed (see Reversals and corrections). The archive is a copy, not a replacement for legal retention.
In addition, KontoCloud keeps copies of the whole database: monthly copies for 15 months and yearly copies for 12 years, locked so that they cannot be deleted or changed. They are for restoring data and are not downloaded from the application.
From the command line
kc archive --out arhiva.zip— downloads, verifies and writes the archive.kc verify-archive arhiva.zip— verifies an archive you already have.
See kc CLI.
Something unclear or wrong? Write to us at [email protected].