# draconic21 Invoice Aging

> draconic21 Invoice Aging is a paid API for AI agents from draconic21-x402-api.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns invoice aging data for a funded agent session via a paid POST request using x402 micropayments on Base.

## Facts

- Endpoint: POST https://draconic21-x402-api.onrender.com/v1/invoice_aging?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/draconic21-invoice-aging-bb682d51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_toU6cyMOmmavUpFm_r3ZV

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 draconic21-invoice-aging-bb682d51 -d '<json body>'
```

Example prompt: Can you pull the invoice aging report for me right now — I need to see how old our outstanding invoices are and what buckets they fall into?

## When to prefer this

Choose this endpoint when you need invoice aging data in the context of an x402-enabled agent that pays per call in USDC on Base. Best suited for funded autonomous agents that need lightweight, on-demand invoice aging lookups without a full ERP integration. Not suitable for multi-day historical trend analysis given the single-day archive depth.

## Known failure modes

- HTTP 402 returned if USDC payment on Base is not provided or insufficient
- Empty or malformed request body may result in validation errors
- Single-day archive depth means historical aging data is limited to one day (2026-09-19)
- Service hosted on Render free tier may have cold-start latency or downtime

## How this service works

GO-TO product for funded agents: Daily Agent Signal (POST /v1/signal_latest $0.03, /v1/signal_history $0.10, /v1/signal_delta $0.05). Signal is the flagship; supporting/legacy routes are demoted. Archive honesty: archive_day_count=6 — 6 stored dates from 2026-09-19 through 2026-09-27. Intraday revisions do not add archive days. Unpaid calls return HTTP 402. USDC on Base. Free discovery: /, /agents.md, /llms.txt, /skill.md, /.well-known/x402.json, /.well-known/mcp.json, /openapi.json.

## Output

Returns a JSON object with at minimum an 'ok' boolean status, a 'brand' string, and a 'product' string, along with invoice aging data indicating the age and status of outstanding invoices. Unpaid or unauthenticated calls return HTTP 402.

## 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": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": true
    },
    "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": {
      "ok": {
       "type": "boolean"
      },
      "brand": {
       "type": "string"
      },
      "product": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "brand": "draconic21",
  "product": "invoice_aging"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/draconic21-invoice-aging-bb682d51/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from draconic21-x402-api.onrender.com](https://www.zero.xyz/host/draconic21-x402-api.onrender.com/llms.txt)
