Free EORI checker — validated against official HMRC & EU EOS sources EN DE FR IT
Country guide — ES

EORI Number for Spain

Format, issuing authority, processing time, and FAQs for Spain — plus a free checker to validate your number.

Flag of Spain

Format & example

ES + up to 15 alphanumeric characters (EORI prefix + national identifier).

Valid example ESX1234567X
Regex (reference):
^ES[A-Z0-9]{8,15}$

Authority & validation

  • Issuing authority Agencia Tributaria (AEAT) / Customs & Excise (Spain)
  • Processing time Depends on the application type and documentation. Plan for a review period after submitting via the official electronic office.
  • Validation method EU EORI validation (EU EOS) + Spanish customs/AEAT confirmation.
Check an EORI number

Free validation on our website

Notes & what to watch out for

Spain’s EORI registration is handled through AEAT’s electronic office procedures.

For many applicants, the EORI is based on your tax identifier (NIF) as explained in AEAT guidance.

What is the EORI number in Spain?

In Spain, the EORI (Economic Operators Registration and Identification) number is the identifier that Agencia Tributaria (AEAT) / Customs & Excise (Spain) assigns to businesses moving goods across the customs border. It starts with the prefix ES followed by a national identifier — for example ESX1234567X, and one registration is valid for customs declarations in every EU member state. Customs will not process imports or exports declared in your name without it.

Who needs an ES EORI number?

Any business established in Spain that lodges customs declarations — or is named as importer or exporter on them — needs an EORI number before goods move. That includes companies, sole traders and partnerships importing stock from outside the EU, exporting to international customers, or selling through online marketplaces that ship across customs borders. Even when a freight forwarder or courier files the declaration for you, the declaration still carries your EORI.

A core rule of the EU system: you register once, in the member state where your business is established — for a business established in Spain, that means applying to Agencia Tributaria (AEAT) / Customs & Excise (Spain). The ES-prefixed number you receive is then valid for customs declarations in all 27 EU member states: you do not need a separate EORI for each country you trade with inside the EU. Non-EU businesses that first declare in Spain can also request their EORI there.

Note that an EU EORI is not valid for Great Britain. If your business in Spain also imports into the UK in its own name, it needs a separate GB EORI from HMRC — see our UK EORI guide.

How to apply for an EORI number in Spain

  1. Check whether you already have one. Authorities often assign EORI numbers automatically when a business first interacts with customs. Search old customs correspondence or ask your forwarder, and try our EORI checker with your likely number — the format is usually ES plus your national tax or business identifier.
  2. Gather your business details. You will typically need your company registration number, VAT or tax ID, legal form, registered address and contact details of an authorised person.
  3. Apply with Agencia Tributaria (AEAT) / Customs & Excise (Spain). Applications go through the official portal — depends on the application type and documentation. Plan for a review period after submitting via the official electronic office. Registration is free of charge; no official authority charges for issuing an EORI.
  4. Validate before your first shipment. Once issued, confirm the number is active with our free checker so your first declaration is not rejected over a typo or a not-yet-propagated registration.

Official Spain EORI application page

Checking and using your Spain EORI number

EU EORI validation (EU EOS) + Spanish customs/AEAT confirmation. Because ES numbers sit in the EU-wide EOS database, any of your European trading partners can verify your number too — many businesses run a quick check on new suppliers and customers before the first shipment.

Once active, your EORI appears on every customs document tied to your business: import and export declarations, transit paperwork, safety and security filings, and any customs authorisations you hold. Couriers such as DHL, FedEx and UPS will ask for it before they can clear commercial goods in your name. Keep the exact string handy in your shipping profiles — a single mistyped character is enough to stop a consignment at the border. You can compare your number against the national pattern in our EORI format hub, which covers every country's structure with valid examples.

Directory

EORI guides for other countries

See all countries in the EORI format hub

FAQ

Spain EORI questions

Use the official AEAT procedure for obtaining/assigning an EORI. The page explains how to submit your request electronically and what to expect from the customs review.

EORI numbers are issued via customs/AEAT procedures without a charge for the identifier itself when you apply through official processes. Avoid paying intermediaries for standard applications.

Spanish EORI numbers start with the ES prefix. AEAT guidance explains how the tax identifier contributes to the final format.

Review time varies with application completeness and administrative workflow. Apply early if you have a customs deadline.

Use the <a href=\"/eori-checker\">EORI checker</a> to validate EU prefixes when the EU validation service is available.
Before you ship

Validate your Spain EORI

If your EORI is newly issued, validate it with the free checker before your first shipment.