FreightUtils MCP Server

v2.34.6
io.github.SoapyRED/freightutils Checked 17 hours ago Published 8 days ago

Neutral freight reference + validation layer for AI agents: ADR, HS, UN/LOCODE, freight math

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cbm_calculator

Cubic metres (CBM) of a shipment from per-piece dimensions in cm and a piece count, with cubic feet, litres and cubic inches. Volume only: for air billing weight from the same dimensions use chargeable_weight_calculator, for multi-line totals consignment_calculator, for one unit conversion unit_converter, for a full composite analysis shipment_summary. Deterministic; totals are computed from unrounded figures and rounded only for display. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.

ParameterTypeDescription
height_cm *numberHeight of one piece, cm.
length_cm *numberLength of one piece, cm.
width_cm *numberWidth of one piece, cm.
piecesintegerNumber of identical pieces. Default 1.

chargeable_weight_calculator

Air freight chargeable weight — the greater of actual gross weight and volumetric weight, which is what airlines bill. The dimensions are per piece and gross_weight_kg is the TOTAL for all pieces; factor is the volumetric divisor (default 6000, the IATA standard; express integrators typically use 5000). Air only: sea W/M is consignment_calculator with mode=sea; volume alone is cbm_calculator; multi-line loads in any mode consignment_calculator; the equipment the freight flies in uld_lookup. Deterministic; totals are computed from unrounded figures and rounded only for display. Rate-limited:…

ParameterTypeDescription
gross_weight_kg *numberGross weight of the WHOLE shipment (all pieces), kg.
height_cm *numberHeight of one piece, cm.
length_cm *numberLength of one piece, cm.
width_cm *numberWidth of one piece, cm.
factorintegerVolumetric divisor, cm³/kg. Default 6000.
piecesintegerNumber of identical pieces. Default 1.

ldm_calculator

Loading metres (LDM) for European road freight — how much trailer length a pallet load occupies (1 LDM = 1 linear metre of a 2.4 m-wide trailer; a standard artic is 13.6 LDM) — and whether it fits. Provide a pallet preset OR custom length_mm + width_mm; omitting both errors. fits is true only when the load fits the vehicle's length, its pallet floor positions and, when weight_kg is given, its max payload; without weight_kg the payload is not checked. For the trailer specs behind the presets use vehicle_lookup; for boxes onto one pallet pallet_fitting_calculator; for mixed lines consignment…

ParameterTypeDescription
length_mmnumberCustom pallet length, mm (with width_mm, instead of a preset).
palletstringPallet preset (euro 1200x800, uk 1200x1000, half 800x600, quarter 600x400 mm). Provide this OR length_mm + width_mm.
quantityintegerNumber of pallets. Default: 1.
stack_heightintegerStack height when stackable: 2 or 3. Default: 2.
stackablebooleanPallets can be stacked (2 or 3 high). Default false.
vehiclestringVehicle preset (default artic = 13.6m curtainsider; rigid75 = 7.5t rigid; luton = 3.5t Luton van; us53 / us48 = US trailers; custom needs vehicle_length_m). rigid10 is DEPRECATED (removal in 3.0.0).
vehicle_length_mnumberCustom vehicle load length in metres (required when vehicle=custom).
weight_kgnumberWeight per pallet in kg — enables the payload side of the fits check.
width_mmnumberCustom pallet width in millimetres. Example: 980.

adr_lookup

Look up the full European road dangerous-goods (ADR 2025) Table A entry for a substance — all 20 columns, from class, packing group and labels through special provisions, limited/excepted quantities, packing instructions, tank codes, carriage provisions, transport category, tunnel restriction code and hazard identification number — and what each of those codes means (resolved_codes). 2,939 entries across all 9 classes, from UNECE ADR 2025. Provide exactly ONE of: un_number (every packing-group variant of it; "1203", "UN1203" and "un 1203" are equivalent; explosives keep their leading zero)…

