Extension for Magento 2 and Mage-OS
NRA Audit File (Bulgaria)
The monthly audit file for the Bulgarian National Revenue Agency (NRA) under Art. 52t of Ordinance N-18 — assembled, validated and emailed to your accountant.
- Sales and reversals for the previous calendar month, with payment methods mapped to the NRA nomenclature.
- Validation against the NRA XSD schema before sending.
- Submitting the file to the NRA by the 15th stays with you or your accountant.
- Free installationon your server
- Security updatesforever
- 90-day guaranteewe adapt it or refund you
- New features12 months of updates
Under Art. 52t(2) of Ordinance N-18, online stores must submit to the National Revenue Agency (NRA) every month a standardised audit XML file under Annex 38: all sales and reversals for the previous calendar month, with payment methods mapped to the NRA nomenclature. The module builds that file. Before sending, the file is validated against the NRA XSD schema, so a data error shows up in the store, not in a letter from the agency.
The file is created automatically by cron and sent to a configured e-mail; when needed it is also generated manually from the admin or via CLI — for a specific month or to check the settings. The mapping of payment methods is a table in the configuration, not code.
- XML under Art. 52t of Ordinance N-18: sales and reversals for the previous month.
- Mapping of every payment method to the NRA codes from the admin.
- Validation against the official XSD schema before sending.
- Scheduled e-mail delivery; manual generation via CLI and admin.
- Log of generated files with date, period and validation result.
Who it is for
Online stores that, for online card payments, issue a sale registration document under Art. 52o instead of a till receipt (persons under Art. 3(17) of Ordinance N-18) and have registered the store with the NRA under Art. 52t(1). For them the monthly audit file is mandatory.
Generating, emailing and submitting
| Step | Who | When |
|---|---|---|
| Generating and validating against the NRA XSD schema | The module | Automatically on the first working day of the month; catches up until the 10th |
| Emailing | The module, to the addresses you set (for example your accountant) | Right after generation |
| Submitting to the NRA | You or your accountant, electronically | By the 15th of the month after the reporting month |
The module does not submit the file to the NRA: it prepares it, validates it and sends it to you.
Works with Magento 2.4 and Mage-OS. We update the module when the ordinance or the NRA schema changes.
Sources: Ordinance No. N-18 of 13.12.2006, Art. 52o and Art. 52t, Annexes 33 and 38, as amended by State Gazette No. 42 of 23.05.2025. Checked on 17.11.2026.
Compatibility
Version and requirements
- Current version
- 3.1.3 · 18.11.2026
- Platform
- Magento Open Source 2.4.7–2.4.9 и Mage-OS
- Themes
- Luma и Hyvä
- PHP
- 8.3–8.5
- Installation
- composer from repo.webcode.bg
Documentation
The guide on docs.webcode.bg
- Overview public
- Installation public
- News public
- Configuration after purchase
- Usage after purchase
- For developers after purchase
The detailed documentation opens with your repo.webcode.bg login — the same one you use to install the module with composer.
License and guarantee
What you get with the purchase
License
For one Magento installation. The code stays yours after the updates end.
Updates
Security — forever. New features — 12 months, then renewable at 50% of the module price. Everything via composer.
Free installation
We install the module on your store and check that it works.
90-day guarantee
If anything described does not work for you in the first 90 days, we adapt it to your store. And if that fails, we refund you.
See also







