{"uid":"cap_ifNr2LDdFtzEQ8ivynkqv","slug":"dso-dio-dpo-working-capital-cycle-calculator-5b48923a","name":"DSO/DIO/DPO Working Capital Cycle Calculator","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/dso-dio-dpo-calculator","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"annual_revenue":{"type":"number","description":"Annual revenue in dollars."},"annual_cogs":{"type":"number","description":"Annual cost of goods sold. Defaults to 65% of annual_revenue when omitted."},"accounts_receivable":{"type":"number","description":"Current accounts receivable balance."},"inventory":{"type":"number","description":"Current inventory balance."},"accounts_payable":{"type":"number","description":"Current accounts payable balance."},"target_cash_conversion_days":{"type":"number","description":"Target cash conversion cycle days. Default 45."}},"required":["annual_revenue","accounts_receivable","inventory","accounts_payable"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"calculator":{"type":"string"},"score":{"type":"number"},"grade":{"type":"string"},"recommendation":{"type":"string"},"metrics":{"type":"object","properties":{"days_sales_outstanding":{"type":"number"},"days_inventory_outstanding":{"type":"number"},"days_payables_outstanding":{"type":"number"},"cash_conversion_cycle_days":{"type":"number"},"cash_release_opportunity_to_target":{"type":"integer"}}},"drivers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"score":{"type":"number"},"weight":{"type":"number"},"note":{"type":"string"}}}},"warnings":{"type":"array"},"source":{"type":"string"}}}},"required":["type"]}},"required":["input"]},"responseSchema":{"type":"json","example":{"grade":"strong","score":74.2,"source":"deterministic in-process finance calculator; no upstream API","drivers":[{"name":"cash_conversion_cycle","note":"44.1 day cash conversion cycle","score":55.9,"weight":0.3}],"metrics":{"days_sales_outstanding":33.46,"days_payables_outstanding":32.44,"cash_conversion_cycle_days":44.11,"days_inventory_outstanding":43.09,"cash_release_opportunity_to_target":27780},"warnings":[],"calculator":"working-capital-cycle","recommendation":"Proceed with standard diligence and covenant checks."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_N-tnpPbVnp6hYzi_KGG4a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Days Sales Outstanding, Days Inventory Outstanding, Days Payables Outstanding, and Cash Conversion Cycle from financial inputs, returning a graded working-capital health score with actionable recommendations.","exampleAgentPrompt":"Calculate our DSO, DIO, DPO, and cash conversion cycle — our accounts receivable is $2.1M, revenue is $23M, inventory is $3.4M, COGS is $14.5M, and accounts payable is $1.2M for the last 12-month period. Give me a working capital grade and tell me how much cash we could release.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a letter-style grade (e.g. 'strong'), a numeric score (0–100), computed DSO/DIO/DPO/CCC values in days, a cash release opportunity figure, a list of weighted driver notes explaining the score, any warnings, and a plain-English recommendation on whether to proceed with standard diligence.","failureModes":["Missing required financial inputs (e.g. no revenue or COGS) returns a validation error","Zero or negative denominators (e.g. zero revenue) cause division errors","Inconsistent period lengths between inputs may produce skewed cycle metrics","Payment failure via x402 (insufficient USDC balance) prevents endpoint access"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, self-contained working capital cycle analysis without relying on an external data provider — ideal for agent workflows that already have balance sheet figures and need a graded CCC assessment with structured driver breakdowns for credit, diligence, or treasury automation use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:08:50.894Z","isFirstParty":false}