arceedev avatar

VeriFactu

arceedev/verifactu-mcp

Audit VERI*FACTU hash chains, build the AEAT tax QR, build and validate Facturae 3.2.2 invoices.

tools
11
auth
Secret needed
transport
STDIO, HTTP
env var
1
last updated
Nov 6, 2026

Tools

11 tools

Public tool metadata for what this MCP can expose to an agent.

validate_invoice_chainAudit a chain of records (JSON, up to 20,000): fingerprints, links, PrimerRegistro, duplicates, cancellations of unknown invoices, timestamps, NIF/date/amount/TipoFactura formats.

Audit a chain of records (JSON, up to 20,000): fingerprints, links, PrimerRegistro, duplicates, cancellations of unknown invoices, timestamps, NIF/date/amount/TipoFactura formats.

No parameter schema in public metadata yet.

validate_verifactu_xmlSame audit on exported XML (RegFactuSistemaFacturacion, SOAP envelope or any XML with RegistroAlta/RegistroAnulacion), plus XSD validation.

Same audit on exported XML (RegFactuSistemaFacturacion, SOAP envelope or any XML with RegistroAlta/RegistroAnulacion), plus XSD validation.

No parameter schema in public metadata yet.

verifactu_hashFingerprint of one record, with the exact string hashed.

Fingerprint of one record, with the exact string hashed.

No parameter schema in public metadata yet.

generate_verifactu_qrTax QR URL + image + printing rules.

Tax QR URL + image + printing rules.

No parameter schema in public metadata yet.

build_facturaeFacturae 3.2.2 XML (unsigned) from plain invoice data, XSD-validated.

Facturae 3.2.2 XML (unsigned) from plain invoice data, XSD-validated.

No parameter schema in public metadata yet.

validate_facturaeXSD + arithmetic + NIF + DIR3 + signature check of a Facturae file.

XSD + arithmetic + NIF + DIR3 + signature check of a Facturae file.

No parameter schema in public metadata yet.

verifactu_calendarDeadlines in force and what is pending in the BOE, with sources.

Deadlines in force and what is pending in the BOE, with sources.

No parameter schema in public metadata yet.

check_qr_url

No parameter schema in public metadata yet.

validate_nif

No parameter schema in public metadata yet.

pricing

No parameter schema in public metadata yet.

credits_balanceCredit balance with a refill bar and a buy button, or a result summary, rendered as an interactive card in supported clients.

Credit balance with a refill bar and a buy button, or a result summary, rendered as an interactive card in supported clients.

No parameter schema in public metadata yet.

Sponsors

Configuration

KEYFLINT_LICENSE*secret

Your KeyFlint license (LIC-...). Get one, free trial included, at https://mcp.keyflint.dev

Readme

verifactu-mcp

On PyPI as verifactu-keyflint-mcp (the name verifactu-mcp belongs to another project).

MCP server for Spanish invoicing compliance, built for AI agents working for gestorías, accountants and invoicing-software teams. Offline and stateless: nothing is stored and nothing is sent to the AEAT.

  • Audit VERI*FACTU chains: recompute the SHA-256 fingerprint (huella) of every record (alta and anulación) exactly as the AEAT specifies, and check that each record links to the previous one. Works on JSON records or on the XML any invoicing program exports (validated against the official SuministroLR.xsd).
  • AEAT tax QR: URL and PNG/SVG image (error correction M) for VERI*FACTU and non-VERI*FACTU systems, production or test portal, with the printing rules.
  • Facturae 3.2.2: build an invoice from plain data (totals, VAT breakdown, IRPF withholding, recargo de equivalencia, DIR3 codes for FACe, IBAN) and validate any Facturae file: official XSD, the arithmetic FACe checks, NIFs, DIR3 roles and signature presence.

View the full README on GitHub

Details

Repository
github.com/arceedev/verifactu-mcp
Website
mcp.keyflint.dev
Package
verifactu-keyflint-mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active

More from arceedev