{"slug":"x402-agentutility-ai-invoice-discount-api-72e3e7","title":"Calculates early payment discount APR and factoring economics","host":"x402.agentutility.ai","method":"POST","resource":"https://x402.agentutility.ai/invoice-discount-api","category":"search","description":"Calculates early payment discount APR and factoring economics. Same calculator as invoice-discount-calculator, exposed under likely buyer search terms. Use it as an invoice discount API or early payment discount APR API.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"advance_rate_pct":95,"annual_cost_of_capital_pct":14,"days_until_due":45,"discount_pct":1.8,"invoice_amount":80000},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"advance_rate_pct":{"description":"Percent of invoice advanced immediately. Default 100.","type":"number"},"annual_cost_of_capital_pct":{"description":"Benchmark annual cost of capital percent. Default 12.","type":"number"},"days_until_due":{"description":"Days until the invoice would otherwise be paid.","type":"number"},"discount_amount":{"description":"Discount dollars. Required unless discount_pct is supplied.","type":"number"},"discount_pct":{"description":"Discount as percent of invoice amount. Required unless discount_amount is supplied.","type":"number"},"invoice_amount":{"description":"Gross invoice face value.","type":"number"}},"required":["invoice_amount","days_until_due"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"calculator":{"type":"string"},"drivers":{"items":{"properties":{"name":{"type":"string"},"note":{"type":"string"},"score":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"type":"array"},"grade":{"type":"string"},"metrics":{"properties":{"cost_premium_vs_capital_benchmark":{"type":"number"},"discount_amount":{"type":"integer"},"effective_apr_pct":{"type":"number"},"net_cash_received":{"type":"integer"}},"type":"object"},"recommendation":{"type":"string"},"score":{"type":"number"},"source":{"type":"string"},"warnings":{"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":20,"error":null}],"description_full":"Calculates early payment discount APR and factoring economics. Same calculator as invoice-discount-calculator, exposed under likely buyer search terms. Use it as an invoice discount API or early payment discount APR API.","last_updated":"2026-09-09T21:16:13.883Z","schemes":["exact"]}