Omniscope Custom Views › benford

Benford Analysis

Spot the numbers that do not look natural. Benford's law screening for payments, invoices and expense claims, with the groups that stand out and the records behind them one click away.

Bar visokio-agents

Open the demo in Omniscope Download demo.ioz Sample data: payments.csv Source on GitHub

Items tagged visokio-agents are community examples built by Visokio's agents, to extend Omniscope's core blocks and views with popular, specialist and more unusual use cases, and to show what anyone, people or agents, can build on Omniscope. They are tested by automated tests and were run on a real Omniscope server. They were not reviewed by Omniscope's core team, so they are not on a par with the core blocks and views, which have years of manual, functional and unit tests behind them. About

Spot the numbers that do not look natural. Benford's law screening for payments, invoices and expense claims, with the groups that stand out and the records behind them one click away.

Live: 20,000 illustrative supplier payments. Overall the first digits look acceptable, but ranking approvers shows one far from Benford's law. Click an approver, then a digit, to select those payments.

The problem it solves

Auditors and fraud teams cannot check every payment. They need ways to find the few that deserve a closer look. One long-established test is Benford's law: in many real-world sets of amounts the leading digit is 1 about 30% of the time and 9 less than 5% of the time. Invented figures, amounts split to stay under an approval limit, and round sums all leave traces in the digits. The test is well known in audit, but it is usually run in specialist audit software or a spreadsheet, away from the rest of the data.

The Benford Analysis view runs it in an Omniscope report. It tests the digits, rates conformity with the standard thresholds, and ranks suppliers, approvers or branches by how far they depart. In the illustrative supplier payments above, the overall picture is acceptable, but one approver is far from the law. Filter to that approver and use the first-two-digits test, and the reason is plain: a spike at 46 to 49, just under a 5,000 approval limit.

Live: the first-two-digits test for that approver's payments: a spike at 46 to 49, just under a 5,000 approval limit.

Where it earns its place

The examples below are illustrative.

Team Amounts Looking for
Internal audit Supplier payments, journal entries Threshold avoidance, invented entries
Expenses and travel Expense claims Round or repeated amounts, split claims
Procurement Invoices by supplier Suppliers with unusual billing patterns
Insurance Claim amounts Claims kept under a referral limit
Finance and data teams Imported figures Data-entry and conversion problems

How to use it in Omniscope

  1. Bring the transactions into a workflow, one row per amount, with the fields you want to compare by (supplier, approver, branch).
  2. Connect it to a Report block, add a view and choose Benford Analysis.
  3. Set Amounts and, optionally, Compare by.
  4. Click the group that stands out, switch the Test to first two digits, and click the spiking digits to select those records.
  5. List them in a table view next to it, with dates, suppliers and descriptions, for follow-up.

Why do this in Omniscope

Data and options

One row per amount.

Option What it does
Amounts The values to test
Compare by Groups to rank by deviation
Test First digit, first two digits, second digit
Ignore values below Exclude small values
Include negatives Test negative values by size
Minimum values per group Groups with fewer values are not ranked
Values used Maximum records fetched

Tested with 500,000 values in 400 groups.

Tested

Focusing on one group
Focusing on one group
Running on the Omniscope server
Running on the Omniscope server

Reference

Fields it reads

NameTypeWhat it does
AmountsFIELDNaturally occurring values: payments, invoices, expense claims, transactions
Compare byFIELDOptional: rank groups by how far they depart from Benford, e.g. Supplier, Approver, Branch

Options

NameTypeWhat it does
TestCHOICEThe first-two-digits test is the most precise for spotting amounts kept under a limit
Ignore values belowNUMBERSmall values are usually excluded (default 10)
Include negativesTOGGLEAnalyse negative values by their absolute size (credit notes, refunds)
Minimum values per groupNUMBERGroups with fewer values are not ranked (default 100)
Values usedNUMBERMaximum records fetched (default 500,000)

Third-party libraries