Customs · AEAT web services

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 Customs
Families

Which customs web services
does the AEAT have?

Twelve groups, each with its own page. The tables below give the name of each message.

  1. 01 Import 19 services. The UCC H1 (CC415A and its family) and entry in the declarant's records (I2, with its NCLE).
  2. 02 Low value 4 services. The H7 declaration for consignments of up to €150 and its PreH7 pre-declaration.
  3. 03 Export and exit 13 services. The AES (CC515C and CC507C) and the exit summary declaration without export (IE615V5).
  4. 04 Transit 11 services. NCTS6 (CC015C and its destination messages) and the electronic transport document (ETDV1).
  5. 05 Union status 8 services. PoUS: the T2L, the JEC proof and the shipping line's CGM manifest.
  6. 06 Warehouses 9 services. Placement in a customs or non-customs warehouse (DVD) and its removals, sales and transfers.
  7. 07 Temporary storage 23 services. G4, G3 and G5 of the temporary storage facility, and container entry and exit at the terminal.
  8. 08 Controls 16 services. The single point of entry with the other agencies (PUE), SOIVRE and pre-release actions.
  9. 09 Entry 24 services. The entry summary declaration (ENS) in the Commission's ICS2, not the AEAT's.
  10. 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. 11 Other declarations 6 services. The A-7 for NATO bases and the VAT refund for travellers (DIVA).
  12. 12 Cross-cutting 13 services. Attaching documents, checking by CSV, reading the inboxes and handling notifications.
How to read it

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.

Columns of the customs web services catalogue.
MessageThe name of the web service or message, as the AEAT publishes it in its index: CC415A, IE615V5, G4DecV1.
What it doesWhat it declares, amends, cancels, queries or reports.
Who lodges itThe 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 requiresWhat 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.
Testingprewww1 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.
Import · H1

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.

H1 import web services. Source: AEAT UCC Import Guide v3.20 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
CC415AImport 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
PDI400Incomplete pre-declaration, before the goods arrive.The customs broker.Power of representation.prewww1 and prewww10
CC414ACancels 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 elseprewww1 and prewww10
CC432AActivates an advance declaration (DPA) or a pending simplified declaration (SPA).The operator that lodged it.Nothing elseprewww1 and prewww10
ADD_DDTChanges the DDT (box 1201) of a pending DPA or SPA.The declarant.Nothing elseprewww1 and prewww10
CCSimplificadaSimplified declaration, active (SAC, type B) or pending (SPA, type E). Types C and F with SDE closed on 31-12-2023.The declarant.Nothing elseprewww1 and prewww10
SUP_DOCProvides the non-customs certificates left pending in box 1203.The declarant.Nothing elseprewww1 and prewww10
DocJustificativosSends supporting documents after release (procedures 9VG, 9OR and 9DU).The declarant.Nothing elseprewww1 and prewww10
ConsultaImportacionV3Status 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
ConsultaMasivaImpQueries several declarations of the same operator at once.The operator.Nothing elseprewww1 and prewww10
EstadoV1, ErrorFuncionalV1, ComunicaAnulacionV1Inbox: 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, CC460AInbox: 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
Declarant's records · I2 and NCLE

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.

I2 web services. Source: AEAT I2 guide v0.7 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
CC433BNotification 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
ConsultaI2V1Status of the entry notification.The operator that lodged it.Nothing elseprewww1 and prewww10
EstadoI2V1, ComunicaAnulacionI2V1Inbox: release, discharge or cancellation by customs of the NIM.The AEAT, to the operator's inbox.Inbox subscription on the AEAT online office.prewww1
Low-value consignments · H7

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.

H7 web services. Source: AEAT low-value H7 guide v3.23 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
AltaH7V1Declaration 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
AnulaPreH7V1Cancels a PreH7 pre-declaration.Whoever lodged it.Nothing elseprewww1 and prewww10
ConsultaH7V1Status of the consignments, by MRN or by G3.The H7 declarant.Nothing elseprewww1 and prewww10
ReexportacionH7V1Return of consignments declared with IOSS or under the special arrangement (SA).The H7 declarant.Nothing elseprewww1 and prewww10
Export · AES

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.

