AVAILABLE

AP Controls

AP Match

Read-only two-way and three-way matching with line-level evidence and exceptions.

CONTRACT

Predictable for agents. Legible for reviewers.

REST
POST /v1/invoices/{id}/match
MCP tool
match_invoice
Inputs
An analyzed invoice plus exactly one purchase-order ID or PO number; optionally choose TWO_WAY or THREE_WAY.
Returns
A CLEAR, REVIEW_REQUIRED, or BLOCKED decision, line results, and specific matching exceptions.
Latency
Usually under a second
Usage unit
Match run

AGENT-READABLE EXCEPTIONS

VENDOR_MISMATCHRECEIPT_MISSINGINVOICE_LINE_INCOMPLETEPRICE_VARIANCEQUANTITY_EXCEEDS_RECEIVED

EXAMPLE REQUEST

POST /v1/invoices/inv_01.../match
Authorization: Bearer apc_...
Content-Type: application/json

{
  "purchase_order_number": "PO-2048",
  "mode": "THREE_WAY"
}

REPRESENTATIVE RESPONSE

{
  "id": "match_01...",
  "invoice_id": "inv_01...",
  "purchase_order_number": "PO-2048",
  "mode": "THREE_WAY",
  "decision": "CLEAR",
  "line_results": [
    {
      "line": 1,
      "status": "MATCHED"
    }
  ],
  "exceptions": []
}
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 AP Match with your own workflow.

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