Error messages / ABA file validator

The BSB is not in the format nnn-nnn

What the validator shows

This is the finding for the sample file aba-error-bsb.aba:

  1. ErrorThe BSB is not in the format nnn-nnn
    Line 3 · Detail (1) · BSB · positions 2-8
    Expected
    three digits, a hyphen, three digits (e.g. 062-000)
    Found
    "000102 "
    1000102·987654321·530000204550SAMPLE·EMPLOYEE·TWO·············WAGES·WK41········000-001123456789SAMPLE·COMPANY··00000000

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

A message of the ABA file validator, reported as an error. The BSB in an ABA file must be three digits, a hyphen and three digits, in positions 2-8 of each detail record. Common ways it goes wrong.

The rule

In a Detail record the BSB occupies positions 2-8, seven characters: three digits, a hyphen in position 5, three digits. 062-000 is valid; 062000 and 062 000 are not. The same format applies to the trace BSB in positions 81-87, which identifies your own account for returns.

Why the hyphen matters

Because the file is read by position, a BSB without its hyphen is one character short. If nothing pads it, every field after it shifts one place to the left: the account number, the amount and the names all land in the wrong positions and the record ends up 119 characters long. In the sample file the BSB was written as 000102 followed by a space, so the length is right but the field is still invalid.

Where it comes from

How to fix it

Correct the BSB in the payee's record so that it is stored as text in the form nnn-nnn, then create the file again. The validator checks the shape only, not whether a BSB belongs to a real branch.

Check your own file

Drop your file into the ABA file validator. It reports problems and does not change the file.

Check your own file

Other ABA (Cemtex) file messages