Skip to main content

Automating AML Audit Trails in 2026: A Step-by-Step How-To

Automate an AML audit trail by running AML inside a Didit session, keeping the decision payload with decision_trace and reviews, then exporting the PDF. $0.20 per AML screening, $0.33 per full ID check.

Automating AML Audit Trails in 2026: A Step-by-Step How-To

Contents

In this guide

Jump to the part you need.

This how-to fits compliance and engineering teams that must show a regulator who was screened, against which lists, with which scores, and who signed off. Didit prices the two evidence lines at $0.20 per AML screening and $0.33 per full ID check. The caveat: a trail is only as long as your retention window, and the 3-year audit log export sits on the Scale plan.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

What one AML audit trail record needs, and the Didit line that produces it
Trail elementProduced byList price
Who the person is, with identity evidenceFull ID check: ID document $0.15, passive liveness $0.10, face match $0.05, device and IP $0.03$0.33 per check
Which lists were screened and what matchedAML screening against 1,300+ sanctions, PEP and watchlist sources, with a match score and a risk score per hit$0.20 per check
Change after onboardingOngoing AML monitoring, dated every day, billed per person per year and separate from the one-off screening$0.07 per person a year
Who decided, and whether a person overruled the systemDecision payload: decision_trace, reviews, status_overrideRead, not billed as a separate line
The pack you hand to a regulatorGET /v3/session/{id}/generate-pdf/Not a separate line in the price feed
API activity across the organizationConsole audit logsIncluded, window set by plan

Start free in the sandbox at business.didit.me: no sales call, and sandbox testing is free and unlimited. If you want an AI assistant to drive the same calls, connect Didit through the Didit MCP server.

What an AML audit trail has to answer

An AML audit trail is the chronological record of what your controls did to one customer and who touched the case. During an AML audit, five questions decide whether the file holds up:

  • Who was checked, and what identity evidence supported the match.
  • What was checked: which of the 1,300+ lists were screened, and on what date.
  • Why the outcome happened: the match score (identity confidence) and the risk score (entity risk) on each hit, not only the final status.
  • Who decided: the automatic status, the reviewer, any override, and the timestamps on all three.
  • When it expires: creation date, decision date, re-screening dates, and the date the live biometric data is deleted.

FATF Recommendation 11 asks for record keeping of at least five years, so the retention setting on your plan, not your intent, decides whether you can answer. Our product page for AML screening lists the data sources; the pricing page lists what each line costs.

A session overview in the Didit Business Console showing the status and the warnings raised on one user
The session overview is the first page an auditor reads: status, warnings and the checks behind them.

AML software with audit trails for regulators: what to check

Most tools report a status. A regulator wants the reasoning. When you compare AML software with audit trails for regulators, check these points:

  • Scores per hit. A single Approved or Declined line hides false positives you cannot defend later.
  • The automatic status next to the manual one, so an auditor can see what the system would have decided without the reviewer.
  • The session records review activity and decision trace fields, including who decided and when.
  • The hit details and scores, so you can explain why the result was reviewed.
  • A trail of API activity across the organization, separate from the customer record.
  • An export path: an exported PDF report per session, and a longer audit log window on higher plans.
  • Delete dates. Evidence that biometric data is removed on schedule is part of compliance, not an afterthought.

Session-based AML versus standalone AML

There are two ways to run a screening, and they leave different trails. Session-based AML runs as a step inside a verification session, so the screening, the identity check, ongoing monitoring and the review all bind to one session id and one Console record. Standalone AML is a server-to-server call to POST /v3/aml/ for a one-shot check with no hosted flow behind it.

Standalone still becomes a session when save_api_request is true, which is the default, so request_id resolves through the same decision and PDF endpoints. Choose session-based when a person will be re-screened or reviewed, and standalone only for a point-in-time check you store yourself.

Prerequisites

  • A Didit organization. The sandbox is free on every plan, and the Free plan includes $10 of credit a month for organizations that sign up with a work email.
  • A workflow with the AML feature, or a server-to-server key for POST /v3/aml/.
  • An API key holding read:sessions, needed for the decision payload and the PDF.
  • A webhook destination with its signing secret, so status changes reach you with a verified signature.
  • Thresholds agreed with compliance before the first live check: match score 93, approve 80, review 100 is the default set.
  • A retention decision. Free keeps 1 year of data and a 30-day audit log, Growth 5 years and a 1-year audit log, Scale up to 10 years and a 3-year audit log with export.

The 7 steps

Step 1. Record which route you run

Run the screening inside a session when the person will be re-screened or reviewed, and use the standalone call only for a point-in-time check. Write down which route each customer went through, because the two leave different evidence behind.