AES web services. Source: AEAT AES Export Web Services Guide v1.25 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
CC515CDeclaration 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
CC515XSupplementary declaration X for a simplified declaration.The declarant of the simplified declaration.The simplified declaration authorisation.prewww1 and prewww10
CC511CPresents the goods of a pre-declaration.The declarant.Nothing elseprewww1 and prewww10
CC513CAmends a pre-declaration, or the declaration after the goods are presented.The declarant.Nothing elseprewww1 and prewww10
CC514CRequests invalidation of the declaration.The declarant.Nothing elseprewww1 and prewww10
CC507CPresents the goods at the customs office of exit when it is not the office of export (indirect exit).The carrier or a representative.Nothing elseprewww1 and prewww10
CCAESCFull query of an export. Replaces ConsAutV2.The declarant.Nothing elseprewww1 and prewww10
CCCSECDownloads the certificate of exit as a PDF.The exporter or the declarant.Being the exporter or declarant of the operation.prewww1 and prewww10
CCDOCCAttaches documents to the export.The declarant.Nothing elseprewww1 and prewww10
ComunicaResulSalidaInbox: 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
Exit without export · EXS

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.

EXS web services. Source: AEAT EXS technical guide v5.3 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
IE615V5Lodging, 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, ActPreEXS616V5Inbox: activation or rejection of the exit pre-declaration (PreEXS).The AEAT, to the declarant's inbox.Inbox subscription on the AEAT online office.prewww1
Export

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 AES
Transit · NCTS6

Which 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.

NCTS6 transit web services. Source: AEAT NCTS6 Transit Web Services Guide v1.20 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
CC015CT1, 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
CC013CAmends a transit declaration.The holder of the procedure.Nothing elseprewww1
CC170CPresents the goods of a transit pre-declaration.The holder of the procedure.Nothing elseprewww1
CC014CRequests invalidation of the transit.The holder of the procedure.Nothing elseprewww1
CC007CNotifies arrival of the goods at destination.The consignee.Authorised consignee, for unloading.prewww1
CC044CReports the unloading result at destination.The authorised consignee.Authorised consignee, for unloading.prewww1
CCTNNCIndirect 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 elseprewww1
CC117DPassage 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 elseprewww1
CCTRACV2Full query of a transit.The holder of the procedure.Nothing elseprewww1 and prewww10
CCDOTCAttaches documents to the transit.The holder of the procedure.Nothing elseprewww1 and prewww10
Electronic transport document · ETD

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.

ETD web service. Source: AEAT ETD technical guide v1.5 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
ETDV1Presents 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
Union status · PoUS and CGM

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.

PoUS web services. Source: AEAT UCC-adapted T2L guide v2.6 and CGM document guide v1.7, and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
CCIEP01V1T2L, 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
CCIEP01INDV1Indirect entry with supporting documents: an invoice under €15,000, e-AD, ATA carnet or manifest, among others.The operator proving the status.Nothing elseprewww1 and prewww10
CCIEJECV1Proof 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 elseprewww1 and prewww10
CCIEP01CONSV1Query of a T2L: status, expiry and the JECs that have used it.The holder of the T2L.Nothing elseprewww1 and prewww10
CGMEP01V1, CGMEP01MODSV1, CGMEJECV1, CGMEP01CONSV1Customs 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
Customs and non-customs warehouses

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.

Warehouse web services. Source: AEAT DVD service description v1.7 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
DVDH2V1Placement 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, TRSH2V1Removal, sale, discharge and transfer of goods in the warehouse.The depositor or their representative.Nothing elseprewww1 and prewww10
AnulaPDCVinculacionV1Cancels the placement pre-declaration (PDC).The depositor or their representative.Nothing elseprewww1 and prewww10
ConsultaDVDH2V1Query of a warehouse placement.The depositor or their representative.Nothing elseprewww1 and prewww10
DeclaComplemVinculV2Supplementary declaration for a simplified DVD.The depositor or their representative.Nothing elseprewww1
ActivaPDCVinculacionV1Inbox: activation of the PDC when the goods are presented.The AEAT, to the depositor's inbox.Inbox subscription on the AEAT online office.prewww1
Temporary storage · G4, G3 and G5

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.

