# BR-RO-DT002

Source: https://xmlvalid.com/rules/BR-RO-DT002

> Un element de tip data (BT-7) trebuie sa respecte formatul YYYY-MM-DD #A date (BT-7) MUST be formatted YYYY-MM-DD. (… = '…')

- Level: error
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cbc:TaxPointDate`
- Test: `string-length(text()) = 10 and (string(.) castable as xs:date)`

Validate a document against these rules: https://xmlvalid.com/validate
