Invoice fraud auditing

From XuShuwenn/RedAct · View interactive version

Invoice fraud auditing is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Detect fraudulent invoices by parsing PDFs, fuzzy-matching vendor names, and cross-validating IBANs and purchase orders to produce a JSON report of flagged invoices.

How to use this skill

Skill file

Invoice Fraud Auditing

Reusable workflow to extract invoice fields from PDFs, match vendor names (with fuzzy tolerance), cross-check IBAN and PO data, and output a JSON report of only the flagged invoices with prioritized reasons.

When to Use

Use this skill when you must:

Core Workflow

1) Ingest all sources

2) Extract invoice fields from PDF

3) Normalize and fuzzy-match vendor names

4) Build lookups for constant-time checks

5) Apply fraud checks in strict priority order

For each invoice, evaluate in this order and stop at the first reason that applies:

Notes:

6) Output JSON report

Verification

Perform these checks before finalizing:

Common Pitfalls (and Concrete Preventive Checks)

Optional Script Usage

A reusable toolkit is provided in scripts/invoice_fraud_toolkit.py with CLI support.

Example:

Key options:

The script will:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.