{"x402Version":2,"name":"PO Match Gate","acceptsPayment":true,"previewAvailable":true,"publishedLive":true,"paymentState":"payment-enabled","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"50000","payTo":"0x10ff767043a1723e0bb5b9207bc37d3442cc9e4f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"input":{"purchaseOrder":"PO-9920: 100 widget-A units at $2.50, total $250.00.","invoice":"INV-7781 for PO-9920: 100 widget-A units at $2.65, total $265.00."}}},"output":{"type":"json","format":"application/json","example":{"runId":"run_123","status":"done","totalCostUsdc":0,"outputs":{},"result":{"matched":false,"status":"hold","discrepancies":["Unit price is $2.65 on the invoice and $2.50 on the PO; delta $15.00."],"note":"Hold for buyer approval because the invoice exceeds the PO price."},"settled":true,"transaction":"0x123","payer":"0xabc"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","additionalProperties":false,"required":["input","output"],"properties":{"input":{"type":"object","additionalProperties":false,"required":["type","method","bodyType","body"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json"]},"body":{"type":"object","additionalProperties":false,"required":["input"],"properties":{"input":{"type":"object","additionalProperties":false,"required":["purchaseOrder","invoice"],"properties":{"purchaseOrder":{"type":"string","minLength":1,"description":"Purchase-order text or structured JSON serialized as text."},"invoice":{"type":"string","minLength":1,"description":"Invoice text or structured JSON serialized as text."}}},"dryRun":{"type":"boolean"}}}}},"output":{"type":"object","additionalProperties":false,"required":["type","format","example"],"properties":{"type":{"type":"string","const":"json"},"format":{"type":"string","const":"application/json"},"example":{"type":"object","additionalProperties":false,"required":["runId","status","totalCostUsdc","outputs","settled"],"properties":{"runId":{"type":"string"},"status":{"type":"string","enum":["done","error"]},"totalCostUsdc":{"type":"number"},"outputs":{"type":"object","additionalProperties":true},"result":{"type":"object","additionalProperties":false,"required":["matched","status","discrepancies","note"],"properties":{"matched":{"type":"boolean"},"status":{"type":"string","enum":["pass","hold"]},"discrepancies":{"type":"array","description":"Every supported mismatch between the PO and invoice.","items":{"type":"string"}},"note":{"type":"string"}}},"settled":{"type":"boolean"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}}}}},"payoutSource":"creator","resource":{"url":"https://agents.suedeai.ai/api/agents/po-match-gate-mkgu0/run","description":"Compare one purchase order with its invoice. Returns pass or hold, with every quantity, unit-price, vendor, and total discrepancy identified before payment approval.","mimeType":"application/json","serviceName":"Suede AI Agent Studio","tags":["accounts-payable","invoice","purchase-order","reconciliation","finance"]},"inputSchema":{"type":"object","additionalProperties":false,"required":["purchaseOrder","invoice"],"properties":{"purchaseOrder":{"type":"string","minLength":1,"description":"Purchase-order text or structured JSON serialized as text."},"invoice":{"type":"string","minLength":1,"description":"Invoice text or structured JSON serialized as text."}}},"outputSchema":{"type":"object","additionalProperties":false,"required":["matched","status","discrepancies","note"],"properties":{"matched":{"type":"boolean"},"status":{"type":"string","enum":["pass","hold"]},"discrepancies":{"type":"array","description":"Every supported mismatch between the PO and invoice.","items":{"type":"string"}},"note":{"type":"string"}}},"exampleInput":{"purchaseOrder":"PO-9920: 100 widget-A units at $2.50, total $250.00.","invoice":"INV-7781 for PO-9920: 100 widget-A units at $2.65, total $265.00."},"exampleOutput":{"matched":false,"status":"hold","discrepancies":["Unit price is $2.65 on the invoice and $2.50 on the PO; delta $15.00."],"note":"Hold for buyer approval because the invoice exceeds the PO price."},"curation":{"collection":"business-operations","operator":"Suede AI","reviewPolicy":"A human approver remains responsible for releasing payment.","dataHandling":"Inputs and outputs are stored in Agent Studio run history. See /privacy and /account-deletion."}}