Live pipeline · real Claude extraction

AP workbench

Pick a scenario. Every field below is either read off the document or computed by deterministic code — click a field to see where it came from.

Probable duplicate

Duplicate holdLive

Anchor Point Pest Control · $1,240.00

What happened

The file itself looks new — different name, different hash — but the invoice's identity (supplier, invoice number, date, total) is identical to one already on file. Ledger Guard holds it before any approval task or accounting draft is created.

Why it matters

A renamed rescan is exactly the kind of duplicate that slips past file-hash-only checks. Identity-based duplicate detection catches what hash comparison alone would miss.

Source document — page 1Rendered from extracted text

ANCHOR POINT PEST CONTROL

902 Willowmere Ave · Springfield, OH 45503

Invoice #: APC-88213

Invoice Date: 2026-07-18

Due Date: 2026-08-17

Service Category: Recurring pest control (non-PO)

Bill To: Keystone Facilities Group — Millhaven Retail Center

Supplier Tax ID: 29-8801145

Currency: USD

Description | Qty | Unit Price | Line Total

Monthly pest control service — Qty 1 @ $1,240.00 = $1,240.00

Subtotal: $1,240.00

Sales Tax: $0.00

Total Due: $1,240.00

Remit to: Anchor Point Pest Control, Acct ending 5510, Routing ending 1188

Extracted data
Line items (1)
DescriptionQtyUnit priceLine total
Monthly pest control service1$1240.00$1240.00
Match evidence

Supplier identity

exact
Invoice tax ID
Approved master
29-8801145
29-8801145

Anchor Point Pest Control · approved supplier since evidence on file, status approved.

Purchase order

No PO reference — matched as a recurring non-PO service category instead.

Duplicate candidates

fadd2ab6-b085-4be1-b975-e83f5f4492c2exact match

Recorded 2026-07-19 from APC_Invoice_88213_July.pdf

  • supplier_id_exact
  • invoice_number_normalized_exact
  • invoice_date_exact
  • total_amount_exact
4d911bb0-2e49-4061-89aa-984181266bb9exact match

Recorded 2026-07-19 from APC_Invoice_88213_July.pdf

  • supplier_id_exact
  • invoice_number_normalized_exact
  • invoice_date_exact
  • total_amount_exact
Control results (6)
  • Line-total recalculationPassed

    All 1 line total(s) recompute exactly from quantity × unit price.

  • Subtotal recalculationPassed

    Sum of line totals equals the printed subtotal of $1240.00.

  • Tax and grand-total recalculationPassed

    Subtotal + tax equals the printed total of $1240.00 exactly.

  • Supplier identity matchPassed

    Tax ID 29-8801145 matches the approved Anchor Point Pest Control record exactly.

  • Normalized duplicate-identity matchFailedBlocks auto-approval

    Supplier, normalized invoice number (APC-88213), invoice date (2026-07-18), and total ($1240.00) all match invoice fadd2ab6-b085-4be1-b975-e83f5f4492c2, already recorded 2026-07-19 as "APC_Invoice_88213_July.pdf".

  • Embedded-instruction screeningPassed

    No instruction-shaped content detected in extracted text fields.

Proposed actionDuplicate hold

Supplier, normalized invoice number (APC-88213), invoice date (2026-07-18), and total ($1240.00) all match invoice fadd2ab6-b085-4be1-b975-e83f5f4492c2, already recorded 2026-07-19 as "APC_Invoice_88213_July.pdf".

Required next actions

  • AP to confirm with the supplier whether this is a resend of an existing bill or a genuinely new billing period.
  • Do not create a second accounting draft for this invoice number.

Accounting-system change

Withheld — no draft is created until this invoice reaches ready for approval.

Policy version policy_2026.3 · workflow 7e147958-4183-4dae-b2b4-aee04e7d0f5d. No payment is ever executed by this demo.

Audit history5.5s total · $0.0094 total
  1. Submission received
    16:22:28 UTC

    demo_scenario intake, submissionId sub_pipeline_probable-duplicate_1786119747206.

  2. File validated
    16:22:30 UTC

    application/pdf, 1602 bytes, downloaded from storage.

  3. Structured extraction complete
    16:22:37 UTC

    Header and 1 line item(s) extracted to schema.

    5469ms · $0.0094

  4. Evidence coordinates aligned
    16:22:37 UTC

    15 of 16 fields aligned against the real document text layer; 1 unresolved.

  5. Arithmetic recalculated
    16:22:37 UTC

    All 1 line total(s) recompute exactly from quantity × unit price. Sum of line totals equals the printed subtotal of $1240.00. Subtotal + tax equals the printed total of $1240.00 exactly.

  6. Supplier matched
    16:22:41 UTC

    Tax ID 29-8801145 matches the approved Anchor Point Pest Control record exactly.

  7. Duplicate check: exact match found
    16:22:41 UTC

    Supplier, normalized invoice number (APC-88213), invoice date (2026-07-18), and total ($1240.00) all match invoice fadd2ab6-b085-4be1-b975-e83f5f4492c2, already recorded 2026-07-19 as "APC_Invoice_88213_July.pdf".

  8. Instruction screening
    16:22:41 UTC

    No instruction-shaped content detected in extracted text fields.

  9. Decision: duplicate hold
    16:22:42 UTC

    Supplier, normalized invoice number (APC-88213), invoice date (2026-07-18), and total ($1240.00) all match invoice fadd2ab6-b085-4be1-b975-e83f5f4492c2, already recorded 2026-07-19 as "APC_Invoice_88213_July.pdf".

  10. Replayed submission
    16:22:45 UTC

    submissionId sub_pipeline_probable-duplicate_1786119747206 was already processed — returned the existing workflow result without creating a new job.