# Billed-Basis Proration Transcript Verifier

> Billed-Basis Proration Transcript Verifier is a paid API for AI agents from finops.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-12-01).

Reconstructs and verifies credit/debit proration arithmetic for a subscription price change mid-period, returning exact rational credit basis, unused credit, new-price debit, and net figures.

## Facts

- Endpoint: POST https://finops.halowerk.com/v1/billed-basis-proration-transcript?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/billed-basis-proration-transcript-verifier-635bc4be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0FIUlZqo1blk8JrvU47uG

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 billed-basis-proration-transcript-verifier-635bc4be -d '<json body>'
```

Example prompt: Can you verify my proration calculation for a subscription that was originally billed at 1200 minor units, with the billing period running from second 0 to second 86400, a price change at second 43200 to a new price of 1600 minor units, and my claimed report showing basis_minor 1200, current_minor 800, credit as 1/2, debit as 2/3, and net as 1/6?

## When to prefer this

Use this endpoint when you need exact rational (non-floating-point) proration arithmetic verified against a subscription billing event with one or more mid-period price changes, particularly in FinOps or SaaS billing pipelines where floating-point rounding errors are unacceptable. Prefer this over general-purpose calculators when you need a verifiable transcript of credit basis, unused credit, debit, and net with arbitrary-precision rational numbers.

## Known failure modes

- HTTP 400 if input schema is invalid or values are out of allowed range
- Serialized input exceeding 16384 bytes rejected
- Response exceeding 32768 bytes truncated or rejected
- Timestamps out of range (must be 0–1,000,000,000) cause validation failure
- Price values out of range (0–1,000,000 minor units) cause rejection
- More than 8 unbilled price changes in array causes rejection

## How this service works

From the original billed flat price and chronological unbilled price changes, reconstruct flexible credit basis, exact rational unused credit, new-price debit and net; verify supplied claims. Quantity one, seconds, no tax/discount/real invoice validity or Stripe-cent rounding assertion. A schema-valid unknown is a successful result at the same fixed price. Invalid input raises native HTTP400 before settlement. Serialized input limit 16384 bytes; whole data response limit 32768 bytes.

## Output

Returns a transcript object containing the reconstructed rational credit basis (n/d fractions), exact unused credit, new-price debit, and net proration values, along with a verification of the caller-supplied report claims. Schema-valid but indeterminate inputs return a successful result at the fixed price. Invalid inputs return HTTP 400 before any settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "report": {
   "type": "object",
   "required": [
    "basis_minor",
    "current_minor",
    "credit",
    "debit",
    "net"
   ],
   "properties": {
    "net": {
     "anyOf": [
      {
       "type": "object",
       "required": [
        "n",
        "d"
       ],
       "properties": {
        "d": {
         "type": "string",
         "pattern": "^[1-9][0-9]{0,23}$",
         "maxLength": 24
        },
        "n": {
         "type": "string",
         "pattern": "^-?(0|[1-9][0-9]{0,23})$",
         "maxLength": 25
        }
       },
       "additionalProperties": false
      },
      {
       "type": "null"
      }
     ]
    },
    "debit": {
     "anyOf": [
      {
       "type": "object",
       "required": [
        "n",
        "d"
       ],
       "properties": {
        "d": {
         "type": "string",
         "pattern": "^[1-9][0-9]{0,23}$",
         "maxLength": 24
        },
        "n": {
         "type": "string",
         "pattern": "^-?(0|[1-9][0-9]{0,23})$",
         "maxLength": 25
        }
       },
       "additionalProperties": false
      },
      {
       "type": "null"
      }
     ]
    },
    "credit": {
     "anyOf": [
      {
       "type": "object",
       "required": [
        "n",
        "d"
       ],
       "properties": {
        "d": {
         "type": "string",
         "pattern": "^[1-9][0-9]{0,23}$",
         "maxLength": 24
        },
        "n": {
         "type": "string",
         "pattern": "^-?(0|[1-9][0-9]{0,23})$",
         "maxLength": 25
        }
       },
       "additionalProperties": false
      },
      {
       "type": "null"
      }
     ]
    },
    "basis_minor": {
     "anyOf": [
      {
       "type": "integer",
       "maximum": 1000000,
       "minimum": 0
      },
      {
       "type": "null"
      }
     ]
    },
    "current_minor": {
     "anyOf": [
      {
       "type": "integer",
       "maximum": 1000000,
       "minimum": 0
      },
      {
       "type": "null"
      }
     ]
    }
   },
   "additionalProperties": false
  },
  "change_at": {
   "type": "integer",
   "maximum": 1000000000,
   "minimum": 0
  },
  "period_end": {
   "type": "integer",
   "maximum": 1000000000,
   "minimum": 0
  },
  "period_start": {
   "type": "integer",
   "maximum": 1000000000,
   "minimum": 0
  },
  "new_price_minor": {
   "type": "integer",
   "maximum": 1000000,
   "minimum": 0
  },
  "unbilled_price_changes": {
   "type": "array",
   "items": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/billed-basis-proration-transcript-verifier-635bc4be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from finops.halowerk.com](https://www.zero.xyz/host/finops.halowerk.com/llms.txt)
