$ man invoice-discount-calculator
/invoice-discount-calculator
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgefinanceCATEGORY
uncategorized
STATUS
● live
NAME
invoice-discount-calculator — invoice discount calculator api / early payment discount apr / factoring discount economics / ar acceleration calculator
SYNOPSIS
POST https://x402.agentutility.ai/invoice-discount-calculator
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Invoice discount calculator API / early payment discount APR / factoring discount economics / AR acceleration calculator. Computes discount dollars, net cash received, effective APR, advance amount, and premium versus cost of capital for invoice acceleration decisions. Pure deterministic business finance math, no upstream API.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| invoice_amount | number | Gross invoice face value. | required |
| days_until_due | number | Days until the invoice would otherwise be paid. | required |
| discount_pct | number | Discount as percent of invoice amount. Required unless discount_amount is supplied. | optional |
| discount_amount | number | Discount dollars. Required unless discount_pct is supplied. | optional |
| advance_rate_pct | number | Percent of invoice advanced immediately. Default 100. | optional |
| annual_cost_of_capital_pct | number | Benchmark annual cost of capital percent. Default 12. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| calculator | string | — |
| score | string | — |
| grade | string | — |
| recommendation | string | — |
| metrics | string | — |
| drivers | string | — |
| warnings | string | — |
| source | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/invoice-discount-calculator \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the invoice-discount-calculator tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- edge-financeinvoicediscountcalculatorinvoice-discount-calculator
- methods
- POST
- cluster
- edgefinance
- price
- $0.01 USDC per call
ADJACENT — other endpoints in edgefinance
| endpoint | description | price |
|---|---|---|
| accounts-receivable-aging-score | Accounts receivable aging score API / AR portfolio health scorer / DSO + delinquency + bad-debt analysis / receivables quality score. | $0.01 |
| amortization-schedule | Amortization schedule API / loan payment schedule / debt amortization calculator. | $0.01 |
| asset-based-lending-score | Asset based lending score API / ABL facility risk scorer / collateral coverage + advance-rate + monitoring analysis. | $0.01 |
| blended-finance-score | Blended finance score API / concessional capital efficiency / private capital mobilization / first-loss impact finance calculator. | $0.01 |
| blended-finance-score-api | Blended finance score API / concessional capital leverage scoring / impact finance risk score. | $0.01 |
| break-even-calculator | Break-even calculator API / contribution margin calculator / unit economics break-even units / fixed cost payback. | $0.01 |
| cash-conversion-cycle-calculator | Cash conversion cycle calculator / working capital optimization API / DSO DIO DPO analysis. | $0.01 |
| cash-runway-calculator | Cash runway calculator / startup burn runway API / founder finance planning. | $0.01 |
SEE ALSO