Skip to main content
Glama

specgrid-eu-compliance

Server Details

Deterministic European e-invoicing & regulatory compliance MCP server: Spanish AEAT VeriFactu SHA-256 chaining & QR, EN 16931 Peppol UBL / Facturae XML audit & generation, SEPA EPC069-12 QRs, EU GPSR safety packs, and NIF/VAT/IBAN validation.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-03-26
URL
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 7 tools

Disambiguation4/5

Descriptions explicitly delimit boundaries and include reciprocal 'use X instead' pointers (einvoice_generate ↔ einvoice_validate, verifactu_fingerprint ↔ verifactu_verify_chain, tax_id_validate ↔ sepa_epc_qr), so misselection is unlikely. Minor residual overlap: einvoice_generate also emits VeriFactu fingerprint/QR fields, and gpsr_compliance_pack emits a QR like sepa_epc_qr, but both are called out in the text.

Naming Consistency4/5

All names are snake_case and consistently prefixed by domain (einvoice_, verifactu_, tax_id_, sepa_, gpsr_consistency), giving a predictable grouping. Deviations are minor: some names are noun phrases (sepa_epc_qr, gpsr_compliance_pack) while others use an action suffix (einvoice_generate, verifactu_verify_chain), so the verb placement isn't uniform.

Tool Count5/5

Seven tools is well within the ideal range and each maps to a distinct compliance step: ID validation, invoice generation, invoice validation, VeriFactu hashing, chain auditing, SEPA QR, and GPSR labeling. No filler or trivially redundant tools are present.

Completeness4/5

The surface covers the core EU e-invoicing lifecycle (validate identifiers → generate XML → audit XML → sign/hash → verify chain) plus payment QR and product-safety compliance. Gaps remain: Facturae can be validated but not generated, and there is no handling of credit notes/rectificativas or VeriFactu cancellation records, which real compliance workflows require.

Available Tools

7 tools
einvoice_generateGenerate Peppol UBL or VeriFactu XML from JSONA
Read-onlyIdempotent
Inspect

Generate a complete, XML-escaped, cent-balanced EN 16931 Peppol BIS 3.0 UBL 2.1 XML invoice or Spanish AEAT VeriFactu sf:RegistroAlta XML block directly from JSON line items. Stateless, deterministic, read-only with zero storage; self-audits generated UBL XML and returns xml, totals {net, tax, gross, currency}, selfAuditValid, plus fingerprintSha256, qrValidationUrl, and qrSvg for VeriFactu format (returns isError=true if lines are empty or inputs invalid). Use when creating new compliant XML invoices from ERP/JSON data; use einvoice_validate to audit an existing XML, and pair with sepa_epc_qr for PDF payment QRs.

Inputs: lines (required), format (required), customer (required), supplier (required), +6 more.

einvoice_validateValidate Peppol UBL & Facturae XMLA
Read-onlyIdempotent
Inspect

Audit an existing OASIS UBL 2.1 (EN 16931 / Peppol BIS Billing 3.0 / XRechnung) or Spanish Facturae 3.2.2 XML invoice against mandatory business rules, cent-exact monetary math (BR-CO-10, BR-CO-13, BR-CO-15, BR-CO-16), and XXE security hazards. Stateless, read-only, deterministic with zero retention; auto-detects XML standard and returns valid (boolean), standard, errors[], warnings[], and extracted summary (returns isError=true on DOCTYPE/ENTITY XXE payloads or unparseable XML). Use before sending or ingesting third-party XML invoices; use einvoice_generate instead to build compliant XML from JSON.

Inputs: xml (required).

gpsr_compliance_packEU GPSR (2023/988) Compliance Pack & Safety QRA
Read-onlyIdempotent
Inspect

Validate Regulation (EU) 2023/988 General Product Safety Regulation (GPSR) Art. 9/16/19 manufacturer and EU-27 Responsible Person records, block prohibited marketing tracking URL parameters (utm_*, fbclid, gclid, msclkid, _ga), and emit a clean tracking-free safety QR SVG. Stateless, deterministic, read-only with zero storage; returns valid, regulation, normalized complianceRecord, and printable qrSvg (returns isError=true if EU RP country is outside EU-27, URL is non-HTTPS, or tracking params exist). Use for Amazon EU, Shopify, and hardware product safety packaging labels; unrelated to tax invoicing tools.

Inputs: modelOrSku (required), productName (required), manufacturer (required), safetySheetUrl (required), +3 more.

sepa_epc_qrGenerate SEPA EPC069-12 Payment QR (GiroCode)A
Read-onlyIdempotent
Inspect

Generate a European Payments Council EPC069-12 v002 (BCD/002/1/SCT GiroCode) SEPA Credit Transfer QR payload and print-ready ECL-M SVG with built-in ISO 13616 IBAN Modulo-97 validation. Stateless, deterministic, read-only with zero storage; enforces 331-byte cap, EUR formatting, and mutual exclusion between structuredRef and remittanceText, returning payload, byteLength, and qrSvg (returns isError=true on invalid IBAN or conflicting remittance fields). Use to embed scan-to-pay QRs on European PDF invoices; use tax_id_validate if you only need IBAN verification without a QR.

Inputs: iban (required), beneficiaryName (required), bic, amountEur, +2 more.

tax_id_validateValidate Spanish NIF/NIE/CIF, EU VAT & IBANA
Read-onlyIdempotent
Inspect

Deterministically verify Spanish DNI/NIE/CIF check digits, EU-27 VAT regex/checksum formats, and ISO 13616 BigInt Modulo-97 IBAN checksums in one call. Stateless, offline-math, read-only with zero storage; supply one, two, or all three identifiers and receive normalized values plus valid/type/reason flags for each supplied field (never calls external government APIs or stores PII). Use at customer onboarding or before calling einvoice_generate / sepa_epc_qr; use sepa_epc_qr instead when you also need a scannable payment QR SVG.

Inputs: iban, euVat, spanishTaxId.

verifactu_fingerprintAEAT VeriFactu SHA-256 Fingerprint & QRA
Read-onlyIdempotent
Inspect

Compute a single Spanish AEAT VeriFactu (RD 1007/2023 & Orden HAC/1177/2024) 8-field canonical UTF-8 string, 64-char uppercase SHA-256 Huella, official ValidarQR URL, and print-ready framed SVG QR. Stateless, deterministic, read-only with zero data retention; returns canonicalPayload, fingerprintSha256, qrValidationUrl, qrSvg, and optional nifWarning (returns isError=true if date/timestamp/hash format is invalid). Use when signing one invoice record or chaining onto a known previousHash; use verifactu_verify_chain to audit multiple historical records, or einvoice_generate to emit full sf:RegistroAlta XML.

Inputs: issueDate (required), issuerNif (required), taxAmount (required), invoiceType (required), +6 more.

verifactu_verify_chainAudit AEAT VeriFactu Hash ChainA
Read-onlyIdempotent
Inspect

Audit an ordered batch of Spanish AEAT VeriFactu invoice records to verify every record SHA-256 Huella and cryptographic link to the preceding record. Stateless, deterministic, read-only with zero storage; returns chainValid (boolean), recordCount, and per-record hashMatches / chainLinkMatches flags (returns isError=true if records is empty or malformed). Use when inspecting historical invoice logs for tampering or broken links; use verifactu_fingerprint instead to compute a single new invoice hash.

Inputs: records (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources