# tariff.lk > Free, AI-powered Sri Lanka import tariff tool. Type any product in plain English and get the HS code, the 7-layer customs duty breakdown, and FTA savings instantly. 8,952 HS codes from the Sri Lanka Customs National Imports Tariff Guide 2026 (HS 2022 nomenclature). No signup, no limits, independent of Sri Lanka Customs. ## Core pages - [Home](https://tariff.lk/): hero, quick HS search, and links to the main tools. - [HS Code Search](https://tariff.lk/search): semantic + keyword search over all 8,952 codes. - [Duty Calculator](https://tariff.lk/duty-calculator): enter HS code + CIF value, get the full 7-layer duty stack in LKR. - [Vehicle Import Calculator](https://tariff.lk/vehicle-import): dedicated calculator for Chapter 87 with excise tiers, luxury tax, EV treatment. - [CusDec Builder](https://tariff.lk/cusdec-builder): drafts a Customs Declaration based on your HS code + CIF. - [Exchange Rates](https://tariff.lk/exchange-rates): 50+ currency exchange rates from the Sri Lanka Customs Extraordinary Gazette, updated weekly. - [Chapters](https://tariff.lk/chapter): all 97 HS chapters. - [Gazette Changes](https://tariff.lk/gazette): recent gazette-driven changes to rates. - [Container Tracking](https://tariff.lk/track): container status lookup. ## HS code URL pattern Every HS code has its own page at `https://tariff.lk/hs/{code}`, where `{code}` is the dotted 8-digit HS code (e.g. `8703.23.98`). Dotless forms (`87032398`) redirect automatically. Each page includes the description, all 7 duty rates, FTA rates, permit/licence requirements, and structured JSON-LD for machine consumption. Examples: - https://tariff.lk/hs/8703.23.98 (motor vehicles 1500–3000cc) - https://tariff.lk/hs/8501.10.10 (electric motors, small) - https://tariff.lk/hs/0901.11 (coffee, not roasted) ## Chapter URL pattern Each chapter has a page at `https://tariff.lk/chapter/{n}` where `{n}` is the chapter number 1–99. Examples: - https://tariff.lk/chapter/87 (vehicles) - https://tariff.lk/chapter/85 (electronics) - https://tariff.lk/chapter/27 (fuels) ## Per-currency exchange-rate pages Each of 50+ currencies has a page at `https://tariff.lk/exchange-rates/{code}` (lowercase ISO 4217) with the current gazette rate, a 6-month trend chart, and the full weekly history. Examples: - https://tariff.lk/exchange-rates/usd - https://tariff.lk/exchange-rates/eur - https://tariff.lk/exchange-rates/inr ## Guides - [How to Calculate Import Duty in Sri Lanka](https://tariff.lk/guides/how-to-calculate-import-duty-sri-lanka): the 7-layer duty stack explained with a worked example. Marked up as `HowTo` in JSON-LD. - [Vehicle Import Duty Guide](https://tariff.lk/guides/vehicle-import-duty-sri-lanka): excise tiers by engine displacement, EV vs petrol, ISFTA savings, document checklist. - [FTA Import Duty Guide](https://tariff.lk/guides/fta-import-duty-guide-sri-lanka): all 5 Sri Lanka FTAs (ISFTA, PSFTA, SLSFTA, APTA, SAFTA), eligibility, Certificate of Origin requirements. ## Machine-readable data - [Exchange rates JSON](https://tariff.lk/api/exchange-rates): all 50+ currencies with current gazette rate, effective dates, source gazette metadata. CORS-enabled, CDN-cached 1h. Intended for agents, LLMs, and scripts. - [HS search JSON](https://tariff.lk/api/hs-search?q=apple): autocomplete-style HS code lookup. Accepts HS code prefixes or plain-English product terms. Rate-limited; prefer the semantic search UI for user-facing queries. - [Sitemap](https://tariff.lk/sitemap.xml): all canonical URLs (~9k). ## MCP server Connect any MCP-compatible client (Claude Desktop, Cursor, Claude Code, etc.) directly to tariff.lk at `https://tariff.lk/mcp` (Streamable HTTP, stateless, anonymous, rate-limited 30 req/min · 500 req/day per IP). Five question-answering tools — no bulk enumeration. Setup guide at [tariff.lk/mcp-info](https://tariff.lk/mcp-info). - `estimate_duty(description, cif, cif_currency?, origin_country?, engine_cc?, motor_kw?)` — **one-shot**: plain-English → HS pick + currency conversion + full duty + alternates, all in one call. - `search_hs_code(query, limit?, leaves_only?)` — AI semantic + fuzzy HS search. Defaults to calculable leaves only. - `get_hs_code(code)` — full details for one HS code: all 7 duty rates + FTA rates + licence. - `calculate_duty(code, cif, cif_currency?, origin_country?, engine_cc?, motor_kw?)` — full 7-layer duty in LKR. CIF in any ISO-4217 currency; converted via gazette rate. - `get_exchange_rate(currency)` — latest gazette rate (LKR per unit) with source gazette reference. ## Duty stack (summary) Sri Lanka applies up to seven duty layers on imported goods, calculated in this order: 1. Customs Import Duty (CID) — base: CIF 2. Ports & Airports Levy (PAL) — base: CIF 3. Cess — base: CIF 4. Excise / SPD — base: CIF + CID + PAL + Cess 5. Special Commodity Levy (SCL) — base: CIF 6. Social Security Contribution Levy (SSCL) — base: CIF + CID + PAL + Cess + Excise + SCL 7. Value Added Tax (VAT) — base: all above cumulative Motor vehicles (Chapter 87) additionally attract a Luxury Tax above a CIF threshold. ## FTA rate codes Each HS code exposes preferential rates for: - `rate_in` — India (ISFTA) - `rate_pk` — Pakistan (PSFTA) - `rate_sf` — Singapore (SLSFTA) - `rate_ap` — APTA (China, South Korea, Thailand, Bangladesh) - `rate_sa` — SAFTA (Bangladesh, Nepal, Bhutan, Maldives, Afghanistan — LDC members) FTA reductions apply only to CID. PAL, SSCL and VAT continue at standard rates (except PAL under SAFTA LDC, which is reduced to 2.5%). ## Data source and cadence - HS-code and duty-rate data is extracted from the Sri Lanka Customs National Imports Tariff Guide 2026 Edition. Source PDFs are stored in Cloudflare R2 and re-processed when a new release is published. - Exchange rates are scraped weekly from the Sri Lanka Customs Extraordinary Gazette on `documents.gov.lk`. Rates take effect the following Monday. - tariff.lk is an independent tool. It is not affiliated with, endorsed by, or connected to Sri Lanka Customs, the Ministry of Finance, or any government body. Rates are for estimation; confirm with a licensed customs broker for high-value shipments.