Spain VeriFactu AEAT Pro: VERI*FACTU Hash Chain, QR Tributario, RD 1007/2023
by DAHMANI LIMITED https://guides.dahmani.me/odoo-verifactu-aeat-2027-espana/$ 129.00
Spain VeriFactu AEAT Pro: VERI*FACTU Hash Chain, QR Tributario, RD 1007/2023 (Odoo 17.0–20.0 Community & Enterprise)
Cumplimiento completo del Real Decreto 1007/2023 (Ley Antifraude / Sistema Informático de Facturación — VERI*FACTU) y la Orden HAC/1177/2024 directamente en Odoo Community y Enterprise:
Encadenamiento criptográfico SHA-256 (Huella) de cada factura emitida (RegistroAlta y RegistroAnulacion), generación automática del QR tributario oficial de la AEAT (ValidarQR), facturas PDF DIN A4 con ReportLab (sin wkhtmltopdf), XML oficial RegFactuSistemaFacturacion, registro de eventos inmutable (RegistroEvento), validador matemático de NIF / CIF / NIE y 10 comprobaciones automáticas previas al sellado.
Ready for the mandatory January 1, 2027 Spanish AEAT VeriFactu deadline (avoiding fines up to €50,000 per fiscal year for non-compliant billing software). Designed for Spanish S.L., S.A., Autónomos, and Gestorías. Depends strictly on standard Odoo Community modules (base, web, mail, account) — zero Odoo Enterprise, zero l10n_es, and zero wkhtmltopdf dependencies. One-time $129 (OPL-1).
Documentation & Setup Guide / Guía de Configuración
| Support: support@dahmani.me
Core Capabilities / Funcionalidades Principales
- Exact AEAT VeriFactu SHA-256 Hash-Chaining Engine (Orden HAC/1177/2024 Art. 13): Computes the exact official uppercase 64-character SHA-256
Huella(TipoHuella=01) for bothRegistroAltaandRegistroAnulacion, linking every invoice into an immutable per-company hash chain (PrimerRegistro=Sfor the genesis invoice andRegistroAnteriorfor all subsequent records). Includes a full-chain integrity verifier detecting tampering, sequence gaps, or non-monotonic timestamps. - Official AEAT QR Tributario + Spanish Factura PDF (ReportLab, Zero
wkhtmltopdf): Builds the exactValidarQRURL (https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR?nif=...&numserie=...&fecha=DD-MM-YYYY&importe=0.00), renders a crisp Level-M 35×35 mm vector QR code with the mandatory legends (“QR tributario”, “VERI*FACTU”, “Factura verificable en la sede electrónica de la AEAT”), and produces clean DIN A4 PDFs for Factura Completa (F1), Factura Simplificada (F2), and Factura Rectificativa (R1–R5). - AEAT VeriFactu XML (
RegFactuSistemaFacturacion) & Append-Only Event Log (RegistroEvento): Exports UTF-8 XML matching AEAT’sSuministroInformacion.xsd/SuministroLR.xsdnamespaces with full IVA 21%/10%/4%/0%, Recargo de Equivalencia, Exento (E1–E6), and ISP (S2) breakdowns, plus an immutable SHA-256 chained event log (verifactu.event) tracking SIF start, integrity checks, and audit exports. - Mathematical Spanish NIF / CIF / NIE Validator & 10 Automated Pre-Flight Checks: Validates DNI (mod-23), NIE (X/Y/Z), NIF Especial (K/L/M), and CIF (A–W) check digits mathematically, plus EU/foreign
IDOtroclassification. - Real Decreto 1007/2023 Immutability Lock & Period Audit ZIP Export: Blocks edits, resets to draft, or deletion of chained invoices and records (guiding users to issue a
RegistroAnulacionorR1–R5rectificative invoice). Exports a sealed audit ZIP containing all periodAlta&AnulacionXMLs, invoice PDFs,RegistroEventos.xml,MANIFEST.csv,MANIFEST.sha256, and a ReportLab AEAT Audit Readiness Certificate PDF.
10 Automated Pre-Flight AEAT Checks / 10 Validaciones Previas AEAT
- VF01 — Issuer NIF/CIF Validation: Mathematical Spanish DNI/NIE/CIF check-digit verification on the invoicing entity.
- VF02 — Customer NIF Requirement (F1 / > €400): Enforces customer NIF/VAT on
F1invoices and blocks simplifiedF2invoices above the €400 Art. 4 RD 1619/2012 limit without buyer NIF. - VF03 — Unbroken SHA-256 Hash Chain: Confirms genesis
PrimerRegistro=Sor exact linkage to previousHuellaand recomputes SHA-256 digest. - VF04 — Monotonic
FechaHoraHusoGenRegistro: Verifies ISO-8601 timestamp with explicit Spain timezone offset (+01:00/+02:00) and monotonic ordering. - VF05 — IVA Breakdown Reconciliation: Checks
sum(CuotaRepercutida + RecargoEquivalencia) == CuotaTotal. - VF06 — Total Amount Reconciliation: Checks
sum(BaseImponible) + CuotaTotal == ImporteTotal. - VF07 — Valid
TipoFactura: Validates AEAT codesF1,F2,F3,R1–R5and credit-note consistency. - VF08 — Rectificative Reference (
FacturasRectificadas): Ensures everyR1–R5invoice includesTipoRectificativa(S/I) and the rectified invoice number and date. - VF09 — Immutability & Posted Invoice Lock: Verifies the source invoice is posted and the VeriFactu record is sealed against tampering.
- VF10 — AEAT QR URL Validation: Validates the official AEAT
ValidarQRendpoint, parameter encoding, and exact amount/date match.
DAHMANI LIMITED European Odoo Compliance Suite (10 Modules, Odoo 17.0–20.0)
Every module in the DAHMANI LIMITED European Compliance Suite runs 100% locally on Odoo 17.0, 18.0, 19.0 & 20.0 Community and Enterprise (no Enterprise app needed, depends only on base, web, mail, account):
- GoBD DATEV Export Pro (
gobd_datev_audit_pro) — Germany GDPdU Z3 Audit (Betriebsprüfung), DATEV EXTF v700 Buchungsstapel, Debitoren/Kreditoren & Belegbilder. - XRechnung ZUGFeRD E-Rechnung Pro (
xrechnung_zugferd_pro) — Germany EN 16931 XRechnung 3.0.2 (CII & UBL), ZUGFeRD 2.3 / Factur-X PDF/A-3, Leitweg-ID & Inbound Eingangsrechnung. - ELSTER UStVA & ZM VAT Return Pro (
elster_ustva_pro) — German Umsatzsteuer-Voranmeldung (UStVA) v11 XML, Zusammenfassende Meldung (ZM / EC Sales List) & 16-Bundesländer Steuernummer. - DATEV BWA & SuSa Reports Pro (
bwa_susa_datev_pro) — Bank-ready German DATEV Standard-BWA 01 (Zeilen 1020–1380), 12-Month Trend & Summen- und Saldenliste (SuSa) for SKR03/SKR04. - Germany KassenSichV DSFinV-K TSE Pro (
germany_kassensichv_dsfinvk_pro) — German §146a AO KassenSichV, DSFinV-K v2.3 Kassennachschau ZIP, BSI TR-03153 QR & 2025 ELSTER Kassenmeldung. - France FEC DGFiP & Factur-X 2026 Pro (
france_fec_facturx_pro) — Official 18-column DGFiP FEC (Test-Compta-Demat checks), Factur-X 2026 PDF/A-3 outbound/inbound & B2C E-Reporting. - Swiss QR-Bill & ISO 20022 Pro (
swiss_qr_iso20022_pro) — Switzerland SIX IG v2.3 QR-Rechnung (Type 'S' structured address), ISO 20022 pain.001.001.09 & camt.054 auto-reconciliation. - EU Intrastat XML Declaration Pro (
eu_intrastat_pro) — Multi-country Eurostat INSTAT v6.2 IDEP XML, Destatis IDEV, France EMEBI, Spain AEAT, CN8 & 2026/2027 threshold monitor. - UK HMRC MTD VAT Return Pro (
uk_mtd_vat_pro) — UK Making Tax Digital (MTD) 9-Box VAT Return, VAT Notice 700/22 Digital Links, HMRC API v1.0 & 6-year SHA-256 audit pack.
Aviso Legal / Disclaimer: This module implements AEAT VeriFactu SHA-256 hash chaining, QR generation, XML formatting, event logging, and audit packaging per Real Decreto 1007/2023 and Orden HAC/1177/2024. Qualified digital-certificate SOAP transmission to AEAT’s live Sede Electrónica endpoint depends on the taxpayer’s FNMT/qualified certificate and local filing policy.
Built by DAHMANI LIMITED · Support: support@dahmani.me · Complete Setup & Compliance Guide · License: OPL-1 · Depends only on base, web, mail, account.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 3916 |
| Technical Name |
spain_verifactu_pro |
| License | OPL-1 |
| Website | https://guides.dahmani.me/odoo-verifactu-aeat-2027-espana/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module