# Days Inventory Outstanding – Sequential Input-Change Attribution (Waterfall)

> Days Inventory Outstanding – Sequential Input-Change Attribution (Waterfall) 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-22).

Computes a waterfall attribution of how changes in period_days, cost_of_sales, and average_inventory each incrementally affect Days Inventory Outstanding (DIO), stepping through inputs in declared field order.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-inventory-days-waterfall?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/days-inventory-outstanding-sequential-input-change-attribution-cbca224c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__n5lmqiNqzSiqY_orAk0Z

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-sequential-input-change-attribution-cbca224c -d '<json body>'
```

Example prompt: Break down what drove my days inventory outstanding from the baseline (365-day period, $30,000 cost of sales, $5,000 average inventory) to the new figures (402-day period, $33,000 cost of sales, $5,500 average inventory) — show me the incremental effect of each input change in sequence.

## When to prefer this

Choose this endpoint when you need to understand the order-dependent sequential contribution of each DIO input variable to a total change — ideal for waterfall chart preparation, CFO-level variance commentary, and supply chain driver analysis. Prefer it over a simple before/after DIO calculator when stakeholders need to see how each lever (period length, cost of sales, average inventory) individually moved the needle.

## Known failure modes

- cost_of_sales of 0 or missing violates exclusiveMinimum constraint and returns a validation error
- missing required fields (average_inventory, cost_of_sales, period_days) in either before or after object returns a schema validation error
- period_days outside 1–3660 range returns a bounds error
- non-numeric values for financial fields return a type error
- before and after objects with identical values return a zero-change waterfall with no incremental effects

## How this service works

Days inventory outstanding - Sequential input-change attribution: Change each input from baseline to final in declared field order, reporting each incremental effect; order dependent. 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 sequential input-change attribution report.

## Output

A JSON object containing the DIO formula, the baseline DIO value, the incremental effect on DIO attributed to each input variable changed in declared field order (period_days, then cost_of_sales, then average_inventory), the total change in DIO from baseline to final, units, and a limitations note explaining that results are order-dependent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "period_days": 402,
    "cost_of_sales": 33000,
    "average_inventory": 5500
   },
   "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
  },
  "before": {
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-inventory-outstanding-sequential-input-change-attribution-cbca224c/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)
