Deleted and Inactive FIRMS Codes: Why Filings Get Rejected

Reviewed by Gustavo Melendez · Last reviewed 2026-10-27. Dates given for CBP's FIRMS list in this guide are data dates, not review dates.

A deleted FIRMS code is one that CBP has marked inactive in its FIRMS list. ACE checks FIRMS status, so a filing that reuses an old code from a template, a saved address or an outdated document can be rejected, for example with 159, FIRM NOT ACTIVE, on a truck in-bond arrival. Check each code’s status against the current list before you file, and treat a deleted code as a stop, not a warning.

How common are deleted FIRMS codes?

Very common. In CBP’s list dated 2026-10-23, 8,400 of the 23,379 published records are deleted, about 36%. CBP keeps deleted codes in the list, so they still look like real codes:

Type Active Deleted Share deleted
01 Container freight station 1,545 1,184 43%
02 Foreign-trade zone 2,484 1,714 41%
03 Pier or terminal 1,640 306 16%
04 Bonded warehouse 1,844 1,719 48%
05 Inspection facility 4,873 2,251 32%
06 Importer premises 1,898 922 33%

Deletion rates are highest for bonded warehouses, CFSs and FTZ sites, and lowest for piers and terminals.

Why does a FIRMS code become inactive?

CBP’s list does not record a reason for a deletion. Two patterns are visible.

Some codes at a site are deleted while others stay active. Large sites often have one code per operation, and the list shows some of those operations deleted:

Address Active Deleted
2000 Seaboard Ave, Portsmouth, VA L045 PMT CONTAINER OPERATIONS L086 PMT BREAKBULK OPERATIONS, L097 PMT BONDED WHSE
NIT Hampton Blvd, Norfolk, VA L005 NIT CONTAINER OPERATIONS L007 NIT BREAKBULK PIERS
300 Western Ave, Staten Island, NY E005 Port Liberty New York EAJ8 Port Liberty New York, E003 HOWLAND HOOK BARGE MOVEMENT

For FTZ sites, a terminated bond. CBP’s FTZ error list explains that a deactivated FIRMS code (error 210) is often caused by the site’s Type 4 FTZ bond being in terminated status, and it sends the operator to the CBP cargo office at the local port to resolve it.

For any other deleted code, the facility or the CBP port that oversees it is the place to ask.

Which ACE errors does a deleted code cause?

The reject depends on the transaction. These two come from CBP documents:

Error Text Where Source
159 FIRM NOT ACTIVE In-bond arrival, truck CBP trade notice, August 2024
210 FIRMS CODE IS DEACTIVATED STATUS FTZ CATAIR Appendix P

ACE rejects for FIRMS codes explains every FIRMS-related reject, including 157, 158, 164 and the FTZ errors.

Since August 10, 2024, ACE checks that the FIRMS code on a non-air in-bond arrival is provided, valid, active and within the arrival port. When it fails, the arrival is not transmitted to CBP, and under 19 CFR 18.1(j) failing to report the arrival or the FIRMS code within two business days is an irregular delivery. CBP’s August 2024 notice said in-bonds originating by air were not yet covered by this validation; check later CSMS messages for changes.

How do I catch a deleted code before I file?

  1. Check status at the point of use. A code that was active when someone saved it in a template or customer profile may be deleted now. Look it up when it goes on a filing, not only when it is first entered.
  2. Treat deleted as a failure. FIRMSapi’s validation fails the active check for a deleted code, and that check maps to ACE reject 159. Do not let a user file past it with a warning.
  3. Find the current code, then confirm it. The code’s page and the API’s same_address list show the other codes at that address. An active code there may be the replacement, or it may be a different operator or facility type. Confirm with the facility before you switch.
  4. Recheck saved codes when the list changes. On Pro and Enterprise, the changes feed lists codes whose status changed in each new list FIRMSapi loads, so you can flag saved facilities and open shipments. Enterprise watchlists keep the set of codes you monitor.
  5. Leave history alone. A code on a past filing should stay as filed. FIRMSapi keeps deleted codes and returns them with status: "deleted", so old records still resolve.

What does FIRMSapi show for a deleted code?

  • The code page stays published and is marked deleted, for example EAJ8, with the other codes at the same address.
  • The lookup endpoint returns 200 with status: "deleted" and a warning, instead of a 404.
  • Search leaves deleted codes out unless you pass include_deleted=true, and then ranks them after active ones.

A code that is not on the list at all is a different problem: the lookup returns 404, and on an in-bond truck arrival ACE would return 158, FIRMS CODE NOT ON FILE. Check for a typo first. Many valid codes are not a letter followed by three digits, so do not “correct” a code into that shape.

FIRMSapi checks CBP’s published list as of its dataset date. Status can change between list updates, so confirm the code in ACE before you file. For the complete set of pre-filing checks, read validating FIRMS codes before you file.

Quickstart · API reference · Pricing · Contact