# Supplier Payment Decision Agent – Three-Way Match Check

> Supplier Payment Decision Agent – Three-Way Match Check is a paid API for AI agents from supplier-payment-verifier-production.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-16).

Performs a three-way match (invoice vs purchase order vs goods receipt) for an Irish supplier, returning EXECUTE, REJECT, or FLAG with a reason code.

## Facts

- Endpoint: POST https://supplier-payment-verifier-production.up.railway.app/v1/checks/three-way-match?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/supplier-payment-decision-agent-three-way-match-check-b842e481
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pmEb0yxzicg3CfsPZtpZO

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 supplier-payment-decision-agent-three-way-match-check-b842e481 -d '<json body>'
```

Example prompt: Before we pay this Irish supplier, run a three-way match check: here's the invoice for €12,400 from Murphy & Sons Ltd (CRO number IE123456), the purchase order PO-2024-0881, and the goods receipt GR-2024-0553 — tell me whether to EXECUTE, REJECT, or FLAG the payment.

## When to prefer this

Use this endpoint when your agent needs to automate accounts payable decisions for Irish suppliers and requires a structured EXECUTE/REJECT/FLAG verdict combining invoice, purchase order, and goods receipt data. Prefer this over manual review or simpler IBAN/VAT checks alone when you need full three-way procurement matching with CRO and VIES compliance validation in a single call. Ideal for agentic finance workflows where human-in-the-loop approval is too slow but unverified payments are too risky.

## Known failure modes

- Missing or malformed invoice/PO/goods receipt objects returns a 422 validation error
- Supplier CRO number not found in Irish CRO registry causes a REJECT outcome
- Amount or quantity mismatch between invoice and PO/goods receipt results in FAILED outcome with reason code
- x402 payment not included or insufficient USDC balance causes a 402 Payment Required response
- Upstream CRO or VIES service unavailable may cause a timeout or 503 error

## How this service works

An independent third-party agent that tells your agent whether to pay an Irish supplier invoice: EXECUTE, REJECT or FLAG. CRO, VIES, IBAN, 3-way match and signature checks. From $0.005 per call in USDC on Base (x402). No account.

## Output

Returns a JSON object with: the check type (THREE_WAY_MATCH), outcome (PASSED, FAILED, or FLAG), a reason_code explaining the decision, and a checked_at ISO 8601 timestamp. The calling agent uses the outcome to decide whether to EXECUTE, REJECT, or FLAG the payment for human review.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "invoice": {
   "$ref": "#/$defs/Invoice"
  },
  "goods_receipt": {
   "$ref": "#/$defs/GoodsReceipt"
  },
  "purchase_order": {
   "$ref": "#/$defs/PurchaseOrder"
  },
  "supplier_cro_number": {
   "type": "string",
   "title": "Supplier Cro Number",
   "maxLength": 16,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "check": "THREE_WAY_MATCH",
  "outcome": "PASSED",
  "checked_at": "2026-10-15T12:00:00Z",
  "reason_code": "THREE_WAY_MATCH"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/supplier-payment-decision-agent-three-way-match-check-b842e481/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from supplier-payment-verifier-production.up.railway.app](https://www.zero.xyz/host/supplier-payment-verifier-production.up.railway.app/llms.txt)
