QuickBooks Invoice Anomaly Detector

AI-powered weekly invoice anomaly detection — duplicates, amount outliers, new vendor risk, line item issues, and overdue concentration with risk scoring and recommended actions.

Audits QuickBooks invoices and bills weekly against 90-day vendor baselines. Detects 5 anomaly types: duplicate candidates, amount outliers, new vendor risk, line item anomalies, and overdue concentration. Produces risk-scored audit brief in Notion and high-severity alerts in Slack. 27-node n8n workflow with Monday scheduler. Blueprint Quality Standard (BQS) 12/12 certified. We built this after a controller found a duplicate invoice three weeks after it was paid — buried in a batch of 200. The detector scans invoices for anomalies: duplicates, unusual amounts, missing PO numbers, and off-pattern vendor charges.

Last updated March 18, 2026

Small and mid-size businesses write off 1-3% of revenue to invoice anomalies — duplicate charges, missed payments, and aging receivables that slip past manual review. Automated invoice analysis catches discrepancies within hours of occurrence, not at month-end reconciliation.

triggerSchedule01FetcherQuickBooks API02Assembler5 Anomaly Types03AnalystRisk Scoring04FormatterBrief + AlertNotionAnomaly BriefSlackRisk Alerts

Four Agents. Weekly Invoice Audit. Five Anomaly Types.

The Fetcher

Step 1The Fetcher

Code-only

Retrieves invoices from QuickBooks Online API across the configurable lookback window — amounts, vendors, line items, dates, payment statuses, and customer details. Pulls historical invoice data for baseline comparison.

The Assembler

Step 2The Assembler

Code-only

What does The Assembler actually decide? Detects five anomaly types: duplicates (matching vendor + amount + date proximity), amount outliers (invoices exceeding statistical threshold per vendor), new vendor risk (first-time vendors with large invoices), line item anomalies (unusual quantities or unit prices), and overdue concentration (excessive overdue amount from a single customer).

The Analyst

Step 3The Analyst

Tier 2 Classification

This step exists because raw data alone is not enough. Risk-scores each detected anomaly based on financial impact, recurrence likelihood, and fraud indicators. Classifies severity as HIGH, MEDIUM, or LOW. Generates per-anomaly investigation recommendations with specific verification steps.

The Formatter

Step 4The Formatter

Tier 3 Creative

Without this step, upstream analysis sits idle. Generates a Notion invoice audit report with anomaly details, risk scores, and investigation recommendations, plus a Slack digest with high-risk anomalies requiring immediate attention.Our external cost analysis used the wrong model's pricing. Now every published cost figure comes from ITP measurements, not calculated estimates.

That's the full pipeline. Here's what it intentionally does NOT do — and why those boundaries exist.

What It Does NOT Do

×

Does not modify invoices or payments in QuickBooks — this is a read-only analysis tool

×

Does not make fraud determinations — it flags anomalies for human investigation

×

Does not work with QuickBooks Desktop — QuickBooks Online API only

×

Does not replace your accounts payable review process — it augments it with automated anomaly detection

×

Does not integrate with bank feeds — it analyzes invoice data only, not bank transactions

With those boundaries clear, here's everything that ships when you purchase.

The Complete Customer Success Bundle

9 files.

CHANGELOG.mdVersion history
README.mdSetup and configuration guide
docs/TDD.mdTechnical Design Document
quickbooks_invoice_anomaly_detector_v1_0_0.jsonn8n workflow (main pipeline)
schemas/assembler_output.jsonAssembler output schema
schemas/fetcher_output.jsonFetcher output schema
system_prompts/analyst_system_prompt.mdAnalyst system prompt
system_prompts/formatter_system_prompt.mdFormatter system prompt
workflow/qbiad_scheduler_v1_0_0.jsonScheduler workflow

The technical specifications below are ITP-measured, not estimated.

Tested. Measured. Documented.

Weekly 5-type invoice anomaly detection with per-anomaly risk scoring, investigation recommendations, and dual-channel delivery (Notion audit report + Slack high-risk alerts).

Tested on n8n v2.7.5, March 2026

QuickBooks Invoice Anomaly Detector v1.0.0──────────────────────────────────────────Nodes:        27 main + 3 scheduler (30 total)Agents:       4 (Fetcher, Assembler, Analyst, Formatter)LLM Calls:    2 per run (Analyst + Formatter)Model:        Sonnet 4.6 (SINGLE-MODEL)Trigger:      Schedule (weekly Monday 8:00 UTC) + WebhookPattern:      BATCH (weekly invoice audit)Tool A:       QuickBooks Online API (OAuth2) — invoicesTool B:       Notion (httpHeaderAuth) — invoice audit reportTool C:       Slack (httpHeaderAuth) — high-risk anomaly alertsITP:          8/8 records, 14/14 milestonesBQS:          12/12 PASSCost:         $0.03–$0.10 per run

What You'll Need

Platform

n8n 2.7.5+

Est. Monthly API Cost

~$0.03-0.10 per weekly run + QuickBooks subscription.

Credentials Required

  • Anthropic API
  • QuickBooks Online (OAuth2)
  • Slack (Bot Token, httpHeaderAuth Bearer)
  • Notion (httpHeaderAuth Bearer)

Services

  • QuickBooks Online account with API access
  • Anthropic API key
  • Notion workspace
  • Slack workspace (Bot Token with chat:write)

Setup Track

Quick Start

~15 min

All credentials live, n8n running

Full Setup

1–2 hrs

Needs API config + tables

From Scratch

2–4 hrs

No n8n, no credentials

QuickBooks Invoice Anomaly Detector v1.0.0

$199

one-time purchase

What you get:

  • 27-node main workflow + 3-node scheduler
  • Weekly invoice anomaly detection from QuickBooks Online data
  • 5 anomaly types: duplicates, amount outliers, new vendor risk, line item anomalies, overdue concentration
  • Per-anomaly risk scoring with HIGH/MEDIUM/LOW severity classification
  • Duplicate detection using vendor + amount + date proximity matching
  • Statistical outlier detection per vendor with configurable threshold
  • New vendor risk flagging for first-time vendors with large invoices
  • Line item anomaly detection for unusual quantities or unit prices
  • Overdue concentration alerts when a single customer exceeds threshold
  • Notion invoice audit report with anomaly details and investigation steps
  • Slack digest with high-risk anomalies requiring immediate attention
  • Configurable: lookback window, outlier threshold, duplicate proximity days
  • Full technical documentation + system prompts

Frequently Asked Questions

What are the five anomaly types?+

Duplicates: matching vendor + amount within configurable date proximity. Amount outliers: invoices exceeding 2 standard deviations from the vendor average. New vendor risk: first-time vendors with invoices above configurable threshold.

Does it detect fraud?+

It detects patterns commonly associated with invoice fraud (duplicates, new vendor large amounts, line item manipulation) and flags them for human investigation. It does not make fraud determinations — it provides risk scores and investigation recommendations. Always verify flagged anomalies through your normal accounts payable process.

What QuickBooks edition is required?+

QuickBooks Online (any edition with API access). The Fetcher uses the QuickBooks Online API v3 with OAuth2 authentication. QuickBooks Desktop is not supported.

Is there a refund policy?+

All sales are final after download. Review the Blueprint Dependency Matrix and prerequisites before purchase. Questions?

Read the full guide →

Related Blueprints