
Mcp Facturacion Electronica Es
If you're dealing with Spanish tax compliance, this server bridges Claude to Spain's famously complex six-system e-invoicing landscape. It generates and validates VERI*FACTU records with chained SHA-256 hashes for real-time AEAT submission, handles Facturae 3.2.2 XML with XAdES-EPES signatures for B2G invoicing via FACe, and detects which regime applies based on fiscal address and revenue. You get tools for SII SOAP/REST submissions (mandatory over €6M turnover), TicketBAI provincial XML variants for the Basque Country, and Crea y Crece B2B compliance checks. Built on mcp-einvoicing-core alongside the French and Belgian servers. Most functionality is marked pending regulatory confirmation, so treat this as pre-production until the January 2027 VERI*FACTU deadline firms up.
- GitHub stars
- 2
- tools
- 10
- auth
- Required
- transport
- STDIO
- env vars
- 6
- last updated
- Sep 12, 2026
Tools
10 toolsPublic tool metadata for what this MCP can expose to an agent.
es__generate_verifactu_recordGenerates a tamper-proof invoice record (Orden HAC/1177/2024) with SHA-256 `Huella` chaining that links it to the previous record.
Generates a tamper-proof invoice record (Orden HAC/1177/2024) with SHA-256 `Huella` chaining that links it to the previous record.
No parameter schema in public metadata yet.
es__validate_verifactu_recordValidates a VERI*FACTU XML record against the official XSD published with Orden HAC/1177/2024 (BOE-A-2024-22138).
Validates a VERI*FACTU XML record against the official XSD published with Orden HAC/1177/2024 (BOE-A-2024-22138).
No parameter schema in public metadata yet.
es__submit_verifactu_to_aeatSubmits a signed VERI*FACTU record to the AEAT real-time endpoint via MTLS (FNMT-RCM Class 1 certificate) or, if `EINVOICING_SIGNER_SOCKET` is configured, via the signer microservice.
Submits a signed VERI*FACTU record to the AEAT real-time endpoint via MTLS (FNMT-RCM Class 1 certificate) or, if `EINVOICING_SIGNER_SOCKET` is configured, via the signer microservice.
No parameter schema in public metadata yet.
es__generate_qr_verifactuGenerates the mandatory VERI*FACTU QR code (HAC/1177/2024 Art. 10) as a base64-encoded PNG.
Generates the mandatory VERI*FACTU QR code (HAC/1177/2024 Art. 10) as a base64-encoded PNG.
No parameter schema in public metadata yet.
es__cancel_verifactu_recordGenerates a VERI*FACTU cancellation record (`RegistroAnulacion`, `TipoHuella=01`) chained to the current fingerprint sequence.
Generates a VERI*FACTU cancellation record (`RegistroAnulacion`, `TipoHuella=01`) chained to the current fingerprint sequence.
No parameter schema in public metadata yet.
es__query_verifactu_statusQueries the `EstadoRegistro` of an already-submitted VERI*FACTU record (`ConsultaFactuSistemaFacturacion` / `ConsultaLR.xsd`).
Queries the `EstadoRegistro` of an already-submitted VERI*FACTU record (`ConsultaFactuSistemaFacturacion` / `ConsultaLR.xsd`).
No parameter schema in public metadata yet.
es__generate_facturae_xmlGenerates a Facturae 3.2.2 compliant XML invoice for B2G submission.
Generates a Facturae 3.2.2 compliant XML invoice for B2G submission.
No parameter schema in public metadata yet.
es__sign_facturae_xadesApplies an XAdES-EPES digital signature (ETSI EN 319 132-1) to a Facturae XML document.
Applies an XAdES-EPES digital signature (ETSI EN 319 132-1) to a Facturae XML document.
No parameter schema in public metadata yet.
es__submit_to_faceSubmits a signed Facturae XML to FACe (Punto General de Entrada de Facturas Electronicas) via the FACe integrator REST API.
Submits a signed Facturae XML to FACe (Punto General de Entrada de Facturas Electronicas) via the FACe integrator REST API.
No parameter schema in public metadata yet.
es__get_face_invoice_statusQueries the processing status of an invoice on FACe.
Queries the processing status of an invoice on FACe.
No parameter schema in public metadata yet.
Sponsors
Configuration
AEAT_ENV*Target environment for AEAT endpoints: 'sandbox' or 'production'.
AEAT_CERTIFICATE_PATHFilesystem path to the FNMT-RCM PKCS#12 certificate (.p12 / .pfx) used for MTLS submission to AEAT (VERI*FACTU and SII) and for JWS-signed FACe submission.
AEAT_CERTIFICATE_PASSWORDPassphrase for the PKCS#12 certificate at AEAT_CERTIFICATE_PATH.
AEAT_NIFTaxpayer NIF used as the default submitter identity for AEAT submissions.
FACE_ENVTarget environment for FACe API: 'sandbox' or 'production'.
LOG_LEVELLogging level inherited from mcp-einvoicing-core: DEBUG, INFO (default), WARNING, or ERROR.
Readme
Details
- Repository
- github.com/cmendezs/mcp-facturacion-electronica-es
- Category
- Sales & Marketing
- Package
mcp-facturacion-electronica-es- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active