Skip to content
HALOWERK

Trade Operations

supplier receipt completion offset

Purchase order completion reports the latest line completion offset from its own promise date. Use it when an agent needs measuring the latest completion relative to promise.

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

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 โ†’