# Inventory Movement Balance Reconciler

> Inventory Movement Balance Reconciler is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-01).

Validates that opening balance plus signed inventory movements reconciles to the stated closing balance, flagging any discrepancy including transient negative stock.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/inventory/inventory-movement-balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inventory-movement-balance-reconciler-5833f348
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KcT_wU5ODUb0RYs3ubN2g

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 inventory-movement-balance-reconciler-5833f348 -d '<json body>'
```

Example prompt: Can you verify that our stock period closes correctly? Opening balance is 5000 units, we had movements of +200, -150, +80, -300, and the claimed closing balance is 4830 — does that reconcile, and did stock ever go negative in between?

## When to prefer this

Use this endpoint when you need deterministic, arithmetic verification of inventory period close — specifically when you must reconcile an opening balance through a sequence of signed stock movements to a declared closing balance, and need transient negative stock detection. Prefer this over manual computation when movement lists are long or audit trails require a verifiable external check.

## Known failure modes

- Closing balance does not match computed sum — reconciliation failure returned
- Input values exceed maximum allowed integer bounds (1,000,000,000)
- More than 512 movement items submitted — request rejected
- Missing required fields (opening, closing, or movements array) — validation error
- Movement delta outside allowed range (-1,000,000,000 to 1,000,000,000)

## How this service works

An agent that closes a stock period needs opening balance, signed movements, and closing balance reconciled including transient negative stock.

## Output

Returns a reconciliation verdict indicating whether opening balance plus the sum of all signed movement deltas equals the stated closing balance, along with detection of any transient negative stock states that occurred during the movement sequence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "opening",
    "closing",
    "movements"
   ],
   "properties": {
    "closing": {
     "type": "integer",
     "maximum": 1000000000,
     "minimum": 0
    },
    "opening": {
     "type": "integer",
     "maximum": 1000000000,
     "minimum": 0
    },
    "movements": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "delta"
      ],
      "properties": {
       "delta": {
        "type": "integer",
        "maximum": 1000000000,
        "minimum": -1000000000
       }
      },
      "additionalProperties": false
     },
     "maxItems": 512,
     "minItems": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inventory-movement-balance-reconciler-5833f348/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