ParameterTypeDescription
as_ofstringThe date the answer is for, YYYY-MM-DD (default today, UTC).
editionstringADR edition; wins over as_of. Omitted: as_of picks it.
hazard_classstringAll entries in an ADR class (Table A column (3a)), e.g. "3", "6.1", "1" (explosives; "1.4S" is a classification_code).
include_codesstringWhat each Table A code means (resolved_codes): compact, full or none. Default compact for un_number, none otherwise.
include_statementsbooleantrue adds plain-word statements[] to every row. Default false.
limitintegersearch / hazard_class only: rows per page (default and max 50 for a search, 100 for a class).
offsetintegersearch / hazard_class only: rows to skip (default 0). The response gives total and next_offset.
searchstringCase-insensitive partial match on the proper shipping name (min 2 characters). Example: "acetone".
un_numberstringExact UN number, 4 digits, optionally "UN"-prefixed ("0004" keeps its zero).
un_numbersarrayBatch: up to 50 UN numbers. Send alone.

adr_exemption_calculator

ADR 1.1.3.6 "small load" exemption points for a dangerous-goods road load, and whether it qualifies; points = quantity x the transport category multiplier. The rule (1.1.3.6.2), for dangerous goods carried in packages: goods of ONE transport category qualify when their TOTAL on the transport unit stays within that category's 1.1.3.6.3 column (3) maximum (category 1: 20, 2: 333, 3: 1,000 kg or L; 4 unlimited; 0: 0); goods of DIFFERENT categories qualify when the 1.1.3.6.4 points sum does not exceed 1,000. Transport category 0 can never use the exemption. For limited/excepted quantity relief use…

ParameterTypeDescription
as_ofstringThe date the answer is for, YYYY-MM-DD (default today, UTC).
basisstringnet or gross; a gross mass is only an upper bound of the net (send the net quantity). Single-substance form only.
consignmentobjectThe consignment object, instead of the other arguments. Send it alone.
editionstringADR edition; wins over as_of. Omitted: as_of picks it.
icao_limited_quantitybooleanID-prefixed un_number only: true states the packages are ICAO Technical Instructions limited quantities (the 3.4.8 mark, or 3.4.10).
itemsarrayMixed-load items, INSTEAD of un_number/quantity.
packing_groupstringPacking group, to pin one row of a multi-row UN. Single-substance form only.
quantitynumberQuantity in kg or litres per the substance's ADR unit. Single-substance form only.
un_numberstringUN number (4 digits, optionally "UN"-prefixed) or an ID-prefixed air-only number ("ID8000"). Single-substance form only.
unitstringThe dimension quantity is stated in, checked against the one ADR 1.1.3.6.3 counts for the row (a mismatch gives no points). Omitted: taken as already on that basis. Single-substance form only.
variant_indexintegerADR Table A variant index (from adr_lookup), to pin one row. Single-substance form only.

adr_lq_eq_check

