Skip to Content

XAF Auditfile to Odoo




One financial year, mapped and balanced.

One auditfile from any Dutch accounting package, imported onto the client's own Odoo chart of accounts, and proven afterwards from Odoo.

Every Dutch accounting package exports an XAF auditfile: a company's complete financial year in the Tax Authority's standard format. No API, no login on the old package, no export spreadsheet. This app reads the file, maps it to the client's Odoo chart, refuses to write until it balances, and reads Odoo back as proof.

What arrives in Odoo

✓ The chart of accounts, the way the client wants it. Source accounts are mapped to the client's Odoo chart, not copied in. A language model proposes; a person confirms or changes it in a colour-coded grid. Missing accounts can be created, and are flagged.

✓ Customers and suppliers. Source numbers stay on the contact, IBANs come along. A party that is both customer and supplier becomes one contact; an existing Odoo contact with the same name is reused, not duplicated.

✓ The opening balance. Last year's closing balance as one balanced opening entry on the first day of the financial year.

​✓ Every entry of the year. One Odoo entry per source transaction, debit and credit as booked, the source number as reference. VAT is never recalculated.

✓ Journals that keep history apart. Source journals are merged into historical journals per type, or mapped to existing journals. Your choice, per journal.

✓ As draft, until you post. Entries arrive as draft so the client's accountant reviews them first. One switch posts them directly.

How a migration runs


  1. Export — one file per financial year from the old package, plain or compressed.
  2. Map — accounts and journals to the client's Odoo, once.
  3. Rehearse — dry run or test database: read the proof, roll back.
  4. Import — year by year, oldest first. Every run leaves a report.
  5. Prove — trial balance from Odoo; then post, then reconcile.

And it comes out again

Every entry carries the source transaction number as reference. A rollback removes exactly the entries of one file, after a preview: drafts directly, posted entries behind a second switch. Contacts, accounts and journals stay.

Journal mapping and import options for an XAF import into Odoo.

Checked before a single line is written, and read back from Odoo afterwards.

What every run proves

1

The file balances

Every entry, the opening balance and the year totals, and every line on a known account. One blocking error and nothing is written.

2

Trial balance in Odoo

After the import, read back from Odoo and compared per account with the file, drafts included. Every difference is named.

3

All accounts

What was mapped, what was created and flagged, and which used account is still unmapped, with the number of lines.

4

Nothing silent

Repairs to the file, possible duplicate contacts, and every blocked or skipped entry, with reason. All of it in the Excel report.

Why this matters for administrators and accountancy firms?

Starting fresh with opening balances is defensible on paper. In practice it means a client who can't compare this quarter to last year, a controller who keeps the old package alive "just for lookups", and an auditor asking for records that live in a different system.


One route, every client. 

You are not building a connector per source package. XAF is the statutory export format, so the same import handles the client on Exact and the client on AFAS and the client on something nobody supports anymore. The work you do once applies to your whole portfolio.

Run it early, run it again.

Load a year, look at it in Odoo, run the next one. Your client validates their own numbers during implementation instead of on go-live weekend, and the demo shows their data rather than sample data.

Kills the reason to keep the legacy licence.

Once the ledger history is in Odoo, the old environment can be switched off — and that saving is usually easy for the client to see. One thing stays with the client: the source documents. The auditfile carries the entries, not the invoices, receipts and scans behind them, and those still have to be kept for the retention period that applies to the client's line of business. Export them once from the old package, file them, and the licence can go.

Predictable enough to quote. 

Because the route is the same every time, so is the estimate. Historical data stops being the open-ended line item you talk clients out of, and becomes a service you can scope, price and sell.

Retention handled where the work happens.

Years of accessible records is a legal requirement, not a nice-to-have. Keeping it inside the live system beats keeping the old package on life support.

No custom code in Odoo.

Nothing is installed or customised in the client's Odoo. Standard Contacts and Accounting, on any deployment.

One file, every package

The XAF auditfile is the Tax Authority's standard export. Every accounting package sold in the Netherlands produces one.

Where it comes from

The export or auditfile menu of the old package. Exact, AFAS, Twinfield, Visma, SnelStart, e-Boekhouden, Odoo and the rest. One file per financial year, .xaf or compressed .xac.

What's in it

A complete financial year. Chart of accounts, customers and suppliers with IBAN, VAT codes, journals, the opening balance and every entry, with partner and invoice reference per line.

What's not in it

And therefore not in the import either. Reconciliations of invoices against payments, due dates, scans and attachments, and the tax tags that Odoo's VAT report reads. See Good to know below.

Nothing is final until you say so

✓ Rehearse as often as you like. A dry run writes nothing; a test database catches the rest. Roll back and repeat until the proof is clean.

✓ It refuses to write if the file is wrong. An entry or opening balance that doesn't balance, a line on an unknown account: nothing is written.

✓ Rollback: one button, one confirmation. Beforehand it shows what it will remove and how much of that is posted. Afterwards it reports what it did; the history keeps the report.

✓ Re-running changes nothing twice. Every entry is created once on its reference; an interrupted run is finished by starting again. A duplicate file: reported.

Good to know

  • An auditfile is one complete financial year; import year by year. A partial year or a continuous sync is not what this is.
  • One administration is one Odoo company; a firm keeps many in one app, each with its own mapping and connection.
  • No reconciliations in the file: only lines with the same partner and the same reference that net to zero are reconciled. The rest is work for Odoo's reconciliation screen.
  • No due dates: entry date or a fixed payment term, so ageing is approximate.
  • VAT arrives as general-ledger lines, without tax codes; a VAT return for that period comes from the source package.
  • Receivables and payables must land on Odoo's receivable and payable accounts; otherwise they balance, but never reconcile.
  • Own currency only, no scans. Seen so far: Visma.net and Odoo; Odoo's split entries are repaired and reported.
  • The language model sees only account codes, names and types, never amounts or partners.
  • Verified on Odoo 19.

How it works

The app runs on the STML platform as an Odoo app.

  1. Connect the target Odoo environment.
  2. Drop the client's XAF file — one file, or one per financial year.
  3. The file is read and checked (dry run: validate and preview, no writes).
  4. Map accounts and journals and set the options, once per administration, and save.
  5. Run the import — and re-run it for each further year against the saved mapping.
  6. Read the proof: trial balance from Odoo and the Excel report.

Everything is visible per step, so you can see exactly what was read, what was mapped, and what was written.

Details

  • Customization in Odoo: No
  • Deployments: Odoo Online, Odoo.sh, on-premise, OCA
  • Modules: Contacts, Accounting
  • Verified on: Odoo 19


XAF auditfile imported into Odoo — connect, drop the file, six validated stages.