BankLint

Rule reference · ISO 20022 schema (XSD) · ISO 20022 schema (XSD)

BNK-ISO-004: Value too long / Value too short / Value length not allowed

The value is longer than the maximum length allowed by the ISO 20022 schema.

SeverityBLOCKER Blocker: the run fails
Applies topain.001.001.09 and pain.001.001.03, against the official ISO 20022 schema
SourceISO 20022 message schema (XSD)

What this finding covers

  • Value too long. The value is longer than the maximum length allowed by the ISO 20022 schema.
  • Value too short. The value is shorter than the minimum length allowed by the ISO 20022 schema.
  • Value length not allowed. The value does not have the exact length required by the ISO 20022 schema.

Why it matters

Banks validate payment files against the ISO 20022 schema and typically reject the whole file on a schema violation.

How to fix it

Correct the mapping that produces this element in the payment-generation configuration.

Try it with a synthetic example

These files are synthetic test data from BankLint's test corpus. Download one, or validate it directly.

Related rules: ISO 20022 schema (XSD)

Validate a pain.001 fileFree, no account needed, files are not stored.