← Market

Discount Apr

Cash discount (Skonto) expressed as an annual interest rate: rule of thumb, exact simple rate and compounded effective rate, plus the financing comparison for an invoice. For terms such as "2 % within 10 days, net 30" the discount buys (net days − discount days) of credit. Rule of thumb: s × B / (z − k); exact simple rate: s / (100 − s) × B / (z − k) × 100, with B = 360 (default, commercial year) or 365; compounded effective rate: (1 + s/(100 − s))^(365/(z − k)) − 1.

POST https://rechen.halowerk.com/v1/discount-apr

0.002 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.002 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "discount_days": 10,
  "discount_percent": 2,
  "financing_rate": 9,
  "invoice_amount": 10000,
  "net_days": 30
}
{
  "limitations": [
    "Information computed by formula from the stated data and conventions; not legal, tax or financial advice.",
    "Results depend on the inputs supplied (dates of default, amounts, agreements); these are not verified.",
    "Whether a discount may still be deducted (timely payment, contractual terms) is not checked."
  ],
  "result": {
    "credit_days": 20,
    "effective_annual_rate": 44.59,
    "exact_simple_rate": 36.73,
    "formulas": {
      "effective": "((1 + s/(100 − s))^(365/(z − k)) − 1) × 100",
      "exact_simple": "s / (100 − s) × 360 / (z − k) × 100",
      "rule_of_thumb": "s × 360 / (z − k) = 2 × 360 / 20"
    },
    "invoice": {
      "advantage_of_taking_discount": 151,
      "amount": 10000,
      "discount": 200,
      "financing_interest": 49,
      "payable_with_discount": 9800,
      "take_discount": true
    },
    "rule_of_thumb_rate": 36,
    "year_days": 360
  },
  "service": "discount-apr",
  "status": "success"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://rechen.halowerk.com/v1/discount-apr · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "discount_percent",
    "discount_days",
    "net_days"
  ],
  "properties": {
    "discount_percent": {
      "type": "number",
      "exclusiveMinimum": 0,
      "exclusiveMaximum": 100
    },
    "discount_days": {
      "type": "integer",
      "minimum": 0,
      "maximum": 365
    },
    "net_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 730
    },
    "year_days": {
      "type": "integer",
      "enum": [
        360,
        365
      ],
      "default": 360
    },
    "invoice_amount": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000
    },
    "financing_rate": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    }
  }
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://rechen.halowerk.com/v1/discount-apr' \
  -H 'content-type: application/json' -d '{"discount_percent":2,"discount_days":10,"net_days":30,"invoice_amount":10000,"financing_rate":9}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)