Dutch Auditfile XAF 4.0 - Auditfile Financieel Export for the Netherlands
by Modvanta https://modvantaapps.tech/odoo-apps/nl-xaf/$ 24.93

What it does
Builds the Auditfile Financieel in the XAF 4.0 structure from the posted journal entries in your Odoo books, for the Belastingdienst or for your accountant.
From 1 January 2027 the Belastingdienst only accepts XAF 4.0 for the Auditfile Financieel. Pick a period, run the check, generate the file and hand it over.
Who it is for
- Dutch companies on Odoo Community or Enterprise that are asked for an auditfile
- Accountants who need an XAF file of a client that runs on Odoo
Key features
Check before the file exists
Lists draft entries, a missing KvK or VAT number, accounts without RGS code and identifiers that are too long. Points that make the file impossible stop the generation and say what to fix.

Checks before and after generation, each one pass, warning or fail
Official XSD and the numbered consistency rules
Every file is validated against the XSD published by the Belastingdienst, then checked against rules 0001, 0002 and 0004 to 0010 of the functional specification, plus line counts, unique numbers and references. Rule 0003 is left out because the Belastingdienst removed it on 22 October 2026.
Trial balance that ties to the file
Opening balance, debit, credit and closing per account. Balance sheet accounts carry forward, profit and loss accounts restart at the fiscal year, and earlier results land on the unaffected earnings account so the opening balance balances.

Trial balance on screen
Totals per journal and per period
Line counts, debit and credit per journal and per month, on screen, in the PDF control report and in the CSV.

Totals per journal
A month by month view
The same figures per period, so you can compare them with your VAT returns.

Totals per period
RGS codes on your accounts
Add the RGS code on each account. It is written as RGScode. Accounts without one are listed as a warning, because the XSD does not require it.

RGS code in the chart of accounts
Everything the books hold
Customers and suppliers with KvK, VAT number, address and balances, VAT codes, periods, transaction lines with invoice reference, currency amounts, VAT amount on tax lines, product and bank account.
How it works
- Open Accounting, Dutch Auditfile XAF, and create an export with the period.
- Press Check and solve what it lists.
- Press Generate File. The XSD and rule results appear on the record.
- Download the .XAF file, the PDF control report or the CSV.

History of what you generated, with the result of each run
What was tested, and what was not
| Tested | Automated tests on a clean database, with and without demo data: XSD, every rule including broken files, opening balances, mid-year start, foreign currency, bank payments, multi-company, record rules. |
| Checked with an official file | The official sample XAF_4_0_Test_100425.XAF validates with the bundled XSD. |
| Not tested | The ValidatieTestService (subscribers only) and a real filing at the Belastingdienst. |
Not included
- VAT on base lines: the VAT amount is written on the tax line, where Odoo posts it.
- Splitting one export into several files.
- RGS code lists: you enter the codes.
- Cost centres and project references.
Settings
- KvK number: Company Registry on the company.
- VAT number and country: on the company.
- RGS code: on each account.
FAQ
How is the file validated?
Against the XSD from the Belastingdienst, and with its numbered rules as implemented in this module. The official sample file from the Belastingdienst passes the same XSD and the unique-ID rules in our tests.
Did you run it through the ValidatieTestService?
No. The VTS of the Belastingdienst is for subscribers only and was not available to us. If you have access, you can upload our file there.
Does it send the file?
No. You hand the file over yourself.
Do I need the Dutch chart of accounts?
No, it only needs Accounting or Invoicing. It works with any chart.
Compatibility
Odoo 19 Community and Enterprise. It uses the standard Accounting / Invoicing data and needs no Enterprise app.
Support
Questions or a problem with a file? Write to modvantaapps@gmail.com.
Buy Now - $25
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 832 |
| Technical Name |
mdv_nl_xaf |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/nl-xaf/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module