Tullage Check a quota

Forecast whether a quota is open on a shipment date

forecast_runout

Open on the shipment date: probability, run-out range, whether your quantity fits, and the duty if it does not.

Forecasts whether an EU tariff quota will still be open on the date your goods are declared, with a probability, a run-out date range, the projected balance and, if you give the quantity, whether it is likely to fit. It reports what TARIC already records for that date (a blocking period, for example) and the status now, with any current or scheduled blocking period, and ends with summary, one sentence to quote. kg is in the quota's own unit, kilograms for steel, so 500 tonnes is 500000. It states its method, the past periods it rests on, and its out-of-sample backtest at that horizon; with no comparable history it returns unknown rather than guessing. Give cn_code and origin to also get the duty that applies if the quota is gone. Call it before booking or routing a shipment that will arrive on a future date. It cannot know demand that has not been filed yet, policy changes, or new volumes, and it is a probability, not a guarantee.

Input

FieldTypeDescription
order requiredstring or integerEU tariff quota order number, 6 digits, for example 099702 (also accepted as 09.9702).
shipment_date requiredstringDate the goods will be declared for release for free circulation, YYYY-MM-DD, on or after the data date.
kgnumberOptional quantity to check, in the quota's own unit, which is kilograms for most quotas; the answer states the unit.
cn_codestring or integerOptional CN code of the goods, to return the duty outside the quota.
originstringOptional country of origin, a 2-letter code or a country name, used with cn_code for preferences and country measures.

A real call

RESTData version 2026-11-06.617393
curl -s https://tullage.bulkhead.solutions/v1/tools/forecast_runout \
  -H 'content-type: application/json' \
  -d '{"order":"091806","shipment_date":"2026-12-15","kg":500000}'
Command line, from the product package
tullage forecast_runout '{"order":"091806","shipment_date":"2026-12-15","kg":500000}'
The answer, as returned on 6 Nov 2026Complete
{
  "order": "091806",
  "shipment_date": "2026-12-15",
  "asked_quantity": 500000,
  "period": {
    "definition_sid": "27563",
    "start": "2026-01-01",
    "end": "2026-12-31",
    "label": "2026",
    "regulation": "Commission Implementing Regulation (EU) 2016/2253 of 14 December 2016 opening and providing for the management of Union tariff quotas for certain agricultural and processed agricultural products originating in South Africa (see OJ L 340/48)",
    "opens_after_data_date": false
  },
  "verdict": "uncertain",
  "verdict_text": "Uncertain: in comparable past periods this quota was sometimes gone by then. Plan for the out-of-quota duty.",
  "status_now": {
    "status": "open",
    "balance": 1837680,
    "critical": true
  },
  "probability_open": 0.65,
  "run_out": {
    "earliest": "2026-11-18",
    "likely": "2026-12-02",
    "latest": null,
    "null_means": "not before the period ends",
    "basis": "20th, 50th and 80th percentile over 7 past periods, not calibrated. The calibrated probability_open is the number to rely on, and it can disagree with this range."
  },
  "balance_now": {
    "balance": 1837680,
    "volume": 50000000,
    "initial_volume": 50000000,
    "volume_note": "initial_volume is the volume first opened for this period, the figure in the regulation. volume is TARIC's current volume, which can be raised after opening (for example by carrying over or transferring unused volume) or lowered by an amendment. balance and drawn_share are measured against volume, so a balance can be larger than initial_volume.",
    "unit": "KGM",
    "unit_name": "kg",
    "drawn_share": 0.9632
  },
  "projected_balance_on_shipment_date": {
    "low": 0,
    "median": 0,
    "high": 1837676.5
  },
  "quantity_fits": "uncertain",
  "quantity_unit": "kg",
  "method": {
    "name": "analog periods, calibrated",
    "how": "Each past period of this order number of the same length replays its own draw-down from the same point in its period on top of today's balance. The share of those periods still open on the shipment date is calibrated against how often such shares were right in the backtest.",
    "sample": {
      "analogs": 7,
      "periods": [
        "2025-01-01 to 2025-12-31",
        "2024-01-01 to 2024-12-31",
        "2023-01-01 to 2023-12-31",
        "2022-01-01 to 2022-12-31",
        "2021-01-01 to 2021-12-31",
        "2020-01-01 to 2020-12-31",
        "2019-01-01 to 2019-12-31"
      ]
    },
    "first_allocation_share_in_past_periods": {
      "median": 0.002,
      "min": 0,
      "max": 0.58
    }
  },
  "backtest": {
    "test": "Out of sample: calibrated on periods that ended before 2022-01-01, scored on 5667 periods that started from then on and recorded at least one allocation, at the 30-day horizon, 3 or more past periods.",
    "cases": 26131,
    "brier": {
      "this_forecast": 0.0405,
      "open_now_open_then": 0.0604,
      "straight_line": 0.1553,
      "note": "lower is better"
    },
    "best_guess_accuracy": {
      "this_forecast": 0.9509,
      "open_now_open_then": 0.9396,
      "straight_line": 0.8447
    },
    "said_open_but_ran_out": 0.0234,
    "run_outs_flagged": 0.6555,
    "honest_reading": "At this horizon the forecast beat both baselines on calibration and on best-guess accuracy.",
    "horizon_note": "Your shipment is 39 days after the data date; the nearest horizon tested is 30 days."
  },
  "as_of": {
    "data_date": "2026-11-06",
    "latest_allocation": "2026-11-06T14:26:55",
    "checked_on": "2026-11-29",
    "weekdays_behind": 15,
    "stale": true,
    "stale_note": "The newest data is from 2026-11-06, 15 weekdays behind 2026-11-29; Tullverket publishes a file every weekday, so the refresh has stopped. Treat balances as of 2026-11-06, not today.",
    "note": "Allocation timestamps are as published by Tullverket. The data date is the date of the newest daily file applied; weekdays_behind counts the weekday files after it that have not been applied, and stale is true from 3."
  },
  "source": {
    "name": "Swedish Customs (Tullverket), Tariff File Distribution (Tulltaxan Fildistribution)",
    "url": "https://distr.tullverket.se/tulltaxan/xml/",
    "integrity": "Every file's PGP signature verified against Tullverket's published key, fingerprint 410160CE25CEC2FF322784E7302AC3C1D0E3E1C9.",
    "official_reference": "EU TARIC quota consultation, European Commission"
  },
  "data_version": "2026-11-06.617393",
  "caveat": "Balances come from Swedish Customs' signed copy of the EU TARIC quota data and can lag the European Commission by up to a day. The critical flag is read from the daily updates, because the weekly full file trails it. A balance is not a promise of allocation: requests on the same day are allocated pro rata, and allocation follows release for free circulation.",
  "summary": "Quota 091806, period 2026, read on data of 2026-11-06: uncertain, probability it is still open on 2026-12-15: 65 %. Uncalibrated run-out estimate 2026-12-02 (2026-11-18 to not before the period ends). Asked quantity 500000 kg: fits uncertain. Based on 7 past periods; backtested at the 30-day horizon. A probability, not a guarantee. Source: Tullverket's signed TARIC distribution."
}
Automated and unreviewed. Tullage reads official sources automatically and no person checks each answer. Data can be incomplete, late or wrong. Always verify against the official source linked with every answer before you act. Not legal, tax or customs advice. An answer is not binding tariff information: only the decision of the customs authority binds, and a balance is not a promise of allocation.