AVAILABLE

AP Controls

Invoice History Search

Search the caller's invoice baseline with transparent scores and match bases.

CONTRACT

Predictable for agents. Legible for reviewers.

REST
POST /v1/invoice-history/search
MCP tool
search_invoice_history
Inputs
A normalized invoice and an optional result limit from 1 to 20.
Returns
Same-organization candidates with an explainable score and match basis.
Latency
Synchronous
Usage unit
History search

EXAMPLE REQUEST

POST /v1/invoice-history/search
Authorization: Bearer apc_...
Content-Type: application/json

{
  "invoice": {
    "vendor_name": "Northstar Supply",
    "invoice_number": "INV-1042",
    "invoice_date": "2026-08-09",
    "currency": "USD",
    "total": "1250.00"
  },
  "limit": 5
}

REPRESENTATIVE RESPONSE

{
  "matches": [
    {
      "invoice_id": "inv_previous...",
      "invoice_number": "INV-1042",
      "vendor_name": "Northstar Supply",
      "total": "1250.00",
      "currency": "USD",
      "invoice_date": "2026-08-09",
      "score": 1,
      "basis": "exact normalized fields"
    }
  ],
  "next_action": "Compare the highest-scoring candidate before routing."
}
Structured outputStatus, decision, exceptions, evidence, confidence, and next action where relevant.
Tenant-scopedOnly the caller's organization records are searched or returned.
Read-onlyNo accounting record, vendor bank account, or payment is changed.

Try Invoice History Search with your own workflow.

Start with the trial workspace, inspect the result, then integrate with REST or MCP.