Verifactu

•
1
•

Implement Spain's AEAT VERI*FACTU electronic invoicing requirements with record chaining, XML schema validation, tax QR code generation, and SOAP submission.

Verifactu provides a comprehensive Python toolkit for complying with the Spanish Tax Agency's (AEAT) VERI*FACTU electronic invoicing regulations. It enables developers to compute chained SHA-256 record hashes, build and validate XML payloads against official XSD schemas, generate compliant tax QR codes, and manage secure SOAP transmission using electronic certificates. Equipped with a CLI and an MCP server, it allows billing systems and AI developer assistants to generate, inspect, and validate Spanish tax records effortlessly.

Características Principales

01Chained SHA-256 record hash generation verified against official AEAT specifications
02XML generation and validation against official SuministroLR XSD schemas for invoice registrations and cancellations
03Tax QR code and URL generation adhering to ISO 18004 standards in PNG and SVG formats
04SOAP client supporting PKCS#12 and PEM certificates with built-in rate limiting and response parsing
05Model Context Protocol (MCP) server integration for automated invoice verification in AI coding assistants
061 GitHub stars

Casos de Uso

01Integrating VERI*FACTU legal compliance into Python-based ERP, billing, and accounting software
02Assisting developers in Cursor or Claude Desktop to generate compliant invoice payloads and check NIF/CIF validity
03Validating existing billing XML documents and calculating cryptographic hashes via CLI before submission