# DSO/DIO/DPO Working Capital Cycle Calculator

> DSO/DIO/DPO Working Capital Cycle Calculator is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

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.

## Facts

- Endpoint: POST https://x402.agentutility.ai/dso-dio-dpo-calculator
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dso-dio-dpo-working-capital-cycle-calculator-5b48923a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ifNr2LDdFtzEQ8ivynkqv

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 dso-dio-dpo-working-capital-cycle-calculator-5b48923a -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
      
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dso-dio-dpo-working-capital-cycle-calculator-5b48923a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
