EORI Number: What It Is, How to Apply and Why It’s Mandatory

Find out what the EORI number is, how to apply through the AEAT, and why it's mandatory to import or export outside the EU.

Table of Contents

Spain’s foreign trade keeps growing, and with it, the number of companies facing customs bureaucracy for the first time. One of the first hurdles they come across is working out what the EORI number is and why no transaction with non-EU countries can be processed without it.

In this guide, Sile SCB explains in detail what the EORI number is, who needs to apply for it, how the application process works step by step, what documentation you need, how long it takes to be granted, and which mistakes to avoid so you don’t delay your first international trade operation.

What is the EORI number?

The EORI number (Economic Operators Registration and Identification) is a unique identification number issued by the customs authorities to any company or individual carrying out import, export or transit operations with countries outside the European Union.

If you are trying to work out what the EORI number is, it helps to clarify its nature first: it is not a tax, a licence or a special permit. It is simply an identification code (similar in function to a company’s tax ID) that allows customs authorities across the EU’s 27 member states to identify the operator unambiguously in any declaration, control or inspection.

In Spain, the EORI number consists of the prefix ES followed by the company’s NIF or CIF (for example, ESB12345678), which makes it easier to verify and avoids duplication between operators. You can check whether an EORI number is valid at any time using the European Commission’s official validator.

What is the EORI number for?

The EORI number serves several purposes within the European customs system:

  • Unique identification of the operator in every customs declaration filed within the EU.
  • Traceability of import, export and transit operations across the EU’s shared customs databases.
  • A prerequisite for filing the Single Administrative Document (SAD) or any other electronic customs declaration.
  • A single point of contact with the Spanish Tax Agency and with customs authorities in other member states, all under one code recognised across the EU.

Who needs an EORI number?

Any individual or legal entity carrying out, in their own name or as a representative, import, export or transit operations with non-EU countries needs an EORI number. This includes, among others:

  • Companies that import goods from outside the EU, whether occasionally or on a regular basis.
  • Exporters selling products to customers located outside the EU customs territory.
  • Online shops selling through international marketplaces and handling cross-border shipments.
  • Freight forwarders, customs agents and other representatives acting on behalf of third parties.
  • Individuals who, in exceptional circumstances, act as an economic operator before customs.

If your business fits any of these profiles, working out what the EORI number is stops being theoretical and becomes urgent, because without it you won’t be able to file any customs declaration, no matter how correct the rest of your shipment’s paperwork is.

How to apply for an EORI number in Spain, step by step

Applications for the EORI number in Spain are handled by the Spanish Tax Agency (AEAT), the authority responsible for assigning and managing this register. The process generally follows these steps:

  1. Check whether you already have an EORI number. Many companies with a Spanish tax ID are assigned one automatically once they have previously dealt with customs.
  2. Log in to the AEAT’s electronic office using a digital certificate, electronic ID card or Cl@ve.
  3. Submit the EORI application form, providing the identification details of the company or operator and its economic activity.
  4. Attach the required documentation (see the next section) and confirm submission.
  5. Wait for confirmation from the AEAT, which notifies the applicant once the number has been assigned.

For companies already operating with a Spanish tax ID, the process is usually quick, often almost immediate. For operators not established in the EU, or for individuals, the process may require additional documentation and therefore take longer.

Documentation needed to apply for the EORI number

Before starting the application, it helps to have the following documentation ready:

  • The company’s NIF or CIF (or NIE/passport for an individual or sole trader).
  • Complete identification details: registered name, tax address and economic activity (IAE or NACE code).
  • A digital certificate, electronic ID card or Cl@ve for access to the electronic office.
  • For operators not established in the EU, additional documentation proving fiscal representation within EU territory.

EORI number and cross-border e-commerce

The rise of e-commerce has widened the profile of businesses that need an EORI number. Any online shop selling to customers outside the EU, or importing stock from non-EU countries for distribution within the EU market, must have this identifier before its first shipment reaches customs. This includes sellers operating through international marketplaces, those running dropshipping operations from outside the EU, and businesses using the IOSS scheme for simplified declarations on low-value consignments.

In these cases, the lack of an EORI number is often discovered too late, once the first parcel is held at the port of entry. It is therefore worth applying for it as soon as an international operation is being planned, not once goods are already in transit.

How long does it take to get an EORI number?

In most cases, the AEAT resolves EORI applications within 24 to 72 working hours when the documentation is complete and there are no issues validating the data. This timeframe can be longer if the operator is not established in Spain or if the Tax Agency requests additional documentation to verify the applicant’s identity or activity.

For this reason, Sile SCB always recommends applying for the EORI number well in advance, before scheduling the first import or export operation, to avoid having goods held at customs for lack of this identifier.

Why the EORI number is mandatory

The EORI number has been mandatory for any customs operation since 1 July 2009, when the European Union unified national systems for identifying economic operators into a single common register. Without this number:

  • It is not possible to file the SAD or any electronic customs declaration.
  • Goods remain blocked at the port, airport or land border until the situation is resolved.
  • Additional costs arise from storage, demurrage and other logistics penalties.
  • Administrative penalties may apply for breaching EU customs regulations.

Ultimately, understanding what the EORI number is and why it is compulsory is not an academic exercise: it is an essential condition for operating legally in international trade under the Union Customs Code.

Common mistakes when applying for an EORI number

These are the most frequent mistakes that delay obtaining an EORI number:

  • Applying at the last minute, just before the first shipment, leaving no room for administrative hiccups.
  • Incomplete or outdated tax details on the application form.
  • Confusing the EORI with the intra-Community VAT number, which is a separate register for transactions within the EU, not outside it.
  • Not checking whether an EORI number has already been assigned before submitting a new application, which can create duplicates.
  • Not seeking specialist advice when the operator is not established within EU territory.

Working with an experienced customs agent helps avoid these mistakes and integrates EORI management into a broader international trade strategy, with documentation and deadlines properly planned from the very first shipment.

FAQs about the EORI number

What exactly is the EORI number and how does it differ from the NIF?

The NIF identifies a company for tax purposes before the Spanish Tax Agency, covering all its tax obligations in Spain. The EORI, by contrast, is a specific register for customs operations with non-EU countries, recognised throughout the European Union. In Spain, the two numbers are linked: the EORI is formed by adding the prefix ES to the NIF.

Does the EORI number cost anything?

No. Applying for and being assigned an EORI number is a free procedure through the Spanish Tax Agency.

Does the EORI number expire?

No, it remains valid as long as the company keeps trading. It is only cancelled if the company is dissolved or permanently ceases its activity.

Can I operate across the whole EU with a Spanish EORI number?

Yes. As it is a Community-wide register, an EORI number issued in Spain is valid and recognised by customs authorities in all 27 member states.

EORI number: the foundation of every international trade operation

Now that you know exactly what the EORI number is, how to apply for it, and why EU legislation requires it, the next step is to build it into your logistics planning before scheduling any import or export operation. A simple delay in obtaining it can turn into a held container, extra storage costs and customers waiting for goods that don’t arrive on time.

Sile SCB supports businesses of all sizes with their EORI number, customs procedures and international logistics, so that every operation runs smoothly and with full legal certainty. Get in touch today for personalised advice and take the first step towards frictionless customs operations.

Table of Contents

Take your business to the world!

Find out how to export successfully with our expert advice.

Grow your business internationally

Receive our newsletter with strategies, tips and resources for successful exporting.

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.