Error messages / CAMT.053 file validator
A value is not in the form, or not one of the values, its type allows
What the validator shows
This is the finding for the sample file camt053-error-code-value.xml:
- ErrorA value is not in the form, or not one of the values, its type allowsLine 10 · BkToCstmrStmt/Stmt[1]/Ntry[1]/CdtDbtInd
- Expected
- one of CRDT, DBIT
- Found
- CREDIT
······<Ntry><NtryRef>2026100500001</NtryRef><Amt·Ccy="EUR">1190.00</Amt><CdtDbtInd>CREDIT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><Dt>2026-10-05</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. Some camt.053 elements take only listed values or a fixed pattern, such as CRDT and DBIT. What the validator checks and what it leaves alone.
The rule
The camt.053 schemas allow only listed values in some elements and a fixed pattern in others. The credit or debit indicator is CRDT or DBIT. In versions .02, .03 and .04 the balance type code is one of ten listed codes and the entry status is BOOK, PDNG or INFO. Currency codes are three capital letters; an IBAN has the shape of two letters, two digits and up to thirty letters or digits; a BIC has its own pattern.
What the finding shows
The line and the path say which element it is, and "Found" gives the value. In the sample for this page the indicator is written CREDIT.
What is not checked
Only the shape is checked. This tool does not check that a currency, a BIC or a code is registered, or that an IBAN's check digits are right. In version .08 the balance type codes are an external list that the schema does not hold, so an unknown code there is a note, not an error.
Why it happens
- A program writes words where the schema wants codes.
- The value was changed by hand.
How to fix it
Ask the bank for a corrected file. This tool does not change values.
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
- An amount is not a non-negative decimal within the schema's limits, or has no valid currency
- A date or date and time is not in the form the schema allows
- In this file the opening balance plus the entries does not equal the closing balance