# Subscription Billing Credits – Adjacent Row Changes

> Subscription Billing Credits – Adjacent Row Changes 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-12).

Computes adjacent row-to-row changes in invoiced or credited amounts across up to 200 subscription billing credit records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-billing-credits-period-change?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/subscription-billing-credits-adjacent-row-changes-4d5ffbc7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WH51IOrYPCCMw93fkDqFC

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 subscription-billing-credits-adjacent-row-changes-4d5ffbc7 -d '<json body>'
```

Example prompt: Can you analyze how my subscription billing credits changed between consecutive rows? I have records for providers group-a and group-b from October 1–4, 2026 with invoiced and credited amounts — run the adjacent row changes report on the credited_amount field.

## When to prefer this

Choose this endpoint when you have a flat list of subscription billing credit records and need to compute sequential, row-to-row changes (deltas) in either invoiced or credited amounts for local descriptive analytics — with no need for forecasting, enrichment, or external data. Best suited for up to 200 records per call at minimal cost ($0.01 USDC).

## Known failure modes

- Empty or missing rows array returns validation error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Missing required fields (row_id, provider, date, invoiced_amount, credited_amount) causes record rejection
- Amounts outside ±1,000,000,000,000 range rejected
- Invalid field enum value (not invoiced_amount or credited_amount) causes error
- Insufficient USDC balance results in payment failure

## How this service works

Subscription billing credits - Adjacent row changes: Adjacent row changes for Subscription billing credits. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded adjacent row changes report.

## Output

Returns a bounded descriptive analytics report showing the adjacent (row-to-row) differences in the selected field (invoiced_amount or credited_amount) across the submitted billing credit records, including per-row deltas grouped by provider and date sequence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "provider",
     "date",
     "invoiced_amount",
     "credited_amount"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "provider": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "credited_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "invoiced_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "provider": "group-a",
     "credited_amount": 1,
     "invoiced_amount": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "provider": "group-b",
     "credited_amount": 2,
     "invoiced_amount": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "provider": "group-a",
     "credited_amount": 3,
     "invoiced_amount": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "provider": "group-b",
     "credited_amount": 4,
     "invoiced_amount": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "invoiced_amount",
    "credited_amount"
   ],
   "type": "string",
   "default": "invoiced_amount"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/subscription-billing-credits-adjacent-row-changes-4d5ffbc7/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)