Step 2. Set the thresholds and the weights, and write them down

Hits whose match score falls below aml_match_score_threshold (default 93) are tagged review_status: "False Positive" and ignored for risk. The highest risk score among the remaining hits becomes aml.score. Above aml_score_review_threshold (default 100) the status is Declined; above aml_score_approve_threshold (default 80) it is In Review; otherwise Approved. The match-score weights aml_name_weight, aml_dob_weight and aml_country_weight must sum to exactly 100, defaults 60, 25 and 15. Record the values you chose and the date you chose them, because changing a threshold changes how every past hit would have scored.

Step 3. Run the screening

Send an Idempotency-Key so a retry after a timeout replays the original response instead of buying a second screening. With adverse media on, the API waits for enrichment, so set a client timeout of at least 60 seconds.

curl -X POST 'https://verification.didit.me/v3/aml/' \
  -H "x-api-key: $DIDIT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: user-1234-2026-11-26" \
  -d '{
  "full_name": "Javier Ejemplo Modelo",
  "entity_type": "person",
  "date_of_birth": "1974-01-01",
  "nationality": "ES",
  "include_adverse_media": true,
  "include_ongoing_monitoring": true,
  "save_api_request": true,
  "vendor_data": "user-1234"
}'
The AML screening section of a session in the Didit Business Console showing the lists checked and the result
Each screening with save_api_request=true is stored as a session, so the evidence is retrievable months later by session id.

Step 4. Retrieve the decision and keep the fields that make it evidence

curl https://verification.didit.me/v3/session/SESSION_ID/decision/ \
  -H "x-api-key: API_KEY"

The payload carries the fields an auditor will ask for. decision_trace records how the status was reached: decided_by (manual, automatic or investigator), decided_at, automatic_status, terminal_node_id, actor, warning_counts and status_warnings. reviews contains manual-review activity. status_override is set when a reviewer changed the status by hand and preserves automatic_status next to overridden_at. aml_screenings holds the screening results, biometric_retention gives the date live biometric data is deleted, and linked_records summarises same-face and earlier verifications. Store the session id with your own user id, which comes back as vendor_data.

The score breakdown of one AML hit in the Didit Business Console, showing match score and risk score
The score breakdown is the part a reviewer cites when defending an approve or a decline.

Step 5. Subscribe to status changes and verify the signature

Register a destination for status.updated and verify X-Signature-V2, an HMAC-SHA256 over the sorted canonical JSON, using the raw body before any parsing. Reject a request whose X-Timestamp is more than 300 seconds from now, and compare signatures in constant time against the header and its -Previous counterpart during a secret rotation. Return 2xx quickly and process the event idempotently. Investigator events matter for the trail too: investigator.decision.automated, investigator.decision.overridden, investigator.decision.contested and investigator.automation.paused tell you when a machine decided and when a person stepped in.

Step 6. Route In Review cases to a person and record the override

In Review is not an error. It means a hit scored above the approve threshold and at or below the review threshold, and a human must act. reviews contains manual-review activity for the session, and a manual status change writes status_override with the automatic status kept alongside. That pair is what an auditor wants: what the system would have done, and what the person did instead, both dated.

The details of an AML hit in the Didit Business Console with the matched record and review actions
Review actions are retained with the session record, so the reasoning travels with the case.

Step 7. Produce the evidence pack and set retention

The PDF renders the session: identity OCR, liveness, face match, AML, proof of address, IP analysis, reviews and events, with your logo and privacy policy when white label is enabled. The session must be Approved, Declined or In Review first, otherwise the call returns 403. Add ?language=es or another of the supported values to print the report in that language.

curl https://verification.didit.me/v3/session/SESSION_ID/generate-pdf/ \
  -H "x-api-key: API_KEY" \
  -o report.pdf

Then check two windows, not one. Didit retention is the window on our side: 1 year of data on Free, 5 years on Growth, up to 10 years on Scale, custom on Enterprise. Exports you store yourself follow your own retention policy. Didit-held records follow the retention window of your plan.

Expected output

The documented response includes request_id and an aml object containing status, screening_id, hits and warnings. The documented shape is:

{
  "request_id": "...",
  "aml": {
    "status": "...",
    "screening_id": "...",
    "hits": [ ... ],
    "warnings": [ ... ]
  }
}

aml.status is one of Not Started, In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. Warnings use codes such as POSSIBLE_MATCH_FOUND, MATCH_FOUND, HIGH_RISK_COUNTRY, ADVERSE_MEDIA_HIT, SANCTIONED_ENTITY, PEP_MATCH and ONGOING_MONITORING_ENABLED. A warning fires whenever the score is non-zero and at or above the approve threshold; a score of exactly 0 never warns.

