Error messages / CAMT.053 file validator

A mandatory element is missing

What the validator shows

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

  1. ErrorA mandatory element is missing
    Line 5 · BkToCstmrStmt/Stmt[1]/Acct · Acct
    Expected
    1
    Found
    none
    ····<Stmt>

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

A message of the CAMT.053 file validator, reported as an error. The camt.053 schema requires some elements in every statement, such as the account. How the validator names the element that is missing.

What the schema requires

In the camt.053 schemas (001.02, .03, .04 and .08) some elements have a minimum of one occurrence: in the group header the message id and the creation time; in each statement the id, the account, at least one balance, and (in version .02 only) the creation time; in each balance the type, amount, credit or debit indicator and date; in each entry the amount, the indicator, the status and the bank transaction code. The validator reports each one that is missing.

What the finding shows

The line and the path say where the element should be, for example Stmt[1]/Acct. The sample for this page is a statement whose account element was taken out.

Why it happens

How to fix it

Ask the bank for a complete file. This tool does not add 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