Error messages / CAMT.053 file validator
A date or date and time is not in the form the schema allows
What the validator shows
This is the finding for the sample file camt053-error-date-format.xml:
- ErrorA date or date and time is not in the form the schema allowsLine 10 · BkToCstmrStmt/Stmt[1]/Ntry[1]/BookgDt/Dt
- Expected
- a date, YYYY-MM-DD
- Found
- 2026-02-30
······<Ntry><NtryRef>2026100500001</NtryRef><Amt·Ccy="EUR">1190.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><Dt>2026-02-30</Dt></BookgDt><ValDt><Dt>2026-10-05</Dt></ValDt><AcctSvcrRef>2026100500001</AcctSvcrRef><BkTxCd><Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn></BkTxCd><NtryDtls><TxDtls><Refs><EndToEndId>RE-2026-0931</EndToEndId></Refs><Amt·Ccy="EUR">1190.00</Amt><BkTxCd><Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn><Prtry><Cd>NTRF+166</Cd><Issr>DK</Issr></Prtry></BkTxCd><RltdPties><Dbtr><Pty><Nm>Musterbäckerei·&·Söhne·OHG</Nm></Pty></Dbtr><DbtrAcct><Id><IBAN>DE32000200020000002002</IBAN></Id></DbtrAcct><Cdtr><Pty><Nm>Muster·Handels·GmbH</Nm></Pty></Cdtr><CdtrAcct><Id><IBAN>DE34000100010000001001</IBAN></Id></CdtrAcct></RltdPties><RltdAgts><DbtrAgt><FinInstnId><BICFI>BSPLDEF0XXX</BICFI></FinInstnId></DbtrAgt><CdtrAgt><FinInstnId><BICFI>MUSTDEF0XXX</BICFI></FinInstnId></CdtrAgt></RltdAgts><RmtInf><Ustrd>Rechnung·RE-2026-0931·vom·28.09.2026,·Kundennummer·40017</Ustrd></RmtInf></TxDtls></NtryDtls><AddtlNtryInf>SEPA-Gutschrift</AddtlNtryInf></Ntry>
Spaces are shown as dots so that they can be counted.
A message of the CAMT.053 file validator, reported as an error. camt.053 dates are written YYYY-MM-DD and times as full date-times. What the validator accepts, including 29 February, and what it rejects.
The rule
In the camt.053 schemas a date is an XML Schema date, YYYY-MM-DD, optionally followed by a time zone, and a creation time is a date and time with a T between them: 2026-10-05T12:00:00. The date must exist: 2028-02-29 does, 2026-02-29 and 2026-02-30 do not.
What the finding shows
The line and the path say which date it is, and "Found" gives the text. In the sample for this page the booking date is 2026-02-30.
Why it happens
- A program counts every month as having thirty days or more.
- The date was written another way:
05.10.2026,10/05/2026or20261005. - A time was written where only a date is allowed, or the other way round.
What it means for you
A reader that validates dates refuses the file, and one that does not may put the entry on the wrong day. Compare the dates with your statement.
How to fix it
Ask the bank for a corrected file. This tool does not change dates.
Source: the ISO 20022 camt.053 schemas (001.02, .03, .04 and .08), iso20022.org. This site is not the official source.
Check your own file
Drop your file into the CAMT.053 file validator. It reports problems and does not change the file.
Other CAMT.053 file messages
- This is not an ISO 20022 message: the root element is not Document in an ISO 20022 namespace
- A mandatory element is missing
- Elements are not in the order the schema requires
- A text is empty or longer than its type allows
- A value is not in the form, or not one of the values, its type allows
- An amount is not a non-negative decimal within the schema's limits, or has no valid currency
- In this file the opening balance plus the entries does not equal the closing balance