{"uid":"cap_nJiY2PTYLluYMtwMoTSq1","slug":"days-inventory-outstanding-target-gap-calculator-027194a5","name":"Days Inventory Outstanding – Target Gap Calculator","description":"Days inventory outstanding - Target gap calculation: Measure one calculated value against a supplied numeric target; no recommendation or target setting. 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 target gap calculation report.","url":"https://market.datapackvibe.com/x402/assistant-finance-inventory-days-target-gap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"number","default":100,"maximum":1000000000000000000,"minimum":-1000000000000000000},"values":{"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_2fp3JPcvBI4Gr7aNq2xno","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":"Calculates Days Inventory Outstanding (DIO) from supplied figures and measures the result against a user-provided numeric target, returning a gap report in JSON.","exampleAgentPrompt":"Calculate my days inventory outstanding using average inventory of $8,000, cost of sales of $50,000 over 365 days, and tell me the gap versus my target of 55 days.","exampleUseCases":[{"title":"Retail inventory efficiency check","prompt":"My retail business had average inventory of $12,000, cost of sales of $80,000 over 365 days — calculate my DIO and tell me how far I am from my target of 50 days."},{"title":"Quarterly supply chain review","prompt":"For our Q1 review: average inventory was $200,000, cost of sales was $900,000 over 90 days. What is our days inventory outstanding and how does it compare to our target of 20 days?"},{"title":"Manufacturing benchmark gap analysis","prompt":"We're benchmarking our manufacturing ops: average inventory $500,000, cost of sales $3,000,000, reporting period 365 days, target DIO is 60 days — give me the gap calculation."}],"resultDescription":"Returns a JSON object containing the calculated Days Inventory Outstanding value, the numeric gap between that value and the supplied target, the formula used, the units of measurement, and a note on limitations of the calculation.","failureModes":["Missing required fields (average_inventory, cost_of_sales, period_days) returns a validation error","cost_of_sales of zero triggers an exclusiveMinimum validation error (must be greater than 0)","Values exceeding maximum bounds (e.g. cost_of_sales > 1,000,000,000,000) return a range validation error","No target supplied defaults to 100, which may produce misleading gap results if not intended","Payment failure or insufficient USDC balance returns a 402 error before processing"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic calculation of Days Inventory Outstanding measured against a specific numeric target, without needing forecasting, recommendations, or live data feeds. Ideal for agents automating financial reporting, inventory benchmarking, or supply chain KPI monitoring where the user supplies all raw figures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:47:57.427Z","isFirstParty":false,"canonicalSlug":"days-inventory-outstanding-target-gap-calculator-027194a5"}