Fehlercodes · xsd

cvc-datatype-valid.1.2.1Im Rechnungssystem

Value does not match the required XML datatype format

So lautet die Ablehnung wörtlich: „[cvc-datatype-valid.1.2.1] cvc-datatype-valid.1.2.1 is an XML Schema (XSD) validation error meaning a value does not satisfy the lexical rules of its declared simple type. The message reads "'X' is not a valid value for 'Y'." In e-invoicing this usually means a number, date, or boolean is formatted in a locale or style the schema does not allow — a comma decimal separator, a DD/MM/YYYY date, or 'Yes'/'No' for a boolean.

The XSD defines exact lexical formats and the value breaks one. Common triggers: xs:decimal with a comma or thousands separators instead of plain dot-decimal; xs:date in DD/MM/YYYY or DD.MM.YYYY instead of YYYY-MM-DD; xs:dateTime missing time or timezone; xs:boolean as Yes/No instead of true/false/1/0; trailing currency symbols or whitespace in a numeric element; or grouping separators leaked by a locale-aware number formatter.

Was Sie bereithaltenNichts. Die Datei muss im Rechnungssystem neu erzeugt werden; wir prüfen sie danach erneut.
Was wir tunFor xs:decimal: strip thousands separators, convert comma decimals to dots, remove currency symbols and whitespace (1.234,56 becomes 1234.56). For xs:date: convert to ISO 8601 YYYY-MM-DD (31/12/2026 becomes 2026-12-31), disambiguating DD/MM vs MM/DD from the source locale. For xs:boolean: map to true/false or 1/0. Apply the same normalisation at the source by formatting with the invariant culture, then re-validate.
Wenn Sie es selbst im Rechnungssystem eintragen
Vorher
<cbc:IssueDate>31/12/2026</cbc:IssueDate><cac:LegalMonetaryTotal><cbc:LineExtensionAmount currencyID="EUR">1.234,56</cbc:LineExtensionAmount><cbc:PayableAmount currencyID="EUR">1.469,13</cbc:PayableAmount></cac:LegalMonetaryTotal>
Nachher
<cbc:IssueDate>2026-12-31</cbc:IssueDate><cac:LegalMonetaryTotal><cbc:LineExtensionAmount currencyID="EUR">1234.56</cbc:LineExtensionAmount><cbc:PayableAmount currencyID="EUR">1469.13</cbc:PayableAmount></cac:LegalMonetaryTotal>
So sieht der Befund ausBeispiel
BefundAufbau fehlerhaft · cvc-datatype-valid.1.2.1
Stelle__from_error_message__
Von IhnenNeu exportierte Datei
DanachNeu exportieren
NachweisSHA-256 und /verify-Link nach der Prüfung
cvc-datatype-valid.1.2.1: Value does not match the required XML datatype format – Fehlercode erklärt