Skip to content
XRechnung · Understanding errors

cvc-datatype-valid: date in the wrong format in the XRechnung

The message cvc-datatype-valid.1.2.1 comes from the schema validation: a value does not have the expected data type. For dates this almost always means that the German format 15.01.2027 was used instead of the format 2027-01-15.

Reproduced on 21 Nov 2026 with the KoSIT validator 1.6.3 (XRechnung 3.0.2, configuration of 31 Aug 2026) on our sample invoice. Written by Marwan Saleh (Development). Technical explanation, not tax advice.

The message in the validation report

This is the literal wording in the validator's report.

cvc-datatype-valid.1.2.1Error

'15.01.2027' ist kein gültiger Wert für 'date'.

Translation: '15.01.2027' is not a valid value for 'date'.

cvc-complex-type.2.2Error

Element 'cbc:IssueDate' darf kein Element [untergeordnete Elemente] haben, und der Wert muss gültig sein.

Translation: Element 'cbc:IssueDate' must have no element [children], and the value must be valid.

How we reproduced the error

The starting point was our correct sample invoice, which the validator accepts with 0 errors and 0 warnings. Then we changed exactly one thing:

Changed the invoice date from 2027-01-15 to 15.01.2027.

Result: rejected with cvc-datatype-valid.1.2.1, cvc-complex-type.2.2.

The correct sample invoice and its validation report are publicly available, see validation evidence.

Common causes

  • The date is output as it appears on the PDF instead of in the data format.

How to fix the error

  1. 1Output all dates in the format YYYY-MM-DD, including due date and delivery date.

This is how the spot looks in our accepted sample invoice:

<cbc:IssueDate>2027-01-15</cbc:IssueDate>

After the correction: validate the file for free with the KoSIT validator, without sign-up, the file is not stored.

The error comes from your shop or your software?

Then the cause usually lies at the point where the invoice is generated. We check where the data comes from and adjust the output. The feasibility check costs €290 net and is credited if you place the order.

Sources

Validation run of 21 Nov 2026. Technical explanation, not tax advice.