SAF-T › DUKIntegrator D406 errors

"Fatal parsing error": the XML cannot be read

The exact DUKIntegrator message

F: MasterFiles (1) sectiune Customers (1) sectiune Customer (1) sectiune CompanyStructure (1) sectiune Name (1)
 eroare: Eroare fatala de parsare: '… The entity name must immediately follow the '&' in the entity reference.'

What it means

The file is not well-formed XML, so the validator stops at the first problem character (line and column are in the message).

Common causes

How to fix it

  1. Open the file at the line/column from the message and replace & with &amp;, < with &lt;, > with &gt;.
  2. Save as UTF-8.

Wrong

<Name>EXEMPLU & CUMPARATOR SRL</Name>

Correct

<Name>EXEMPLU &amp; CUMPARATOR SRL</Name>

Check your D406 file before filing it

We run ANAF's validator for your period plus the checks ANAF only does after filing: trial balance, balances, ledger totals, VAT, CUIs and IBANs. One free check per day.

Check a SAF-T file

Other D406 errors