Icon

Duplicate Invoice Detection

Duplicate Invoice Detection - Accounts Payable / Audit

This workflow helps to score invoices which may be duplicates based on the same amount but differing invoice numbers. The scoring helps the business focus on the highest likelihood duplicate pairs to minimize time spent on reviewing false positives (i.e. not real duplicates). It also helps focus on the highest value invoices which may have been double-paid.

Using a set of core business rules, several sets of potential duplicates are first found. In order to optimize time spent on investigating true duplicates, the list is scored/sorted so the most likely pairs are addressed first. This presents one example of a sorting application.

This use case was presented at the KNIME Spring Data Talks 2021 by Day5 Analytics Inc.

URL: KNIME Spring Data Talks 2021 https://www.knime.com/data-talks-spring-21-presentations
URL: Day5 Analytics Inc. https://www.day5analytics.com/
URL: Slide Deck (PDF Download) https://www.knime.com/sites/default/files/2021-03/finance-automation-knime-server.pdf

Annotations and comments
  • Duplicate Invoice Detection This simple workflow demonstrates a method to flexibly assess invoices based on how likely they are to be duplicates. It presents a ranked output based on the invoices' overall risk assessment. This is one of several solutions for scoring duplicate pairs for review. When deploying the workflow as a Data App, duplicate pairs can be quickly reviewed in a web-based browser and this workflow can be integrated into enterprise tools. Workflows can be scheduled to ensure ongoing monitoring, with intelligence passed on to recovery departments. For more information see the workflow metadata (View -> Description)
  • Data Access
  • Data Preprocessing
  • Fuzzy Matching To identify pairs of invoice numbers
  • Rank Duplicates, based on invoice number invoice amounts
  • Output: Send report to PDF Creates visualized table representation of the output data and saves as PDF report
  • Cleanup name
  • Keep the highest Ranking match
  • Calculate potential_duplicate_rank
  • Sort by potential_duplicate_rank
  • Set table colors
  • prepare
  • cleanup column
  • prepare for duplicate check
  • Match on Amount Only (simple match)
  • create Match ID
  • align dataset
  • Month 1 invoices
  • Month 2 Invoices
  • Filter for selected column
  • Remove nearest neighbor column
  • string distance
  • Sort columns
  • Loop through match_id
  • Calculate minimum distance per pair
  • Join using selected column to get match_id
  • Set same min distance for both values in match_id
  • Collect Results
  • Remove identical matches
  • Duplicate and rename selected column
  • Calculate nearest neighbors (insertion)
  • Sort rows by string distance
  • Calculate string distances
  • output a PDF report
  • A4 Page
  • Rank Potential Duplicates
  • Rank Invoice Amounts
  • Put invoice numbers next to each other
  • Display and Heatmap Ranked Potential Duplicates Each potential match is scored

Nodes

Extensions

Links