# D406 SAF-T RO 2.4.9

Source: https://xmlvalid.com/schemas/ro-saft-d406

> The Romanian standard audit file a company files as the D406 declaration: ledger, partners, invoices and payments.

Romanian companies report their accounts to ANAF as SAF-T in the D406 informative declaration: monthly or quarterly with the general ledger, customers, suppliers, tax table, sales and purchase invoices and payments (HeaderComment L or T), the fixed assets in an annual file (A) and the stock on request (C). Large taxpayers started in 2022, everyone else followed by 2025.
The file is based on the OECD SAF-T 2.0. ANAF publishes the XSD with a workbook of the element tables and code lists (tax codes, charts of accounts, invoice types), and the DUKIntegrator validator that every file passes before it is signed and filed.

- Type: XSD
- Version: 2.4.9
- Namespace: `mfp:anaf:dgti:d406:declaratie:v1`
- Root element: `AuditFile`
- Publisher: ANAF (Romanian National Agency for Fiscal Administration) (Published by ANAF for taxpayers and software vendors), source: https://static.anaf.ro/static/10/Anaf/Informatii_R/saf_t.htm
- Validate against it: https://xmlvalid.com/validate?schema=ro-saft-d406

## Notes

- The schema checks structure and data types. DUKIntegrator also checks the codes against ANAF's nomenclatures (TaxCode, accounts, CustomerID and SupplierID prefixes, CUI check digits, IBANs), the totals and that the ledger balances, which is not done here.
- ANAF publishes the XSD under the namespace of D406T, the test declaration (mfp:anaf:dgti:d406t:declaratie:v1). Our copy has the D406 namespace, which a D406 file carries and ANAF's D406 validator reads; nothing else is changed.
- The example is by xmlvalid.com: a monthly file with one sale and one purchase at 21 % VAT, tax codes 310344 and 301104 from ANAF's nomenclature, dummy CUIs with valid check digits.
