Knowledge base

What is an audit file (XAF) and what do you use it for?

An auditfile financieel (XAF) is an extract of your general ledger in a fixed XML format that any bookkeeping software can read. The Belastingdienst often asks for it during a tax audit, and your accountant uses it for checks or year-end work. You also use it to take your books to other software. From 1 January 2027 only XAF 4.0 is accepted.

Updated: · Sources at the bottom

What is in an audit file?

  • Your company details, such as name, address and VAT number.
  • Your chart of accounts, in XAF 4.0 with the code from the Dutch reference chart (RGS) per account.
  • The opening balance of the financial year.
  • All your entries per journal, with date, account, amount and VAT.
  • Relations such as customers and suppliers.

An audit file covers one set of books and one financial year. The file has the extension .xaf.

XAF 3.2 or XAF 4.0?

Versions of the audit file
VersionWhat to know
XAF 3.2From 2014. From 1 January 2027 no longer wanted for delivery.
XAF 4.0Fewer fields (90 instead of 250), RGS codes better defined. From 1 January 2027 the only accepted format for delivery.

The rule is about the format you deliver in, not the financial year. If the Belastingdienst asks for your 2025 figures in 2027, deliver those as XAF 4.0 too. Check that your bookkeeping software can produce XAF 4.0.

Who asks for an audit file?

  • The Belastingdienst, often during a tax audit (boekenonderzoek). Digital data is in principle delivered digitally.
  • Your accountant, to check your figures in their own software or to prepare the annual accounts.
  • A receiver (curator) in a bankruptcy.
  • Your new bookkeeping software, when you switch.

Is an audit file enough for the retention duty?

No. You keep your records for 7 years, and real estate data for 10 years. According to the Belastingdienst, keeping only the audit file is never enough: your invoices, receipts, statements and the rest of your records must stay verifiable. When you switch software, make sure your old records stay readable.

Switching with an audit file

  1. Close the financial year in your old software, or choose a switch date right after your last filed VAT period.
  2. Export the audit file, preferably as XAF 4.0.
  3. Import it into your new software and compare the balances account by account with your old software.
  4. Keep your old records: the audit file alone is not enough.

Frequently asked questions

What is an XAF file?

An XML Auditfile Financieel: an extract of your general ledger in a fixed format, with the extension .xaf.

How do I open an XAF file?

With bookkeeping or audit software that imports XAF. It is an XML file, so a text editor shows the content too, but not in a readable way.

Do I have to use XAF 4.0 from 2027?

From 1 January 2027 only XAF 4.0 is accepted for delivery, also for earlier financial years.

When does the Belastingdienst ask for an audit file?

Often during a tax audit. The Belastingdienst then agrees with you which data you deliver and when.

Is an audit file enough for the retention duty?

No. You keep all your records for 7 years. According to the Belastingdienst, keeping only the audit file is never enough.

Can I switch bookkeeping software with an audit file?

Yes, that is one of its purposes. After the import, compare the balances account by account with your old software.

Sources

Read on 29 November 2026. Rules can change; when in doubt, the Belastingdienst's text applies.

This is general information, not personal tax advice. Unsure about your situation? Ask your accountant or the BelastingTelefoon.

Your quarter, off your mind.

Connect your bank. Klera books what's clear-cut and brings you the rest as questions.

Try 30 days free

No payment details needed.