Skip to content
HALOWERK

Trade Operations

supplier receipt receipt fragmentation

Purchase receipt fragmentation counts distinct promise-relative day offsets and repeated receipts across lines. Use it when an agent needs estimating warehouse touches.

POST https://handel.halowerk.com/v1/supplier-receipt-receipt-fragmentation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
linesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ordered": {
            "type": "number",
            "minimum": 1e-06,
            "maximum": 10000000
          },
          "receipts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "day": {
                  "type": "integer",
                  "minimum": -365,
                  "maximum": 365
                },
                "qty": {
                  "type": "number",
                  "minimum": 1e-06,
                  "maximum": 10000000
                }
              },
              "required": [
                "day",
                "qty"
              ],
              "additionalProperties": false
            },
            "maxItems": 40,
            "minItems": 0
          }
        },
        "required": [
          "ordered",
          "receipts"
        ],
        "additionalProperties": false
      },
      "maxItems": 40,
      "minItems": 1
    }
  },
  "required": [
    "lines"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lines": [
    {
      "ordered": 10,
      "receipts": [
        {
          "day": 0,
          "qty": 9
        }
      ]
    },
    {
      "ordered": 10,
      "receipts": [
        {
          "day": 0,
          "qty": 9
        }
      ]
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’