Tools

Spain EORI Number Validator (ES AEAT Aduanas)

Validate Spanish Economic Operators Registration and Identification (EORI) numbers directly against official customs registries. Verify whether a Spanish ES EORI number is valid and active for import, export, DUA customs declarations, and international cross-border trade.

✓ Queries official European Commission EOS and Spanish AEAT Aduanas customs databases in real time
✓ Instant verification: confirms active registration for Spanish import/export clearance and DUA filings
✓ Displays registered company name and fiscal address when publicly accessible in customs records
✓ Crucial for Spanish foreign trade (comercio exterior), transit through Mediterranean & Atlantic ports, and logistics compliance

What is a Spanish EORI number (ES) and who needs it?

A Spanish EORI number (Economic Operators Registration and Identification) is an identifier issued by the Agencia Estatal de Administración Tributaria (AEAT) — Departamento de Aduanas e Impuestos Especiales to businesses, sole traders, and legal entities participating in customs operations across Spain and the European Union customs territory.

Whether importing commercial freight into Spain through major maritime hubs like Valencia, Algeciras, or Barcelona, exporting agricultural or industrial products, air-freighting through Madrid-Barajas (MAD), or submitting electronic DUA (Documento Único Administrativo) declarations, holding an active ES EORI number is mandatory under Article 9 of the Union Customs Code (UCC). Without an active EORI, goods are blocked at customs borders, triggering costly port demurrage and shipping delays.

Spanish EORI (ES) vs. Spanish Tax ID / VAT Number (NIF / CIF): Key Differences

A common pitfall for companies trading with Spain is assuming that having a valid Spanish NIF (Número de Identificación Fiscal) or EU VIES VAT number automatically grants EORI registration. While both identifiers share the underlying NIF format (ES + 9 characters), they serve distinct legal and administrative functions:

Spanish VAT Number / NIF (AEAT Tributos)

Administered by the Spanish State Tax Agency (Agencia Tributaria – AEAT). Used for domestic transactions, intra-Community B2B trade within the EU single market, and reverse charge mechanisms. Formatted as ES followed by a letter (for companies, e.g. A, B) and 8 digits/letters, or 8 digits and a letter for individuals.

Spanish EORI Number (ES / Aduanas)

Administered by the Customs and Excise Department (Departamento de Aduanas e Impuestos Especiales de la AEAT). Used exclusively for foreign trade crossing EU customs borders, DUA import/export declarations, customs warehousing, and VUA (Ventanilla Única Aduanera) clearance. Formatted as ES + NIF.

Crucially, obtaining a Spanish NIF does not automatically activate an EORI record. Economic operators must submit an explicit EORI registration request via the AEAT Sede Electrónica before conducting customs operations.

Canary Islands, Ceuta, and Melilla: Special Customs Considerations

Trade involving the Canary Islands (Islas Canarias), Ceuta, or Melilla involves unique regulatory considerations. Although the Canary Islands are part of the EU customs territory, they are outside the EU VAT territory (applying local IGIC instead). Shipments between mainland Spain/EU and the Canary Islands require customs DUA documentation, making active EORI numbers essential. Ceuta and Melilla remain outside both the EU customs and VAT territories, requiring full customs handling.

Frequently asked questions about Spanish EORI validation

What is the structure of a Spanish EORI number?

A Spanish EORI number consists of the country code ES followed by the operator's 9-character Spanish Tax ID (NIF/CIF). For companies, it starts with an entity legal letter (such as A for corporations or B for limited companies) followed by 8 characters (e.g. ESA12345678 or ESB87654321). For Spanish citizens, it is ES followed by an 8-digit DNI and a letter (e.g. ES12345678Z). For foreign residents, it is ES followed by an NIE (e.g. ESX1234567Y).

Can I check a Spanish EORI number by entering just the NIF/CIF without "ES"?

Yes. If you enter a 9-character Spanish NIF or CIF without the country prefix (for example, B12345678 or 12345678Z), our validator automatically adds the ES prefix before querying the official customs validation registers.

Where and how are Spanish EORI numbers registered?

In Spain, EORI registrations and status checks are managed online through the Sede Electrónica de la Agencia Estatal de Administración Tributaria (AEAT) under Aduanas (Trámites de EORI). Registration is typically processed quickly for businesses already possessing a registered Spanish NIF.

How can I automate Spanish EORI checks or validate high volumes?

If your enterprise, freight forwarding agency, or ERP logistics pipeline processes large volumes of shipments through Spanish ports or airports, contact us at support@viesac.eu for batch validation tools and high-speed REST API access.