Fiscal subject related
Content
Objective
The main goal of this document is to detail the validations and error management procedures for electronic invoice submissions, both for new and cancellation records, to ensure compliance with the AEAT (Agencia Estatal de Administración Tributaria) requirements.
Key Sections
- Version Control (Control de Versiones):
- This section tracks the historical revisions of the document, listing changes made in each version, starting from the initial draft to the current version 0.7.2.
- Validations (Validaciones):
- Structural Validations: Ensure the structure of the labels in the submission matches the required schema. Failures in this validation result in the complete rejection of the message.
- Syntactic Validations: Check the format, length, and mandatory content of fields, as well as whether values match predefined sets. Errors here may lead to the rejection of individual records but allow processing of other records in the message.
- Business Validations: Focus on fields whose content or mandatory status depends on the value of other fields. These errors also result in the rejection of individual records.
- Error Management (Gestión de Errores):
- Global Request States: The outcome of submissions can be complete acceptance, partial acceptance, or complete rejection.
- Error Types: Differentiates between admissible errors (which do not prevent the record from being registered but must be corrected) and non-admissible errors (which prevent the record from being registered).
- Error Correction (Subsanación de Errores):
- Details the process for correcting admissible and non-admissible errors, and the conditions under which new records must be submitted to correct errors in previous submissions.
- Appendix: Admissible Registration and Cancellation Operations (Anexo: Operativas de Alta y Anulación Admisibles):
- Provides scenarios and conditions under which new records can be created or existing ones can be canceled, specifying how to handle situations where records are rejected or require correction.
Practical Implications
For businesses and IT departments managing invoicing systems, this document is crucial for ensuring that all electronic invoices comply with the latest regulatory requirements. By following the detailed validations and error management guidelines, organizations can avoid common pitfalls that lead to rejections and ensure smooth processing of their tax-related submissions. This document is an essential guide for IT professionals and businesses involved in electronic invoicing within Spain, providing comprehensive details on validation and error management to ensure compliance with AEAT regulations.
API document updated
At the same time, the description of the verification API has been updated. The update contains error corrections, corrections in the singular/plural text, duplicate spaces, typos and quotes.
Other news from Spain
Technical Specifications in Spain for Generating Invoice Record Hashes
The document outlines the technical details necessary for implementing the requirements of Article 13 "Hash of Invoice Records" from the Order, which details the technical, functional, and content specifications for invoicing systems. Read more
QR Code Specifications for Invoices Issued in Spain
The technical specifications document outlines the requirements for implementing QR codes on invoices and the corresponding URL for verification services. It is designed to comply with articles 20 and 21 of the relevant order, as well as Real Decree 1007/2023 and Real Decree 1619/2012. More details are as follows. Read more
Difference between an invoice and a simplified invoice in Spain
If we consider sales documents in Spain, we can differentiate between an invoice and a simplified invoice. It is important to consider rules for these types of sales documents, especially because of the introduction of a fiscalization system in Spain, also known as Verifactu, which will affect the above-mentioned sales documents. An invoice is an official document that is intended to prove and re... Read more
Delay of the Verifactu obligation in Spain?
Although the initial plan to launch Verifactu fiscalization requirements was scheduled for July 2025, rumours state that it will be postponed to 2026. Let's explore this further. The delay happened probably because of the lack of technical regulations and the delay of mandatory e-invoicing, which has also been postponed. As a reminder, fiscalization in Spain introduces new obligations for taxpaye... Read more
New document was uploaded: Overview of fiscalization in European countries
This document contains an overview of the presence of fiscalization and its types in all European countries. Read more
E-invoice in Spain: latest regulations update
E-invoice in Spain is certainly in the development stage. The Draft Royal Decree 18/2022, which introduces a range of new measures, including the e-invoice, which is mandatory for all exchanges between businesses and professionals, has been introduced and forwarded to the EU Commission. But the European Commission has recommended changes to a preliminary draft Royal Decree 18/2022. The draft requi... Read more