Sub topic 4
Comparing expected and actual activity
This chapter assumes you know what a customer due diligence (KYC) profile contains and can read an account statement. You have already scoped the alert. Now you test the flagged activity against what the customer told the bank to expect.
Why the comparison matters
Expected activity is the bank's record of how a customer should use the account. It usually covers monthly deposit and withdrawal totals, typical transaction sizes, the channels used (cash, wire, card), and the countries involved. Actual activity is what the account did. The gap between them is often the first solid evidence in an investigation. A large gap does not prove wrongdoing. It tells you what needs an explanation.
Step 1: Pull the expectation
Read the profile fields that describe expected behavior: stated occupation or business, source of funds, expected monthly volume, and expected counterparties or geographies. Check the date of the last profile update. A profile written three years ago for a student may no longer describe a person who now runs a small business.
Step 2: Measure the actual activity
Use the same period and the same units as the expectation. If the profile gives monthly totals, compute monthly totals. Comparing a quarter of activity to a month of expectation produces a false alarm.
Step 3: Compute the ratio
The function below divides actual by expected. It returns None when no expectation exists, because a missing expectation is a gap in the file to fix, not a reason to dismiss the alert.
def activity_ratio(actual_total, expected_total):
"""Return actual activity divided by expected activity, or None if no expectation is on file."""
if expected_total <= 0:
return None
return actual_total / expected_total
ratio = activity_ratio(actual_total=182000, expected_total=20000)
if ratio is None:
print("No expected activity recorded: review the customer profile first.")
elif ratio > 3:
print(f"Activity is {ratio:.1f} times the expected level: needs an explanation.")
else:
print(f"Activity is {ratio:.1f} times the expected level.")Here the result is 9.1 times the expected level. The threshold of 3 is an example. Your institution sets its own tolerance, and it may differ by customer type.
Step 4: Compare more than totals
Total volume is only one dimension. Check each of these separately:
| Dimension | Question to ask |
|---|---|
| Volume | Is the total far above the stated level? |
| Size | Are individual transactions larger or more uniform than usual? |
| Channel | Is cash or wire use new for this customer? |
| Geography | Do funds come from or go to countries not in the profile? |
| Counterparties | Are the senders and recipients plausible for the stated business? |
A customer can match the expected total and still behave unexpectedly. For example, the total may be normal while all of it moves through a new channel.
Step 5: Test a specific pattern
When the comparison points to a pattern, query for it directly. This query counts one customer's cash deposits just below a 10,000 reporting threshold in October 2026.
SELECT customer_id,
COUNT(*) AS deposit_count,
SUM(amount) AS total_cash,
MIN(transaction_date) AS first_date,
MAX(transaction_date) AS last_date
FROM transactions
WHERE customer_id = 'C1001'
AND channel = 'cash'
AND direction = 'credit'
AND transaction_date BETWEEN DATE '2026-10-01' AND DATE '2026-10-31'
AND amount BETWEEN 8000 AND 9999.99
GROUP BY customer_id;Many deposits just under the threshold, spread over several days, fit a structuring pattern. Structuring means splitting cash into smaller amounts to avoid a reporting threshold.
The decision flow
Common errors
- Comparing mismatched periods or currencies.
- Treating a stale profile as the truth, when the customer's circumstances have changed.
- Closing the alert because the total is within range, without checking the channel and counterparties.
- Skipping the alert because no expectation is recorded.
Exercise
A customer's profile expects 20,000 in monthly activity. In October the account shows 182,000, and 40 cash deposits of between 8,000 and 9,900 each. What is the ratio, and what two things would you do next?
Show answer
The ratio is 182,000 / 20,000 = 9.1. Next, check whether the profile is out of date, for example whether the customer's business or income has changed. Then analyze the cash deposits as a possible structuring pattern, by dates, branches and amounts. Both steps look for an explanation before any conclusion is drawn.