# Days Payables Outstanding Before/After Comparison Calculator

> Days Payables Outstanding Before/After Comparison 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-10-23).

Compares two sets of Days Payables Outstanding (DPO) figures, reporting absolute and relative changes between a before and after period.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-payable-days-compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/days-payables-outstanding-before-after-comparison-calculator-fd22da71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rKm5haNG5QpOou28jA4qy

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-payables-outstanding-before-after-comparison-calculator-fd22da71 -d '<json body>'
```

Example prompt: Compare our days payables outstanding: before we had average payables of $4,000 and credit purchases of $25,000 over 365 days, and after we had average payables of $4,400 and credit purchases of $27,500 over 402 days — show me the absolute and relative change.

## When to prefer this

Use this endpoint when you need a structured, formula-documented before-and-after comparison of Days Payables Outstanding between two specific periods, rather than a standalone DPO calculation. It is ideal for finance agents preparing variance reports, audits, or policy impact analyses where both the raw change and percentage change are required in a single response with metadata about the formula and its limitations.

## Known failure modes

- credit_purchases of zero causes division-by-zero error (excluded by exclusiveMinimum constraint)
- period_days outside 1–3660 range returns validation error
- missing required fields (average_payables, credit_purchases, period_days) returns schema error
- values exceeding 1,000,000,000,000 fail maximum constraint
- non-numeric inputs rejected by type validation

## How this service works

Days payables outstanding - Before and after comparison: Compare two supplied records, reporting absolute and eligible relative changes. Metric: Days payables 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 before and after comparison report.

## Output

A JSON object containing the calculated DPO for both the before and after periods, the absolute change in days, the eligible relative (percentage) change, the DPO formula used, units, and any limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "period_days": 402,
    "average_payables": 4400,
    "credit_purchases": 27500.000000000004
   },
   "required": [
    "average_payables",
    "credit_purchases",
    "period_days"
   ],
   "properties": {
    "period_days": {
     "type": "integer",
     "default": 365,
     "maximum": 3660,
     "minimum": 1
    },
    "average_payables": {
     "type": "number",
     "default": 4000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    },
    "credit_purchases": {
     "type": "number",
     "default": 25000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "period_days": 365,
    "average_payables": 4000,
    "credit_purchases": 25000
   },
   "required": [
    "average_payables",
    "credit_purchases",
    "period_days"
   ],
   "properties": {
    "period_days": {
     "type": "integer",
     "default": 365,
     "maximum": 3660,
     "minimum": 1
    },
    "average_payables": {
     "type": "number",
     "default": 4000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    },
    "credit_purchases": {
     "type": "number",
     "default": 25000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-payables-outstanding-before-after-comparison-calculator-fd22da71/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)
