SAF-T › DUKIntegrator D406 errors

"unknown element … in namesapace": element not in the schema

The exact DUKIntegrator message

F: SourceDocuments (1) sectiune SalesInvoices (1) sectiune Invoice (1) sectiune Line (1)
 eroare structura: element necunoscut ('Line') in namesapace mfp:anaf:dgti:d406:declaratie:v1

What it means

The validator found an element the D406 schema does not have at that place: a wrong name, a wrong parent, or an element from another schema version. (The "namesapace" typo is in ANAF's original message.)

Common causes

How to fix it

  1. Look up the element from the message in the Ro_SAFT_Schema_v249 schema and fix its name or position.
  2. Update the export software to schema 2.4.9.

Wrong

<Invoice>…
  <Line>…</Line>
  <DocumentTotals>…</DocumentTotals>

Correct

<Invoice>…
  <InvoiceLine>…</InvoiceLine>
  <InvoiceDocumentTotals>…</InvoiceDocumentTotals>

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