Verifactu — cadena de huellas rota (aceptado con errores, código 2000)
Het tweede record declareert een vingerafdruk die NIET bij zijn inhoud past: de keten is verbroken. Het bestand is GELDIG volgens het officiële AEAT-XSD — een validator die alleen het schema bekijkt, keurt het goed. Alleen het herberekenen van de geketende SHA-256 ontdekt het. Let op: de AEAT wijst het NIET af, maar markeert het als “Aceptado con errores” (code 2000) en registreert het toch.
IDVersion 1.0 — Geldig
Het tweede record declareert een vingerafdruk die NIET bij zijn inhoud past: de keten is verbroken. Het bestand is GELDIG volgens het officiële AEAT-XSD — een validator die alleen het schema bekijkt, keurt het goed. Alleen het herberekenen van de geketende SHA-256 ontdekt het. Let op: de AEAT wijst het NIET af, maar markeert het als “Aceptado con errores” (code 2000) en registreert het toch.
Wat dit bestand laat zien
Het tweede record declareert een vingerafdruk die NIET bij zijn inhoud past: de keten is verbroken. Het bestand is GELDIG volgens het officiële AEAT-XSD — een validator die alleen het schema bekijkt, keurt het goed. Alleen het herberekenen van de geketende SHA-256 ontdekt het. Let op: de AEAT wijst het NIET af, maar markeert het als “Aceptado con errores” (code 2000) en registreert het toch.
| Transacties | 2 |
|---|---|
| Totaal | € 1.815,00 |
| Datum in het bestand | 2026-01-16 |
De gebreken die het bevat
- 2000El cálculo de la huella suministrada es incorrecta.
Letterlijk geciteerd uit de validator, niet geparafraseerd.
Alle partijen, IBAN's en bedragen hieronder zijn fictief. De IBAN's zijn structureel geldig — ze doorstaan de mod-97-controle — maar horen bij geen enkele echte rekening.
Bestandsinhoud
<?xml version="1.0" encoding="UTF-8"?>
<sfLR:RegFactuSistemaFacturacion xmlns:sfLR="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/tike/cont/ws/SuministroLR.xsd" xmlns:sf="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/tike/cont/ws/SuministroInformacion.xsd">
<sfLR:Cabecera>
<sf:ObligadoEmision>
<sf:NombreRazon>ValidateFin Demo SL</sf:NombreRazon>
<sf:NIF>B12345674</sf:NIF>
</sf:ObligadoEmision>
<sf:RemisionVoluntaria>
<sf:Incidencia>N</sf:Incidencia>
</sf:RemisionVoluntaria>
</sfLR:Cabecera>
<sfLR:RegistroFactura>
<sf:RegistroAlta>
<sf:IDVersion>1.0</sf:IDVersion>
<sf:IDFactura>
<sf:IDEmisorFactura>B12345674</sf:IDEmisorFactura>
<sf:NumSerieFactura>FA2026/0001</sf:NumSerieFactura>
<sf:FechaExpedicionFactura>15-01-2026</sf:FechaExpedicionFactura>
</sf:IDFactura>
<sf:NombreRazonEmisor>ValidateFin Demo SL</sf:NombreRazonEmisor>
<sf:TipoFactura>F1</sf:TipoFactura>
<sf:DescripcionOperacion>Prestacion de servicios</sf:DescripcionOperacion>
<sf:Destinatarios>
<sf:IDDestinatario>
<sf:NombreRazon>Cliente Ejemplo SA</sf:NombreRazon>
<sf:NIF>A58818501</sf:NIF>
</sf:IDDestinatario>
</sf:Destinatarios>
<sf:Desglose>
<sf:DetalleDesglose>
<sf:Impuesto>01</sf:Impuesto>
<sf:ClaveRegimen>01</sf:ClaveRegimen>
<sf:CalificacionOperacion>S1</sf:CalificacionOperacion>
<sf:TipoImpositivo>21</sf:TipoImpositivo>
<sf:BaseImponibleOimporteNoSujeto>1000.00</sf:BaseImponibleOimporteNoSujeto>
<sf:CuotaRepercutida>210.00</sf:CuotaRepercutida>
</sf:DetalleDesglose>
</sf:Desglose>
<sf:CuotaTotal>210.00</sf:CuotaTotal>
<sf:ImporteTotal>1210.00</sf:ImporteTotal>
<sf:Encadenamiento>
<sf:PrimerRegistro>S</sf:PrimerRegistro>
</sf:Encadenamiento>
<sf:SistemaInformatico>
<sf:NombreRazon>ValidateFin Demo SL</sf:NombreRazon>
<sf:NIF>B12345674</sf:NIF>
<sf:NombreSistemaInformatico>Demo SIF</sf:NombreSistemaInformatico>
<sf:IdSistemaInformatico>VF</sf:IdSistemaInformatico>
<sf:Version>1.0</sf:Version>
<sf:NumeroInstalacion>0001</sf:NumeroInstalacion>
<sf:TipoUsoPosibleSoloVerifactu>S</sf:TipoUsoPosibleSoloVerifactu>
<sf:TipoUsoPosibleMultiOT>N</sf:TipoUsoPosibleMultiOT>
<sf:IndicadorMultiplesOT>N</sf:IndicadorMultiplesOT>
</sf:SistemaInformatico>
<sf:FechaHoraHusoGenRegistro>2026-01-15T10:30:00+01:00</sf:FechaHoraHusoGenRegistro>
<sf:TipoHuella>01</sf:TipoHuella>
<sf:Huella>02D703E1080D488E6FE7EBF57F47A2836FAE84BAB8C7CFDB8BF65E8AC2F0BBDD</sf:Huella>
</sf:RegistroAlta>
</sfLR:RegistroFactura>
<sfLR:RegistroFactura>
<sf:RegistroAlta>
<sf:IDVersion>1.0</sf:IDVersion>
<sf:IDFactura>
<sf:IDEmisorFactura>B12345674</sf:IDEmisorFactura>
<sf:NumSerieFactura>FA2026/0002</sf:NumSerieFactura>
<sf:FechaExpedicionFactura>16-01-2026</sf:FechaExpedicionFactura>
</sf:IDFactura>
<sf:NombreRazonEmisor>ValidateFin Demo SL</sf:NombreRazonEmisor>
<sf:TipoFactura>F1</sf:TipoFactura>
<sf:DescripcionOperacion>Prestacion de servicios</sf:DescripcionOperacion>
<sf:Destinatarios>
<sf:IDDestinatario>
<sf:NombreRazon>Cliente Ejemplo SA</sf:NombreRazon>
<sf:NIF>A58818501</sf:NIF>
</sf:IDDestinatario>
</sf:Destinatarios>
<sf:Desglose>
<sf:DetalleDesglose>
<sf:Impuesto>01</sf:Impuesto>
<sf:ClaveRegimen>01</sf:ClaveRegimen>
<sf:CalificacionOperacion>S1</sf:CalificacionOperacion>
<sf:TipoImpositivo>21</sf:TipoImpositivo>
<sf:BaseImponibleOimporteNoSujeto>500.00</sf:BaseImponibleOimporteNoSujeto>
<sf:CuotaRepercutida>105.00</sf:CuotaRepercutida>
</sf:DetalleDesglose>
</sf:Desglose>
<sf:CuotaTotal>105.00</sf:CuotaTotal>
<sf:ImporteTotal>605.00</sf:ImporteTotal>
<sf:Encadenamiento>
<sf:RegistroAnterior>
<sf:IDEmisorFactura>B12345674</sf:IDEmisorFactura>
<sf:NumSerieFactura>FA2026/0001</sf:NumSerieFactura>
<sf:FechaExpedicionFactura>15-01-2026</sf:FechaExpedicionFactura>
<sf:Huella>02D703E1080D488E6FE7EBF57F47A2836FAE84BAB8C7CFDB8BF65E8AC2F0BBDD</sf:Huella>
</sf:RegistroAnterior>
</sf:Encadenamiento>
<sf:SistemaInformatico>
<sf:NombreRazon>ValidateFin Demo SL</sf:NombreRazon>
<sf:NIF>B12345674</sf:NIF>
<sf:NombreSistemaInformatico>Demo SIF</sf:NombreSistemaInformatico>
<sf:IdSistemaInformatico>VF</sf:IdSistemaInformatico>
<sf:Version>1.0</sf:Version>
<sf:NumeroInstalacion>0001</sf:NumeroInstalacion>
<sf:TipoUsoPosibleSoloVerifactu>S</sf:TipoUsoPosibleSoloVerifactu>
<sf:TipoUsoPosibleMultiOT>N</sf:TipoUsoPosibleMultiOT>
<sf:IndicadorMultiplesOT>N</sf:IndicadorMultiplesOT>
</sf:SistemaInformatico>
<sf:FechaHoraHusoGenRegistro>2026-01-16T09:15:00+01:00</sf:FechaHoraHusoGenRegistro>
<sf:TipoHuella>01</sf:TipoHuella>
<sf:Huella>0000000000000000000000000000000000000000000000000000000000000000</sf:Huella>
</sf:RegistroAlta>
</sfLR:RegistroFactura>
</sfLR:RegFactuSistemaFacturacion>
Hoe we weten dat deze resultaten kloppen
Elk bestand in deze bibliotheek gaat bij elke build door de eigen validator van de site. Het hierboven vermelde verwachte resultaat wordt door een geautomatiseerde test bevestigd: zou een bestand niet meer overeenkomen met wat deze pagina beweert, dan faalt de build. Twee overgeërfde fixtures zijn zo vóór publicatie hersteld: drie IBAN's zakten voor de mod-97-controle en meerdere namen gebruikten tekens buiten de SEPA-basistekenset.