# Warehouse Cycle Count Adjustment Reconciliation

> Warehouse Cycle Count Adjustment Reconciliation is a paid API for AI agents from rooke-token-risk-pilot.rookepoole.workers.dev, paid per call via x402, $49/call, status unknown (last checked 2026-10-11).

Audits warehouse cycle count adjustment lines by comparing book quantities against physical counts, flagging variances, evaluating tolerance policy compliance, and producing a risk-assessed verdict on proposed inventory adjustments.

## Facts

- Endpoint: POST https://rooke-token-risk-pilot.rookepoole.workers.dev/v1/x402/warehouse-cycle-count-audit?utm_source=zero.xyz
- Price: $49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/warehouse-cycle-count-adjustment-reconciliation-a46b9a8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m9o0tkCJ2x6tf_6H_l6-L

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 warehouse-cycle-count-adjustment-reconciliation-a46b9a8b -d '<json body>'
```

Example prompt: Run a cycle count audit for warehouse WEST-01 using count plan PLAN-A, cycle count ID COUNT-42, snapshot at 2026-08-14T10:00:00Z and counted at 2026-08-14T10:30:00Z in USD with a quantity scale of 1000 — here are the adjustment lines: LINE-1 for item SKU-99 at location SHELF-A, 2000 book units, 1000 first count, null recount, unit cost 500 minor units, proposed adjustment of -1000 units worth -250 minor units, reason code DAMAGE, and apply OUTSIDE_TOLERANCE approval mode to tell me whether these adjustments are within policy and flag any risk.

## When to prefer this

Choose this endpoint when you need a structured, policy-aware audit verdict on warehouse cycle count adjustments before posting them to an ERP or accounting system — especially when you need per-line variance analysis, tolerance policy evaluation, and risk flagging in a single call. It is not a live ERP connector and does not modify any inventory records; it is purely an analytical and validation layer suitable for pre-approval workflows.

## Known failure modes

- Missing required cycle count fields (cycleCountId, warehouseRef, countPlanRef) returns validation error
- Line items exceeding 1000 items rejected with payload size error
- Invalid currency code format (non-3-letter uppercase) causes schema rejection
- Negative bookQuantityScaled or firstCountQuantityScaled rejected as minimum is 0
- Payment of $49 USDC not completed via x402 protocol results in 402 Payment Required response
- Malformed ISO 8601 timestamps for snapshotAt or countedAt cause parsing errors

## How this service works

Public static preview plus paid token controls, risk consensus, AI security, webhook reliability, developer security, schedule risk, decision analysis, API release compatibility, accounts-payable reconciliation, e-commerce return eligibility, SaaS subscription-proration, sales-commission reconciliation, parcel-charge reconciliation, SLA service-credit reconciliation, advertising spend-and-fee audit, contract-renewal audit, workforce timecard reconciliation, hotel booking-commission reconciliation, and warehouse cycle-count adjustment reconciliation products for autonomous agents.

## Output

Returns a JSON object containing: a verdict (e.g. MATCHED_WITHIN_SUPPLIED_POLICY), per-line variance basis points and outside-tolerance flags, a summary of net adjustment quantity and value, risk flags (e.g. NEGATIVE_INVENTORY_VARIANCE), evidence gaps noting data not independently verified, a claim boundary clarifying what actions were and were not taken, a recommended disposition, a SHA-256 report hash for integrity, and the echoed cycle count metadata and supplied policy.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lines": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "lineId",
     "itemRef",
     "locationRef",
     "inventoryDimensionRef",
     "unitOfMeasure",
     "bookQuantityScaled",
     "firstCountQuantityScaled",
     "recountQuantityScaled",
     "unitCostMinorPerBaseUnit",
     "reasonCode",
     "proposedAdjustmentQuantityScaled",
     "proposedAdjustmentValueMinor"
    ],
    "properties": {
     "lineId": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "itemRef": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "reasonCode": {
      "anyOf": [
       {
        "type": "string",
        "maxLength": 120,
        "minLength": 1
       },
       {
        "type": "null"
       }
      ]
     },
     "locationRef": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "unitOfMeasure": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "bookQuantityScaled": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "inventoryDimensionRef": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "recountQuantityScaled": {
      "anyOf": [
       {
        "type": "integer",
        "maximum": 9007199254740991,
        "minimum": 0
       },
       {
        "type": "null"
       }
      ]
     },
     "firstCountQuantityScaled": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "unitCostMinorPerBaseUnit": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "proposedAdjustmentValueMinor": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991
     },
     "proposedAdjustmentQuantityScaled": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991
     }
    },
    "additionalProperties": false
   },
   "maxItems": 1000,
   "minItems": 1
  },
  "cycleCount": {
   "type": "object",
   "required": [
    "cycleCountId",
    "countPlanRef",
    "warehouseRef",
    "currency",
    "quantityScale",
    "snapshotAt",
    "countedAt"
   ],
   "properties": {
    "currency": {
     "type": "string",
     "pattern": "^[A-Z]{3}$"
    },
    "countedAt": {
     "type": "string",
     "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": {
   "lineCount": 1,
   "varianceLineCount": 1,
   "outsideToleranceLineCount": 0,
   "expectedNetAdjustmentValueMinor": -250,
   "expectedNetAdjustmentQuantityScaled": -1000
  },
  "verdict": "MATCHED_WITHIN_SUPPLIED_POLICY",
  "riskFlags": [
   "NEGATIVE_INVENTORY_VARIANCE"
  ],
  "cycleCount": {
   "currency": "USD",
   "countedAt": "2026-08-14T10:30:00Z",
   "snapshotAt": "2026-08-14T10:00:00Z",
   "countPlanRef": "PLAN-A",
   "cycleCountId": "COUNT-42",
   "warehouseRef": "opaque-warehouse-7",
   "quantityScale": 1000
  },
  "reportHash": "sha256-hex",
  "lineResults": [
   {
    "lineId": "LINE-1",
    "varianceBps": 100,
    "outsideTolerance": false,
    "expectedAdjustmentValueMinor": -250,
    "expectedAdjustmentQuantityScaled": -1000
   }
  ],
  "evidenceGaps": [
   "CALLER_SUPPLIED_SNAPSHOT_COUNTS_COSTS_POLICY_REASON_CODES_AND_PROPOSED_ADJUSTMENTS_NOT_AUTHENTICATED"
  ],
  "claimBoundary": {
   "fundsMoved": false,
   "paymentAttempted": false,
   "physicalCountOrBookQuantityVerified": false,
   "inventoryQuantityValueOrLedgerModified": false,
   "inventoryAdjustmentCreatedApprovedOrPosted": false,
   "warehouseErpInventoryOrAccountingSystemConnected": false
  },
  "schemaVersion": "WAREHOUSE_CYCLE_COUNT_AUDIT_V1",
  "suppliedPolicy": {
   "approvalMode": "OUTSIDE_TOLERANCE"
  },
  "requestCommitment": "sha256-hex",
  "recommendedDisposition": "SUPPLIED_POLICY_DOES_NOT_REQUIRE_ADDITIONAL_REVIEW"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/warehouse-cycle-count-adjustment-reconciliation-a46b9a8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rooke-token-risk-pilot.rookepoole.workers.dev](https://www.zero.xyz/host/rooke-token-risk-pilot.rookepoole.workers.dev/llms.txt)
