VeriFactu and declaración responsable
How Sosiego is built for VeriFactu. It switches on at launch.
1. What VeriFactu is
VeriFactu is the Spanish Tax Agency's framework requiring invoicing software to seal every invoice tamper-evidently and, in VERI*FACTU mode, report each invoice record to the tax authority. It is set by Royal Decree 1007/2023 (the RRSIF regulation) and Order HAC/1177/2024. The obligation falls on whoever invoices with software and on whoever produces that software: the producer must certify, by a declaración responsable, that the system complies.
2. How Sosiego is built for VeriFactu
Not a marketing checkbox: these pieces are built and verified against the AEAT specifications and pre-production environment.
- Chained hash (SHA-256). Each billing record is sealed with a hash that incorporates the previous record's, forming a per-system chain. Any later change or deletion becomes detectable. The algorithm follows the AEAT's official technical spec.
- One invoice, one record. Issuing the invoice and generating its sealed record are a single operation: no invoice without its record.
- Issue and cancellation records. The system generates the issue record (including corrective invoices) and the cancellation record for an invoice issued in error, chained together; the original is never deleted.
- VERI*FACTU submission (goes live at launch). Records will be sent automatically to the AEAT over a connection authenticated with the obliged person's electronic certificate, which stays in the device's certificate store and whose private key never leaves it: neither Sosiego nor anyone else sees it.
- QR code. Every invoice carries the QR code and legend per Order HAC/1177/2024, so the record can be checked on the AEAT's site.
3. Verify your invoices on the AEAT itself
Each invoice's QR links to the Tax Agency's verification service: you, or whoever receives your invoice, can confirm on the Hacienda website that the record exists and matches what was issued. The trust doesn't come from us — it comes from the AEAT.
4. Your data stays on your device
Sosiego runs on your own device. Only what the law requires from each invoice ever reaches the Tax Agency; the rest of your information — clients, amounts, notes — stays with you and is never held in any cloud. Complying with the regulation and keeping your privacy are not opposites.
5. Territorial scope and what Sosiego is (and isn't)
VeriFactu applies in common territory (mainland and the Balearics with IVA, the Canaries with IGIC, Ceuta and Melilla with IPSI). In the Basque Country (Álava, Gipuzkoa, Bizkaia) the system is TicketBAI/BATUZ, not VeriFactu; Navarra has its own foral rules. Sosiego is built to handle each invoice by your territory, not your client's. At launch, Sosiego issues in common territory; the Basque Country and Navarra will come later.
Sosiego is a management tool for you to run your own invoicing. It is not a tax advisor, a gestoría or a firm, and it neither files returns nor advises you: your gestor keeps reviewing and filing. What the software does, as the producer of an invoicing system, is seal and — once switched on — report each invoice's record; that is a different duty from filing your taxes.
6. Software-producer declaración responsable
As the system's producer, the responsible person certifies — by declaración responsable (art. 13 RD 1007/2023) — that the software complies. Below is the content that declaration will carry for each version ([like this] marks what is completed when signed at launch). The declaration itself is a Spanish legal instrument and is kept in Spanish.
| 1.a System name | Sosiego OS |
| 1.b System code | SO |
| 1.c Version | [version in force when signed; each version carries its own declaration] |
| 1.d Components & features | Declaration text (in Spanish, the language in which it is signed): Sosiego OS es software, sin hardware, formado por dos componentes que el usuario instala y ejecuta en sus propios dispositivos: una aplicación de escritorio (macOS y Windows) y una aplicación móvil (iOS y Android). Cada instalación funciona por sí misma y guarda sus datos de facturación en una base de datos local en ese dispositivo; la persona productora no aloja, no recibe y no tiene acceso a esos datos. Funcionalidades de facturación: alta de clientes; expedición de facturas completas y de facturas rectificativas, con numeración por series; generación, para cada factura, del registro de facturación de alta y, en su caso, del de anulación, con su huella (SHA-256) encadenada a la del registro anterior; remisión automática de todos los registros de facturación a la Agencia Estatal de Administración Tributaria como «VERI*FACTU», en una conexión autenticada con el certificado electrónico del propio obligado tributario, guardado en el almacén de certificados del sistema operativo del dispositivo; hasta que el usuario conecta su certificado, la aplicación solo permite preparar borradores, no expedir facturas; inclusión en cada factura del código QR y de la leyenda «VERI*FACTU»; consulta y exportación de las facturas y de sus registros. Las aplicaciones incluyen además funciones de gestión (presupuestos, cobros, gastos y estimaciones de impuestos) que no intervienen en la expedición de facturas ni en sus registros. |
| 1.e VERI*FACTU-only? | Yes |
| 1.g Signature types | Declaration text (in Spanish, the language in which it is signed): No aplica. El sistema funciona exclusivamente como «VERI*FACTU». |
| 1.h Producer (natural person) | [producer's full name, at signing] |
| 1.i NIF | [at signing] |
| 1.j Address | [tax address, at signing] |
| 1.l Date & place | [date and place, at signing — Barcelona] |
Compliance clause (1.k) — official Spanish text:
At launch, this signed declaration (PDF) and a per-version history will be published, per art. 13 of the regulation.
7. Legal basis
- Ley 58/2003 (LGT), art. 29.2.j) — integrity, retention, traceability and tamper-evidence of billing records.
- Royal Decree 1007/2023 (RRSIF) (BOE-A-2023-24840), art. 13 (declaración responsable) and art. 16 (VERI*FACTU systems).
- Order HAC/1177/2024, 17 October (BOE-A-2024-22138; correction BOE-A-2024-23180) — technical specifications and QR code (arts. 20-21).
- Dates in force (Royal Decree-law 43/2026, BOE-A-2026-24701, first final provision): persons obligated under article 3.1, companies and the self-employed alike, must have their systems adapted when the period in letter b) of section 1 of the fourth final provision of Royal Decree 238/2026 runs out, on 6 October 2028 according to the Tax Agency. This replaces the dates of Royal Decree-law 15/2025 (1 January 2027 for companies and 1 July 2027 for everyone else). As a decree-law, Congress must vote on validating it within 30 days; if it does not, it lapses. The software producers' obligation is earlier.