Skip to content
HALOWERK

Zollwerk

shipment customs additions allocation

Allocate supplied customs additions by value or weight with exact cent conservation.

POST https://zoll.halowerk.com/v1/shipment-customs-additions-allocation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
linesarrayYes
addition_centsintegerYes
basisSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "value_cents": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "weight_g": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "id",
          "value_cents",
          "weight_g"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "addition_cents": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000
    },
    "basis": {
      "enum": [
        "value",
        "weight"
      ]
    }
  },
  "required": [
    "lines",
    "addition_cents",
    "basis"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lines": [
    {
      "id": "line_01",
      "value_cents": 100,
      "weight_g": 1000
    },
    {
      "id": "line_02",
      "value_cents": 200,
      "weight_g": 1000
    }
  ],
  "addition_cents": 10,
  "basis": "value"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’