# Days Sales Outstanding – Target Gap Calculator

> Days Sales Outstanding – Target Gap Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-21).

Calculates Days Sales Outstanding (DSO) from supplied financials and measures the gap between the computed value and a user-specified numeric target.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-receivable-days-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/days-sales-outstanding-target-gap-calculator-4207a304
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ExbHV-IBTghenUhELwfj

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 days-sales-outstanding-target-gap-calculator-4207a304 -d '<json body>'
```

Example prompt: Our company had net credit sales of $40,000 and average receivables of $8,000 over 365 days — calculate our Days Sales Outstanding and tell me how far we are from our target of 60 days.

## When to prefer this

Choose this endpoint when you need a single DSO calculation paired with a gap-to-target comparison and want a structured JSON response including formula and limitations. Prefer it over batch endpoints when processing one record at a time, and over generic finance APIs when you specifically need DSO with a target benchmark rather than just the raw metric.

## Known failure modes

- net_credit_sales of zero or negative causes invalid division error
- period_days outside 1–3660 range returns validation error
- values exceeding maximum bounds rejected
- missing required fields (average_receivables, net_credit_sales, period_days) returns schema error
- non-numeric target value causes parsing failure

## How this service works

Days sales outstanding - Target gap calculation: Measure one calculated value against a supplied numeric target; no recommendation or target setting. Metric: Days sales 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.

## Output

Returns a JSON object containing the calculated DSO value, the arithmetic gap between DSO and the supplied target, the formula used, units, and limitations of the calculation. No recommendations or target-setting are provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "period_days": 365,
    "net_credit_sales": 40000,
    "average_receivables": 8000
   },
   "required": [
    "average_receivables",
    "net_credit_sales",
    "period_days"
   ],
   "properties": {
    "period_days": {
     "type": "integer",
     "default": 365,
     "maximum": 3660,
     "minimum": 1
    },
    "net_credit_sales": {
     "type": "number",
     "default": 40000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    },
    "average_receivables": {
     "type": "number",
     "default": 8000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-sales-outstanding-target-gap-calculator-4207a304/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