Temporary storage web services. Source: AEAT G4 technical guide v1.17 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
G4DecV1, G4UpdateV1, G4RevokeV1Temporary 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
G4ConsV1Query of a G4.The ADT holder.Nothing elseprewww1 and prewww10
G4ConsDGInumV1Query of the global item numbers.The ADT holder.Nothing elseprewww1 and prewww10
ATMNotV1Notifies arrival of the vessel or aircraft.The ADT holder or their representative.Nothing elseprewww1 and prewww10
G3PresV2, G3RevokeV2Presents the goods declared in the G4 (the master, some houses or some containers) and revokes that presentation.The ADT holder or their representative.Nothing elseprewww1 and prewww10
G5ExpNotV2, G5ExpUpdateV2, G5ExpRevokeV2, G5RecNotV2General 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, G5SimpRecNotV2Simplified movement: dispatch, cancellation and receipt.The ADT of origin; for receipt, the destination ADT.Movement authorisation.prewww1 and prewww10
ADTMaritimoConsultaV1, ADTAereoConsultaV1Queries 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
DSDTConsV1Queries the pre-UCC unloading summary declaration (DSDT): balance per item and write-off deadline.The operators involved in unloading.Nothing elseprewww1 and prewww10
Controls by other agencies · PUE and SOIVRE

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.

Control web services. Source: AEAT SAPL documentation v1.8 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
ROHS1, ROHS3, COM1, COM3, CAL1, CAL3, ECO1, ECO3Application 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 elseprewww1
PUEmensajeDelOperadorV1PUE-3: message from the operator to the agency.The operator.Nothing elseprewww1
PUEenvioDocumentoV1PUE-7: sends documents to the agency.The operator.Nothing elseprewww1
PUESolCertDetaV1PUE-15: query of the certificate application.The operator.Nothing elseprewww1
PUENotiCertiOperBEV1, PUENotiOperBEV1PUE-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
SolicitudZV2PUE-11: Z request for the controls on goods entered with an I2.The I2 operator.Nothing elseprewww1
SaplAltaV1, SaplAnulacionV1Pre-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 elseprewww1
Ports and containers

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.

Terminal container web services. Source: official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
EntradaConTerV2Entry of a container into the terminal.The port terminal or its authorised agent.Being the terminal or its authorised agent.prewww1 and prewww10
SalidaConTerV2Exit 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
ModificacionConTerV2Changes 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, CancelaSalConTerV2Cancels 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
Entry · ICS2 (European Commission)

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.

ICS2 messages. Source: European Commission ICS2 documentation and the AEAT guide to accessing STI-STP.
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
IE3F15Maritime 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, IE3F52Carrier 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, IE3F55Filings 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
IE3A15Amendment 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
IE3Q04Invalidation of a filing.Whoever lodged the filing.The MRN of the filing.STI-STP test
IE3R01, IE3N99Response on submission: registration with its MRN (IE3R01) or validation error without registration (IE3N99).ICS2, to whoever lodged it.Nothing elseSTI-STP test
IE3N02, IE3N03, IE3N08, IE3N11Notices: incomplete ENS (N02) or pending ENS (N11), risk analysis completed (N03) and control on arrival (N08).ICS2, to whoever lodged it.Nothing elseSTI-STP test
IE3Q01, IE3Q02, IE3Q03Customs requests: do not load (Q01), additional information (Q02) and screening, air only (Q03).ICS2, to whoever lodged it.Nothing elseSTI-STP test
IE3R02, IE3R03Responses to a request for information (R02) or for screening (R03).Whoever received the request.Nothing elseSTI-STP test
Other declarations · A-7 and DIVA

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.

Web services for other declarations. Source: official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
A7AltaV1A-7 declaration: goods going to NATO bases (JUSMG).Authorised declarants.Express authorisation from customs.prewww1 and prewww10
DIVAAltaV3, DIVAAnulacionV1, DIVAPagoV2, DIVAVisadoV2, DIVAControlV1VAT 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
Cross-cutting services

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.

