# Suede Agent Studio: PO Match Gate Agent

> Suede Agent Studio: PO Match Gate Agent is a paid API for AI agents from agents.suedeai.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Runs a purchase-order matching agent that compares an invoice against a PO and flags discrepancies, returning a hold/approve status with itemized delta details.

## Facts

- Endpoint: POST https://agents.suedeai.ai/api/agents/po-match-gate-mkgu0/run
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/suede-agent-studio-po-match-gate-agent-09f2a96d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z774DPTFkkX2zgJ3kycgZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability suede-agent-studio-po-match-gate-agent-09f2a96d -d '<json body>'
```

Example prompt: Check this invoice against the approved PO — the invoice has a unit price of $2.65 but the PO says $2.50, with 100 units ordered — tell me if it should be held for buyer approval or cleared, and list any discrepancies.

## When to prefer this

Choose this endpoint when you need an AI-powered, payment-gated PO matching decision that produces a structured hold/approve verdict with itemized discrepancy details. It is best suited for accounts payable automation workflows where invoices need to be validated against approved POs before payment, especially when you want an auditable on-chain settlement record via x402. Prefer this over manual AP review or generic LLM prompts when you need a reproducible, cost-tracked matching decision with structured JSON output.

## Known failure modes

- Missing or malformed invoice/PO data causes agent to return an error or incomplete match result
- Price delta calculation errors if currency formats are inconsistent between invoice and PO
- Payment settlement failure via x402 if wallet balance is insufficient, blocking the run
- Agent returns hold status incorrectly if threshold configuration is missing or ambiguous
- Network timeout if the agent takes too long to process complex multi-line POs

## How this service works

Build AI agents and publish explicit preview, payment-enabled, or unavailable state. Settled x402 calls route to your wallet.

## Output

Returns a JSON object containing the payer address, a unique run ID, a result object with a status field (hold or matched), a boolean matched flag, a human-readable note explaining the decision, and an array of discrepancy strings listing each mismatched line item with delta amounts. Also includes settlement metadata: transaction hash, settled boolean, and total cost in USDC.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json",
 "example": {
  "payer": "0xabc",
  "runId": "run_123",
  "result": {
   "note": "Hold for buyer approval because the invoice exceeds the PO price.",
   "status": "hold",
   "matched": false,
   "discrepancies": [
    "Unit price is $2.65 on the invoice and $2.50 on the PO; delta $15.00."
   ]
  },
  "status": "done",
  "outputs": {},
  "settled": true,
  "transaction": "0x123",
  "totalCostUsdc": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/suede-agent-studio-po-match-gate-agent-09f2a96d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.suedeai.ai](https://www.zero.xyz/host/agents.suedeai.ai/llms.txt)
