ACE Portal Field Validator
Validate HTS, MID, and EIN formats for US Customs ACE entries.
ACE Validation Logic
Automated Commercial Environment (ACE) filings require strict formatting. This tool validates syntax for HTS, MID, and EIN fields but does not check the live status of a specific code in the CBP database.
Indicative calculation for planning only. Verify against the applicable CBP notification in force on your shipment date before filing or contracting.
Validation Reference
HTS: Standard 10-digit classification used for CBP entry summary (7501).
MID: 2-char ISO country code + first 3 of name 1 + first 3 of name 2 + first 3 of city + first 4 of address.
EIN: Internal Revenue Service (IRS) employer identification number.
Need help interpreting this result?
Ask Trade Expert AI how it applies to your transaction. Free with an account.
Overview & methodology
Why Field Validation Matters
Incorrectly formatted data is a leading cause of CBP filing errors. A Manufacturer ID (MID) constructed without following the ISO 2-character country code prefix or the specific name-shortening rules will trigger a fatal error in the ACE system. Likewise, an HTSUS code must be submitted as a clean 10-digit string, regardless of where the dots appear in the printed tariff book.
Numerical Example: HTS Syntax Check for ACE
The ACE system stripped of dots and spaces. This tool confirms the resulting 10-digit string is valid for a 7501 Entry Summary.
Related tools: US HTS, Import Duty Calculator.
Method note: calculations run in your browser using the formulas and published rule books cited on this page. Results are free estimates for planning, with no login required, and should be confirmed with your bank, broker or the official source before you commit.
Frequently asked questions
What is the ACE portal?
ACE (Automated Commercial Environment) is CBP's electronic system for filing entries, bills of lading, and shipping documents. All imports into the US must be declared via ACE. Accuracy is critical-formatting errors can delay clearance.
What is an HTS code?
HTS (Harmonized Tariff Schedule) is a 10-digit US customs classification code that determines the import duty rate, any trade restrictions, and data reporting requirements. Incorrect HTS coding is the most common source of CBP disputes.
What is a MID and why does it matter?
MID (Manufacturer/Importer Declaration) links the importer to country-of-origin requirements (ASC 316, marking rules). Some commodities require MID; omitting it when required can halt clearance. Always verify MID requirements for your product.