All error codes › BR-RO-DT006
BR-RO-DT006 – Date in wrong format
Errorroapplies to Romanian e-Factura
What the rule says
A date (BT-74, BT-135) MUST be formatted YYYY-MM-DD. ( = '')
How to fix it
Write dates as YYYY-MM-DD, e.g. 2026-10-23.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: cbc:EndDate
Test (XPath):
string-length(text()) = 10 and (string(.) castable as xs:date)
Related rules
BR-RO-DT001Date in wrong formatBR-RO-DT002Date in wrong formatBR-RO-DT003Date in wrong formatBR-RO-DT004Date in wrong formatBR-RO-DT005Date in wrong format