CAPE Refund Desk

Check your tariff refund file before you send it.

Nemotron AI models on Nebius Token Factory

Check the refund file
before you send it.

US importers are owed money back for tariffs that were struck down. To get it, they upload one file to Customs, and it can't be undone. One wrong shipment can turn a refund into a bill. This checks the file first.

Sample data: made-up shipments, not real trade data. Not legal advice. We never ask for logins or bank details.

Built for small US importers filing a tariff refund

If you paid the struck-down IEEPA tariffs, Customs refunds them through one CSV upload that cannot be edited once accepted. This checks the file first. In the made-up sample of 69 shipments, $467,490.84 is safe to file now, and 15 shipments would have been rejected.

39 shipments
$467,490.84
safe to file now
13 shipments
$176,372.00
fix one thing first
2 shipments
$5,625.00
possible bill, your broker decides
15 shipments
not claimable
Customs would reject them

Sample data is synthetic. Figures come from the plain-code rules engine, not from the AI.

How the check works

Plain code

does all the money math and sorts every shipment. The AI never makes up a number.

A fast AI

(Nemotron Lightning) cleans up messy data.

A reasoning AI

(Nemotron Ultra) explains each tricky case.

Why not just a spreadsheet?

A spreadsheet can check columns. It cannot read the broker's note that says “protest filed 10/20” on a row whose protest column is blank, or notice that “TIB” and “courtesy notice” are not the same thing as a drawback claim.

Check your own file

We never ask for logins, bank details or tax IDs. Files are checked in memory and never stored. You or your broker do the real upload.

Download the sample CSV

Upload format: a derived schema. It follows CBP's ES-003 report (entry, lines, IEEPA duty) plus ES-701 dates, and adds columns of our own (hts_valid, framework_group, non_ieepa_underpaid_usd, broker_note) that you fill in or leave blank. The file you send to CBP is different: one column, “Entry Number”.

Live CBP Check

Compliance Status

Did Customs change the rules since this was built?

Customs publishes the refund rules on a web page. This reads the live page and compares it with a copy saved on 2026-07-11. Every change is quoted from the page (July on the left, now on the right). No AI is involved.

Scored test

Does the rules engine put each shipment in the right group? The 69 made-up sample shipments were labelled by hand from Customs' published rules, without reading the engine's code or output, then the engine was scored against those labels. The sample was built to exercise these rules, so this shows the engine follows the rules, not how it does on a real file.

Scoring the sample.

Got an offer from a refund recovery firm?

Paste the email or contract. The check runs in your browser with plain code, so the text is not uploaded anywhere, and no AI is involved. It lists what the offer says about fees, logins, who gets the money and lock-in, next to what CBP says to watch for.

CBP's published position: “No. CBP does not charge any fees for processing tariff refunds.” CBP IEEPA Duty Refunds page, FAQ on fees, read 2026-10-30. CBP also warns about third parties in its CAPE Refund Fraud fact sheet.

Try a synthetic example

Nothing checked yet. Paste an offer or pick an example.

Where every rule comes from

Each link was opened and returned HTTP 200 on 2026-10-30. Rule-watch re-checks the CBP FAQ page for changes.

Catches 23 of 28 published CAPE rejection causes.

CBP publishes 28 distinct reasons it can reject a CAPE file or entry (its File Validation and Entry Validation tables). 19 are checked from your ACE report, 4 are ruled out by how the upload file is built, and 5 cannot be checked from a report. They are listed so you know what is left to your broker.

All 28 causes and what is checked
  • Built into the file CSV content is empty or missing the header The exported file always starts with the "Entry Number" header row.
  • Built into the file Not a CSV file Exports are written as .csv files.
  • Built into the file The file size exceeds 1mb. Please split the data into smaller files before reuploading File size is measured and the list is split before it can pass 1 MB.
  • Not checkable from this file The file is deemed unsafe. Please correct the file data before reuploading Not checkable from this file: ACE scans the upload itself and says nothing about what trips it.
  • Built into the file The file exceeds the maximum 10,000 allowed entry numbers per file Lists are split at 9,999 entries per file (the FAQ limit; the error table says 10,000, so the lower number is used).
  • Checked Filer Code not matching Compares the first 3 characters with the filer codes you give.
  • Checked Duplicate Entry Strips dashes, then flags repeats.
  • Checked Not 11 characters long Counts characters after dashes are removed.
  • Not checkable from this file Account Mismatch Not checkable from this file: needs the importer behind your ACE account. The filer-code check is the closest thing.
  • Checked Entry Summary Not Found or Archived in ACE Flags entries whose summary status is Not Found.
  • Checked Entry on Drawback Drawback-claim column.
  • Checked Recon Already Filed for Entry Summary Recon flag with a Type 09 on file.
  • Checked Entry Summary is Cancelled/Rejected Summary status other than Accepted.
  • Checked Entry Summary is in Final Liquidation Status Liquidation date more than 80 days before the as-of date.
  • Checked Entry Summary is in Trade Control Control status other than CBP.
  • Checked Entry Summary is Subject to Court Injunction Injunction flag.
  • Checked Entry Summary Pending Liquidation or Not Liquidated and Has Suspension Record Pending or not-liquidated status together with a suspension record.
  • Checked Entry Summary Under Review Adjusted-status flag.
  • Checked Entry Type Not Allowed Entry types 08, 09, 23, 47, plus warehouse 21 and 22 (CSMS 69127837).
  • Checked Value Not Allowed on HTS Goods value above $0.00 on a chapter 99 line.
  • Checked No IEEPA HTS on Entry No line with IEEPA duty.
  • Checked Protest on Entry Open or Suspended protest, or Denied with the AFR box checked.
  • Checked Statement Processing Not Complete Statement-pending flag.
  • Checked Invalid HTS Line action date outside the HTS begin/end dates.
  • Checked HTS Relationship Mismatch Add/replace/derived HTS without its pair.
  • Not checkable from this file Unable to Calculate Duty-'X' Duty Comp Code Not checkable from this file: needs ACE's duty computation codes per line.
  • Not checkable from this file Unexpected Error-try Again Not checkable from this file: it is a system error, not a property of the entry.
  • Not checkable from this file SPI or Additional HTS Required Not checkable from this file: the report has no special-program-indicator column.

Counted from the tables on CBP: IEEPA Duty Refunds (FAQ and error tables); the file table is also in ACE quick reference guide: CAPE Declarations and Error Definitions. One cause, "Entry Summary Not Found or Archived in ACE", sits in both tables and is counted once. CBP also lists items that are not errors, such as direct-deposit (ACH) setup and anti-dumping duties; they are not in the error tables, so they are not counted.