SYNTHETIC PROOF WALKTHROUGH

Catch an invoice total that does not reconcile to its supplied lines

A synthetic invoice-validation result with deterministic arithmetic evidence and a reviewer-ready next action.

NO KEY · NO UPLOAD · NO CUSTOMER DATAThis demonstration runs entirely in your browser using the visible synthetic fixture below.

THREE STEPS

Put the control before the consequential action.

The supplied invoice total is 25.00 USD while its supplied line calculates to 20.00 USD.

  1. 01

    Supply normalized invoice fields

    The caller provides the invoice header and line values already authorized for its workflow.

  2. 02

    Recalculate deterministically

    The control recomputes supplied line arithmetic and compares the result with the supplied invoice total.

  3. 03

    Route the exact difference

    A mismatch returns REVIEW_REQUIRED with the supplied and calculated values instead of guessing a correction.

VISIBLE SYNTHETIC CONTRACT

Inspect exactly what the workflow sees.

The input and output are representative of the named product contract. Copy them into an architecture note, test fixture, or internal review—never treat this browser-only demonstration as a live control result.

Customer-authorized input
{
  "invoice": {
    "vendor_name": "Northstar Supply",
    "invoice_number": "INV-2201",
    "invoice_date": "2026-08-10",
    "currency": "USD",
    "total": "25.00",
    "line_items": [
      {
        "description": "Replacement filter",
        "quantity": "1",
        "unit_price": "20.00"
      }
    ]
  }
}
Agent-readable output
{
  "status": "COMPLETED",
  "decision": "REVIEW_REQUIRED",
  "exceptions": [
    {
      "code": "INVOICE_TOTAL_MISMATCH",
      "severity": "HIGH",
      "message": "The invoice total does not equal the supplied line-item total.",
      "evidence": {
        "supplied_total": "25.00",
        "calculated_line_total": "20.00"
      }
    }
  ],
  "next_action": "Reconcile the source lines and total before routing the invoice."
}

WHAT THIS PROVES

Evidence for a stop point—not permission to act.

Invoice Validate checks supplied fields and arithmetic only. It does not retrieve an invoice, change a total, approve a bill, or write to an accounting system.

Decision
REVIEW_REQUIRED
Named exception
INVOICE_TOTAL_MISMATCH
Evidence
supplied total25.00calculated line total20.00
Next action
Reconcile the source lines and total before routing the invoice.

KEEP BUILDING

Move from the synthetic fixture to the exact API contract.

Review the product inputs, outputs, errors, and safety boundary before using authorized data. The related implementation guide explains the design decisions behind the control.

Product contract →Implementation guide →Security posture →

Try the control through the supported buyer path.

RapidAPI provides the subscription, key, quota, and capped marketplace plan for this synchronous control.