Understanding Verifactu in Spain: Invoicing Rules for SMEs

Compliance · By Equipa ONEGEST ·

Learn how Spain's Verifactu regulation impacts SME billing software, mandatory QR codes, tamper-proof audit trails, and real-time AEAT reporting.

Verifactu is Spain's regulatory framework established under the Anti-Fraud Law to ensure that business invoicing software maintains complete record immutability, traceability, and technical integrity. The regulation requires all companies and self-employed individuals subject to Spanish tax obligations to produce standardized billing records, include verification QR codes on invoices, and support automated reporting to the Spanish Tax Agency (AEAT). For SMEs operating in Spain or managing cross-border branches, adopting a certified management system is critical to maintain full compliance and avoid steep penalties.

What Is the Verifactu Framework and Who Does It Apply To?

The Verifactu system stems from Royal Decree 1007/2023, which details the technical requirements for computer software used by businesses for invoicing. The primary objective of the Spanish Tax Agency (AEAT) is to eliminate shadow economy practices and eradicate so-called "double-use software"—billing tools designed to alter accounting records, hide sales, or maintain parallel bookkeeping.

Under this regulatory framework, compliance is mandatory for all Corporate Income Tax payers in Spain, as well as self-employed professionals (autónomos) carrying out economic activities in Spanish territory. The only main exclusions are entities operating under the regional tax systems of the Basque Country and Navarre (which utilize the TicketBAI framework) and companies already reporting via the Immediate Information Supply (SII) system.

For cross-border SMEs, such as Portuguese businesses operating in Spain through a branch or permanent establishment with a Spanish tax identification number (NIF), billing software must comply with these technical requirements whenever transactions fall under Spanish fiscal jurisdiction.

What Are the Technical Requirements for Invoicing Systems?

To comply with AEAT standards, invoicing software must guarantee six fundamental principles: integrity, preservation, accessibility, legibility, traceability, and immutability of all billing records. In practical terms, software vendors and businesses must ensure their technological tools meet the following criteria:

  • Secure billing record generation: Every issued invoice automatically generates a structured electronic record containing critical transactional data, a timestamp, and a cryptographic hash link connecting it to the previous entry.
  • Strict immutability: Once an invoice is generated, the record cannot be edited, overwritten, or deleted. Any corrections or cancellations must be processed strictly through formal rectifying invoices.
  • Mandatory QR codes and text: Printed and PDF invoices must feature a standardized QR code containing essential document data alongside regulatory identification text, allowing buyers to verify invoice authenticity directly on the AEAT online portal.
  • Complete event logging: The system must maintain an automated, tamper-evident log of all system events, including user logins, software updates, data exports, and operational anomalies.
  • Vendor declaration of compliance: Software providers must issue an official responsible declaration certifying that their application fully meets all legal and technical specifications of the Verifactu regulation.

Verifactu vs Non-Verifactu: What Are the Operational Options?

The Spanish regulation outlines two distinct operational modes for compliant billing software:

1. Verifiable Invoice Issuance System (Verifactu System): In this mode, the software automatically transmits structured billing records to the Spanish Tax Agency in real time as invoices are generated. Opting for the Verifactu model grants the business a recognized mark of fiscal transparency, simplifies annual reporting, and reduces the likelihood of intrusive tax audits.

2. Non-Verifactu System (Secure Local or Cloud Storage): In this alternative mode, the software does not send records to AEAT in real time. Instead, it securely stores all signed, hash-chained records locally or in cloud storage, maintaining complete audit-ready availability for immediate inspection whenever tax authorities request access.

How Does Verifactu Compare to Traditional Invoicing?

The following comparison highlights the core differences between legacy billing practices and the structured Verifactu framework:

Feature / RequirementTraditional InvoicingVerifactu Standard
Invoice AlterationPossible in uncertified legacy toolsStrictly prohibited (requires rectifying invoice)
Record Chaining (Hash)Not requiredMandatory cryptographic linking of consecutive records
Document VerificationStandard text and fiscal detailsMandatory QR code and official identification text
AEAT CommunicationPeriodic summary filings onlyReal-time submission (Verifactu) or instant audit access
Software CertificationNo formal vendor declaration requiredMandatory responsible declaration from vendor

How to Prepare Your SME Infrastructure for the New Compliance Standard

Transitioning to Verifactu requires reviewing both internal workflows and underlying IT systems. Issuing manual invoices using spreadsheets or outdated, non-certified desktop software is no longer a viable option for businesses billing under Spanish rules. Administrative teams must establish precise data-entry habits, as invoices cannot be altered after creation.

Furthermore, compliance relies on resilient technological foundations. Modern management workflows benefit from secure cloud productivity platforms, robust backup and business continuity routines to preserve accounting history, and strong business cybersecurity measures to protect digital signature keys and network endpoints.

To ensure a seamless transition without business disruption, SMEs should follow a clear plan:

  1. Audit current billing tools: Verify whether your existing accounting software offers certified Verifactu compliance or if a software update is available from the vendor.
  2. Adopt a certified cloud ERP: Centralizing billing within a certified cloud platform ensures automatic updates whenever tax regulations evolve in Spain or Portugal.
  3. Secure historical data backups: Ensure multi-year invoicing records are backed up offsite to satisfy statutory storage periods and protect against ransomware or hardware failures.
  4. Strengthen IT security: Protect billing servers and administrative workstations against unauthorized access to maintain system integrity and safeguard cryptographic certificates.

Frequently asked questions

When do companies need to comply with Verifactu?

Official timelines establish progressive implementation phases. Software vendors are required to adapt their solutions first, after which businesses and self-employed professionals must ensure their invoicing applications meet the standard according to the official deadlines set by Spanish tax authorities.

Do Portuguese companies without a Spanish tax establishment need Verifactu?

No. If a Portuguese company invoices exclusively under Portuguese tax law using systems compliant with the Portuguese Tax Authority (utilizing SAF-T, ATCUD, and QR codes), Verifactu does not apply. However, if your business operates a branch or subsidiary with a Spanish tax ID (NIF) billing under Spanish tax jurisdiction, compliance is mandatory.

What are the risks of using non-certified invoicing software?

Using non-compliant software or software lacking the mandatory vendor declaration can result in substantial financial fines imposed by tax authorities on both the operating company and the software provider.

Can certified invoicing be integrated with sales and CRM systems?

Yes. Modern platforms allow seamless integration between certified invoicing modules and sales management and CRM software, ensuring accepted quotes automatically transition into orders and certified invoices without duplicate manual entry.

Secure Your SME Invoicing and Business Operations

Ensuring tax compliance in Spain and Portugal does not have to be complicated or disruptive. With ONEGEST's managed business management and ERP service, your SME gets a certified, cloud-based platform designed to meet strict regulatory demands, automate core accounting workflows, and keep your operational data safe.

Ready to streamline your business management and secure tax compliance? Book a free 20-minute diagnostic session with the ONEGEST team today to explore the best path forward for your business.

Book a free assessment → · ONEGEST