Error messages / CAMT.053 file validator
An amount is not a non-negative decimal within the schema's limits, or has no valid currency
What the validator shows
This is the finding for the sample file camt053-error-amount-format.xml:
- ErrorAn amount is not a non-negative decimal within the schema's limits, or has no valid currencyLine 11 · BkToCstmrStmt/Stmt[1]/Ntry[2]/Amt
- Expected
- not below 0
- Found
- -5.00
······<Ntry><NtryRef>2026100500002</NtryRef><Amt·Ccy="EUR">-5.00</Amt><CdtDbtInd>DBIT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><Dt>2026-10-05</Dt></BookgDt><ValDt><Dt>2026-10-05</Dt></ValDt><AcctSvcrRef>2026100500002</AcctSvcrRef><BkTxCd><Domn><Cd>PMNT</Cd><Fmly><Cd>RDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn></BkTxCd><NtryDtls><TxDtls><Refs><EndToEndId>ABSCHLAG-10-2026</EndToEndId><MndtId>SWM-448812</MndtId></Refs><Amt·Ccy="EUR">89.90</Amt><BkTxCd><Domn><Cd>PMNT</Cd><Fmly><Cd>RDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn><Prtry><Cd>NDDT+105</Cd><Issr>DK</Issr></Prtry></BkTxCd><RltdPties><Dbtr><Pty><Nm>Muster·Handels·GmbH</Nm></Pty></Dbtr><DbtrAcct><Id><IBAN>DE34000100010000001001</IBAN></Id></DbtrAcct><Cdtr><Pty><Nm>Stadtwerke·Musterstadt·AG</Nm><Id><PrvtId><Othr><Id>DE98ZZZ09999999999</Id><SchmeNm><Prtry>SEPA</Prtry></SchmeNm></Othr></PrvtId></Id></Pty></Cdtr><CdtrAcct><Id><IBAN>DE30000300030000003003</IBAN></Id></CdtrAcct></RltdPties><RltdAgts><DbtrAgt><FinInstnId><BICFI>MUSTDEF0XXX</BICFI></FinInstnId></DbtrAgt><CdtrAgt><FinInstnId><BICFI>SPMUDEF0XXX</BICFI></FinInstnId></CdtrAgt></RltdAgts><Purp><Cd>ELEC</Cd></Purp><RmtInf><Ustrd>Abschlag·Strom·Oktober·2026·Vertragskonto·7781234500·</Ustrd><Ustrd>Zählernummer·1ESY1160123456·Vielen·Dank</Ustrd></RmtInf></TxDtls></NtryDtls><AddtlNtryInf>SEPA-Basislastschrift</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. A camt.053 amount is a decimal number that is not negative, with at most five decimals and eighteen digits, and a currency. What the validator reports.
The rule
In the camt.053 schemas an amount is a decimal number with a dot as the decimal mark, at most 18 digits of which at most 5 follow the dot, and a minimum of zero. It carries its currency as the attribute Ccy, which is required and must be three capital letters. The direction is not in the amount: the separate element CdtDbtInd says credit or debit.
What the finding shows
The line and the path say which amount it is, and "Found" gives the text. In the sample for this page the amount is -5.00.
Why it happens
- A program writes a minus sign for a debit instead of using the indicator.
- The amount has a comma, a thousands separator or a currency sign.
- The
Ccyattribute is missing or in lower case.
What it means for you
A reader that takes the minus sign at face value and one that follows the schema may give different totals. Compare the amounts with your statement.
How to fix it
Ask the bank for a corrected file. This tool does not change amounts.
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
- 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