Cross-cutting web services. Source: AEAT document submission web service guide v1.7 and the official index of AEAT customs web services (20-10-2026).
MessageWhat it doesWho lodges itWhat it requires on top of the certificateTesting
EnvioDeDocumentosV1Attaches 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 elseprewww1 and prewww10
CotejoInternetV1Downloads an official document by its secure verification code (CSV).Whoever has the CSV.Only the CSV.Public lookup
ListaDecV4, DetalleV4, DetalleV5List and detail of the notices in each inbox.The inbox subscriber.Inbox subscription on the AEAT online office.prewww1
ListaLeidosV1Inbox notices already read, for reconciliation.The inbox subscriber.Inbox subscription on the AEAT online office.prewww1
ConsDespV5Clearance 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, ConsultaAutorizadosAEAT 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
PresentacionV2SOAPRegistry: 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, RestaV4AEAT test calculator: checks the connection to the service.Any integrator.Nothing elseprewww1 and prewww10
Not lodged by the operator

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.

AEAT customs web services the operator does not lodge. Source: official index of AEAT customs web services (20-10-2026).
ServiceWhat it isWhy the operator does not lodge it
IE315V5, IE313V5, IE323V5, ConsENSV3, IE390V1ICS1 entry summary declaration.Closed on 01-09-2025: the ENS is lodged in the Commission's ICS2.
ConsAutV2ECS 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.
ConsultaImportacionV2Import query prior to V3.Closed on 01-06-2026, like the pre-UCC DUA (PDI, PDC and PDS): replaced by the H1.
G3PresV1Presentation of goods for DSDT summary declarations, and G5 v1 movements.System prior to the G4.
VUAinfoDesdeAduanasH2V1Advance DVD information to the agencies.The agency receives it; the operator does not send it.
CdsCargaV1, CdsConsultaV1Transfer of summary declarations to Port Health (Sanidad Exterior).Used by the Ministry of Health.
CoordinacionAltaV1, CoordinacionAnulacionV1, NotificacionAltaV1Coordination of container positioning for inspection and notice after positioning.They go from the AEAT to the ports.
ConsultaContV2, LSPContV2, ConSalGranV2, LSPGranV2Paperless release of containers and bulk cargo.Called by the Port Authority, not by an operator.
MensTrazaV3, LSPTrazaV1Trace messages the AEAT sends to the Port Authorities.Internal to the AEAT and the ports.
ROHS2, ROHS3B, COM2, COM3B, CAL2, CAL3B, ECO2, ECO3B, VUAcontrolFisicoV1SOIVRE and single window messages to or from the agency.Used by the agency.
ReaV1Query 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

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.

Editorial review: Cofactu team · 31 October 2026. Catalogue built from the official index of AEAT customs web services, reviewed in full on 20-10-2026, and the technical guides in force for each family. AEAT sources are in Spanish. Sources: AEAT · Index of customs web services · AEAT · Customs technical guides · AEAT · Customs news 2026 · AEAT · UCC import guide (H1) · AEAT · Low-value H7 guide v3.23 · AEAT · AES export web services guide v1.25 · AEAT · EXS technical guide v5.3 · AEAT · NCTS6 transit web services guide v1.20 · AEAT · ETD technical guide v1.5 · AEAT · Warehouse placement service description v1.7 · AEAT · G4 technical guide v1.17 · AEAT · SAPL basic documentation v1.8 · AEAT · Document submission web service guide v1.7 · AEAT · Guide to accessing STI-STP · European Commission · Import Control System 2.

Cofactu Customs · Import declaration (H1) · Low-value consignments (H7) · Export (AES) · Transit (NCTS) · Canary Islands and Union status · Customs warehouse · Temporary storage · Controls by other agencies · ICS2 and the ENS declaration · Special procedures · EORI number · Import VAT

Source: Regulation (EU) 952/2013, Union Customs Code (Official Journal of the EU).

(Start today)

Cofactu Customs is not open to clients yet. You can already invoice with VeriFactu and document your transport from the same account, for free.

Your first invoice

  • Unlimited VeriFactu invoices with QR
  • Unlimited DeCA on the Free plan
  • No card needed