Essentially, a transit code typically consists of a 9-digit number. Each bank, including investment bank, retail bank, or credit unions, was issued with a certain branch transit number and what it does is that it represents a certain financial institution.