Whether dangerous goods qualify for ADR Limited Quantity (LQ, ADR 3.4) or Excepted Quantity (EQ, ADR 3.5) relief, item by item. Send mode ("lq" or "eq") and 1-20 items, each with un_number, quantity per INNER packaging (not the whole load) and unit (ml or L for liquids, g or kg for solids); inner_packaging_qty adds the EQ per-outer check. A mass against a volume limit (or the reverse) cannot be compared: that item is inconclusive — send the unit given by lq_limit_unit. A UN number whose Table A rows disagree needs packing_group or variant_index, else no verdict for it (AMBIGUOUS_UN_VARIANT w…

ParameterTypeDescription
items *arrayItems to check (1-20 per call).
mode *stringlq (Limited Quantity, ADR 3.4) or eq (Excepted Quantity, ADR 3.5).
as_ofstringThe date the answer is for, YYYY-MM-DD (default today, UTC).
editionstringADR edition; wins over as_of. Omitted: as_of picks it.

airline_lookup

Find airlines (6,356) by name, IATA code, ICAO code, AWB prefix (the first 3 digits of an air waybill number, e.g. 176 = Emirates) or country. Provide ONE parameter: query is a ranked fuzzy search; iata / icao / prefix / country are exact filters. Searches carriers, not airports — for airports use airport_lookup; to check an AWB number's check digit use validate. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Provenance pending independent verification — confirm operationally critical codes with IATA/ICAO or the carrier.

ParameterTypeDescription
codesarrayBatch: up to 50 airline codes (IATA, ICAO or AWB prefix). Send alone.
countrystringCountry name filter.
fullbooleanLists only: true returns full records instead of summary rows.
iatastringExact 2-character IATA code.
icaostringExact 3-letter ICAO code.
limitintegerLists only: rows per page.
offsetintegerLists only: rows to skip (default 0).
prefixstringExact AWB prefix, 3 digits.
querystringRanked fuzzy search across names and codes.

container_lookup

ISO shipping-container specifications for 10 types (20ft/40ft standard, 40ft and 45ft high-cube, reefer, open-top and flat-rack), with optional load-fit maths. type (a slug such as "40ft-high-cube", the ISO size-type code "45G1" or the short form "40HC") gives one record; omit it to list all 10; add item dimensions to compute how many items fit. For a container NUMBER's check digit use validate; for the air-freight equivalent uld_lookup; for the cargo volume cbm_calculator / consignment_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Manufacturer-ty…

ParameterTypeDescription
fullbooleanLists only: true returns full records instead of summary rows.
item_height_cmnumberItem height in cm.
item_length_cmnumberItem length in cm — provide all three item dims to get a load-fit calculation.
item_quantityintegerNumber of items to check against the container.
item_weight_kgnumberWeight of ONE item, kg; caps the fit by max payload.
item_width_cmnumberItem width in cm.
limitintegerLists only: rows per page.
offsetintegerLists only: rows to skip (default 0).
typestringContainer slug ("40ft-high-cube"), ISO code or short form. Omit to list all.

hs_code_lookup

Search the 6,936 codes of the WCO Harmonized System (HS 2022), the 6-digit international customs classification (2 digits chapter, 4 heading, 6 subheading). Provide ONE of: query (free-text description), code (2-6 digits, dots or spaces ignored; returns the code with its hierarchy) or section (Roman numeral I-XXI). Behavior: read-only; description search runs first against the HS 2022 descriptions (UN Comtrade H6), on whole words only (a word inside a longer word never matches); when none contains the words, or the best match is weak, it asks the UK Trade Tariff search references (HMRC's index…

ParameterTypeDescription
codestringHS code or prefix, 2, 4 or 6 digits; dots and spaces ignored ("8471.30").
codesarrayBatch: up to 50 HS codes. Send alone.
querystringSearch words, matched against the HS descriptions, then HMRC everyday goods names.
sectionstringA section, Roman numeral I-XXI.

incoterms_lookup

The 11 Incoterms 2020 rules — who pays for transport, insurance and customs clearance, and where risk transfers from seller to buyer. code gives one rule; category (any_mode | sea_only) filters; neither lists all 11. An unknown code errors with the valid list; DAT names its successor, DPU. Related: uk_duty_calculator (takes an incoterm when composing the CIF value), shipment_summary. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Summarised guidance; the ICC publication is the binding text.

ParameterTypeDescription
categorystringFilter the list: any_mode (7 rules) or sea_only (4 rules).
codestringThree-letter Incoterms 2020 code.
fullbooleanLists only: true returns full records instead of summary rows.
limitintegerLists only: rows per page.
offsetintegerLists only: rows to skip (default 0).

pallet_fitting_calculator

How many identical boxes fit on one pallet: boxes per layer (trying 90-degree rotation when allowed), layers within the max height, totals, footprint and volume utilisation (volume_utilisation_percent), capped in whole layers by max_payload_kg. One box size in aligned rows — no interlocked or mixed patterns. For pallets into trailer length use ldm_calculator; pallet capacity per vehicle vehicle_lookup; pallets into containers container_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. A theoretical best-effort fit — carton strength, overhang and load…

ParameterTypeDescription
box_height_cm *numberBox height in cm.
box_length_cm *numberBox length in cm.
box_width_cm *numberBox width in cm.
pallet_length_cm *numberPallet length, cm.
pallet_max_height_cm *numberMaximum stack height in cm INCLUDING the pallet deck.
pallet_width_cm *numberPallet width, cm.
allow_rotationbooleanTry 90-degree box rotation for the best layer fit. Default: true.
box_weight_kgnumberWeight per box in kg — enables the weight-capping check.
max_payload_kgnumberMaximum pallet payload in kg. Example: 1000.
pallet_deck_height_cmnumberPallet deck height in cm. Default: 15.

unit_converter

Convert freight weight, volume and length units, plus chargeable_kg (air volumetric weight at the IATA 6,000 divisor) and freight_tonnes (sea W/M, 1 CBM = 1 freight tonne), both only FROM cbm. Cross-dimension conversions (e.g. kg to litres) and a negative value are refused. For dimensions to volume use cbm_calculator; for air billing weight with pieces and a custom divisor chargeable_weight_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.

ParameterTypeDescription
from *stringSource unit; the same dimension as "to".
to *stringTarget unit; chargeable_kg and freight_tonnes only from cbm.
value *numberThe value to convert, 0 or more.

consignment_calculator

Per-line and grand totals for a multi-item mixed consignment: CBM, loading metres, volumetric weight and the mode's chargeable figure (air chargeable weight, sea revenue tonnes, road LDM), plus advisory flags (implausible density, mode/option mismatch, dangerous goods by UN number, container/AWB check digits). Send mode (sea | air | road, default road) and lines[] (each line with its own dimension and weight units), or the legacy flat items[] in cm and kg. For a vehicle/container suggestion and duty estimates use shipment_summary; for one figure cbm_calculator / chargeable_weight_calculator /…

ParameterTypeDescription
as_ofstringThe date the answer is for, YYYY-MM-DD (default today, UTC).
consignmentobjectThe consignment object, instead of the other arguments. Send it alone.
editionstringADR edition; wins over as_of. Omitted: as_of picks it.
itemsarrayLegacy flat alias — dimensions in cm, weight in kg. Prefer lines.
linesarrayCanonical consignment lines (preferred, 1-50). Provide lines OR items.
modestringTransport mode: sea | air | road. Default: road.
optionsobjectOptional settings.

unlocode_lookup

Search 116,086 UN/LOCODE transport locations — ports, airports, rail and road terminals, inland container depots and border crossings (5 characters: country + location, e.g. NLRTM = Rotterdam; "GB LHR" reads as GBLHR). code gives an exact record; query searches names, narrowed by country and function_type; an unknown code errors. For airport records with ICAO codes use airport_lookup; for airports near a coordinate nearest_airport. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. An administrative code list — confirm operational status and coordinates with t…

ParameterTypeDescription
codestringExact UN/LOCODE, 5 characters, optionally spaced ("GB LHR").
codesarrayBatch: up to 50 UN/LOCODEs. Send alone.
countrystring2-letter ISO country filter.
function_typestringFilter by location function.
limitintegerMaximum results. Default: 20, max: 100.
querystringLocation name search.

uk_duty_calculator

Estimate UK import duty and VAT for a commodity code from the LIVE GOV.UK Trade Tariff: CIF = customs_value + freight_cost + insurance_cost (GBP); duty = CIF x the rate for the origin country; VAT on the duty-inclusive value. commodity_code must be the declarable 10 digits: a 6- or 8-digit code is refused — never padded with zeros — with the declarable codes beneath it. To find the code first use hs_code_lookup; for who pays these costs incoterms_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. An estimate, not a customs ruling — confirm with a cus…

ParameterTypeDescription
commodity_codestringRequired unless lines[] is sent. The declarable 10-digit UK commodity code, e.g. "8471300000".
customs_valuenumberGoods value, GBP. Required unless lines[] is sent.
freight_costnumberFreight cost in GBP, 0 or more — added to the CIF value. Default: 0.
incotermstringIncoterms 2020 basis of the customs_value — documents which costs are already included.
insurance_costnumberInsurance cost in GBP, 0 or more — added to the CIF value. Default: 0.
linesarrayBatch: up to 10 lines, each { commodity_code, origin_country, customs_value, freight_cost?, insurance_cost?, incoterm? }. Send alone.
origin_countrystringRequired unless lines[] is sent. ISO 2-letter country of origin.

shipment_summary

Composite shipment analysis in one call: volume (CBM), gross and chargeable weight, and by mode road LDM with pallet floor positions and a suggested vehicle, air volumetric weight, or sea revenue tonnes with a suggested container; plus dangerous-goods presence for items with un_number and UK duty estimates for items with hs_code + customs_value. weight and customs_value are PER ITEM; adr_quantity is the TOTAL for the dangerous-goods line, all pieces together. An item with no stackable flag is not stacked. Sections that cannot run surface in warnings instead of failing the call. Its result uses…

ParameterTypeDescription
as_ofstringThe date the answer is for, YYYY-MM-DD (default today, UTC).
consignmentobjectThe consignment object, instead of the other arguments. Send it alone.
destinationobjectDestination — ISO country code and optional UN/LOCODE.
editionstringADR edition; wins over as_of. Omitted: as_of picks it.
freight_costnumberFreight cost in GBP for the duty calculation, 0 or more. Default: 0.
incotermstringIncoterms 2020 three-letter code.
insurance_costnumberInsurance cost in GBP for the duty calculation, 0 or more. Default: 0.
itemsarrayRequired unless consignment is sent. Shipment items with dimensions, weight and optional HS/UN codes.
modestringTransport mode — selects the mode-specific section of the result. Required unless consignment is sent.
originobjectOrigin — ISO country code and optional UN/LOCODE.

uld_lookup

Air-cargo ULD (unit load device) specifications — 16 types: lower-deck containers (AKE/LD3 and family), main-deck pallets (PMC, PAG and family) and temperature-controlled units. type as an IATA code ("AKE"), slug ("ake-ld3") or the record's own name ("LD3" → AKE) gives one record; omit it to list all 16; category and deck filter. Pallet records have no internal dimensions — read max_build_up_height_cm, and do not multiply dimensions for a volume. For the sea-freight equivalent use container_lookup; for what the cargo inside is billed at chargeable_weight_calculator; for whose aircraft it…

ParameterTypeDescription
categorystringFilter by ULD category.
deckstringFilter by deck position.
fullbooleanLists only: true returns full records instead of summary rows.
limitintegerLists only: rows per page.
offsetintegerLists only: rows to skip (default 0).
typestringIATA ULD code ("AKE") or slug. Omit to list all.

vehicle_lookup

Road-freight vehicle and trailer specifications — 17 types: EU articulated trailers, US 53ft/48ft dry vans, rigid trucks (7.5-26 t) and vans; internal dimensions, payload and gross weights, pallet capacity, axles. slug gives one record; omit it to list all 17; category (articulated | rigid | van) and region (EU | US) filter. For whether a pallet load fits use ldm_calculator; also pallet_fitting_calculator and consignment_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Typical specs, provenance pending — legal payload is set by the vehicle's plat…

ParameterTypeDescription
categorystringFilter by vehicle category.
fullbooleanLists only: true returns full records instead of summary rows.
limitintegerLists only: rows per page.
offsetintegerLists only: rows to skip (default 0).
regionstringFilter by region.
slugstringVehicle slug ("standard-curtainsider"). Omit to list all.

emissions_calculator

Estimate freight transport greenhouse-gas emissions (kgCO2e) for one shipment leg, per ISO 14083:2023 / GLEC Framework v3.2: mass x distance x a published emission-intensity factor (DEFRA, EPA or ADEME by region). Pass ACTUAL GROSS MASS, not chargeable/volumetric weight, and a distance you provide — this tool does NOT route, geocode or compute distances. The fleet-average factor already includes average empty running: do not add an empty-return leg. An unknown mode/sub_mode/region returns available:false with the covered options. Distinct from cbm_calculator / ldm_calculator / chargeable_wei…

ParameterTypeDescription
distance_km *numberTransport distance, km (you provide it).
mass *numberActual gross shipment mass, in mass_unit.
mode *stringTransport mode.
basisstringwtw = well-to-wheel (default), ttw = tank-to-wheel.
mass_unitstringUnit for mass. Default: kg.
regionstringFactor source: uk = DEFRA, us = EPA, fr = ADEME. Default per mode.
sub_modestringSub-mode / vehicle class (e.g. "articulated"); omit for the representative default.

validate

Validate freight identifiers by their public check-digit algorithms: shipping container numbers (ISO 6346), air waybill numbers (IATA modulus-7) and IMO ship numbers. text finds and validates every identifier in a string; value + type validates one (value without type is refused); type "consignment" with consignment validates a consignment object. An AWB names its airline only when one record holds the prefix; otherwise airline_candidates[] lists every holder, never a guessed carrier. AWB: airline prefix + the airline from the AWB-prefix dataset when ONE record holds the prefix — when severa…

ParameterTypeDescription
consignmentobjectWith type "consignment": the consignment object to validate.
textstringFree text to scan for container / AWB / IMO identifiers. Provide this OR value + type.
typestringType of value: container (ISO 6346), awb, imo; or consignment with the consignment argument.
valuestringOne identifier to validate; requires type.

ics2_check

Check a goods description against the official EU ICS2 stop-words list — terms too vague or generic for an entry summary declaration (ENS) goods description. A standalone stop-word means automatic rejection, an embedded one means make the description more specific; clean=true means no listed term matched, not that it will be accepted. The Commission's whitelist of accepted goods descriptions (ICS2 Common Repository, from 17 November 2026) is applied first: a whole description that is a whitelist entry is not flagged, even when it contains a stop-word, and the answer carries whitelist_match n…

ParameterTypeDescription
description *stringThe goods description to check.

airport_lookup

Look up an airport by IATA code ("LHR"), ICAO code ("EGLL") or free-text name/city search (OurAirports, public domain). Covers 86,281 airports worldwide (OurAirports, public domain, cross-checked vs OpenFlights + Wikidata). Provide ONE of iata, icao or query; ambiguous name searches return ranked candidates; an unknown code errors. For airports near a coordinate use nearest_airport; for carriers and AWB prefixes airline_lookup; for general transport locations unlocode_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Reference data only — not for naviga…

ParameterTypeDescription
codesarrayBatch: up to 50 airport codes (IATA or ICAO). Send alone.
iatastringExact 3-letter IATA code.
icaostringExact 4-character ICAO code / ident.
querystringName or city search.
typestringOptional filter by airport type.

nearest_airport

The airports nearest a latitude/longitude you provide, sorted by great-circle distance (distance_km on each). Searches 86,281 airports (OurAirports, public domain). By default only airports with scheduled airline service and an IATA code are ranked — never a heliport or a closed field; include_all: true ranks every type except closed fields. Does NOT geocode place names — pass coordinates you already hold; nothing is stored. For an exact code or name lookup use airport_lookup; for named transport locations unlocode_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allo…

ParameterTypeDescription
latitude *numberLatitude, decimal degrees.
longitude *numberLongitude, decimal degrees.
include_allbooleantrue: every airport type except closed fields. Default false (scheduled service with an IATA code).
max_resultsintegerMaximum results (1-50). Default: 10.
radius_kmnumberMaximum distance in kilometres — omit for no radius cap.
typestringOptional filter by airport type. Example: "large_airport".

resolve_reference

Resolve an arbitrary freight identifier — one opaque string in, typed and cited candidates out. Use when you hold one identifier-ish token ("176", "UN1845", "NLRTM", "FOB", "22G1", "MSKU1100810", "D/E", "TU9") and do not know what kind of identifier it is: each candidate names its entity type and carries the api_url and canonical_url of its full record. q is ONE identifier (max 32 chars), or an fu: identifier (fu_id or fu_version_id, up to 200 chars), which resolves to exactly its one record or to none. Colliding grammars return several ranked candidates, never a silent guess; zero candidate…

ParameterTypeDescription
q *stringOne freight identifier, or an fu: identifier from an answer (e.g. "fu:adr:un:1203:II:F1@2025").

adr_consignment_check

One call on the consignment object for the ADR picture of a road load: the 1.1.3.6 small-load verdict, the limited / excepted quantity check of each line, the tunnel restriction code of the whole load against the tunnels on the route, each line's transport-document entry, mixed loading (7.5.2, with the foodstuffs precautions of 7.5.4), and the vehicle side — orange-coloured plates and placards (5.3), the documents, fire extinguishers and equipment on the transport unit (8.1), and driver training (8.2); and the UN packaging mark of each line (6.1.3.1). The rules are page-cited to the free UNE…

ParameterTypeDescription
lines *arrayThe lines of the load (1–50). Required.
as_ofstringThe date the answer is for, YYYY-MM-DD (default today, UTC).
crewobjectThe crew, for the driver-training and document checks. Facts only — no name.
editionstringADR edition; wins over as_of. Omitted: as_of picks it.
journeyobject
optionsobjectThe consignment object's options; not read by this check.
vehicleobjectThe vehicle-side inputs (ADR 5.3, 7.5.4, 8.1).

eu_tariff_lookup EU Tariff Lookup (TARIC)

Look up an EU tariff code: give a CN (8-digit) or TARIC (10-digit) code and as_of (YYYY-MM-DD, mandatory), optionally origin (ISO country or TARIC country-group code) and direction (import, default, or export). It returns whether the code exists and is declarable on that date (with the declarable codes below it when it is not), and every measure that applies by TARIC's cascade from its parent lines: measure type and name, the duty as published and parsed, origin or destination with its name, exclusions, additional codes (codes only), quota order numbers, legal base, start and end. For the duty…

ParameterTypeDescription
as_ofstringDate the measures are read for, YYYY-MM-DD. Required; must be the reference date of the TARIC extraction the answers come from (a refusal names it).
codestringCN code (8 digits) or TARIC code (10 digits); spaces and dots allowed. Required.
directionstringOptional: import (default) or export.
originstringOptional: ISO 3166 country code (e.g. CN) or a 4-digit TARIC country-group code (e.g. 1011). Without it every measure on the code is listed.

eu_duty_calculator EU Duty Calculator (TARIC)

Compute EU import duty from TARIC for a declarable 10-digit code, as_of (YYYY-MM-DD, mandatory), origin (ISO country) and customs_value in EUR, with quantities by TARIC unit code (e.g. {"DTN": 12.5}) where a specific duty needs them. Every measure on the code for that origin gets a state: computed, insufficient_data (condition, quota balance, additional code, Meursing, entry price, MIN / MAX, or a quantity named in missing_inputs) or not_applicable. Third-country duty first; each other rate is its own line saying what it requires; no total. Trade-defence duties are listed, never computed. For…

ParameterTypeDescription
as_ofstringDate the duty is computed for, YYYY-MM-DD. Required; must be the reference date of the TARIC extraction (a refusal names it).
codestringDeclarable TARIC code, 10 digits (an 8-digit CN code is read as its 10-digit form). Required.
currencystringEUR (the default and the only one accepted: no currency is converted).
customs_valuenumber | stringCustoms value in EUR, a positive number. Required.
originstringCountry of origin, ISO 3166 alpha-2 (e.g. CN, US, TR). Required.
quantitiesobjectQuantities by TARIC unit code for specific or compound duties, e.g. {"DTN": 12.5} (12.5 × 100 kg), {"HLT": 4}, {"NAR": 100}, {"DTN/E": 3}. A specific duty without its quantity is listed as insufficie…

code_list_lookup Code List Lookup

Look up a code in a published code list. list (required) is one of: cds-procedure-codes-imports and cds-procedure-codes-exports (HMRC CDS requested and previous procedure codes, DE 1/10, e.g. 4000, 1040); cds-additional-procedure-codes-imports and cds-additional-procedure-codes-exports (HMRC CDS additional procedure codes, DE 1/11, e.g. C07, 1RV). With code it returns the code's name as published, the heading it is listed under, its status and the list's edition; with q it searches that one list (exact code, code prefix, then name); with neither, the list itself, paged. Use it to read what a U…

ParameterTypeDescription
codestringOne code, as published (e.g. 4000, C07). Leave out to search or to list.
fullbooleanFull rows (heading and edition on each) instead of summary rows, five per page by default.
include_deprecatedbooleanAlso list and search codes the publisher marks as no longer to be used (a direct lookup always returns them, with the status). No list served today marks one.
limitintegerPage size: summary rows 1-200 (default 50), full rows 1-25 (default 5).
liststringThe code list, e.g. cds-procedure-codes-imports (the lists are named in the description). Required: a lookup or a search runs within one list.
offsetintegerPage start for a list or a search (default 0).
qstringSearch within the list: exact code first, then codes starting with q, then names containing it.