Failure cases and recovery

What can go wrong on the trail, and how to recover
Response or stateMeaningRecovery
400The three match weights do not sum to exactly 100Fix the weights. The sum is enforced on every request.
400include_ongoing_monitoring sent without save_api_requestSet save_api_request to true. Monitoring needs a stored profile.
403Credit balance is short, refused before any screeningTop up or wait for the next monthly credit. Nothing was billed.
409The same Idempotency-Key reused with a different bodySend a new key for a new body. Reuse the key only for an identical retry.
Client timeoutAdverse media enrichment ran longRetry with the same key. A completed original is replayed and not billed again.
Result without adverse media hitsThe upstream provider was slowThe result is still actionable. Re-screen if adverse media is a hard control for that segment.
Declined or In ReviewScores crossed your thresholds, not an API errorDeclined closes the check. In Review routes to the manual queue in Step 6.
403 on the PDFThe session is not Approved, Declined or In ReviewGenerate after the decision lands. In-progress sessions are not printable.
404 on the decision or PDFThe session belongs to another applicationCheck that the key and the session come from the same application. Cross-application reads return 404.
Sandbox returns Approved with zero hitsSandbox keys skip screening and billingPass sandbox_scenario to arm a scenario before the session runs.

Inputs and outputs

Inputs you send and outputs you keep for one AML screening
FieldDirectionWhat it does
full_nameIn, requiredThe person or company to screen. Minimum 2 characters.
entity_typeInPerson or company.
date_of_birthInFeeds the date-of-birth weight in the match score.
nationalityInFeeds the country weight and the country risk signal.
include_adverse_mediaInAdds an initial pause of about 5 seconds plus up to about 25 seconds of polling.
include_ongoing_monitoringInKeeps the profile under provider-driven monitoring. Requires save_api_request true.
save_api_requestIn, defaults trueStores the screening as a session so the decision and the PDF stay retrievable.
vendor_dataInYour own user id, echoed back on the session and in webhooks.
Idempotency-KeyIn, headerMakes a retry safe and stops a duplicate charge.
request_id and screening_idOutThe correlation ids you store with the customer record.
aml.status and aml.warningsOutThe decision and the risk codes behind it.
hits[].match_score and hits[].risk_scoreOutIdentity confidence and entity risk, each 0 to 100, with review_status on each hit.
decision_trace, reviews, status_overrideOutHow the status was reached, by whom, and whether a person changed it.
PDF reportOutBinary application/pdf, named session_ for KYC and business_ for KYB.

Every line is billed when it completes with a result, and each has a different owner for the decision. Ongoing monitoring is a yearly line per person, on top of the one-off $0.20 screening, so a customer screened in January and monitored all year is billed both.

What you pay for and who is accountable for the decision
LinePriceDecision owner
Full ID check, KYC$0.33 per checkAutomatic
AML screening$0.20 per checkAutomatic, within your thresholds
Ongoing AML monitoring$0.07 per person per year, separate from the first screeningProvider-driven re-screening, dated every day
Investigator agentIncluded on the Growth plan, with no separate unit price quoted hereThe agent acts inside policy, and a person can override it
Custom questionnaires$0.10 per checkConfigured by your workflow

The boundary sits at the thresholds. Hits below the match threshold are false positives and are ignored for risk, which is the part of L1 alert triage automation you can defend. Above the review threshold the status is Declined. Above the approve threshold and at or below the review threshold, the status is In Review and a person must act. When a person acts differently from the automation, the record keeps both: decision_trace.decided_by says who decided, status_override.automatic_status says what the machine wanted, and the investigator.decision.overridden webhook tells your own systems. If automation pauses, either by a person or at the monthly spending limit, investigator.automation.paused fires and the queue falls back to manual work.

Investigation workflows and complete audit trails for regulatory reporting

Review happens in the Business Console, where the session shows AML hits with their scores, and the session carries the review activity. Scheduled reports and full case management with routing arrive on Scale; Growth adds case management with one blueprint and the Investigator agent. For a regulator request such as every customer from one jurisdiction onboarded last quarter, you filter in the Console and export the session PDFs from the same sessions the decisions came from.

Worked cost example

Take 5,000 new users a month, each with a full ID check and an AML screening, all kept under ongoing monitoring for a year. Every figure below is a published unit price from the live feed, and the arithmetic is shown.

  • Full ID check: 5,000 x $0.33 = $1,650.00 a month.
  • AML screening: 5,000 x $0.20 = $1,000.00 a month.
  • Monthly check subtotal: $1,650.00 + $1,000.00 = $2,650.00.
  • Ongoing AML monitoring, billed per person per year and separate from the one-off screening: 5,000 x $0.07 = $350.00 for the first year.
  • Year one at list price: ($2,650.00 x 12) + $350.00 = $31,800.00 + $350.00 = $32,150.00.

