{"uid":"cap__n5lmqiNqzSiqY_orAk0Z","slug":"days-inventory-outstanding-sequential-input-change-attribution-cbca224c","name":"Days Inventory Outstanding – Sequential Input-Change Attribution (Waterfall)","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-finance-inventory-days-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b5Bk6VzVzetiwoMmnx_c-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Quarter-over-quarter DIO driver analysis","prompt":"My company's days inventory outstanding shifted between quarters — before: 365-day period, $120,000 cost of sales, $18,000 average inventory; after: 365-day period, $135,000 cost of sales, $20,000 average inventory. Can you run a waterfall attribution showing which input caused what change in DIO?"},{"title":"Annual inventory efficiency review","prompt":"I need to explain to my CFO why our days inventory outstanding changed year over year. Last year was a 365-day period, $500,000 cost of sales, $80,000 average inventory; this year is a 365-day period, $480,000 cost of sales, $95,000 average inventory. Show the sequential step-by-step attribution of each driver's impact on DIO."},{"title":"Working capital optimization scenario","prompt":"We changed our reporting period from 365 to 180 days and our cost of sales dropped from $200,000 to $90,000 while average inventory stayed at $25,000. Walk me through the incremental DIO impact of each of those input changes in order."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:46:45.946Z","isFirstParty":false,"canonicalSlug":"days-inventory-outstanding-sequential-input-change-attribution-cbca224c"}