Importing and exporting: EORI, DUA and customs
Last updated 16 July 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.
To trade goods with countries outside the European Union you need an EORI number (compulsory registration with the AEAT, Spain's tax office) and a customs declaration: the H1 import declaration or the export declaration through the AES system (colloquially, the export DUA). The EORI is requested at the AEAT electronic office and is usually assigned within a few days. Managora obtains your EORI and clears customs for you.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €36.00 (21% VAT included), plus the tasa (official fee) where there is one.
What is new, and the law that applies
- H1 system compulsory on imports since 14 October 2025: the import declaration is filed as a structured electronic message adapted to the Union Customs Code (Reglamento (UE) 952/2013), replacing the classic import DUA with boxes.
- Exports through the AES system (P1 declaration): exports also stopped being filed with the DUA boxes. AES is the only system available since 9 May 2023 and reached its definitive period on 15 December 2025 (with the EDIFACT messages of the old ECS system closing on 10 December 2025). It is still customarily called the export DUA, but it is an electronic message adapted to the Union Customs Code.
- Low-value consignments: they are declared with the H7 data set, within the same UCC electronic customs environment.
- Deferred import VAT for 2027: the option (or the waiver of it) is exercised through the modelo 036 during November 2026; once chosen, it is automatically extended and the waiver applies for a minimum of three years.
- VAT rates in force as at 17 July 2026: standard 21%, reduced 10% and super-reduced 4%; the one that applies depends on the goods imported.
What are the EORI, the DUA and the customs declaration?
The EORI number (Economic Operators Registration and Identification) is a single number valid throughout the customs territory of the European Union that customs assigns to anyone carrying out foreign trade operations. It identifies you in any procedure before EU customs authorities. In Spain it is made up of the prefix ES followed by your NIF (Spanish tax identification number).
The DUA (Documento Unico Administrativo, the Single Administrative Document) is the declaration filed with customs for any goods entering or leaving the customs territory of the Union, that is, in operations with non-EU countries. It records who the operator is, what the goods are (tariff classification), their value, their origin and the customs procedure requested.
Since 14 October 2025, the import declaration in Spain is filed using the H1 system, a structured electronic message adapted to the Union Customs Code. In practice it is still the import customs clearance: what changes is the format (electronic messages instead of the classic form with boxes). Exports also stopped being declared using the DUA boxes: since 9 May 2023 they are filed through the AES system (P1 declaration), likewise an electronic message adapted to the Union Customs Code, with the definitive period running from 15 December 2025. It is still customarily called the export DUA but, as with imports, it is no longer a form with boxes but an electronic message.
Who needs an EORI number?
An EORI is needed by any company, autonomo (self-employed worker registered in Spain) or entity carrying out customs operations: importing goods from outside the EU, exporting to non-EU countries, or any related customs procedure. Without an EORI you cannot file the customs declaration or collect the goods.
The EORI is not the same as the NIF-IVA (Spanish VAT number) or as registration in the VIES (which is used for intra-Community operations, within the EU). Nor is it the Authorised Economic Operator (OEA) certificate, which is voluntary and additional. All operators need an EORI; only some apply for OEA status.
Private individuals making an occasional import for personal use are, as a general rule, not obliged to obtain an EORI. If the operations are regular, customs may require you to register.
How do you apply for an EORI number with the AEAT?
The application is filed online at the electronic office of the Agencia Tributaria (the AEAT), with a digital certificate or Cl@ve (Spain's official online identification system), through the EORI registration procedure (reference DC13). It can also be processed in writing before the Department of Customs and Excise (Departamento de Aduanas e Impuestos Especiales).
If you are an operator established in Spain, you must first have a NIF assigned by the AEAT; your EORI is built on that NIF (ES + NIF). If you already have an EORI assigned by another Member State, you can notify Spanish customs so that it is linked to your NIF in Spain.
Once assigned, the EORI can be validated in the European Commission system, which confirms that it is an active number and valid throughout the EU. Managora applies for it, follows up on its status and confirms the validation before your first operation.
How are the DUA and the H1 import declaration filed?
Both imports (H1) and exports (AES/P1) are filed online at the AEAT electronic office, through the electronic customs system. It is not a paper form handed in over a counter: it is an electronic message that customs validates automatically.
On imports, the declaration includes the classification of the goods by their TARIC code, the customs value, the origin and the procedure requested (usually, release for free circulation and for consumption). With that data customs assesses the customs duties and the import VAT.
When the declaration is accepted and the duties are paid or guaranteed, customs grants the levante (customs release), which is the authorisation to collect the goods (on import) or to load them (on export). Managora prepares and files the declaration and handles the levante for you.
How are import VAT and customs duties calculated?
The customs duty (import duties) is calculated by applying to the customs value the percentage corresponding to the TARIC code of the goods. The customs value is, as a general rule, the transaction value (the price paid), to which costs such as transport and insurance up to the point of entry into the Union are added.
Import VAT is calculated on a base made up of the customs value, the customs duty and the incidental costs (such as transport and insurance up to the first place of destination within the EU), and the rate corresponding to the goods is applied (21% standard, 10% reduced or 4% super-reduced). It is settled together with the customs clearance.
Businesses and professionals with a monthly filing period can opt for deferred import VAT: instead of paying the VAT at customs, they declare it on the modelo 303 for the period (box 77) and deduct it in the same return, with a neutral cash flow effect. It requires being in the immediate supply of information system (SII) and exercising the option.
What does a customs representative do, and what is Managora's role?
The customs representative is the person who files the declaration with customs on behalf of the operator. They can act in direct representation (in the name of and on behalf of the client, without being liable for the customs debt) or in indirect representation (in their own name and on behalf of the client, being liable for the debt together with the client).
To practise, the representative proves the required qualification and is listed in the AEAT Register of Customs Representatives (Registro de Representantes Aduaneros). As a general rule they are established in the Union, although customs legislation allows exceptions for operators established in third countries in the cases provided for. It is a key role for clearance to be done correctly and without delays.
Managora takes care of the whole process: we obtain your EORI, classify the goods, prepare and file the DUA or the H1 declaration, handle the assessment of customs duties and VAT and the levante, and coordinate representation before customs. You only provide the data and the documentation for the operation.
Step by step
- 1
Registration as an operator and NIF
The company or autonomo must be registered with Hacienda (the Spanish tax authorities) and have a NIF assigned by the AEAT. It is the starting point on which the EORI is built in Spain (ES + NIF).
- 2
Apply for the EORI number(Usually assigned within a few working days (to be confirmed on the service page))
The application is filed at the AEAT electronic office with a digital certificate or Cl@ve (procedure DC13). The EORI is unique and valid throughout the Union.
- 3
Classify the goods (TARIC code)
Each product has a TARIC code that determines the applicable customs duty and any restrictions or requirements. Correct classification avoids incorrect assessments and blockages at customs.
- 4
Gather the documentation for the operation
Commercial invoice, transport document, proof of origin where applicable, licences or certificates required for the product, and value and freight data.
- 5
File the customs declaration
Imports through the H1 declaration and exports through the AES system (P1 declaration, colloquially the export DUA), both filed online at the AEAT electronic office (electronic customs).
- 6
Settle customs duties and import VAT
Customs assesses the customs duties and the import VAT. The VAT can be deferred to the modelo 303 (box 77) if the importer meets the requirements of the monthly regime with SII.
- 7
Obtain the levante and collect the goods
After the declaration is accepted and the debt is paid or guaranteed, customs grants the levante, which authorises collecting the goods (import) or loading them (export).
A worked example
A company imports goods from a non-EU country. Transaction value (price paid): €10,000. Transport and insurance up to the point of entry into the EU: €800. Customs duty according to the TARIC code: 5%. VAT rate applicable to the goods: 21%. Illustrative figures: the actual customs duty and rate depend on the TARIC code of each product.
- Customs value = 10,000 + 800 = €10,800 (transaction value plus transport and insurance up to entry into the EU)
- Customs duty = 5% of 10,800 = €540
- VAT taxable base = customs value + customs duty + incidental costs after entry into the EU = 10,800 + 540 + 0 = €11,340 (in this case there are no additional incidental costs; where they do exist, transport and insurance up to the first place of destination within the Union are also added to the base under article 83 of the Ley del IVA)
- Import VAT = 21% of 11,340 = €2,381.40
- Total duties and taxes to be settled at customs = 540 + 2,381.40 = €2,921.40
€540 of customs duty and €2,381.40 of import VAT are settled (€2,921.40 in total). If the company is under deferred VAT, those €2,381.40 are not paid out at customs: they are declared and paid and at the same time deducted on the modelo 303 for the period (box 77).
Customs declaration by type of operation (2026)
| Operation | Declaration / system | Filing |
|---|---|---|
| Import (release for free circulation) | H1 declaration (UCC, electronic message) | Online at the AEAT electronic office (electronic customs) |
| Export | AES system (P1 declaration, electronic message); colloquially, the export DUA | Online at the AEAT electronic office (electronic customs) |
| Low-value consignments | H7 data set | Online at the AEAT electronic office (electronic customs) |
| Transit | Transit declaration (NCTS) | Online at the AEAT electronic office (electronic customs) |
Cost components of an import from outside the EU
| Item | How it is determined | Who sets it |
|---|---|---|
| Customs value | As a general rule, the transaction value (the price paid) plus transport and insurance up to the point of entry into the EU | Union Customs Code |
| Customs duty (import duties) | Percentage of the customs value according to the TARIC code of the goods | Common Customs Tariff / TARIC |
| Import VAT | Rate (21%, 10% or 4%) on the base: customs value + customs duty + incidental costs | Ley del IVA, the Spanish VAT Act (AEAT) |
| Other taxes | Excise duties or other charges depending on the type of product | Product-specific legislation |
Import VAT: payment at customs or deferred VAT
| Payment at customs (general regime) | Deferred VAT (box 77) | |
|---|---|---|
| When the VAT is paid | At customs clearance, together with the customs duties | On the modelo 303 for the period, with no cash outlay at customs |
| Requirements | None in particular | Being a business or professional with a monthly filing period (and therefore in SII) |
| How it is activated | No option required | By ticking box 530 of the modelo 036, in November of the previous year |
| Cash flow effect | You pay the VAT up front until you can deduct it | Neutral: it is declared and deducted in the same return |
| Where it appears | Paid at customs with the clearance | Box 77 of the modelo 303/322 |
Official forms and where it is filed
- Application for EORI number registration (procedure DC13, AEAT electronic office) ↗
- H1 import declaration and export declaration through the AES/P1 system (online filing, AEAT electronic office - electronic customs) ↗
- Modelo 036 - census declaration (option for deferred import VAT, box 530)
- Modelo 303 - VAT self assessment (deferred import VAT, box 77)
- Import VAT with deferred payment enquiry (AEAT electronic office - Customs)
- EORI number validation (European Commission) ↗
Frequently asked questions
Do I need an EORI if I am only going to import once?
If you are a company or an autonomo and you carry out the operation as part of your business activity, yes: without an EORI the customs declaration cannot be filed. A private individual importing occasionally for personal use does not, as a general rule, need one, although customs may require it if the operations are regular.
How long does it take for an EORI number to be assigned?
The application is dealt with at the AEAT electronic office and the number is usually assigned within a few working days when you already have a NIF. Managora files the application and checks the EORI validation before your first operation. The specific timescale can be checked on the service page.
Is there any tasa for EORI registration?
Registering the EORI number with the AEAT does not carry a tasa (official fee). The costs of an import are the customs duties, the import VAT and, where applicable, the handling and representation fees. You can see the price of the Managora service on the service page.
Can I defer payment of import VAT?
Yes. Businesses and professionals with a monthly filing period (and therefore in SII) can opt for deferred import VAT: they declare it on the modelo 303 (box 77) instead of paying it at customs. The option is exercised with the modelo 036 in November of the previous year.
Do I still use the DUA or is it now the H1 system?
On imports, since 14 October 2025 the declaration is filed using the H1 system (adapted to the Union Customs Code). On exports the AES system is used (P1 declaration), which since 9 May 2023 also replaced the DUA boxes with an electronic message; it is still customarily called the export DUA. In both cases it is an online filing at the AEAT electronic office that Managora carries out for you.
Do I have to engage a customs representative?
You can declare directly or do it through a customs representative, in direct or indirect representation. Managora handles the clearance and the representation before customs for you, so you do not have to find or coordinate anyone else.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €36.00 (21% VAT included), plus the tasa (official fee) where there is one.
Related procedures
The price, the tasa (official fee) and the current deadlines are on each procedure page.
- EORI: Economic Operator Registration (customs registration in the EU)We handle the application for an EORI number (Economic Operator Registration and Identification) before AEA...
- DUA: Documento Único Administrativo (single customs declaration, import / export)We prepare your DUA, the customs declaration for imports, exports, transit, warehousing or processing, chec...
- OEA: Operador Económico Autorizado (AEO customs certification)OEA certification (Operador Económico Autorizado / Authorised Economic Operator, AEO): Regulation (EU) 952/...
Related guides
- VAT for the self-employed in Spain: modelo 303 and modelo 390
- Registering as autónomo in Spain: Hacienda and Seguridad Social
- IRPF for the self-employed in Spain: payments on account and withholdings
- The Spanish tax return (IRPF, modelo 100)
- Spanish Corporation Tax: modelo 200 and instalment payments
- How to Set Up a Sociedad Limitada (SL) in Spain: Steps, Capital and Accounts
- Registering a Trademark (OEPM and EUIPO): Steps and Renewal
- Managing a Spanish SL: directors, bylaws, capital and company books
- Digital certificate and electronic signature for companies and autónomos in Spain
- E-commerce VAT: the One Stop Shop OSS/IOSS (modelo 369)
- Spanish wealth tax and the tax on large fortunes (modelo 714)
- Modelo 211: the 3% withholding when you buy a property from a non-resident
- Leaving the recargo de equivalencia as an ecommerce or Amazon seller