Skip to main content
Skip to main content

Mozambique NIB Generator (Bank Account Number)

Generate valid 21-digit Mozambique NIB numbers for SIMO interbank payments and fintech testing.

Waiting for generation...

About Mozambique NIB (Bank Account Identification Number)

The NIB (Número de Identificação Bancária) is the official national banking standard in Mozambique, governed by the Bank of Mozambique and processed via the SIMO network.

Composed of 21 numeric digits, the NIB provides account-level routing for interbank settlements, identifying the credit institution, local branch, individual account, and ISO 7064 MOD 97-10 check digits.

Mozambique NIB Anatomy

Structure of the 21 digits in the Mozambican NIB:

PositionFieldLengthMeaning & RuleExample
1 to 4Bank Code4 digitsFinancial institution identifier assigned by the Bank of Mozambique (e.g. 0001 Millennium BIM, 0003 BCI)0001
5 to 8Branch Code4 digitsBank branch or office identifier0045
9 to 19Account Number11 digitsCustomer bank account sequential number01234567890
20 and 21Check Digits (DV)2 digitsValidation digits computed via ISO 7064 Modulo 97-1058

Check Digit Calculation (ISO 7064 Modulo 97-10)

Official SIMO / Bank of Mozambique validation algorithm:

DV = 98 - ((N19 * 100) % 97). Full NIB % 97 == 1.
  1. 1. Take the first 19 digits of the NIB (Bank + Branch + Account).
  2. 2. Compute the remainder of this number divided by 97.
  3. 3. Multiply by 100 and calculate the new remainder modulo 97.
  4. 4. Subtract this remainder from 98 to obtain the 2 check digits (DV).
  5. 5. The full 21-digit NIB satisfies: NIB % 97 == 1.

Frequently Asked Questions (FAQ)