Error messages / CAMT.053 file validator

A text is empty or longer than its type allows

What the validator shows

This is the finding for the sample file camt053-error-text-length.xml:

  1. ErrorA text is empty or longer than its type allows
    Line 10 · BkToCstmrStmt/Stmt[1]/Ntry[1]/NtryDtls[1]/TxDtls[1]/RmtInf/Ustrd[1]
    Expected
    at most 140 characters
    Found
    141 characters
    ······<Ntry><NtryRef>2026100500001</NtryRef><Amt·Ccy="EUR">1190.00</Amt><CdtDbtInd>CRDT</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·&amp;·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·40017XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</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. Text elements in camt.053 have a maximum length, for example 140 characters for the unstructured remittance information. What the validator reports.

The rule

In the camt.053 schemas, text elements are typed with a limit: 35, 70, 105, 140 or more characters, and at least one character. The unstructured remittance information (Ustrd) is limited to 140 characters in each element. An empty element, or one over its limit, is reported with the limit in the "Expected" line.

What the finding shows

The line and the path say which element it is, and "Found" gives the length. The sample for this page has a Ustrd of 141 characters. Characters are counted as the schema counts them, one for each character, not each byte.

Why it happens

What it means for you

A program that validates the file against the schema refuses it. One that does not may read the text in full.

How to fix it

Ask the bank for a corrected file. This tool does not shorten text.

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.

Check your own file

Other CAMT.053 file messages