Skip to main content

Submitting domestic claims in Spain (SII)

For companies registered for VAT in Spain (either domestically or locally registered), VAT4U generates the SII XML file that needs to be submitted to the AEAT portal.

VAT4U Support avatar
Written by VAT4U Support
Updated over a week ago

The Spanish Tax Administration (AEAT - Agencia Estatal de Administración Tributaria) requires businesses to report their invoices through the SII (Suministro Inmediato de Información) system. This is a reporting system where invoice data must be submitted electronically in XML format.

How to Submit SII XML to AEAT

Step 1: Generate the SII XML File

  1. Open your claim in VAT4U

  2. Navigate to the Submission tab

  3. Select the submission type:

    • Initial submission (A0) - For first-time submission of invoices

    • Corrective submission (A1) - For corrections to previously submitted invoices

  4. Click "Download ES SII XML" to download the XML file

Step 2: Submit to AEAT Portal

  1. Go to the AEAT SII portal: https://www.agenciatributaria.gob.es

  2. Navigate to site section where SII file should be uploaded

  3. Authenticate using your digital certificate

  4. Upload the XML file generated from VAT4U

  5. Submit the file

Step 3: Receive Response

After submission, AEAT will process your file and send a response XML via email. This response contains the status of each invoice submitted:

  • Whether it was accepted

  • Whether there were any warnings

  • Whether it was rejected (and why)

ES SII Response Parser

Overview

The ES SII Response Parser is a tool that allows users to analyze response XML files received from the Spanish Tax Administration (AEAT) after submitting invoices through the SII (Suministro Inmediato de Información) system.

This feature helps identify the status of each submitted invoice and quickly spot any errors or warnings that need attention.

How to Use

Step 1: Navigate to the Claim Submission Tab

  1. Open a claim that uses the ES_XML (Spanish SII) submission method

  2. Navigate to the Submission tab

Step 2: Upload the Response XML

In the Submission tab, you will find a section titled "Parse Tax Administration Response":

  1. Click the "Upload Response XML" button

  2. Select the XML response file you received from the Spanish Tax Administration via email

  3. Click the "Parse Response" button

Step 3: Review the Results

After parsing, a modal window will display:

Summary Statistics

  • Total Invoices: Number of invoices in the response

  • Successful: Invoices accepted without issues (shown in green)

  • Warnings: Invoices accepted but with warnings (shown in orange)

  • Errors: Invoices that were rejected (shown in red)

Filter Buttons

Use the filter buttons at the top to quickly view:

  • All - Show all invoices

  • Successful - Show only accepted invoices

  • Warnings - Show invoices with warnings

  • Errors - Show only rejected invoices

Invoice Details Table

The table displays detailed information for each invoice:

  • Invoice Number - The invoice identifier

  • Issuer NIF - Tax identification number of the invoice issuer

  • Invoice Date - Date of the invoice

  • Status - Current status (Correcto, AceptadoConErrores, Incorrecto)

  • Error Description - Detailed error message with error code (if applicable)

Tips & Tricks

Finding Specific Errors

The Error Description column has a powerful filter feature:

  1. Click the search icon (🔍) in the Error Description column header

  2. Select the filter type:

    • Contains - Show rows that include the search text

    • Does not contain - Show rows that exclude the search text

  3. Enter your search term

  4. Click Filter

Common Use Case: Filtering Out Duplicate Errors

When reviewing responses, you may see many "Factura duplicada" (Duplicate invoice) errors. To focus on other error types:

  1. Click the search icon in the Error Description column

  2. Select "Does not contain"

  3. Type duplicada

  4. Click Filter

This will hide all duplicate invoice errors and help you easily spot other issues that may require attention.

Status Values

The Spanish Tax Administration returns the following status values:

Status

Meaning

Category

Correcto / Correcta

Invoice accepted successfully

✅ Success

AceptadoConErrores

Invoice accepted but with warnings

⚠️ Warning

Incorrecto

Invoice rejected

❌ Error

Requirements

  • The claim must use the ES_XML submission method

  • You must have the response XML file from the Spanish Tax Administration

  • The XML file should be in the standard AEAT SII response format

Did this answer your question?