Free AP review starter

AP Duplicate Payment SQL Checks

SQLite-compatible checks for finance, internal audit and data teams reviewing authorized accounts-payable exports for duplicate invoice payments, same-day same-amount payments and credit/cancelled markers.

Download SQL View repository Use GitHub Action Review use cases Share sanitized SQL feedback Request sanitized service scope

Use only with data you are authorized to review. Do not upload or share supplier names, bank details, invoices, contracts, personal data or account identifiers in public systems. Findings are review leads, not proof of overpayment.

Duplicate invoice keys

Normalizes invoice numbers and groups by vendor, currency and amount to surface repeated payments.

Same-day same-amount

Finds repeated vendor payments on the same invoice date even when invoice numbers differ.

Credit or cancelled markers

Flags paid rows with credit, cancelled, void or refund terms, plus negative amounts.

Run the test sample

Clone the repository and run python3 tests/run_checks.py or python3 scripts/audit_duplicate_payments.py examples/invoices.csv --output artifacts/sample-audit.json. The included CSV is synthetic and safe for local verification.

Run it in GitHub Actions

The repository includes a release-ready GitHub Action for scheduled or manual checks on authorized, sanitized CSV exports. Use BluePeakFoundry/ap-duplicate-payment-sql-checks@v0.2.1-marketplace-ready with csv-path, output-path and fail-on-findings.

The action outputs findings-count and report-path so teams can archive a private JSON review queue inside their own workflow run.

Never commit live supplier, banking, tax, invoice, account, personal or confidential information to a repository.

AP review use cases

Use the starter kit when an authorized export needs a quick first pass for duplicate invoice keys, same-vendor same-day payments, credit markers or private workflow planning.

Download the SQL starter or request sanitized workflow scoping. Share only generalized column names, approximate row counts and synthetic examples in public.

Safe feedback channel

If a check misses a pattern or creates a false positive, open the sanitized AP SQL feedback form. Use only synthetic examples or generalized column names; do not post supplier names, bank details, tax IDs, invoice images, contracts, personal data or confidential vendor information.

Sanitized service-scope request

For help planning an authorized AP CSV review or private workflow adaptation, open the sanitized service-scope form. Share only generalized column names, approximate row counts and synthetic examples. Do not post live supplier, banking, tax, invoice, account, customer, personal or confidential information.