# IEEPA Tariff Refund Finder: CAPE & Protest Deadlines (`the100/ieepa-tariff-refund-finder`) Actor

Upload your ACE ES-003 or broker entry report. Finds every entry with refundable IEEPA tariff duty, sorts it into CAPE, protest or counsel, estimates interest, shows each deadline and builds the CAPE upload CSV.

- **URL**: https://apify.com/the100/ieepa-tariff-refund-finder.md
- **Developed by:** [Christopher Dorado](https://apify.com/the100) (community)
- **Categories:** Business, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $390.00 / 1,000 refundable entries

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## IEEPA Tariff Refund Finder: CAPE & Protest Deadlines

**Upload your ACE report and see every entry where you can still get IEEPA tariffs back, which route to use (CAPE or protest), the deadline for each, and a ready-to-upload CAPE CSV. $0.49 per refundable entry found. If nothing is refundable, you pay nothing.**

> **Try it free in 30 seconds:** click **Try for free**, leave the input empty and press **Start**. It runs on fictitious sample entries from two brokers, so you see exactly what you'd get before uploading anything.

#### Sample output (real rows from the built-in demo run, as of 2026-11-23)

| Status | Route | Entry | IEEPA duty $ | Est. interest $ | Deadline | What to do |
|---|---|---|---|---|---|---|
| urgent | CAPE | DMO-0001003-7 | 3,150.00 | 317.36 | 2026-12-04 (11 days) | Liquidated 69 days ago: file a CAPE declaration before day 80 |
| open | CAPE | DMO-0001002-9 | 820.40 | 76.00 | 2026-12-20 | Same; the Section 301 line on this entry is correctly left out |
| open | PROTEST | DMO-0001004-5 | 610.00 | 47.91 | 2026-12-28 | Liquidated 145 days ago: too late for CAPE, file a protest |
| needs review | CIT / class | DMO-0001005-2 | 2,400.00 | 258.79 | – | Finally liquidated: ask customs counsel |

Demo totals: **$13,719.11 claimable now** across 5 entries, plus $4,485.25 flagged for review.

### Why this matters now

On **Feb 20, 2026** the Supreme Court held the IEEPA tariffs unlawful (*Learning Resources, Inc. v. Trump*), and collection stopped for goods entered from Feb 24, 2026. About **$166 billion** was collected from roughly **330,000 importers**. CBP pays refunds, with interest, through **CAPE** in ACE, but only on time-limited routes:

- **Unliquidated** entries and entries **liquidated 80 days ago or less** go through a **CAPE declaration**.
- Entries **liquidated 81 to 180 days ago** need a **protest** (19 U.S.C. 1514) before day 180.
- **Finally liquidated** entries need a CIT order, or may be covered by the class certified in *Freestyle World v. CBP* (Oct 2026). Ask counsel.

Every week, more entries liquidate and move to a harder route. Importers who used several brokers usually don't have one complete list of entries, and that is where money gets left behind.

### What it does

- Reads **ACE ES-003** (Entry Summary Line Tariff Details) or any broker export, in **CSV or Excel**. It finds the header row and columns by itself.
- **Merges several brokers' files** and counts an entry that shows up twice only once.
- Adds up the duty on **IEEPA lines only (HTS 9903.01.xx and 9903.02.xx)**. Section 301 (9903.88), Section 232 (9903.80–.85, 9903.94) and Section 122 (9903.03) lines are not counted.
- Sorts each entry into **CAPE now, protest now, needs review or already filed**, with the deadline and days left. Urgent means 14 days or less.
- Flags CAPE exclusions: entry types 08, 09, 21, 22, 23 and 47, open protests, and suspended liquidation (AD/CVD).
- Estimates **interest** (19 U.S.C. 1505(c), compounded daily at the rate you set).
- Builds **`CAPE_UPLOAD_1.csv`**: one column headed `Entry Number`, at most 9,999 rows per file as CAPE allows. Larger files are split.
- Also gives you a **protest list**, an **all-entries CSV** and an **HTML report**.

### How to get your data out of ACE

1. ACE Portal → Reports → **ES-003 Entry Summary Line Tariff Details**. Set the date range to **Feb 1, 2025 – Feb 23, 2026** for your importer number.
2. Add the **Liquidation Date** and **Liquidation Status** columns. They may not be in the default layout.
3. Export to CSV or Excel and upload it here. No ACE access? Ask each broker for an entry list with entry number, entry date, HTS, duty and liquidation date.
4. Optional: upload **REV-615** (CAPE refunds report) or list entries you already filed, so they are skipped and not charged.

### Input

| Field | What it is |
|---|---|
| ACE report or broker list | CSV or Excel upload |
| More files (URLs) | One per broker; duplicates are merged |
| Or paste CSV | For quick checks |
| Already filed | Entry numbers or a REV-615 upload, never charged |
| Interest rate | For the estimate, 6% by default |
| Column names | Only if auto-detect misses a column |

### Output

Each dataset row is one entry: `status`, `route`, `entry_number`, `ieepa_duty_usd`, `est_interest_usd`, `est_refund_usd`, `deadline`, `days_left`, `action`, `entry_date`, `liquidation_date`, `liquidation_status`, `entry_type`, `ieepa_hts_codes`, `countries`, `importer`, `notes`, `source_files`.

Key-value store: `CAPE_UPLOAD_1` (and `_2`, … for large files), `PROTEST_LIST_CSV`, `ALL_ENTRIES_CSV`, `REPORT` (HTML), `OUTPUT` (summary JSON).

### Pricing

**$0.49 per refundable entry**: CAPE-now or protest-now entries that carry IEEPA duty. Entries that need review, are already filed, or carry no IEEPA duty are **free**. The demo is free. You can cap spend with the run's maximum cost. Recovery firms typically take 10–25% of the refund.

### FAQ

**Is my data safe?** Files are processed only inside your own Apify run and stored in your account's run storage. Nothing is sent anywhere else.

**Does it file for me?** No. It tells you what to file, where, and by when, and gives you the CAPE CSV. Only the importer of record, or its broker, can file in ACE.

**Are the rules current?** They follow CBP's CAPE guidance and the court record as of **November 2026**. The government's appeal (Fed. Cir. No. 26-1895) and the class relief motion are still pending, so check CBP CSMS messages for changes.

**Not legal advice.** These are estimates. Confirm routes and deadlines with your licensed customs broker or attorney before filing.

### Related tools

- [FBA Fee Overcharge Auditor](https://apify.com/the100/fba-fee-auditor): Amazon size-tier overcharges
- [Freight Bill Auditor](https://apify.com/the100/freight-bill-auditor): LTL invoice errors
- [Refund Hunter](https://apify.com/the100/refund-hunter): UPS & FedEx late-delivery refunds

# Actor input Schema

## `entriesFile` (type: `string`):

Upload ACE report ES-003 (Entry Summary Line Tariff Details) with Liquidation Date and Liquidation Status added, or any broker export with entry number, HTS number and duty amount. Leave empty for a free demo.

## `entriesFileUrls` (type: `array`):

Links to more CSV/Excel exports, e.g. one per customs broker. Entries that appear in several files are counted once.

## `entriesCsv` (type: `string`):

Paste CSV text with a header row.

## `alreadyFiledEntries` (type: `array`):

Entry numbers you already declared. They are listed as already filed and never charged.

## `alreadyFiledFile` (type: `string`):

Entries in this file are treated as already filed.

## `interestRatePct` (type: `integer`):

CBP pays interest on refunds at the IRS overpayment rate (26 U.S.C. 6621), compounded daily. 6% is a conservative corporate estimate.

## `minRefundUsd` (type: `integer`):

Skipped entries are not output or charged.

## `asOfDate` (type: `string`):

Deadlines are counted from this date. Default: today.

## `columnMap` (type: `object`):

Map fields to your headers, e.g. {"entry": "Entry Summary Number", "hts": "Tariff No", "duty": "Duty $", "liq_date": "Liq Dt"}. Fields: entry, hts, duty, ieepa, entry_date, type, liq_date, liq_status, importer, protest, country.

## `useSampleData` (type: `boolean`):

Ignores your files and runs on fictitious sample entries. Nothing is charged.

## Actor input object example

```json
{
  "interestRatePct": 6,
  "minRefundUsd": 0,
  "useSampleData": false
}
```

# Actor output Schema

## `refunds` (type: `string`):

No description

## `report` (type: `string`):

No description

## `capeUpload` (type: `string`):

No description

## `protestList` (type: `string`):

No description

## `allEntries` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("the100/ieepa-tariff-refund-finder").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("the100/ieepa-tariff-refund-finder").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call the100/ieepa-tariff-refund-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,the100/ieepa-tariff-refund-finder"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SsugEnOzdSA83UAnu/builds/KifO3dM3SsETTj9uK/openapi.json
