Mozambique NIB Validator (Bank Account Number)
Free online validator for Mozambique NIB numbers with ISO 7064 Modulo 97-10 checksum and issuing bank lookup.
How Mozambique NIB Validation Works
This validator checks the mathematical integrity of the 21-digit NIB according to Bank of Mozambique and SIMO interbank standards, preventing transaction failures.
Validation applies the ISO 7064 MOD 97-10 algorithm, verifying that the 21-digit sequence yields remainder 1 and decoding the corresponding banking entity.
Mozambique NIB Anatomy
Structure of the 21 digits in the Mozambican NIB:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 to 4 | Bank Code | 4 digits | Financial institution identifier assigned by the Bank of Mozambique | 0001 |
| 5 to 8 | Branch Code | 4 digits | Bank branch or office identifier | 0045 |
| 9 to 19 | Account Number | 11 digits | Customer bank account sequential number | 01234567890 |
| 20 and 21 | Check Digits (DV) | 2 digits | Validation digits computed via ISO 7064 Modulo 97-10 | 58 |
Validation Rule (ISO 7064 Modulo 97-10)
Official Mozambique banking checksum verification:
Full NIB (21 digits) % 97 == 1
- 1. Strip all non-numeric characters.
- 2. Ensure the string length is exactly 21 digits.
- 3. Reject trivial repeated digit sequences.
- 4. Perform polynomial division of the 21-digit number by 97.
- 5. The NIB is mathematically valid if and only if the remainder equals 1.
Frequently Asked Questions (FAQ)
Does this tool verify account balance or real status?
No. The validation is structural and mathematical. Only accredited banks connected to SIMO can confirm live balances and ownership.
Can I validate NIBs formatted with spaces?
Yes. Separators and whitespace are automatically sanitized before validation.