QRPayment.php
public static function normalizeAccountNumber($account)
    {
        $account = str_replace(' ', '', $account);
        if (false === strpos($account, '-')) {
            $account = '000000-' . $account;
        }
        $parts = explode('-', $account);
        $parts[0] = str_pad($parts[0], 6, '0', STR_PAD_LEFT);
        $parts2 = explode('/', $parts[1]);
        $parts2[0] = str_pad($parts2[0], 10, '0', STR_PAD_LEFT);
        $parts2[1] = str_pad($parts2[1], 4, '0', STR_PAD_LEFT);
        $parts[1] = implode('/', $parts2);

        return implode('-', $parts);
    }
public static function normalizeAccountNumber($account)
    {
        $account = str_replace(' ', '', $account);
        if (false === strpos($account, '-')) {
            $account = '000000-' . $account;
        }
        $parts = explode('-', $account);
        $parts[0] = str_pad($parts[0], 6, '0', STR_PAD_LEFT);
        $parts2 = explode('/', $parts[1]);
        $parts2[0] = str_pad($parts2[0], 10, '0', STR_PAD_LEFT);
        $parts2[1] = str_pad($parts2[1], 4, '0', STR_PAD_LEFT);
        $parts[1] = implode('/', $parts2);

        return implode('-', $parts);
    }
Normalize account number

@param string $account Account number
@return string