On Growth the Didit prices carry a 4% discount: $0.33 becomes $0.3168 and $0.20 becomes $0.192, so a user costs $0.3168 + $0.192 = $0.5088 and the monthly subtotal is 5,000 x $0.5088 = $2,544.00. Monitoring becomes $0.0672 per person, or 5,000 x $0.0672 = $336.00 a year. Year one on Growth: ($2,544.00 x 12) + $336.00 = $30,528.00 + $336.00 = $30,864.00, before the $99 monthly plan fee. Cases that need a human review or a follow-up are covered by the Growth plan fee, which includes the Investigator agent, so this example stops at the check prices.

Sources

Next step: open the sandbox at business.didit.me, run one screening with a saved session, and pull the decision and the PDF. No sales call, and nothing is billed in sandbox.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is an AML audit trail?

It is the chronological record of the AML checks run on a customer and the decisions taken on the results. A usable one shows the identity evidence, the lists screened, the match score and risk score per hit, the reviewer, the timestamps, and the date biometric data is deleted. A status alone is not an audit trail.

How do I automate AML alert triage at L1?

Let the match score clear the obvious false positives before a person sees them. In Didit, hits below aml_match_score_threshold (93 by default) are tagged review_status: "False Positive" and excluded from risk. The remaining hits determine risk, which can produce Approved, In Review or Declined under your thresholds, and what a reviewer does is written back to the session.

How do I automate AML reporting for a regulator?

Keep the decision payload and generate the report from the same session. GET /v3/session/{id}/decision/ returns the structured record including decision_trace and status_override, and GET /v3/session/{id}/generate-pdf/ returns an audit-ready PDF for sessions that are Approved, Declined or In Review. Both read the same session, so the file and the JSON never disagree.

What AML automation opportunities are worth doing first?

Start with the record you already have to produce: screening, scoring and the review log. Then add ongoing monitoring at $0.07 per person a year, because re-screening creates the dated history a regulator asks for over time. Automate the report export last, once the fields you keep are settled.

How do I automate AML compliance workflows across KYC and screening?

Put the checks in one workflow instead of separate vendors. A Didit workflow can run the ID document, liveness, face match, device and IP analysis and AML screening as steps of one session, and the decision payload returns them as separate feature arrays such as id_verifications, liveness_checks and aml_screenings. One session id then covers the whole customer file, and the Workflow Orchestrator carries no charge.

What makes an IDV system AML compliant?

Three things: it identifies the person, it screens that person against sanctions, PEP and watchlist sources, and it keeps a dated record of both with the decision. Didit runs the ID check at $0.33 and the AML screening against 1,300+ lists at $0.20, and stores the result as a session you can retrieve or print. The compliance part is the retention and review discipline around those records, not the check alone.

How do Didit audit logs differ from the session decision?

The session decision is the customer record: what was checked and how it was decided. Audit logs are the organization record: API activity you can filter by user, method, status and date range, useful for security review and for proving who accessed a file. You need both in an AML audit, and the audit log window depends on the plan.

How long are AML records kept in Didit?

Didit retention is set by plan: 1 year of data and a 30-day audit log on Free, 5 years and a 1-year audit log on Growth, up to 10 years and a 3-year audit log with export on Scale, and custom retention on Enterprise. FATF Recommendation 11 asks for at least five years, so a Free plan needs your own export routine, and anything you export and store yourself follows your own retention policy, not ours. Growth covers five years of data retention. Scale extends retention up to 10 years and provides a 3-year audit log with export.

Can Didit analyze SWIFT activity?

The supplied Didit documentation does not describe SWIFT analysis. Join your own SWIFT records to Didit records using vendor_data, the customer reference you send on the session and get back on the decision and in webhooks. That keeps one customer key across both systems.

How do I test an AML audit trail without spending credit?

Use the sandbox: sandbox testing is free and unlimited on every plan. Sandbox keys skip screening and billing and return Approved with zero hits unless you pass sandbox_scenario to arm a scenario. save_api_request works the same as on live keys, so a saved sandbox screening is retrievable through the decision and PDF endpoints, which is enough to rehearse the whole trail before the first live customer.

Does Didit replace my case management system?

No. Didit holds the verification and screening record, the review actions and the reports, and the webhooks push state changes into whatever system you already run. Growth adds case management with one blueprint and Scale adds full case management with routing, so the answer depends on how much of the investigation you want to keep in one place.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.