diff --git a/src/QUI/ERP/BankAccounts/Handler.php b/src/QUI/ERP/BankAccounts/Handler.php
index 6eff0f181a4b0bf841a60eb8a9d1b7a790760cbd..363aca156c33ac8de02e7d4e0b4a814338f68895 100644
--- a/src/QUI/ERP/BankAccounts/Handler.php
+++ b/src/QUI/ERP/BankAccounts/Handler.php
@@ -45,7 +45,7 @@ public static function addBankAccount(array $data): array
         $list = self::getList();
 
         do {
-            $id = (int)\uniqid("", true);
+            $id = \mt_rand(10000, 99999);
         } while (!empty($list[$id]));
 
         $Conf = QUI::getPackage('quiqqer/erp')->getConfig();