spanish-tax-compliance

Automate VeriFactu-compliant Spanish electronic invoicing with AEAT submission and NIF validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/franciscosanchezn/easyfactu-es --skill spanish-tax-compliance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spanish-tax-compliance
Source: https://github.com/franciscosanchezn/easyfactu-es/tree/main/.github/skills/spanish-tax-compliance
Command: npx skills add https://github.com/franciscosanchezn/easyfactu-es --skill spanish-tax-compliance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables compliant VeriFactu electronic invoicing in Spain by enforcing AEAT submission rules, NIF validation, IVA calculation, and secure hash-chain integrity across invoices.

Core Features & Use Cases

  • Supports VeriFactu RegistroFactura XML structures and signing workflows.
  • Validates NIF/NIE/CIF identifiers and computes VAT (IVA) and IRPF retention.
  • Provides end-to-end guidance for invoice numbering, hash chaining, and AEAT submission integration (staging environment).

Quick Start

Configure VeriFactu for a Spanish SME and validate a sample invoice against the end-to-end AEAT submission and NIF validation rules.

Frequently Asked Questions about spanish-tax-compliance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate VeriFactu compliant invoices for AEAT submission?

To generate VeriFactu compliant invoices, you need correct IVA calculation, secure hash chaining, and RegistroFactura XML structures. This Skill automates that end-to-end workflow, ensuring electronic invoicing rules and AEAT submission compliance for Spanish businesses.

What is hash chaining in Spanish electronic invoicing and why is it needed?

Hash chaining links each invoice to the previous one via a cryptographic hash, ensuring secure integrity and preventing retroactive modifications. It is required for VeriFactu compliance to maintain a tamper-proof audit trail for AEAT submission.

How do I validate NIF, NIE, and CIF identifiers for Spanish tax invoices?

Validating NIF, NIE, and CIF identifiers confirms the legal identity of parties on Spanish tax invoices. This Skill performs automated identifier validation as part of the end-to-end VeriFactu invoice creation and AEAT submission workflow.

Can I use this for end-to-end invoice creation and AEAT staging submission?

Yes, this Skill supports end-to-end invoice creation, validation, and AEAT submission integration via the staging environment. It provides guidance for invoice numbering, NIF validation, and building correct RegistroFactura XML structures.

Does this VeriFactu invoicing tool calculate IRPF retention as well as IVA rates?

Yes, this VeriFactu invoicing tool computes both VAT (IVA) rates and IRPF retention. These calculations are applied automatically during the invoice creation workflow to ensure Spanish tax compliance before AEAT submission.

What are the limitations of using automated VeriFactu XML generation for AEAT?

Automated VeriFactu XML generation targets the AEAT staging environment, meaning it is configured for testing rather than immediate live production submission. Users must ensure their hash chaining and invoice numbering align with current AEAT submission rules.