All error codes › BR-RO-DT005
BR-RO-DT005 – Date in wrong format
Errorroapplies to Romanian e-Factura
What the rule says
A date (BT-73, BT-134) 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:StartDate
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-DT006Date in wrong format