{"uid":"cap_ifNr2LDdFtzEQ8ivynkqv","slug":"dso-dio-dpo-working-capital-cycle-calculator-5b48923a","name":"DSO/DIO/DPO Working Capital Cycle Calculator","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/dso-dio-dpo-calculator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["annual_revenue","accounts_receivable","inventory","accounts_payable"],"properties":{"inventory":{"type":"number","description":"Current inventory balance."},"annual_cogs":{"type":"number","description":"Annual cost of goods sold. Defaults to 65% of annual_revenue when omitted."},"annual_revenue":{"type":"number","description":"Annual revenue in dollars."},"accounts_payable":{"type":"number","description":"Current accounts payable balance."},"accounts_receivable":{"type":"number","description":"Current accounts receivable balance."},"target_cash_conversion_days":{"type":"number","description":"Target cash conversion cycle days. Default 45."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"source":{"type":"string"},"drivers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"note":{"type":"string"},"score":{"type":"number"},"weight":{"type":"number"}}}},"metrics":{"type":"object","properties":{"days_sales_outstanding":{"type":"number"},"days_payables_outstanding":{"type":"number"},"cash_conversion_cycle_days":{"type":"number"},"days_inventory_outstanding":{"type":"number"},"cash_release_opportunity_to_target":{"type":"integer"}}},"warnings":{"type":"array"},"calculator":{"type":"string"},"recommendation":{"type":"string"}}}}}}},"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-10-27T06:53:42.726Z","isFirstParty":false,"canonicalSlug":"dso-dio-dpo-working-capital-cycle-calculator-5b48923a"}