Skip to content

AML and transaction monitoring: how the system works and how to test it

B2Bnetwork team · · 7 min

IT in banking

In brief

AML transaction monitoring is the process in which a bank's system compares every transaction with what the bank knows about the customer and with scenarios typical of money laundering, and turns unusual cases into alerts for analysts. In Poland the obligation comes from the Act on Counteracting Money Laundering and Terrorist Financing. Testing such a system checks three things: whether every transaction reaches the system, whether the rules work at the edges of thresholds and time windows, and whether a parameter change loses cases that used to be detected.

Where the monitoring obligation comes from

The Polish Act of March 1, 2018 on Counteracting Money Laundering and Terrorist Financing (consolidated text: Journal of Laws 2025, item 644) lists ongoing monitoring of the customer's business relationship among the customer due diligence measures. It includes analyzing transactions to make sure they are consistent with what the institution knows about the customer, their business and their risk. The institution documents the results of this analysis and keeps them for 5 years.

From the IT system's point of view, the reporting obligations toward GIIF (the General Inspector of Financial Information, Poland's financial intelligence unit) matter as well:

  • above-threshold transaction reports (Art. 72): deposits, withdrawals and transfers exceeding the equivalent of EUR 15,000, submitted within 7 days;
  • notification of circumstances that may indicate suspicion (Art. 74): without delay, no later than 2 business days after the suspicion is confirmed;
  • notification before a transaction is executed (Art. 86): when the institution has a reasonable suspicion, it does not execute the transaction until GIIF responds, for no longer than 24 hours from confirmation that the notification was received.

The last case means a monitoring system cannot always work only after the fact, on yesterday's data. Some controls have to stop a transaction while it is in progress.

The EU framework behind these rules is changing. Directive 2015/849 is being supplemented by the 2024 package, including Regulation (EU) 2024/1624, which will apply directly from July 10, 2027. When designing a new system, it is worth planning for some requirements to move from the national act into the regulation.

How a transaction monitoring system works

A typical AML system at a bank has five layers:

  1. Data feeds. Transactions from the core banking system, the card system, instant payments and branch cash desks, plus the customer profile: the risk rating from KYC and onboarding, the declared purpose of the account, industry, country.
  2. Scenarios. Rules describing money laundering patterns, for example many cash deposits just below a threshold in a short time, funds passing quickly through an account without the balance staying, transactions with high-risk countries, or a sudden change in turnover compared with the customer's history.
  3. Alert generation. Every rule hit creates an alert with context: the transactions that triggered it, the customer profile and the history of earlier alerts.
  4. Case management. An analyst reviews the alert, closes it with a justification or merges it into a case and escalates. The system records every decision, because the institution must show the supervisor what it did with each signal.
  5. Reports. A case confirmed as suspicious goes to GIIF in the required format and within the deadline.

Screening customers and transaction parties against sanctions lists is a separate control. The Act requires specific restrictive measures, including freezing assets, against persons and entities on the lists published under it. Regulation (EU) 2024/886 on instant payments requires providers offering instant credit transfers to check their own customers against EU lists at least once every calendar day and after every change to the lists.

More and more often a machine learning model is added to the rules. It does not replace the scenarios; it sets the order in which analysts handle alerts. That is how the AML monitoring scenario at a payment institution is built.

AML versus fraud detection

Both systems analyze the same transactions, but they protect against different things. A fraud system protects the customer and the bank against theft, so it has to decide in milliseconds whether to let a payment through. An AML system protects against the bank being used to launder money, so it often looks at patterns over days and weeks. At many banks these teams work more and more closely, because an account that receives stolen funds is often also a link in laundering them. We describe the other side in the article on payment fraud detection.

How to test rules and thresholds

The most common defects in AML systems are silent: nobody receives an alert that does not exist. That is why tests have to be designed to catch the absence of a reaction.

What we testExample cases
Threshold boundary valuesAn amount just below, equal to and just above the equivalent of EUR 15,000, also in another currency after conversion at the transaction date rate
Time windows and aggregationA series of deposits spread over several days, the midnight boundary, a daylight saving change, a public holiday
Links between accountsThe same funds moving through several accounts of one customer or accounts of related persons
Customer profileThe same transaction for a low-risk and a high-risk customer, a customer with incomplete KYC data
Sanctions listsSpelling with and without Polish diacritics, transliteration, first and last name in reverse order

Each scenario gets a synthetic data set that should trigger an alert and one that should not. The data must be fictitious or anonymized, as we describe in the article on test data and GDPR.

When thresholds change, a test on historical data helps: the same period is recalculated with the old and new parameters and the results are compared to see which alerts disappeared. Every alert that disappeared and previously ended in a report needs an explanation before deployment. The scope of such tests is best set with risk-based testing.

Data completeness and quality

An AML system is only as good as the data it receives. That is why the most important test is often not about the rules but about the feeds: reconciling the count and total of transactions in the source systems with what reached AML, every day and for every channel. A new payment channel that was never connected to monitoring is a gap that no rule test will reveal.

The second area is the quality of customer data: a missing country, an outdated industry code or an empty risk rating make profile-dependent rules go silent. Completeness and consistency checks are described in the article on data quality. It is also worth measuring time: an alert created two days after the transaction makes the statutory deadlines harder to meet.

Questions and answers

When does a bank have to report a transaction to the FIU in Poland?

In two main cases. An above-threshold report, covering a deposit, withdrawal or transfer exceeding the equivalent of EUR 15,000, is submitted to GIIF within 7 days. A notification of circumstances that may indicate money laundering or terrorist financing is submitted without delay, no later than 2 business days after the suspicion is confirmed. The Act also provides exceptions to the above-threshold reporting obligation.

How does transaction monitoring differ from KYC?

KYC means getting to know the customer at the start of the relationship and when things change: identification, identity verification, the beneficial owner, the purpose of the account and a risk rating. Transaction monitoring is the continuous check of whether what the customer does matches what the bank knows about them. The two are connected: the KYC result feeds the monitoring rules, and unusual transactions may require the customer to be verified again.

Can AML rules be replaced with an AI model?

In practice rarely in full. The institution has to explain to the supervisor why a given transaction did or did not trigger an alert, and rules are easy to justify. A more common setup is rules as the foundation and a model that prioritizes alerts or points to unusual behavior the rules do not describe. The model needs its own tests: validation on historical data, quality monitoring and bias checks.

How often should monitoring scenarios be reviewed?

The Act requires the institution's risk assessment to be updated as needed and at least every 2 years. Scenarios are worth reviewing more often: after a new product or channel launches, after the national risk assessment changes, when analysts report recurring false positives and when a new laundering pattern appears. Every threshold change should be preceded by a test on historical data.

What it looks like in a project

Working on banking systems? Talk to an engineer who knows their constraints.

Let's talk

Read more: IT in banking