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. ( … = ' … ')

Official rule text

[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. ( … = ' … ')

Where the rule applies

Rule setDocument typeSeverity
CIUS-RO (1.0.9)
Romanian Ministry of Finance
CIUS-RO (UBL Invoice), CIUS-RO (UBL CreditNote)fatal

Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.

Business terms concerned (EN 16931)

  • BT-7

Technical check

Syntax
UBL · CIUS-RO (1.0.9)
Context
cbc:TaxPointDate
Test (must be true)
string-length(text()) = 10 and (string(.) castable as xs:date)

How the API reports this rule

Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):

{
  "severity": "fatal",
  "ruleId": "BR-RO-DT002",
  "message": "[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. ( … = ' … ')",
  "xpath": "/…",
  "source": "schematron:cius-ro@1.0.9",
  "docUrl": "https://einvoice-api.eu/rules/br-ro-dt002.html"
}

Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.

Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.