# Days Inventory Outstanding – Named Scenario Comparison

> Days Inventory Outstanding – Named Scenario Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Applies up to 20 named override scenarios to a baseline Days Inventory Outstanding (DIO) calculation and returns a structured comparison report with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-inventory-days-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/days-inventory-outstanding-named-scenario-comparison-f654b1f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i5Oluo8fhAQ5Mi7D7dvHz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability days-inventory-outstanding-named-scenario-comparison-f654b1f2 -d '<json body>'
```

Example prompt: Run a days inventory outstanding scenario comparison for me: baseline is 365 days, $30,000 cost of sales, and $5,000 average inventory — then show me two named scenarios: 'High Inventory' with average inventory bumped to $7,500, and 'Low Sales' with cost of sales dropped to $20,000.

## When to prefer this

Choose this endpoint when you need to evaluate multiple named what-if scenarios for Days Inventory Outstanding side-by-side against a single baseline, particularly when you want labeled, structured comparison output (not just a single DIO value). It is ideal for sensitivity analysis, scenario planning presentations, and supply chain reviews where you need to communicate differences clearly. Prefer it over a single-calculation endpoint when you have 2–20 distinct named hypotheses to test simultaneously.

## Known failure modes

- Missing required baseline fields (average_inventory, cost_of_sales, period_days) returns validation error
- cost_of_sales set to zero or omitted triggers exclusiveMinimum validation failure
- Scenario overrides object with no properties fails minProperties:1 constraint
- More than 20 scenarios in the array exceeds maxItems limit
- period_days outside 1–3660 range rejected by schema
- average_inventory or cost_of_sales exceeding 1,000,000,000,000 rejected
- Payment of 0.01 USDC not settled causes request rejection

## How this service works

Days inventory outstanding - Named scenario comparison: Apply up to 20 explicit input-override scenarios to one baseline and report their differences. Metric: Days inventory outstanding. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded named scenario comparison report.

## Output

A JSON report containing the calculated Days Inventory Outstanding (DIO) for the baseline and each named scenario, along with delta/difference values, the DIO formula used, measurement units, and stated limitations of the calculation. No live market data or financial advice is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "period_days": 365,
    "cost_of_sales": 30000,
    "average_inventory": 5000
   },
   "required": [
    "average_inventory",
    "cost_of_sales",
    "period_days"
   ],
   "properties": {
    "period_days": {
     "type": "integer",
     "default": 365,
     "maximum": 3660,
     "minimum": 1
    },
    "cost_of_sales": {
     "type": "number",
     "default": 30000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    },
    "average_inventory": {
     "type": "number",
     "default": 5000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    }
   },
   "additionalProperties": false
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "period_days": {
        "type": "integer",
        "default": 365,
        "maximum": 3660,
        "minimum": 1
       },
       "cost_of_sales": {
        "type": "number",
        "default": 30000,
        "maximum": 1000000000000,
        "minimum": 0,
        "description": "Amount in a consistent supplied currency and reporting period",
        "exclusiveMinimum": 0
       },
       "average_inventory": {
        "type": "number",
        "default": 5000,
        "maximum": 1000000000000,
        "minimum": 0,
        "description": "Amount in a consistent supplied currency and reporting period"
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "average_inventory": 5500
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-inventory-outstanding-named-scenario-comparison-f654b1f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
