# Tariff-Quota Balance Calculator

> Tariff-Quota Balance Calculator is a paid API for AI agents from zoll.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-16).

Calculates remaining quantity and utilization rate from a published tariff-quota balance, disclosing derivation method and source provenance.

## Facts

- Endpoint: POST https://zoll.halowerk.com/v1/tariff-quota?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tariff-quota-balance-calculator-104cfad9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1zsI4rn33XcZiOh4thaox

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 tariff-quota-balance-calculator-104cfad9 -d '<json body>'
```

Example prompt: I need to know the remaining balance and utilization rate on tariff-quota order 09.1234 — the initial quantity was 50,000 tonnes and the remaining quantity is 12,500 tonnes. The source is the official EU TARIC notice published on 2024-11-15 at https://ec.europa.eu/taxation_customs/notice-example.

## When to prefer this

Use this endpoint when you have a published tariff-quota balance (order number, initial and remaining quantities, and an official source document) and need to compute utilization rates or remaining availability in a traceable, source-disclosed way. Prefer this over manual calculation when provenance transparency and unavailable-field reporting are required for compliance documentation. It is specifically suited for customs and trade workflows where the derivation method must be disclosed alongside the result.

## Known failure modes

- Missing required source fields (url, published_at, title) cause validation errors
- Initial or remaining quantity values outside the allowed range (0–1,000,000,000,000) are rejected
- Malformed URI in source.url field causes input validation failure
- remaining_quantity exceeding initial_quantity may produce anomalous utilization results
- Insufficient input data results in null values and populated unavailable_fields array

## How this service works

Calculates remaining quantity and utilization from a published tariff-quota balance. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age. This is neither legal advice nor customs advice.

## Output

Returns the calculated remaining quantity and utilization percentage derived from the supplied initial and remaining quantities. Discloses the derivation method used. Source-backed values include source URL, title, publication date, and data age. Any facts that could not be determined are returned as null and listed in an unavailable_fields array. Includes a disclaimer that results are not legal or customs advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "unit": {
   "type": "string",
   "maxLength": 512,
   "minLength": 1,
   "description": ""
  },
  "source": {
   "type": "object",
   "required": [
    "url",
    "published_at",
    "title"
   ],
   "properties": {
    "url": {
     "type": "string",
     "format": "uri"
    },
    "title": {
     "type": "string",
     "maxLength": 300,
     "minLength": 3,
     "description": ""
    },
    "published_at": {
     "type": "string",
     "format": "date-time"
    }
   },
   "additionalProperties": false
  },
  "order_number": {
   "type": "string",
   "maxLength": 512,
   "minLength": 1,
   "description": ""
  },
  "initial_quantity": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0,
   "description": ""
  },
  "remaining_quantity": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0,
   "description": ""
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tariff-quota-balance-calculator-104cfad9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zoll.halowerk.com](https://www.zero.xyz/host/zoll.halowerk.com/llms.txt)
