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
Open your claim in VAT4U
Navigate to the Submission tab
Select the submission type:
Initial submission (A0) - For first-time submission of invoices
Corrective submission (A1) - For corrections to previously submitted invoices
Click "Download ES SII XML" to download the XML file
Step 2: Submit to AEAT Portal
Go to the AEAT SII portal: https://www.agenciatributaria.gob.es
Navigate to site section where SII file should be uploaded
Authenticate using your digital certificate
Upload the XML file generated from VAT4U
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
Open a claim that uses the ES_XML (Spanish SII) submission method
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":
Click the "Upload Response XML" button
Select the XML response file you received from the Spanish Tax Administration via email
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:
Click the search icon (🔍) in the Error Description column header
Select the filter type:
Contains - Show rows that include the search text
Does not contain - Show rows that exclude the search text
Enter your search term
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:
Click the search icon in the Error Description column
Select "Does not contain"
Type
duplicadaClick 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