Flag possible duplicate invoices before they enter the approval queue

Autom Mate Team · Practical example

The same invoice can arrive by email and through a supplier portal. A useful first automation is to flag the possible duplicate and give finance enough context to decide.

Keep this as a review flow: it should not post, pay or delete invoices.

  1. Read the incoming reference. Capture the supplier identifier, invoice number, invoice date, currency and amount.
  2. Normalise for comparison. Remove accidental spaces and standardise case. Keep the original values alongside the comparison values.
  3. Search existing records. Use the finance system’s available action or API to look for the same supplier and invoice number. Compare amount and currency as supporting checks.
  4. Create a review item. Include both record links and the fields that matched. A similar amount alone is a weak match, not proof.
  5. Keep the decision. Let finance mark it as a duplicate, a correction or a separate valid invoice. Retain that decision for later checks.

Example: INV-2041 and INV-2041 from the same supplier are flagged together.

Done when: the duplicate sample is flagged, a genuine recurring invoice remains distinct, and the underlying accounting records are unchanged.

Connecting to an API

What makes duplicate checking difficult in your current process?