Skip to content
View invoicetariff's full-sized avatar
  • Joined Sep 26, 2026

Block or report invoicetariff

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
invoicetariff/README.md

InvoiceTariff — Free US Tariff Calculator & HTS Code Lookup

https://invoicetariff.com

ruleset data as of license no sign-up

Free, browser-based United States import tariff toolkit for cross-border sellers, e-commerce operators, and small importers. Enter a declared value and an HTS code, get the fully stacked duty estimate — MFN, Section 301, Section 232, de minimis, MPF/HMF fees — in seconds, then generate a compliant commercial invoice in one click. Every rate in the result is traceable to its source file and legal basis.

🌐 Live Website

https://invoicetariff.com — free to use, no account required, everything runs in your browser.

Features

Tool What it does Link
Tariff Calculator Declared value + HTS code → stacked US duty estimate (MFN + 301 + 232 + fees) tariff-calculator
Landed Cost Calculator Duty + MPF/HMF + freight/VAT reference → per-unit landed cost landed-cost-calculator
HTS Code Lookup Search 5,600+ HTS 8-digit codes by code, keyword, or Chinese keyword hts
China Tariff Guide Section 301 China lists (1–4A), exclusions, and the 2026 global program china-tariff
Section 301 Reference Every 301 line with legal basis and Federal Register source section-301
De Minimis Rules US de minimis threshold and how it applies to small parcels de-minimis
Tariff Change Radar Changelog of published rule changes with dates and sources radar
IEEPA Refund Checker Which refund channel applies after the 2026 IEEPA ruling ieepa-refund

📦 Open data assets

All rate logic of the calculator ships as versioned JSON in data/:

  • data/ruleset-seed.json — the full stacked-rate ruleset: MFN (curated 460+ codes), China Section 301 lists + exclusions, Global Section 301 program (60 country tiers), Section 232 measures, Section 338, IEEPA historical layer, and the FY2026 fee table (MPF/HMF/informal entry).
  • data/mfn-full.json — full 5,689-code HTS 8-digit table with US general duty rates (kept in the hs-codes-database repo).
  • data/destinations.json — 16 destination countries: simplified VAT/GST rates and de minimis reference config for landed-cost estimates.
  • data/changelog.json — machine-readable changelog of published rule changes (41 entries), the source of the Tariff Change Radar.
  • data/refund-channels.json — the four post-IEEPA refund channels with legal basis and CBP source.

Data provenance & quality

  • ruleset-seed.json v0.3.2 (as of 2026-09-24).
  • MFN rates: USITC Harmonized Tariff Schedule (reststop export), official general column, 8-digit codes.
  • Section 301 / 232 / IEEPA / fee lines carry a source object (title + URL) and legalBasis string on every entry.
  • ⚠️ Quality flag: except the FY2026 fee table, rate lines in v0.3.x carry sample/unverified annotations — good for estimates and demos, not yet certified for production customs declarations. The unverifiedNotes and meta.nextHardDates fields list what is being verified next.
  • The ruleset is updated monthly (see changelog.json); next hard dates include the FY2027 MPF change (2026-10-01) and the 2026-11-10 China exclusions review.

Example: stacking an 8471.30 laptop from China (ruleset v0.3.2)

HTS 84713000 (portable automatic data processing machines)
  MFN general          : Free            (data/ruleset-seed.json → mfn)
  Global 301, CN tier  : 12.5%           (→ global301.tiers, effective 2026-07-24)
  Section 301 China    : n/a for this code in v0.3.2
  MPF (FY2026)         : 0.3464% of value, min $33.58, max $651.50  (→ fees)
  HMF (ocean)          : 0.125%          (→ fees)

Run the same stack live at https://invoicetariff.com/tariff-calculator — every line in the UI result links back to the JSON entry above.

Related repos

License

MIT — see LICENSE. Tariff and fee rates originate from US government publications (USITC, USTR, CBP, Federal Register) and carry their own source references in the data files.

Popular repositories Loading

  1. invoicetariff invoicetariff Public

    Free US tariff calculator + HTS code lookup + commercial invoice generator: MFN, Section 301, 232 & de minimis stacked in one quote. https://invoicetariff.com

  2. us-tariff-rates-2026 us-tariff-rates-2026 Public

    US tariff rate layers 2026: Section 301 (China + global), 232, IEEPA, MPF/HMF fees as machine-readable JSON with legal basis and sources. https://invoicetariff.com

  3. hs-codes-database hs-codes-database Public

    5,689 US HTS 8-digit codes with official MFN general duty rates (USITC) - searchable JSON dataset, updated monthly. https://invoicetariff.com/hts

  4. pipedream pipedream Public

    Forked from PipedreamHQ/pipedream

    Connect APIs, remarkably fast. Free for developers.

    JavaScript