VAT ledgers straight from the files sent to the tax office
Doktally reads the Bulgarian VAT files (purchase and sales ledgers, VAT return, VIES), shows what they hold before saving, never imports a record twice and checks the months against each other.
The problem
Every month the accountant sends the same four text files to the Bulgarian Revenue Agency (НАП): POKUPKI.TXT,
PRODAGBI.TXT, DEKLAR.TXT and VIES.TXT. The business owner rarely sees what is inside them, and comparing a
year of VAT returns means opening fixed-width files in a text editor.
How Doktally solves it
- Drop the files, or a whole folder, for one or several companies. Doktally recognises each file, its company and its month.
- A preview before anything is saved: what the file holds and what will be imported.
- Safe re-import: the same record is never imported twice, and a corrected file replaces the earlier import of that company, kind and month.
- Every import is traceable: files, records read, imported, already there and failed, with the reason.

The BG VAT report then shows the net VAT position, the purchase and sales journals, and a validation tab that flags months where the ledgers, the VAT return and VIES disagree, or a period that was filed twice.

The result
The owner sees the company's VAT history without asking the accountant, and mistakes show up in the month they happen, not at an audit.
Technologies
Java, VAT, НАП, Data import
- Published: 2026-11-03
- Project: Doktally — Invoicing, time billing and VAT for small businesses
- Case study