Guide · Netherlands

Dutch Auditfile XAF 4.0 in Odoo: ready for 1 January 2027.

You produce an auditfile when your accountant asks for one, or when the Belastingdienst asks during an audit. It is not a routine filing. The Belastingdienst (ODB) says that from 1 January 2027 only XAF 4.0 is accepted. The free OCA module exports XAF 3.2 only. How to see which version your Odoo exports today, and how to produce an XAF 4.0 file before you hand it over.

  • Rules and dates checked against the official sources on 18 October 2026
  • Netherlands, any Odoo books
  • Odoo 17 to 20

What changes on 1 January 2027?

On 22 April 2026 the ODB (Ondersteuning Digitaal Berichtenverkeer) of the Belastingdienst published this on behalf of the Auditfile Financieel working group (Dutch):

  • Deadline: from 1 January 2027 only the XAF 4.0 format is accepted for delivery. Older versions are no longer wanted from that date.
  • Simpler: XAF 4.0 has been reduced to 90 fields.
  • RGS: RGS (the Dutch reference chart of accounts) does not block the switch. It must be included only if the software already has it.
  • Advice: start early, so the switch goes smoothly in the fourth quarter of 2026.

The technical specification (XSD and documentation) is on the ODB page XML Auditfile Financieel XAF 4.0.3.

Which XAF version does your Odoo export today?

Open an exported .xaf file in a text editor and look at the first lines. An XAF 4.0 file names XmlauditfileXAF_4.0 in its namespace. If it shows an older version, such as 3.2, you need to switch before 1 January 2027.

  • Odoo Enterprise: according to the Odoo documentation for the Netherlands, you export via Accounting › Reporting › General Ledger, gear icon, XAF. The documentation does not name a version. The Odoo partner DAADit reports (4 November 2026) that in an Odoo 19 database it checked, with version 19.0.1.5 of the Dutch reports module, the export template still uses XAF 3.2. That can change with an update, so check the file itself.
  • Free OCA module (l10n_nl_xaf_auditfile_export): according to its OCA page, the exported version is 3.2, for Odoo up to 18.0 (checked on 18 October 2026).
  • Odoo Online: only third-party apps that are data-modules without Python files can be used there. This app contains Python code, so you depend on what Odoo itself provides.

What you can do now

  1. Ask your accountant in which format and for which period they want the auditfile for financial year 2026.
  2. Check that your company in Odoo has its Chamber of Commerce registration number and VAT number filled in.
  3. Post or delete draft entries in the period and check that all entries balance.
  4. Do you use RGS codes? Keep them per general ledger account. If you don't, the ODB says that does not block the switch.
  5. Before the end of 2026, make a test export in XAF 4.0 and have your accountant import it.

Step by step in Odoo with Dutch Auditfile XAF 4.0

Our app Dutch Auditfile XAF 4.0 (l10n_nl_xaf4_auditfile) produces the auditfile in XAF 4.0 from the books you already keep in Odoo. It works on Odoo 17, 18, 19 and 20, Community (tested; not tested on Enterprise), on your own server (on-premise). Odoo.sh runs Enterprise, which we have not tested, so ask us first.

  1. Install the app. Fill in the company's Chamber of Commerce registration number and VAT number.
  2. Optional: set RGS codes on your accounts, one by one or with Import RGS codes in Settings › Invoicing/Accounting › Netherlands XAF 4.0. The import shows a preview first.
  3. Open Accounting › Reporting › XAF Auditfile › XAF 4.0 Exports and click New. The period starts as your last closed fiscal year; any period works, including a broken fiscal year.
  4. Click Check and preview. The pre-flight check lists draft or unbalanced entries, a missing registry or VAT number and accounts without an RGS code, each linked to the record.
  5. Click Generate XAF 4.0. The file is validated against the official XSD 4.0.3 and the consistency rules 0001–0010; the Checks tab shows pass or fail per rule.
  6. Download the .xaf (or ZIP) and print the Control report (PDF) for your accountant, with a trial balance, totals per journal and period, and the SHA-256 of every file.
  7. Received a file from elsewhere? Check it with XAF Auditfile › Validate an XAF file. The file is only read, not stored.

Prefer to have it set up for you? We offer a fixed-price remote setup of the XAF app, with a checked test export, for €390: support@normalane.com.

Checks tab with the consistency rules 0001 to 0010
Checks tab with the consistency rules 0001 to 0010

What the app does not do

  • It exports XAF 4.0 only, not XAF 3.2.
  • It has not been run through the Belastingdienst validation test service and is not a Belastingdienst certification.
  • It sends nothing: no tax return, no data to the Belastingdienst or to Normalane. You hand the file to whoever asks for it.
  • It does not replace your accountant and is not tax advice.
  • It does not run on Odoo Online, which only accepts third-party apps that are data-modules without Python files; this app contains Python code.

Frequently asked questions

Is XAF 4.0 mandatory from 1 January 2027?

The Belastingdienst's ODB says that from 1 January 2027 only XAF 4.0 is accepted for delivery and that older versions are no longer wanted from that date.

Do I need RGS codes for XAF 4.0?

No. According to the ODB, RGS does not block the switch. It must be included only if your software already has it.

How do I see which XAF version my export has?

Open the .xaf file in a text editor. An XAF 4.0 file names XmlauditfileXAF_4.0 in the namespace on its first lines.

Does the free OCA module export XAF 4.0?

On 18 October 2026 its OCA page says the exported version is 3.2, for Odoo up to 18.0.

Does the Belastingdienst accept the app's file?

Every file is validated against the official XAF 4.0.3 XSD and the consistency rules 0001–0010. The app has not been run through the Belastingdienst validation test service and is not a certification.

Does it work on Odoo Online?

No. Odoo Online only accepts third-party apps that are data-modules without Python files, and this app contains Python code. Use your own installation (on-premise). Odoo.sh runs Enterprise, which we have not tested, so ask us first.

Official sources

Each link goes to the official page or publication the facts above come from.

Email support@normalane.com with your Odoo version and edition (Community or Enterprise). Bug fixes for the purchased Odoo version are free.

This guide explains public rules in plain language. It is not legal or tax advice. Normalane is not affiliated with the Belastingdienst or the Auditfile Financieel working group.