Invoicing and Tax regulation in Spain
Spain initiated the modernization of its transaction processes in 2015 by implementing mandatory B2G e-invoicing. Starting in July 2025, Spain will most likely extend this requirement, making e-invoicing mandatory for all B2B transactions, ensuring all businesses use certified invoicing software. While B2C and B2B e-invoicing are optional for now, many companies have chosen to transition earlier, recognizing significant savings in money, time, and reduction in manual errors, especially in tax reporting. Given the standard VAT rate of 21% and a corporate tax rate of 25% in Spain, minimizing errors is crucial to avoid increased liabilities and penalties. For comprehensive guidance on e-invoicing, tax regulations, and digital reporting in Spain, explore our detailed guide.
We are going to cover:
Invoicing Regulations in Spain
Invoicing regulations in Spain are under the purview of the Agencia Tributaria (AEAT), which is the Spanish Tax Agency. This authority oversees the invoicing requirements whenever goods or services are sold, including transactions with other businesses or consumers. For VAT-registered businesses, invoices must be issued to the customer by the 16th of the month following the provision of goods or services, or sooner upon customer request. Additionally, VAT-registered businesses are obliged to issue a VAT invoice for all taxable sales.
At a minimum, the invoice needs to include:
Simplified Invoice
Simplified e-invoices are allowed in Spain for transactions where the total invoice amount does not exceed €400, provided the customer does not request a full invoice.
A simplified invoice has to include:
Certified Invoicing Software
Starting July 1, 2025, all businesses in Spain, regardless of size, must use certified invoicing software. The use of such software supports the electronic generation, transmission, and storage of invoices, promoting standardized digital communication of business documents. Non-compliance may result in penalties and fines, as part of Spain's broader digital transformation and anti-fraud strategy.
Invoice Archiving
You have to archive invoices for a period of 10 years. This period starts from the end of the year in which the invoice was issued.
E-invoicing Regulations
In Spain, e-invoicing has been mandatory for B2G transactions since 2015. Starting in early 2026, Spain will most likely extend this requirement, making e-invoicing mandatory for all B2B transactions, ensuring all businesses use certified invoicing software.
Spain’s e-invoicing regulations align with Directive 2014/55/EU, which mandates public entities to be equipped to receive and process e-invoices that adhere to the European standard EN-16931. Furthermore, Spain participates in the PEPPOL network, enhancing standardized cross-border e-invoicing within the EU. To support these requirements, the Spanish government will ensure that businesses use certified software capable of generating, transmitting, and storing electronic invoices.
E-invoicing Process in Portugal
Taxpayers in Spain are required to register on the Agencia Tributaria (Spanish Tax Agency) portal. This platform facilitates the management of tax-related activities, including the submission of electronic documents. The process follows:
Portuguese Tax Authorities Responsible for E-invoicing
Responsibility for e-invoicing regulations in Spain lies with the Dirección General de Informática, Telecomunicaciones y Gestión del Conocimiento (DGTIC).
E-invoicing Formats
Spain's e-invoicing formats align with the European standard EN 16931. The system for e-invoicing is managed through FACe (Punto General de Entrada de Facturas Electrónicas).
E-invoicing formats commonly used in Spain:
Facturae | Nationally recognized standard for electronic invoices in XML format, widely used in Spain. |
UBL (Universal Business Language) | Internationally recognized standard that includes a suite of XML-based business documents specifications. |
PEPPOL BIS Billing 3.0 | Internationally recognized standard, providing a unified XML-based specification for electronic billing. |
E-invoice Validating
Ensure that your e-invoices adhere to the European standard EN 16931 as well as specific Spanish requirements. Further validation of e-invoices is mandatory in Spain, which includes the use of digital certificates.
It is mandatory to include a QR code on all e-invoices issued within Spain. This QR code facilitates immediate access to invoice details for both tax authorities and taxpayers, enhancing transparency and ease of verification.
Alongside the QR code, the CVE (Código de Verificación Electrónica), or electronic verification code, is another essential element of the e-invoice. The CVE, which is provided by the Spanish Tax Agency (Agencia Estatal de Administración Tributaria), serves as a critical identifier for the invoice.
Certified Invoicing Software
Starting July 1, 2025, all businesses in Spain, regardless of size, must use certified invoicing software. The use of such software supports the electronic generation, transmission, and storage of invoices, promoting standardized digital communication of business documents. Non-compliance may result in penalties and fines, as part of Spain's broader digital transformation and anti-fraud strategy.
E-invoice Archiving
You are required to archive e-invoices for a minimum of 10 years, beginning from the end of the year in which the invoice was issued.
Tax Regulations
The standard VAT rate in Spain, known as Impuesto sobre el Valor Añadido (IVA), is 21% and is applicable to most goods and services. A reduced VAT rate of 10% is applicable to foodstuffs, non-alcoholic beverages, water supplies, some pharmaceutical products, hotel accommodations, and certain transport services. Furthermore, basic necessities such as bread, milk, cheese, eggs, etc; benefit from an even lower VAT rate of 4%.
Corporate Tax
The standard corporate tax rate in Spain is 25%. Small and medium-sized enterprises (SMEs) benefit from a reduced corporate tax rate of 15% on the first €300,000 of taxable profit for newly created entities during their first two tax periods.
VAT on Digital Products
In Spain, digital products including software, digital media, e-books, and online services are subject to the standard VAT rate. This rate is 21% across the entire country.
VAT Payments and Returns
In Spain, businesses are also required to file a VAT Return with the Spanish Tax Agency (Agencia Tributaria) to declare the VAT they have collected and the VAT they have credited for business purchases. The VAT Return should detail:
The net VAT amount, which is the difference between the VAT collected on sales and the VAT credits on purchases, is indicated on the VAT Return and must be paid to the Spanish Tax Agency. If the VAT credits exceed the VAT collected, the business can claim a refund or carry the amount forward to the next period.
The reporting frequencies are:
The Spanish Tax Agency encourages the electronic filing of VAT Returns and Payments through its online portal (Agencia Tributaria).
VAT Registration Thresholds
E-invoice Requirements
In Spain, e-invoice requirements adhere to EU standards and demand components such as:
For businesses with repeating customers, setting up recurring invoices can streamline the billing process by automating regular, automatic payments.
Utilizing invoicing software can significantly benefit businesses in creating, sending, and managing e-invoices in compliance with Spanish regulations. These tools not only help in generating professional invoices but also in streamlining the invoicing process, improving cash flow, and ensuring that payments are received on time.
See how Space Invoices can help.
Simplified E-invoice Requirements
You can issue simplified e-invoices for transactions where the total invoice amount, including VAT. For general transactions the total amount should not exceed €400 and for specific cases such as retail sales, services in ambulances the threshold is higher, allowing for simplified invoices up to €3,000.
Simplified e-invoices include:
Digital Reporting R
Businesses registered for VAT in Portugal are required to submit their VAT returns electronically. This can be done through the Portuguese Tax Authority's online platform, Portal das Finanças, using business software that integrates this feature, or through a tax agent. The VAT return should include detailed information on the VAT collected and the VAT paid during the reporting period.
SAF-T
SAF-T is not mandatory in Portugal.
Real-Time Reporting
Real-time reporting is mandatory in Spain under the Suministro Inmediato de Información (SII) system. This system, implemented on July 1, 2017, requires businesses to electronically submit detailed information about their invoices to the Spanish tax authorities within a short period. Specifically, businesses must submit data from their accounts payable (AP) and accounts receivable (AR) invoices within four days of issuing or booking the invoices. The SII system applies to large companies, VAT groups, and companies registered in the monthly VAT refund regime.
Data Breaches
If a data breach occurs, you must notify the Spanish Data Protection Authority (Agencia Española de Protección de Datos, AEPD) within 72 hours of becoming aware of the incident. If the breach poses a significant risk to individuals' rights and freedoms, affected individuals must also be notified without undue delay. This protocol ensures timely actions to mitigate any potential damage and uphold data protection standards.
Penalties
Streamline Global Invoicing and Digital Reporting with Space Invoices
One way to comply with (e-)invoicing, tax and reporting requirements in Spain is to use a credited provider like Space Invoices.
You will be able to:
Having questions about how to achieve compliance in Spain?
We are here to assist.
This guide is provided by Space Invoices and does not constitute professional tax advice or opinions tailored to the specifics of any particular business or situation. Space Invoices does not accept responsibility for the accuracy or applicability of the content within this guide. Tax regulations, e-invoicing requirements, and digital reporting standards are subject to frequent changes and complex interpretations that require validation by qualified tax professionals. It is the user's responsibility to evaluate the relevance and accuracy of the information provided and to consult appropriate professionals. Space Invoices does not offer professional tax opinions or advice through this publication.
Looking to automate real-time reporting and tax compliance for Spain? Let's talk
Start issuing Invoices, free!
Signup and start issuing compliant invoices from your software in minutes.
Or contact us to get a free implementation consultation.