Skip to main content
Try Lexiel for freeTry now →
Verifactu for Attorneys: Complete Guide to Royal Decree 1007/2023

Verifactu for Attorneys: Complete Guide to Royal Decree 1007/2023

Compliance6 min read

The Verifactu Royal Decree requires all practices with invoicing software from 2027 (Royal Decree-law 15/2025). What it means, what you need to do, and how Lexiel prepares your invoicing.

by Equipo Lexiel

Table of contents
  1. What Verifactu Is and Why Now
  2. Mandatory Compliance Deadlines
  3. What RD 1007/2023 Technically Requires
  4. Why This Specifically Affects Attorneys
  5. How Verifactu Works in Lexiel
  6. What Verifactu Does NOT Do (Clearing Up Common Myths)
  7. Non-Compliance Penalties
  8. Compliance Checklist for Your Practice
  9. Conclusion

What Verifactu Is and Why Now

Royal Decree 1007/2023 (known as the "Verifactu Regulation") requires all invoicing software systems to generate immutable integrity records. This isn't optional: it's a legal obligation whose breach carries the penalties of art. 201 bis of the LGT: up to €50,000 per year for the user and €150,000 for the software producer.

The name "Verifactu" comes from "invoice verification", the goal is to make any retroactive invoice manipulation detectable, combating tax fraud.

Mandatory Compliance Deadlines

Business typeDeadline
Corporate Income Tax taxpayersJanuary 1, 2027
Everyone else (self-employed and professionals with invoicing software)July 1, 2027
Sole traders without software (manual invoicing)Pending regulation

This is the current timeline under Royal Decree-law 15/2025 of 2 December. On 5 October 2026 the tax authority announced it plans to postpone it to October 2028, but that postponement has not been published in the BOE.

If your practice uses any software to issue invoices ( from a spreadsheet to an ERP or practice management software ) it falls within the regulation's scope.

What RD 1007/2023 Technically Requires

The regulation establishes three technical requirements for each invoice:

1. Immutable registration record (LROE) Each invoice must generate a registration record that cannot be modified or deleted. If you need to correct an invoice, you must issue a corrective invoice, never edit the original.

2. SHA-256 hash chain Each invoice must include:

  • Its own SHA-256 hash (calculated on invoice data)
  • The hash of the previous invoice in the chain
  • A digital fingerprint linking both

This makes it mathematically impossible to insert, delete, or modify invoices without breaking the chain and making it detectable by the AEAT.

3. QR verification code Each invoice must include a QR code allowing any recipient to verify its authenticity on the Tax Agency portal (sede.agenciatributaria.gob.es).

Why This Specifically Affects Attorneys

Law practices have particular characteristics that make compliance more complex:

Multiple tax regimes: A firm may have attorneys under different income tax regimes, each with different withholding rates (15%, 7% in early years) and VAT depending on territory (mainland VAT, IGIC in Canary Islands, IPSI in Ceuta/Melilla).

Mixed invoicing: Fixed fees + disbursements + retainers. Disbursements don't carry VAT; fees do. This distinction must be correctly reflected in the Verifactu record.

Invoices with withholding: Invoices to companies carry income tax withholding. The system must calculate and reflect it in the integrity hash.

How Verifactu Works in Lexiel

In Lexiel, generating the RD 1007/2023 integrity record is automatic and transparent:

You create the invoice in Lexiel
       ↓
Lexiel calculates VAT/IGIC/IPSI per territory
Lexiel calculates income tax withholding per your legal form
       ↓
Lexiel generates SHA-256 hash of the invoice
Lexiel chains the hash with the previous invoice
       ↓
Lexiel embeds AEAT-verifiable QR code
       ↓
Invoice generated as PDF ready to send

There's no paid add-on. From your first day using Lexiel, every invoice you issue carries its chained hash and QR code. Submission to the AEAT takes a single step: the firm authorises CODELABS STUDIO SL before the AEAT and Lexiel submits the records through the Codelabs service.

What Verifactu Does NOT Do (Clearing Up Common Myths)

There's significant confusion about what Verifactu involves:

It's not mandatory B2B electronic invoicing: That's a different regulation (the Crea y Crece Act, requiring electronic invoicing for B2B transactions). Verifactu is about record integrity, not issuance format.

Submission to the AEAT depends on the mode: in VeriFactu mode the records are submitted to the AEAT (that is what defines the mode); in No VeriFactu mode they are not submitted, but signing and an event log are required. Lexiel submits to the AEAT through the Codelabs service, with the firm's authorisation.

It doesn't apply to already-issued invoices: It only applies to invoices issued from the mandatory date onwards. You don't need to rehash your historical records.

Non-Compliance Penalties

Art. 201 bis of the LGT establishes specific sanctions:

  • Using non-compliant systems: up to €50,000 per year for the user
  • Producing or marketing non-compliant systems: up to €150,000 for the producer

The AEAT has technical capacity to detect inconsistencies in hash chains, making the detection risk real.

Compliance Checklist for Your Practice

Before the deadline, verify:

  • Your invoicing software generates chained SHA-256 hashes
  • Each invoice includes an AEAT-verifiable QR code
  • Invoices are immutable (corrective invoices only, never editing originals)
  • The system records the date, time, and hash of each invoice
  • You maintain record custody for at least 4 years

If you use Lexiel, all these boxes are checked from day one.

Conclusion

Verifactu is neither optional nor something to leave until the last minute. For practices using management software, the obligation arrives in 2027 (1 January for Corporate Income Tax taxpayers, 1 July for everyone else), and the penalties are high enough to take seriously.

The good news: if you already use Lexiel, each invoice's record is already generated automatically and you only need to authorise submission to the AEAT. If you don't, this is a good time to evaluate whether your current software complies, or whether it makes sense to migrate to a platform integrating legal AI, practice management, and tax compliance in one tool.

See how Lexiel handles Verifactu →

Try Lexiel free · 28 days

Use code LEX-BLOG for double the standard trial period. Cancel anytime, no commitment.

Get started free

Keep reading

Weekly legal updates

Legislative changes, relevant case law, and Lexiel news. No spam. Unsubscribe anytime.

GDPR compliant. We never share your email with third parties.