{"uid":"cap_saxaL9dq5wVT2nYKz28G8","slug":"invoice-discount-calculator-9a52f300","name":"agentutility — paid x402 endpoints for autonomous agents","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/invoice-discount-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["invoice_amount","days_until_due"],"properties":{"discount_pct":{"type":"number","description":"Discount as percent of invoice amount. Required unless discount_amount is supplied."},"days_until_due":{"type":"number","description":"Days until the invoice would otherwise be paid."},"invoice_amount":{"type":"number","description":"Gross invoice face value."},"discount_amount":{"type":"number","description":"Discount dollars. Required unless discount_pct is supplied."},"advance_rate_pct":{"type":"number","description":"Percent of invoice advanced immediately. Default 100."},"annual_cost_of_capital_pct":{"type":"number","description":"Benchmark annual cost of capital percent. Default 12."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"source":{"type":"string"},"drivers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"note":{"type":"string"},"score":{"type":"number"},"weight":{"type":"number"}}}},"metrics":{"type":"object","properties":{"discount_amount":{"type":"integer"},"effective_apr_pct":{"type":"number"},"net_cash_received":{"type":"integer"},"cost_premium_vs_capital_benchmark":{"type":"number"}}},"warnings":{"type":"array"},"calculator":{"type":"string"},"recommendation":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"grade":"strong","score":74.2,"source":"deterministic in-process finance calculator; no upstream API","drivers":[{"name":"effective_apr","note":"15.66% effective APR","score":65.5,"weight":0.35}],"metrics":{"discount_amount":1440,"effective_apr_pct":15.66,"net_cash_received":74560,"cost_premium_vs_capital_benchmark":153.95},"warnings":[],"calculator":"invoice-discount-calculator","recommendation":"Proceed with standard diligence and covenant checks."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_So9dvbOBNNKUPfziOkfPQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":null,"exampleAgentPrompt":null,"exampleUseCases":null,"resultDescription":null,"failureModes":null,"whenToPreferThis":null,"instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:09:53.171Z","isFirstParty":false}