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.

Price and quantity exception

Exception reviewLive

Summit Peak HVAC Services · $6,780.00

What happened

The math is correct — that's exactly why this is dangerous to auto-approve on arithmetic alone. Two lines breach PO tolerance: a $250 unit-price overage and 6 unauthorized labor hours. Ledger Guard withholds the accounting draft and routes to both the finance manager (the $5,000.01–$25,000 band this invoice falls in) and AP.

Why it matters

An invoice that adds up correctly is not the same as an invoice that was authorized. Only PO and receipt evidence — not arithmetic — can confirm that.

Source document — page 1Rendered from extracted text

SUMMIT PEAK HVAC SERVICES

1180 Cordell Industrial Blvd · Dayton, OH 45402

Invoice #: SPH-40917

Invoice Date: 2026-08-01

Due Date: 2026-08-31

PO Reference: PO-10312

Bill To: Keystone Facilities Group — Brackenridge Commons

Supplier Tax ID: 61-3390871

Currency: USD

Description | Qty | Unit Price | Line Total

Emergency compressor unit replacement — Qty 1 @ $3,650.00 = $3,650.00

HVAC technician labor, emergency repair — Qty 14 hrs @ $145.00 = $2,030.00

Refrigerant recharge, R-410A 5lb — Qty 1 @ $380.00 = $380.00

Emergency dispatch / diagnostic fee — Qty 1 @ $230.00 = $230.00

Subtotal: $6,290.00

Sales Tax: $490.00

Total Due: $6,780.00

Remit to: Meridian Trust Bank, Acct ending 7742, Routing ending 3390

Extracted data
Line items (4)
DescriptionQtyUnit priceLine total
Emergency compressor unit replacement1$3650.00$3650.00
HVAC technician labor, emergency repair14$145.00$2030.00
Refrigerant recharge, R-410A 5lb1$380.00$380.00
Emergency dispatch / diagnostic fee1$230.00$230.00
Match evidence

Supplier identity

exact
Invoice tax ID
Approved master
61-3390871
61-3390871

Summit Peak HVAC Services · approved supplier since evidence on file, status approved.

Purchase order — PO-10312

partial

BRCK · not-to-exceed $5900 · status open

LineApproved qtyApproved price
Emergency compressor unit replacement1$3400
HVAC technician labor, emergency repair8$145
Refrigerant recharge, R-410A 5lb1$380
Emergency dispatch / diagnostic fee1$230

Goods / service receipt

c1000000-0000-4000-8000-000000000002 · received 2026-08-01 by R. Okafor · confirms 4 line(s)

Duplicate candidates

None found.

Control results (11)
  • Line-total recalculationPassed

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

  • Subtotal recalculationPassed

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

  • Tax and grand-total recalculationPassed

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

  • Supplier identity matchPassed

    Tax ID 61-3390871 matches the approved Summit Peak HVAC Services record exactly.

  • Remittance bank-detail comparisonPassed

    Extracted remittance block (Meridian Trust Bank, acct ending 7742) matches the approved supplier master exactly.

  • Normalized duplicate-identity matchPassed

    No matching supplier, invoice number, date, or amount found in invoice history.

  • Purchase-order statusPassed

    PO-10312 is open.

  • Unit-price tolerance — Emergency compressor unit replacementFailedBlocks auto-approval

    Invoiced $3650.00 vs. PO-10312 approved $3400 — $250.00 over, exceeding the lower-of-2%/$25 tolerance ($25.00 max allowed).

  • Quantity tolerance — HVAC technician labor, emergency repairFailedBlocks auto-approval

    Invoiced 14 vs. PO-10312 approved maximum 8 — 6 over, with no receipt recording the additional quantity. Quantity tolerance is zero without receipt evidence.

  • Matched PO line(s)Passed

    2 line(s) match PO-10312 within tolerance: Refrigerant recharge, R-410A 5lb, Emergency dispatch / diagnostic fee.

  • Embedded-instruction screeningPassed

    No instruction-shaped content detected in extracted text fields.

Proposed actionException review

Invoiced $3650.00 vs. PO-10312 approved $3400 — $250.00 over, exceeding the lower-of-2%/$25 tolerance ($25.00 max allowed). Invoiced 14 vs. PO-10312 approved maximum 8 — 6 over, with no receipt recording the additional quantity. Quantity tolerance is zero without receipt evidence.

Routed to

  • Finance manager
  • AP review team

Required next actions

  • Resolve: Invoiced $3650.00 vs. PO-10312 approved $3400 — $250.00 over, exceeding the lower-of-2%/$25 tolerance ($25.00 max allowed).
  • Resolve: Invoiced 14 vs. PO-10312 approved maximum 8 — 6 over, with no receipt recording the additional quantity. Quantity tolerance is zero without receipt evidence.

Accounting-system change

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

Policy version policy_2026.3 · workflow 3c7decbf-c925-4043-af79-3459ef4331f4. No payment is ever executed by this demo.

Audit history7.4s total · $0.0126 total
  1. Submission received
    16:22:02 UTC

    demo_scenario intake, submissionId sub_pipeline_price-quantity-exception_1786119721736.

  2. File validated
    16:22:04 UTC

    application/pdf, 1792 bytes, downloaded from storage.

  3. Structured extraction complete
    16:22:14 UTC

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

    7356ms · $0.0126

  4. Evidence coordinates aligned
    16:22:15 UTC

    27 of 28 fields aligned against the real document text layer; 1 unresolved.

  5. Arithmetic recalculated
    16:22:15 UTC

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

  6. Supplier matched
    16:22:21 UTC

    Tax ID 61-3390871 matches the approved Summit Peak HVAC Services record exactly.

  7. Duplicate check complete
    16:22:21 UTC

    No matching supplier, invoice number, date, or amount found in invoice history.

  8. Bank-detail comparison: match
    16:22:21 UTC

    Extracted remittance block (Meridian Trust Bank, acct ending 7742) matches the approved supplier master exactly.

  9. PO matched — partial
    16:22:22 UTC

    PO-10312 is open. Invoiced $3650.00 vs. PO-10312 approved $3400 — $250.00 over, exceeding the lower-of-2%/$25 tolerance ($25.00 max allowed). Invoiced 14 vs. PO-10312 approved maximum 8 — 6 over, with no receipt recording the additional quantity. Quantity tolerance is zero without receipt evidence. 2 line(s) match PO-10312 within tolerance: Refrigerant recharge, R-410A 5lb, Emergency dispatch / diagnostic fee.

  10. Instruction screening
    16:22:22 UTC

    No instruction-shaped content detected in extracted text fields.

  11. Decision: exception review
    16:22:23 UTC

    Invoiced $3650.00 vs. PO-10312 approved $3400 — $250.00 over, exceeding the lower-of-2%/$25 tolerance ($25.00 max allowed). Invoiced 14 vs. PO-10312 approved maximum 8 — 6 over, with no receipt recording the additional quantity. Quantity tolerance is zero without receipt evidence.

  12. Replayed submission
    16:22:27 UTC

    submissionId sub_pipeline_price-quantity-exception_1786119721736 was already processed — returned the existing workflow result without creating a new job.