BR-TMP-7

Datumsangaben in UNCEFACT/CII müssen das Attribut format="102" tragen und im Format JJJJMMTT (YYYYMMDD) übermittelt werden.

Official rule text

[BR-TMP-7] Datumsangaben in UNCEFACT/CII müssen das Attribut format="102" tragen und im Format JJJJMMTT (YYYYMMDD) übermittelt werden.

Where the rule applies

Rule setDocument typeSeverity
XRechnung with the CEN EN 16931 rules (3.0.2)
KoSIT, CEN
EN16931 XRechnung (CII), EN16931 XRechnung Extension (CII), EN16931 XRechnung CVD (CII)warning

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

Technical check

Syntax
CII · XRechnung with the CEN EN 16931 rules (3.0.2)
Context
udt:DateTimeString | qdt:DateTimeString | udt:DateString
Test (must be true)
normalize-space(@format) = '102' and matches(normalize-space(text()), '^\d{8}$')

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": "warning",
  "ruleId": "BR-TMP-7",
  "message": "[BR-TMP-7] Datumsangaben in UNCEFACT/CII müssen das Attribut format=\"102\" tragen und im Format JJJJMMTT (YYYYMMDD) übermittelt werden.",
  "xpath": "/…",
  "source": "schematron:xrechnung@3.0.2",
  "docUrl": "https://einvoice-api.eu/rules/br-tmp-7.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.