Skip to main content
Wealth Management Technology

Rep code mapping in wealth management: how it decides what AI can see

Illustration of four custodian code tags, one flagged and unassigned, linked through an AI step to two team cards with padlocks

Rep codes from custodial feeds decide which accounts land in each book of business, and that book is what an AI assistant can see and act on. Here is how to keep the mapping current.

Rep code mapping is the link between the codes a custodian puts on every account and the advisors and teams who serve those accounts at your firm. It decides which clients land in each book of business. Once an AI assistant works inside that book, the mapping also decides what the AI can see and what it can act on. A stale or wrong mapping makes AI miss clients it should cover, or reach clients the user should never see.

For many firms, the mapping lives in an operations spreadsheet and a few admin screens. That was workable when billing and reporting were its main users. AI raises the stakes, because an assistant reads the book on every question and acts on it when asked. This guide covers what rep codes do, why mappings drift, what changes when AI works from the book, and how to keep the mapping current.

What a rep code does

A rep code is the identifier a custodian uses to group the accounts an advisor or team manages. The name varies by custodian. AdvisorEngine's documentation notes that the same concept is called a G-Number at Fidelity, a Master Account Number at Schwab and an IP Number at Pershing (AdvisorEngine). The code also reaches well beyond the custodian. Firms use it to set up billing structures, signature routing and the contact details clients see.

Custodian data arrives organized by these codes. BridgeFT's API documentation explains that account data is grouped by advisor code at the highest level, that an application receives no account data for a code it has not registered, and that removing a code removes access to all data under it (BridgeFT). The code list is the front door for every downstream system.

Inside the firm, the code is only half the picture. The other half is the mapping: which person or team each code belongs to, and therefore who works each account. Docupace's setup guide, for example, uses the rep number to decide which team members and assistants can access work items, and it supports split rep codes linked to several advisors (Docupace).

Why rep code mappings drift

Rep code mappings change whenever the firm changes. The common causes:

  • One advisor, many codes. An advisor can hold a code at each custodian, a joint or split code for team business, and separate codes for advisory and brokerage accounts. Milemarker's data guide recommends treating the advisor's CRD number as the identity and each code as an alias (Milemarker).
  • Team changes. Advisors join teams, associates move between books and service teams are reorganized. The code stays the same while the people behind it change.
  • Departures and successions. When an advisor leaves or retires, accounts are reassigned. Until the mapping catches up, the old owner's book and the new owner's book are both wrong.
  • Custodian conversions and new relationships. In the TD Ameritrade to Schwab conversion, every TD rep code was converted to a new Schwab master number, and Schwab supplied a cross-reference file to firms and their technology providers (Kitces). Acquisitions and new custodian relationships also bring codes the firm has never mapped.
  • Unmapped codes. New codes can appear in a feed before anyone assigns them. Milemarker advises routing every account whose code does not resolve to an operations queue rather than dropping it, and notes that unresolved codes are a usual reason a branch's numbers look wrong on a dashboard (Milemarker).

None of this is unusual. What matters is how long a mismatch survives and who notices it.

What changes when AI works from the book

When an AI assistant works within the access of the person using it, its world is exactly the book the mapping produces. That design keeps AI inside the user's permissions. It also means every mapping error flows straight into what the AI says and does.

A missing code becomes a missing client

Ask an assistant which of your households have open service requests, and it searches the accounts mapped to you. If a newly acquired code was never mapped, those households do not exist as far as the assistant is concerned. The answer reads as complete, yet it leaves clients out. The same gap affects daily priorities, meeting prep and any feed that ranks what needs attention. A person scanning a spreadsheet might spot a missing client. A confident AI summary hides the gap.

An outdated code can widen access

The opposite error carries more risk. If a departed advisor's code still maps to a whole team, or a split code maps to everyone in a branch, AI can read, summarize and act on clients outside the user's intended scope. FINRA's 2026 oversight report lists scope and authority and data sensitivity among the risks of AI agents, including agents that "act beyond the user's actual or intended scope and authority", and suggests firms consider how to monitor agent system access and data handling (FINRA). The same report points to least-privilege access controls and access reviews for both human and non-human accounts (FINRA 2026 report).

For SEC-registered advisers and broker-dealers, the 2024 amendments to Regulation S-P also require an incident response program for unauthorized access to or use of customer information (FINRA advisory). A clean mapping does not satisfy Reg S-P by itself. A mapping error that exposes client records, though, is exactly the kind of event that program has to handle.

AI makes mapping work cheaper

AI also helps with the upkeep. Once codes, people and teams sit in one shared record, an assistant can help list accounts whose code has no owner, explain why a household appears in two books, or prepare a reassignment for an operations lead to approve. The judgment stays with people. Who owns a client relationship is a business decision, and changes to it should be approved and recorded.

How to keep rep code mapping AI-ready

Follow these steps:

  1. Inventory every code. List each code by custodian, with its current owner or team, account count and status. Close inactive codes, as Kitces suggested firms do before the Schwab conversion.
  2. Name one owner for the mapping. This is usually operations, with compliance sign-off for any change that widens access.
  3. Tie mapping changes to firm events. Hires, departures, team changes, acquisitions and custodian conversions should each trigger a mapping review on the day they happen, rather than at the next quarterly cleanup.
  4. Decide split and joint codes explicitly. Write down which people and teams each shared code covers, and confirm that matches who should see those clients.
  5. Queue unmapped codes. New or unknown codes go to a named queue with an owner, so their accounts are neither dropped nor visible to everyone.
  6. Test what AI sees. After a change, use an affected user's role, or a test account with the same role, to ask the assistant about a known client inside the book and one outside it. Confirm the answers match the mapping.
  7. Include AI connections in access reviews. Review the scopes of any external AI tool connected to client data alongside user access. Our guide to reviewing user access in wealth management covers the review itself.

How OneVest Core supports rep code mapping

OneVest Core is the shared workspace where custodian, CRM and planning data come together in one client record. According to the current Compare packages page, Core includes:

  • rep code management to align access from custodial feeds
  • teams and role-based access, with SSO using SAML and OIDC
  • custodian and portfolio data sync, and a unified client view of households, contacts and net worth
  • an AI assistant for Q&A and agentic action, plus MCP server access

OneVest's homepage describes Viewer, Member and Admin roles with API-enforced permissions and team-scoped books of business. On its AI page, OneVest explains that AI usage follows the same access controls as the person using it, that organization-level settings can refine what the AI is allowed to do, that each external MCP connection uses a token with specific scopes, and that actions completed by people and by AI are tracked in the audit log. Supported custodian connections are listed on the integrations page.

Core provides the controls. Your firm still decides who owns each relationship and reviews the mapping when the firm changes. Confirm availability for your custodians, package and configuration with OneVest.

Start with your newest codes

Pick the codes added or changed in the last 90 days, from new hires, team moves or a new custodian relationship. Check each one against who should see those clients, then ask your AI assistant about a household under each code. If the answers match the mapping, extend the check to the rest of the book.

Explore OneVest Core

Sources