Finance expense risk checks
The signals that flag an expense claim for a closer look, how the score is weighted, who sees the reasons, and what a high score does.
Risk checks look at every expense when its report is submitted (and when an expense is paid from an advance) and say why a claim deserves a second look. They are deterministic, never call a model, and are advice: a score does not block a claim by itself.
The signals
Each signal has a weight; the score is their sum, at most 100.
| Signal | Raised when | Default weight |
|---|---|---|
duplicate_expense |
another claim, by anyone, has the same merchant, amount, currency and day | 50 |
duplicate_receipt |
the same receipt is on another expense | 70 |
duplicate_payable |
a bill from the same merchant has the same amount within three days | 40 |
typed_differs |
what was typed differs from what Capture read on the receipt (amount, currency, date or merchant) | 30 |
split_under_threshold |
claims by one member at one merchant within a day each stay under the category's receipt threshold and together reach it | 35 |
round_amounts |
this and at least two other claims by the member in the last 90 days are round (whole multiples of ten) | 15 |
consecutive_days |
the same member claims the same merchant on the day before or after | 10 |
weekend |
spent on a Saturday or Sunday | 10 |
frequency |
six or more claims in the 30 days to this one, at least three times the member's own monthly average of the 90 days before | 20 |
merchant_category |
a merchant name that is rarely a business expense (casino, betting, nightclub, jewellery, gift cards and similar) | 25 |
Duplicates are compared across members, reports and bills, and a rejected claim is not counted. Out-of-hours spend and the card feed are not checked yet: an expense stores a date, not a time, and the card feed has no expense link.
What a score does
- The score and its reasons are stored on each line and shown to approvers, controllers and auditors on the report. The member whose claim it is does not see them.
- At or above the threshold (default 60), one
expense_riskitem is raised in the exceptions queue for the report (or the expense, when it is on none), and the claim leaves bulk approval until the item is resolved or waived. - If an organisation sets block_above, a submission with a line at or above it is held as a draft with the reason, like a policy block. By default nothing blocks.
Settings
finance_riskconfig_update (a controller) changes the weights (whole numbers 0 to 100, only the signals you give; 0
turns a signal off), the threshold (1 to 100) and block_above (1 to 100, or null for never). finance_riskconfig_get
shows them with the defaults.
Check again
finance_expense_check runs the checks again on one expense or a whole report against what is on file now, stores the
result and raises the item again if the score still reaches the threshold (once per subject: it does not pile up).
The report
finance_riskreport_get (controller or auditor, for the entities they may audit) shows, for a window of spend dates
(default 90 days): the flag rate per signal, exceptions by department (the member's cost centre) and by entity,
overrides by approver (risk items waived or resolved), and members whose claims were flagged repeatedly.
Tools and API
| Tool | Finance action | REST |
|---|---|---|
finance_expense_check |
expenses.read |
POST /api/v1/finance/expense-risk-checks |
finance_riskreport_get |
audit.read |
GET /api/v1/finance/expense-risk-report |
finance_riskconfig_get |
expenses.read |
GET /api/v1/finance/expense-risk-settings |
finance_riskconfig_update |
reference.write (finance:admin) |
PUT /api/v1/finance/expense-risk-settings |
Every change is recorded on the audit trail.