# Multilevel BOM MRP Netting with Lot-Multiple and Lead-Time Offset

> Multilevel BOM MRP Netting with Lot-Multiple and Lead-Time Offset is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Computes bounded multilevel bill-of-materials (BOM) integer piece-count plans using MRP netting logic, applying lot-multiple rounding and lead-time offsets to expose past-due and future planned orders.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-ENGINEERING-B001/multilevel-bom-lot-multiple-netting-lead-time-offset?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/multilevel-bom-mrp-netting-with-lot-multiple-and-lead-time-offset-831110ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FmfeK6NaJCeh764ugy1Np

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 multilevel-bom-mrp-netting-with-lot-multiple-and-lead-time-offset-831110ea -d '<json body>'
```

Example prompt: Run an MRP netting plan for 3 periods across two items: finished good FG-001 (on-hand 50, safety stock 10, lead time 2, lot multiple 25, demand [100, 80, 120], no scheduled receipts) with one child component COMP-A (quantity 2, on-hand 300, safety stock 20, lead time 1, lot multiple 100, demand [0,0,0], scheduled [0,0,0]) — give me the planned order quantities and any past-due needs.

## When to prefer this

Use this endpoint when you need deterministic, bounded integer MRP netting across a multilevel bill of materials with explicit lot-multiple rounding and lead-time period offsets — particularly when you need to surface past-due requirements. Prefer this over generic planning tools when your BOM has up to 16 items, up to 24 planning periods, and you need reproducible integer arithmetic rather than heuristic or approximate planning.

## Known failure modes

- Input exceeds 16,000 UTF-8 bytes — returns error without charge
- Computed result exceeds 20,000 bytes — returns error without charge
- Invalid BOM structure (e.g. missing required fields, out-of-range integers) — schema validation error
- Circular BOM references or item ID mismatches between children and items list
- Demand or scheduled arrays length mismatch with periods count
- lot_multiple of zero (minimum is 1) — rejected at schema validation
- Payment claim missing or invalid — x402 payment required error

## How this service works

Compute bounded multilevel integer piece-count plans and explicitly expose past-due needs.

## Output

Returns a structured period-by-period MRP plan for each item in the BOM including net requirements, planned order receipts (rounded to lot multiples), planned order releases offset by lead time, and flagged past-due requirements where lead-time offset pushes orders into or before period zero. Output is bounded at 20,000 bytes; oversized results return an error without charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "mrp"
   ],
   "properties": {
    "mrp": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "periods",
        "items"
       ],
       "properties": {
        "items": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "id",
           "on_hand",
           "safety_stock",
           "lead_time",
           "lot_multiple",
           "demand",
           "scheduled",
           "children"
          ],
          "properties": {
           "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
           },
           "demand": {
            "type": "array",
            "items": {
             "type": "integer",
             "maximum": 1000000,
             "minimum": 0
            },
            "maxItems": 24,
            "minItems": 1
           },
           "on_hand": {
            "type": "integer",
            "maximum": 1000000,
            "minimum": 0
           },
           "children": {
            "type": "array",
            "items": {
             "type": "object",
             "required": [
              "id",
              "quantity"
             ],
             "properties": {
              "id": {
               "type": "string",
               "maxLength": 32,
               "minLength": 1
              },
              "quantity": {
               "type": "integer",
               "maximum": 10000,
               "minimum": 1
              }
             },
             "additionalProperties": false
            },
            "maxItems": 16,
            "minItems": 0
           },
           "lead_time": {
            "type": "integer",
            "maximum": 24,
            "minimum": 0
           },
           "scheduled": {
            "type": "array",
            "items": {
             "type": "integer",
             "maximum": 1000000,
             "minimum": 0
            },
            "maxItems": 24,
            "minItems": 1
           },
           "lot_multiple": {
            "type": "integer",
            "maximum": 1000000,
            "minimum": 1
           },
           "safety_stock": {
            "type": "integer",
            "maximum": 1000000,
            "minimum": 0
           }
          },
        
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multilevel-bom-mrp-netting-with-lot-multiple-and-lead-time-offset-831110ea/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)
