Skip to content

    Knowledge base

    RGS and the XAF audit file explained for SMEs

    Anyone who switches accounting package or gets an audit soon hears two abbreviations: RGS and XAF. They sound technical, but the explanation is short. One is a standard for the accounts in your ledger, the other a standard for the file in which your administration is exchanged. Here you read what they are, when you need them and how Uniconta handles them.

    RGS

    What is RGS?

    RGS stands for Referentiegrootboekschema, the Dutch reference chart of accounts. It is a standard chart of accounts: a fixed way to name and code the accounts in a general ledger. That makes the charts of accounts of different companies readable and exchangeable between administrative and financial software. An accountant who wants to compare your figures with those of another company, or software that has to produce a report, no longer has to translate every account by hand.

    Behind RGS is a cooperation of private and public organisations. A task group sets the strategy and releases new versions, and a management organisation handles change requests. Since 2015 the standard has been under the governance of SBR (Standard Business Reporting), the Dutch way of exchanging business reports electronically.

    The RGS site addresses accountants, entrepreneurs and software vendors. Users there say that banks and software vendors ask for data in RGS form. On the pages we read it does not say that use is mandatory; it does say you may keep your own account numbers.

    RGS

    How RGS is built

    Every account in RGS has a reference code with five levels. The first level separates the balance sheet from the profit and loss account, then come main headings, headings, the ledger account itself and the movements. A code reads from general to specific, for example from the balance sheet to tangible fixed assets and on to a kind of purchase.

    The reference codes may not be changed or extended as long as you say you use RGS. If you want something different, you submit a request to the management organisation. You may keep your own account numbers: software vendors link your accounts to RGS codes, automatically, partly, with a tool or by hand.

    RGS has several versions. Which version your accountant or your software uses is therefore something to discuss in advance. The home page of the RGS site announces early test versions of a newer version; which version applies now, you read on that site itself.

    XAF

    What is an XAF audit file?

    An audit file is an open standard for storing or exchanging data from administrative systems. The financial variant is called Auditfile Financieel, abbreviated XAF, and holds the data from your financial administration, such as ledger accounts, entries and data on debtors and creditors. It is an XML file: text with a fixed structure that software can read.

    The Dutch tax authority, the Belastingdienst, developed the audit file together with the SRA and software vendors, to give businesses less work during an audit. According to the Belastingdienst the file contains most of the data needed for an audit, and most Dutch accounting packages support it, usually as a menu option. The standard is developed under the direction of the Auditfile Platform, a cooperation of software developers, the NBA, the NOB, ECP, the SRA and the Belastingdienst.

    XAF

    Version 3.2 and version 4.0

    There are two versions you will run into. XAF 3.2 dates from 2014. The Belastingdienst called on software vendors to build that version in together with RGS, and reported that use rose afterwards. It is a call, not an obligation.

    XAF 4.0 is a further development of 3.2, as the background page that the Belastingdienst published in February 2025 puts it. The main change: the number of data fields drops from 250 to 90. The reason is that many fields were left empty or incomplete by software vendors. That makes the standard simpler to implement and the quality of the file better. RGS is also defined more clearly in version 4.0. As key users the Belastingdienst names itself, curators and the accountancy profession. On the Belastingdienst's ODB site you can read which release is current at the moment.

    In practice

    When do you need them?

    In practice you meet them in three situations.

    • You switch to another package

      The audit file is a common way to get your administration out of the old package. When you switch, we agree in advance which version your package makes and how we use the file. Read more at data migration and switching to Uniconta.

    • An audit or a question from your accountant

      The Belastingdienst names the audit file as an aid in an audit. Whether you have to deliver the file and in what form is a matter of the Belastingdienst's rules and your agreements with your accountant. On the pages we read it does not say that delivery is mandatory.

    • You choose a new package

      Ask suppliers which versions of XAF they can produce and read, and whether the accounts can be linked to RGS codes. That prevents surprises at the first audit or the first switch.

    Uniconta

    How Uniconta handles RGS and XAF

    Uniconta is cloud ERP and accounting software. A Dutch company can start with the standard RGS 3.2 chart, and ledger accounts can be linked to RGS codes. For the audit file you export an XAF 4.0 file and import XAF 3.2 and 4.0.

    In our switching service we use the audit file for the current financial year in detail. The previous financial year we take over as monthly totals per ledger account and older years we keep as an archive of audit files outside Uniconta. If your package makes another version, we work out in advance how to use the file anyway. You can read more about the route from Exact Online at switching from Exact Online to Uniconta.

    Questions

    Frequently asked questions about RGS and XAF

    What is RGS?

    RGS is the Referentiegrootboekschema, the Dutch reference chart of accounts: a standard chart of accounts with reference codes, which makes the accounts of different companies readable and exchangeable between software.

    Do I have to use RGS?

    On the pages of the RGS foundation that we read it does not say that it is mandatory. You may keep your own account numbers; the software links them to RGS codes.

    What is an XAF file?

    An XAF file is the Auditfile Financieel: an XML file with data from your financial administration, such as ledger accounts and entries, in a standard form that software can read.

    What is the difference between XAF 3.2 and 4.0?

    Version 4.0 is a further development of 3.2 from 2014. The number of data fields drops from 250 to 90 and RGS is defined more clearly.

    Can Uniconta create and read an XAF audit file?

    Yes. Uniconta exports XAF 4.0 and imports XAF 3.2 and 4.0.

    Sources

    Sources

    Statements about RGS, XAF and the Belastingdienst come from those organisations' own pages, read on 23 November 2026. Statements about Uniconta come from what Uniconta confirmed.

    Switching and taking your administration along?

    Tell us which package you use now. We explain what we take over and how we agree that in advance.