Error messages / CAMT.053 file validator

Elements are not in the order the schema requires

What the validator shows

This is the finding for the sample file camt053-error-element-order.xml:

  1. ErrorElements are not in the order the schema requires
    Line 6 · BkToCstmrStmt/Stmt[1]/Id · Id
    Expected
    Id before Acct
    Found
    after Acct
    ······<Acct><Id><IBAN>DE34000100010000001001</IBAN></Id><Ccy>EUR</Ccy><Ownr><Nm>Muster·Handels·GmbH</Nm></Ownr><Svcr><FinInstnId><BICFI>MUSTDEF0XXX</BICFI><Nm>Musterbank</Nm></FinInstnId></Svcr></Acct><Id>MUSTER-2026-190</Id><StmtPgntn><PgNb>1</PgNb><LastPgInd>true</LastPgInd></StmtPgntn><ElctrncSeqNb>190</ElctrncSeqNb><CreDtTm>2026-10-05T20:15:00+02:00</CreDtTm>

Spaces are shown as dots so that they can be counted.

A message of the CAMT.053 file validator, reported as an error. In camt.053 the child elements of each element must come in the order the schema lists them. How the validator finds one that is out of place.

The rule

The camt.053 schemas describe most elements as a sequence: the children must come in the order listed. For example a statement lists its id before its account. A person reading the file would not mind, but a program that follows the schema is allowed to refuse it.

What the finding shows

The finding names the line and the path of the element that stands too early or too late. In the sample for this page the account element comes before the statement id.

Why it happens

What it means for you

Many readers do not care about the order, including the converter on this site. A stricter reader or an import that validates the file against the schema does, and gives an error that may not say what is wrong.

How to fix it

Ask the bank for a corrected file. This tool does not reorder elements.

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