AEAT customs web services
The AEAT (Spanish Tax Agency) publishes one web service (servicio web) per customs procedure: the CC415A declares an import, the CC515C an export, the CC015C a transit and the IE615V5 an exit without export. This catalogue brings together 146 services in 15 families, with who lodges them, what they require on top of the certificate and where they can be tested.
All about CustomsWhich customs web services
does the AEAT have?
Twelve groups, each with its own page. The tables below give the name of each message.
- 01 Import 19 services. The UCC H1 (CC415A and its family) and entry in the declarant's records (I2, with its NCLE).
- 02 Low value 4 services. The H7 declaration for consignments of up to €150 and its PreH7 pre-declaration.
- 03 Export and exit 13 services. The AES (CC515C and CC507C) and the exit summary declaration without export (IE615V5).
- 04 Transit 11 services. NCTS6 (CC015C and its destination messages) and the electronic transport document (ETDV1).
- 05 Union status 8 services. PoUS: the T2L, the JEC proof and the shipping line's CGM manifest.
- 06 Warehouses 9 services. Placement in a customs or non-customs warehouse (DVD) and its removals, sales and transfers.
- 07 Temporary storage 23 services. G4, G3 and G5 of the temporary storage facility, and container entry and exit at the terminal.
- 08 Controls 16 services. The single point of entry with the other agencies (PUE), SOIVRE and pre-release actions.
- 09 Entry 24 services. The entry summary declaration (ENS) in the Commission's ICS2, not the AEAT's.
- 10 Special procedures No service of its own. Temporary admission, inward processing, end-use and returned goods are entered and discharged with the CC415A and the CC515C.
- 11 Other declarations 6 services. The A-7 for NATO bases and the VAT refund for travellers (DIVA).
- 12 Cross-cutting 13 services. Attaching documents, checking by CSV, reading the inboxes and handling notifications.
Five columns
per message
Every table has the same columns. What the AEAT always requires (the certificate of the declarant or their representative) is not repeated in each row.
| Message | The name of the web service or message, as the AEAT publishes it in its index: CC415A, IE615V5, G4DecV1. |
|---|---|
| What it does | What it declares, amends, cancels, queries or reports. |
| Who lodges it | The role that sends it. For an inbox it is the other way round: the AEAT sends it to the declarant or their representative. |
| What it requires | What the AEAT asks for on top of the electronic certificate: power of representation, authorisations, a guarantee or an inbox subscription on the AEAT online office. |
| Testing | prewww1 and prewww10: the WSDL publishes pre-production with a representative or personal certificate (prewww1) and with a company seal certificate (prewww10). prewww1: only the first. Production only: there is no pre-production. |
Which web services does
the H1 import have?
The import declaration under the Union Customs Code (UCC), on route adip/jdit/ws/cci. It follows the UCC Import Guide v3.20 with its rules and conditions V4.10 and the additional information v3.26 (14-10-2026). The CC415A carries almost everything: the declaration, its amendment and the supplementary declarations.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| CC415A | Import declaration: standard (type A), advance declaration pending activation (D), amendment of a pending one (M) and supplementary X (completes simplified B), V (recapitulative) and Z (entry in the declarant's records). Supplementary Y and U closed on 31-12-2023. | The customs broker as representative, or the importer itself. | Power of representation, EORI and a guarantee (GRN) if payment is deferred. V and Z also need the EIR authorisation (C514). | prewww1 and prewww10 |
| PDI400 | Incomplete pre-declaration, before the goods arrive. | The customs broker. | Power of representation. | prewww1 and prewww10 |
| CC414A | Cancels a pre-declaration (PDI), an advance declaration (DPA) or a pending simplified declaration (SPA) that has not been activated. In the I2, cancels the entry notification by its MRN. | The declarant. | Nothing else | prewww1 and prewww10 |
| CC432A | Activates an advance declaration (DPA) or a pending simplified declaration (SPA). | The operator that lodged it. | Nothing else | prewww1 and prewww10 |
| ADD_DDT | Changes the DDT (box 1201) of a pending DPA or SPA. | The declarant. | Nothing else | prewww1 and prewww10 |
| CCSimplificada | Simplified declaration, active (SAC, type B) or pending (SPA, type E). Types C and F with SDE closed on 31-12-2023. | The declarant. | Nothing else | prewww1 and prewww10 |
| SUP_DOC | Provides the non-customs certificates left pending in box 1203. | The declarant. | Nothing else | prewww1 and prewww10 |
| DocJustificativos | Sends supporting documents after release (procedures 9VG, 9OR and 9DU). | The declarant. | Nothing else | prewww1 and prewww10 |
| ConsultaImportacionV3 | Status and full data of a declaration by MRN or LRN, with its guarantee (GRN) and the guaranteed balance for the actual debt. | The declarant, their representative or an authorised agent. | Being the declarant, representative or authorised agent for that declaration. | prewww1 and prewww10 |
| ConsultaMasivaImp | Queries several declarations of the same operator at once. | The operator. | Nothing else | prewww1 and prewww10 |
| EstadoV1, ErrorFuncionalV1, ComunicaAnulacionV1 | Inbox: the AEAT reports the status of the declaration, a functional error or a cancellation by customs. | The AEAT, to the declarant's or representative's inbox. | Inbox subscription on the AEAT online office. | prewww1 |
| CC451A, CC460A | Inbox: non-release (CC451A) and control or request for documents (CC460A), also for the I2. The request is answered by attaching documents with EnvioDeDocumentosV1. | The AEAT, to the declarant's inbox. | Inbox subscription on the AEAT online office. | prewww1 |
Which messages does the I2
for the declarant's records have?
Entry of the goods in the declarant's records, with its NCLE number, on the same route as the H1. It follows the I2 guide v0.7 and its rules v0.2. Cancellation (CC414A) and the non-release and control notices (CC451A and CC460A) are the same messages as in the H1, and the H1 supplementary declaration later writes off those NCLE numbers.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| CC433B | Notification of entry of the goods (NIM) in the declarant's records, with its NCLE. | The operator authorised for entry in the declarant's records (EIR). | EIR authorisation (C514); the CCL (C513) if it notifies from another place. | prewww1 and prewww10 |
| ConsultaI2V1 | Status of the entry notification. | The operator that lodged it. | Nothing else | prewww1 and prewww10 |
| EstadoI2V1, ComunicaAnulacionI2V1 | Inbox: release, discharge or cancellation by customs of the NIM. | The AEAT, to the operator's inbox. | Inbox subscription on the AEAT online office. | prewww1 |
Which web services exist
for low-value consignments (H7)?
The declaration for e-commerce consignments of up to €150, on route adip/jdit/ws/h7, with the H7 guide v3.23. Since 16-10-2026 the Union handling fee (F00) is part of the VAT base, and since 01-07-2026 there is a flat duty of €3 per item.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| AltaH7V1 | Declaration of low-value consignments, as a pre-declaration (PreH7) or as an H7. | The courier or freight forwarder, as representative. | The representative's H7 clearance authorisation (1018), the IOSS number with its authorisation of use, and the guarantee. | prewww1 and prewww10 |
| AnulaPreH7V1 | Cancels a PreH7 pre-declaration. | Whoever lodged it. | Nothing else | prewww1 and prewww10 |
| ConsultaH7V1 | Status of the consignments, by MRN or by G3. | The H7 declarant. | Nothing else | prewww1 and prewww10 |
| ReexportacionH7V1 | Return of consignments declared with IOSS or under the special arrangement (SA). | The H7 declarant. | Nothing else | prewww1 and prewww10 |
Which messages does
export in the AES have?
The Automated Export System (AES), on route adex/jdit/ws/aes, with the Export Web Services Guide v1.25 (17-06-2026). The CC515C is the declaration; the CC507C presents it at the customs office of exit when the goods leave through another office. Supplementary Y (recapitulative) and Z (entry in the declarant's records) close regular-use simplified declarations.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| CC515C | Declaration of export (EX) or of dispatch to a territory with special tax rules (CO): standard (type A), simplified (B), regular-use simplified (C), pre-declarations before the goods are presented (D and E) and pre-declaration of type C (F). | The exporter or their direct representative. | Power of representation. B, C and F need the simplified declaration authorisation (C512). | prewww1 and prewww10 |
| CC515X | Supplementary declaration X for a simplified declaration. | The declarant of the simplified declaration. | The simplified declaration authorisation. | prewww1 and prewww10 |
| CC511C | Presents the goods of a pre-declaration. | The declarant. | Nothing else | prewww1 and prewww10 |
| CC513C | Amends a pre-declaration, or the declaration after the goods are presented. | The declarant. | Nothing else | prewww1 and prewww10 |
| CC514C | Requests invalidation of the declaration. | The declarant. | Nothing else | prewww1 and prewww10 |
| CC507C | Presents the goods at the customs office of exit when it is not the office of export (indirect exit). | The carrier or a representative. | Nothing else | prewww1 and prewww10 |
| CCAESC | Full query of an export. Replaces ConsAutV2. | The declarant. | Nothing else | prewww1 and prewww10 |
| CCCSEC | Downloads the certificate of exit as a PDF. | The exporter or the declarant. | Being the exporter or declarant of the operation. | prewww1 and prewww10 |
| CCDOCC | Attaches documents to the export. | The declarant. | Nothing else | prewww1 and prewww10 |
| ComunicaResulSalida | Inbox: result of the exit. The same inbox carries export and exit release and non-compliance, controls and invalidation. | The AEAT, to the declarant's inbox. | Inbox subscription on the AEAT online office. | prewww1 |
What is the IE615
for exit without export?
The exit summary declaration (EXS), on route dit/adu/adrx, with the EXS guide v5.3 (15-12-2025). Version 4 closed on 18-05-2026. It is used when goods leave the Union without an export declaration.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| IE615V5 | Lodging, amendment and cancellation of the exit summary declaration (A1 and A2), of re-export from temporary storage or a free zone (A3) and of re-exportation notification (NR). | The carrier or their representative; for A3 and NR, the holder of the storage facility. | For A3 and NR, the holder's temporary storage or free zone authorisation. | prewww1 and prewww10 |
| ActPreEXS628V5, ActPreEXS616V5 | Inbox: activation or rejection of the exit pre-declaration (PreEXS). | The AEAT, to the declarant's inbox. | Inbox subscription on the AEAT online office. | prewww1 |


CC515C or CC507C?
The CC515C is the export declaration. The exporter or their direct representative lodges it at the customs office of export, and it opens the operation with its MRN: standard, simplified or as a pre-declaration.
The CC507C declares nothing new. It presents those same goods at the customs office of exit when it is a different office (indirect exit), and the carrier or a representative sends it. The certificate of exit is downloaded afterwards with the CCCSEC.
The export declaration in the AESWhich messages does
transit in NCTS have?
The New Computerised Transit System in phase 6, on route adtr/jdit/ws/ncts5, with the NCTS6 Transit Web Services Guide v1.20 (17-07-2026). Most services only publish pre-production with a personal certificate (prewww1), and NCTS6 has no test indicator. Notices (release, non-compliance, controls, invalidation at departure) arrive in the inbox.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| CC015C | T1, T2 or T2F transit declaration, with security data when needed. Its variants are TIR and the Gibraltar transits (T1GI and T2GI, code 1255). | The holder of the transit procedure or their representative. | Transit guarantee (GRN; a comprehensive one with its authorisation); authorised consignor if simplified; for TIR, the TIR carnet. | prewww1 |
| CC013C | Amends a transit declaration. | The holder of the procedure. | Nothing else | prewww1 |
| CC170C | Presents the goods of a transit pre-declaration. | The holder of the procedure. | Nothing else | prewww1 |
| CC014C | Requests invalidation of the transit. | The holder of the procedure. | Nothing else | prewww1 |
| CC007C | Notifies arrival of the goods at destination. | The consignee. | Authorised consignee, for unloading. | prewww1 |
| CC044C | Reports the unloading result at destination. | The authorised consignee. | Authorised consignee, for unloading. | prewww1 |
| CCTNNC | Indirect entry, on arrival, of a transit started in another country whose data does not arrive from the office of departure. | Whoever notifies the arrival. | Nothing else | prewww1 |
| CC117D | Passage through a maritime customs office of entry: writes off the vessel's summary declaration item by item. | Whoever handles the transit at the office of transit. | Nothing else | prewww1 |
| CCTRACV2 | Full query of a transit. | The holder of the procedure. | Nothing else | prewww1 and prewww10 |
| CCDOTC | Attaches documents to the transit. | The holder of the procedure. | Nothing else | prewww1 and prewww10 |
What is the ETDV1 for?
The electronic transport document (ETD) works as simplified transit for air and sea, on route adet. It is used by companies that hold the authorisation.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| ETDV1 | Presents the transport document as simplified air or sea transit. It also returns H7 consignments. | The airline or the shipping line. | The company's ETD authorisation. | prewww1 and prewww10 |
Which web services prove
Union status (PoUS)?
Proof of customs status of Union goods (PoUS): the T2L and the customs goods manifest (CGM), on route adtl/jdit/ws/pous. They follow the UCC-adapted T2L guide v2.6 and the CGM document guide v1.7 (27-08-2026). This is what proves goods are Union goods, for example between mainland Spain and the Canary Islands. The T2L of the previous system no longer accepts new entries.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| CCIEP01V1 | T2L, T2LF or T2LSM: endorsement by customs (01) or registration by the authorised issuer (02). | The operator proving the status; for 02, the authorised issuer. | For 02, the authorised issuer authorisation (C511). | prewww1 and prewww10 |
| CCIEP01INDV1 | Indirect entry with supporting documents: an invoice under €15,000, e-AD, ATA carnet or manifest, among others. | The operator proving the status. | Nothing else | prewww1 and prewww10 |
| CCIEJECV1 | Proof of Community status (JEC): writes off the summary declaration at the customs office of unloading against the T2L. | The operator at the customs office of unloading. | Nothing else | prewww1 and prewww10 |
| CCIEP01CONSV1 | Query of a T2L: status, expiry and the JECs that have used it. | The holder of the T2L. | Nothing else | prewww1 and prewww10 |
| CGMEP01V1, CGMEP01MODSV1, CGMEJECV1, CGMEP01CONSV1 | Customs goods manifest (CGM and CGMF): registration, amendment by UUID, JEC with partial uses, and query. | The shipping line. | Since 23-07-2026 the CGM can only be registered through PoUS. | prewww1 and prewww10 |
Which web services do
warehouses have?
Placing goods in a customs warehouse or a non-customs warehouse (DVD) and their movements, on route addv/h2uc, with the warehouse placement guide v1.7.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| DVDH2V1 | Placement in a warehouse (DVD or IDA) and its pre-declaration (PDC). | The depositor or their representative. | The warehouse authorisation of its holder; for the simplified one, its authorisation. | prewww1 and prewww10 |
| SDDH2V1, VTAH2V1, RUNH2V1, TRSH2V1 | Removal, sale, discharge and transfer of goods in the warehouse. | The depositor or their representative. | Nothing else | prewww1 and prewww10 |
| AnulaPDCVinculacionV1 | Cancels the placement pre-declaration (PDC). | The depositor or their representative. | Nothing else | prewww1 and prewww10 |
| ConsultaDVDH2V1 | Query of a warehouse placement. | The depositor or their representative. | Nothing else | prewww1 and prewww10 |
| DeclaComplemVinculV2 | Supplementary declaration for a simplified DVD. | The depositor or their representative. | Nothing else | prewww1 |
| ActivaPDCVinculacionV1 | Inbox: activation of the PDC when the goods are presented. | The AEAT, to the depositor's inbox. | Inbox subscription on the AEAT online office. | prewww1 |
Which messages does
temporary storage (ADT) have?
The temporary storage declaration (G4), presentation of the goods (G3) and movements between facilities (G5), on route adds/jdit. They follow the G4 guide v1.17 (22-09-2026), G3 v2.14 and G5 v2.12. The G4 test indicator only works against production and in ES00999X test locations. By air, since 09-03-2026, there is only the G4.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| G4DecV1, G4UpdateV1, G4RevokeV1 | Temporary storage declaration, its amendment and its revocation. | The holder of the temporary storage facility (ADT), or the freight forwarder that deconsolidates. | Temporary storage facility authorisation. | prewww1 and prewww10 |
| G4ConsV1 | Query of a G4. | The ADT holder. | Nothing else | prewww1 and prewww10 |
| G4ConsDGInumV1 | Query of the global item numbers. | The ADT holder. | Nothing else | prewww1 and prewww10 |
| ATMNotV1 | Notifies arrival of the vessel or aircraft. | The ADT holder or their representative. | Nothing else | prewww1 and prewww10 |
| G3PresV2, G3RevokeV2 | Presents the goods declared in the G4 (the master, some houses or some containers) and revokes that presentation. | The ADT holder or their representative. | Nothing else | prewww1 and prewww10 |
| G5ExpNotV2, G5ExpUpdateV2, G5ExpRevokeV2, G5RecNotV2 | General movement between temporary storage facilities: dispatch, amendment, cancellation and receipt at destination. | The ADT of origin; for receipt, the destination ADT. | Movement authorisation. | prewww1 and prewww10 |
| G5SimpExpNotV2, G5SimpExpRevokeV2, G5SimpRecNotV2 | Simplified movement: dispatch, cancellation and receipt. | The ADT of origin; for receipt, the destination ADT. | Movement authorisation. | prewww1 and prewww10 |
| ADTMaritimoConsultaV1, ADTAereoConsultaV1 | Queries the goods at a sea terminal or an air ADT. | The holder of the location or their authorised agents. | Being the ADT or an authorised agent for the location. | prewww1 and prewww10 |
| DSDTConsV1 | Queries the pre-UCC unloading summary declaration (DSDT): balance per item and write-off deadline. | The operators involved in unloading. | Nothing else | prewww1 and prewww10 |
How do you communicate
with the other agencies?
The single point of entry (PUE) with the agencies that control goods at the border, SOIVRE certificates and pre-release actions (SAPL), on routes ad44, advu and adcc. The issuing agency registers the certificates: the operator declares their number in the H1 or in the AES.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| ROHS1, ROHS3, COM1, COM3, CAL1, CAL3, ECO1, ECO3 | Application for the SOIVRE certificate and its additional data: RoHS and WEEE (ROHS), industrial safety (COM), quality (CAL) and organic production (ECO). | The operator of the DUA. | Nothing else | prewww1 |
| PUEmensajeDelOperadorV1 | PUE-3: message from the operator to the agency. | The operator. | Nothing else | prewww1 |
| PUEenvioDocumentoV1 | PUE-7: sends documents to the agency. | The operator. | Nothing else | prewww1 |
| PUESolCertDetaV1 | PUE-15: query of the certificate application. | The operator. | Nothing else | prewww1 |
| PUENotiCertiOperBEV1, PUENotiOperBEV1 | PUE-13 and PUE-14, inbox: the certificate and the agency's notifications to the operator. | The agency, to the operator's inbox. | Inbox subscription on the AEAT online office. | prewww1 |
| SolicitudZV2 | PUE-11: Z request for the controls on goods entered with an I2. | The I2 operator. | Nothing else | prewww1 |
| SaplAltaV1, SaplAnulacionV1 | Pre-release actions (formerly C-5): examination, sampling, other agencies, splitting or positioning with a DUA. Adapted to the G4 on 05-03-2026. | The representative. | Nothing else | prewww1 |
What does a container
terminal report?
The port terminal reports to customs, immediately, the entry of each container that arrives by land and the exit, by sea, road or rail, of those it declared. A container unloaded from a vessel does not go through here: it is in the summary declaration and the G4.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| EntradaConTerV2 | Entry of a container into the terminal. | The port terminal or its authorised agent. | Being the terminal or its authorised agent. | prewww1 and prewww10 |
| SalidaConTerV2 | Exit of one or more containers, by sea, road or rail. | The port terminal or its authorised agent. | Being the terminal or its authorised agent. | prewww1 and prewww10 |
| ModificacionConTerV2 | Changes the data of a container already declared. | The port terminal or its authorised agent. | Being the terminal or its authorised agent. | prewww1 and prewww10 |
| CancelaEntConTerV2, CancelaSalConTerV2 | Cancels the declared entry or exit (the exit, one container per message). | The port terminal or its authorised agent. | Being the terminal or its authorised agent. | prewww1 and prewww10 |
Where is the entry
summary declaration lodged?
In the European Commission's ICS2, not in an AEAT service: the ICS1 ENS services closed on 01-09-2025. It is lodged through the STI-STP portal or system to system (AS4). Each submission is a filing with its own code, depending on the mode and who holds the data.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| IE3F15 | Maritime house filing with the consignee's data, and unaccompanied RoRo filing. | The freight forwarder or NVOCC; the operator of the unaccompanied RoRo. | EORI and a certificate for the same NIF (portal), and conformance with the Commission. | STI-STP test |
| IE3F10, IE3F11, IE3F12, IE3F13, IE3F50, IE3F51, IE3F52 | Carrier filings: full or master maritime (F10 to F13), road (F50) and rail (F51 and F52). | The carrier, or its agent or customs broker as representative. | EORI and a certificate for the same NIF (portal), and conformance with the Commission. | STI-STP test |
| IE3F16, IE3F17, IE3F55 | Filings with the consignee data of the lowest house or of a direct bill of lading. | The consignee, or the importer's customs broker. | EORI and a certificate for the same NIF (portal), and conformance with the Commission. | STI-STP test |
| IE3A15 | Amendment of a filing (the whole filing). Each filing has its own IE3Axx; there is no IE3A25. | Whoever lodged the filing. | The MRN of the filing. | STI-STP test |
| IE3Q04 | Invalidation of a filing. | Whoever lodged the filing. | The MRN of the filing. | STI-STP test |
| IE3R01, IE3N99 | Response on submission: registration with its MRN (IE3R01) or validation error without registration (IE3N99). | ICS2, to whoever lodged it. | Nothing else | STI-STP test |
| IE3N02, IE3N03, IE3N08, IE3N11 | Notices: incomplete ENS (N02) or pending ENS (N11), risk analysis completed (N03) and control on arrival (N08). | ICS2, to whoever lodged it. | Nothing else | STI-STP test |
| IE3Q01, IE3Q02, IE3Q03 | Customs requests: do not load (Q01), additional information (Q02) and screening, air only (Q03). | ICS2, to whoever lodged it. | Nothing else | STI-STP test |
| IE3R02, IE3R03 | Responses to a request for information (R02) or for screening (R03). | Whoever received the request. | Nothing else | STI-STP test |
Which other declarations
have a web service?
Two declarations outside the families above: the A-7, for goods going to NATO bases, which has had a web service since 12-08-2026 (EDIFACT stops being accepted on 09-02-2027), and DIVA, the VAT refund for travellers from outside the Union. The diplomatic bag has no web service.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| A7AltaV1 | A-7 declaration: goods going to NATO bases (JUSMG). | Authorised declarants. | Express authorisation from customs. | prewww1 and prewww10 |
| DIVAAltaV3, DIVAAnulacionV1, DIVAPagoV2, DIVAVisadoV2, DIVAControlV1 | VAT refund for travellers from outside the Union: issue and cancellation of the form, payment, endorsement and control inbox. | The participating retailer or the collaborating entity. | Registration with DIVA. | prewww1 and prewww10 |
Which web services
serve every family?
Attaching documents, downloading supporting documents, reading the inboxes, checking clearance status and handling notifications. A formal request (requerimiento) is not answered with EnvioDeDocumentosV1: it arrives as a notification and is answered in the Registry with its CSV.
| Message | What it does | Who lodges it | What it requires on top of the certificate | Testing |
|---|---|---|---|---|
| EnvioDeDocumentosV1 | Attaches documents to a declaration. Operations: 02 and 03 (pre-UCC DUA), 04 (T2L), 05 (JEC), 06 (CGM), 07 (CGM JEC), 12 (H1), 13 (H1 supplementary for missing documents), 22 (I2) and 23 (CLE goods). | The declarant or their representative. | Nothing else | prewww1 and prewww10 |
| CotejoInternetV1 | Downloads an official document by its secure verification code (CSV). | Whoever has the CSV. | Only the CSV. | Public lookup |
| ListaDecV4, DetalleV4, DetalleV5 | List and detail of the notices in each inbox. | The inbox subscriber. | Inbox subscription on the AEAT online office. | prewww1 |
| ListaLeidosV1 | Inbox notices already read, for reconciliation. | The inbox subscriber. | Inbox subscription on the AEAT online office. | prewww1 |
| ConsDespV5 | Clearance status of an import or export MRN. | A party to the declaration or an authorised person. | Being a party or authorised. | Production only |
| ConsultaEnvios, AccesoEnvio, ConsultaAutorizados | AEAT notifications and communications, including customs formal requests: list, download and the NIFs you can act for. Opening a notification counts as receiving it and starts the deadline. | The holder or their authorised agent. | Being the holder or an agent authorised for notifications. | prewww1 |
| PresentacionV2SOAP | Registry: submits documents with the CSV of a notification to answer a formal request. Accepts up to 99 files of 45 MB. | The holder or their authorised agent. | The CSV of the notification and a procedure that accepts it. | prewww1 |
| SumaV4, RestaV4 | AEAT test calculator: checks the connection to the service. | Any integrator. | Nothing else | prewww1 and prewww10 |
Which services in the index
does the operator not use?
They appear in the AEAT index, but they are used by the agency, the port or the AEAT intranet, or they have closed. They are listed for anyone searching for them by name.
| Service | What it is | Why the operator does not lodge it |
|---|---|---|
| IE315V5, IE313V5, IE323V5, ConsENSV3, IE390V1 | ICS1 entry summary declaration. | Closed on 01-09-2025: the ENS is lodged in the Commission's ICS2. |
| ConsAutV2 | ECS query of an export. | Withdrawn on 06-05-2025; replaced by CCAESC. It does not query authorisations. |
| CC415TRV1 | «Transitional option» variant of the CC415A, with its own guide. | Closed by the AEAT. |
| ConsultaImportacionV2 | Import query prior to V3. | Closed on 01-06-2026, like the pre-UCC DUA (PDI, PDC and PDS): replaced by the H1. |
| G3PresV1 | Presentation of goods for DSDT summary declarations, and G5 v1 movements. | System prior to the G4. |
| VUAinfoDesdeAduanasH2V1 | Advance DVD information to the agencies. | The agency receives it; the operator does not send it. |
| CdsCargaV1, CdsConsultaV1 | Transfer of summary declarations to Port Health (Sanidad Exterior). | Used by the Ministry of Health. |
| CoordinacionAltaV1, CoordinacionAnulacionV1, NotificacionAltaV1 | Coordination of container positioning for inspection and notice after positioning. | They go from the AEAT to the ports. |
| ConsultaContV2, LSPContV2, ConSalGranV2, LSPGranV2 | Paperless release of containers and bulk cargo. | Called by the Port Authority, not by an operator. |
| MensTrazaV3, LSPTrazaV1 | Trace messages the AEAT sends to the Port Authorities. | Internal to the AEAT and the ports. |
| ROHS2, ROHS3B, COM2, COM3B, CAL2, CAL3B, ECO2, ECO3B, VUAcontrolFisicoV1 | SOIVRE and single window messages to or from the agency. | Used by the agency. |
| ReaV1 | Query of the register of powers of attorney. | The WSDL is only published on the AEAT intranet. |
General information; not advice. Names, versions and dates as in the AEAT index and technical guides in force on 20-10-2026.
Frequently asked questions about
AEAT customs web services
All about Customs → What is the CC415A message?
It is the H1 import declaration under the Union Customs Code in the AEAT web service. It is used to lodge the full declaration (type A), the advance declaration pending activation (D), the amendment of a pending one (M) and supplementary declarations X, V and Z. It is sent by the customs broker as representative or by the importer itself, with its EORI and, if payment is deferred, the guarantee.
Which customs web services does the AEAT have?
By family: H1 and I2 import, H7 low-value consignments, AES export, EXS exit without export, NCTS6 transit, ETD electronic transport document, Union status (PoUS and CGM), warehouses, temporary storage (G4, G3 and G5), controls by other agencies, container terminals and cross-cutting services. On 20-10-2026 the official index listed 394 WSDL files and 212 guides, about 130 of them for excise duties.
What is the difference between the CC515C and the CC507C?
The CC515C is the export declaration: the exporter or their direct representative lodges it at the customs office of export. The CC507C presents the goods at the customs office of exit when it is a different office (indirect exit), and the carrier or a representative sends it. The first opens the operation; the second proves the goods reach the border through which they leave.
What is the CC015C?
It is the NCTS6 transit declaration: T1, T2 or T2F, with security data when needed, and its TIR and Gibraltar variants. The holder of the procedure or their representative lodges it, with a transit guarantee (GRN). Arrival and unloading at destination use the CC007C and the CC044C.
What is the IE615V5?
It is the exit summary declaration (EXS) for goods leaving the Union without an export declaration: A1 and A2, re-export A3 from temporary storage or a free zone, and re-exportation notification NR. The carrier or their representative lodges it; for A3 and NR, the holder of the storage facility. Version 4 closed on 18-05-2026.
Is the entry summary declaration lodged with the AEAT?
No. The ICS1 ENS services (IE315V5, IE313V5, IE323V5) closed on 01-09-2025, and the ENS is lodged in the European Commission's ICS2, through the STI-STP portal or system to system. Each party lodges its filing (IE3F15 for the house, IE3F10 to IE3F13 for the maritime master, IE3F50 for road).
Does the AEAT have a test environment for its customs services?
Yes, for almost all of them: pre-production on prewww1, with a representative or personal certificate, and on prewww10, with a company seal certificate. NCTS6 transit only publishes prewww1 and has no test indicator, and ConsDespV5 only exists in production.
How do you answer a customs formal request by web service?
Not with EnvioDeDocumentosV1, which only attaches documents to a declaration. The formal request (requerimiento) arrives as a notification (ConsultaEnvios and AccesoEnvio, and opening it counts as receiving it) and is answered in the Registry with PresentacionV2SOAP, using the notification's CSV. A request for documents about a declaration arrives instead in its inbox (CC460A) and is answered by attaching documents.














