Skip to main content Switch to mobile version specgrid-eu-compliance 1.6.1 Zero-dependency Python 3 client for the SpecGrid EU e-Invoicing & Regulatory Compliance API (AEAT VeriFactu, Peppol EN 16931, Facturae, SEPA EPC QR, EU GPSR, IBAN/NIF).
pip install specgrid-eu-compliance Copy PIP instructions
Quick Install (0 Dependencies)
# Node.js / TypeScript SDK + MCP CLI npm install specgrid-eu-compliance # Python 3 SDK pip install specgrid-eu-compliance # Instant 1-command Stdio MCP Server (no clone required) npx -y specgrid-eu-compliance Zero-dependency official client SDKs, Postman Collection v2.1, and ready-to-import n8n & Make.com automation templates for the SpecGrid EU Compliance API (running on Cloudflare Workers with zero payload retention):
Spanish AEAT VeriFactu (RD 1007/2023 & Orden HAC/1177/2024): Exact 8-field canonical SHA-256 Huella chaining, multi-record tamper verification, ValidarQR URLs (prod & sandbox), printable Tributary QR SVG, and
Peppol BIS Billing 3.0 (EN 16931 UBL 2.1 / XRechnung) & Spanish Facturae 3.2.2: JSON-to-UBL XML generation + cent-level mathematical & structural validation (BR-CO-10..16, XXE-hardened).
SEPA EPC069-12 v002 Payment QR (GiroCode): Scan-to-pay European credit transfer QR payloads & ECL-M SVGs with automatic ISO 13616 IBAN Mod-97 verification.
EU-27 VAT, ISO 13616 Mod-97 IBAN & Spanish NIF/NIE/CIF Checksum Validation.
EU GPSR (Regulation 2023/988) Compliance Pack: Manufacturer & EU-27 Responsible Person validation + tracking-free safety QR SVG generator.
Try Free or Subscribe (Global MoR · Automated EU VAT Invoice)
AI Agent Integration — MCP Server (Cursor · Claude Desktop · Windsurf · Antigravity)
Give any LLM coding agent deterministic EU compliance tools (zero hash/math/XML hallucinations) using either Remote Streamable HTTP or our Zero-Dependency Local Stdio Bridge:
Option A: Remote Streamable HTTP (Recommended — Zero Install)
{ "mcpServers": { "specgrid-eu-compliance": { "url": "https://eu.specgrid-api.workers.dev/mcp", "headers": { "Authorization": "Bearer SPECGRID-YOUR-POLAR-KEY" } } } } Option B: Local Zero-Dependency Stdio MCP Bridge (1-Command npx, No Clone Required)
{ "mcpServers": { "specgrid-eu-compliance": { "command": "npx", "args": ["-y", "specgrid-eu-compliance"], "env": { "SPECGRID_API_KEY": "SPECGRID-YOUR-POLAR-KEY" } } } } Exposes all 7 deterministic MCP tools: verifactu_fingerprint, verifactu_verify_chain, einvoice_validate, einvoice_generate, sepa_epc_qr, tax_id_validate, and gpsr_compliance_pack.
Quickstart — TypeScript / Node 20+ (0 Dependencies)
import { SpecGridClient } from './src/index.ts'; // Option A: Direct Polar.sh Key (Authorization: Bearer ...) const client = new SpecGridClient({ apiKey: process.env.SPECGRID_API_KEY }); // Option B: RapidAPI Hub Key // const client = new SpecGridClient({ rapidApiKey: process.env.RAPIDAPI_KEY }); const verifactu = await client.generateElectronicInvoice({ format: 'verifactu_registro_alta', invoiceNumber: 'INV-2026/0105', issueDate: '2026-11-29', supplier: { name: 'SpecGrid Systems SL', taxId: 'B85905495', countryCode: 'ES' }, customer: { name: 'Nordic Automation GmbH', taxId: 'DE123456789', countryCode: 'DE' }, lines: [{ description: 'Engineering Services', quantity: 2, unitPrice: 50, vatRate: 21 }] }); console.log('AEAT SHA-256 Huella:', verifactu.fingerprintSha256); console.log('AEAT ValidarQR URL:', verifactu.qrValidationUrl); See runnable examples in examples/verifactu-quickstart.mjs and examples/peppol-ubl-quickstart.mjs.
Quickstart — Python 3 (0 Dependencies)
import os from python.specgrid_client import SpecGridClient client = SpecGridClient(api_key=os.environ["SPECGRID_API_KEY"]) sepa = client.generate_sepa_qr( beneficiaryName="SpecGrid Systems SL", iban="ES9121000418450200051332", amountEur=121.00, remittanceText="Invoice INV-2026/0105" ) print(sepa["payload"]) Quickstart — PHP 8+ / Laravel / WooCommerce (0 Dependencies)
generateElectronicInvoice([ 'format' => 'verifactu_registro_alta', 'invoiceNumber' => 'INV-2026/0105', 'issueDate' => '2026-11-29', 'supplier' => ['name' => 'SpecGrid Systems SL', 'taxId' => 'B85905495', 'countryCode' => 'ES'], 'customer' => ['name' => 'Cliente SA', 'taxId' => 'A12345674', 'countryCode' => 'ES'], 'lines' => [['description' => 'Suscripcion SaaS', 'quantity' => 1, 'unitPrice' => 100.0, 'vatRate' => 21]], ]); echo $vf['fingerprintSha256'] . PHP_EOL; echo $vf['qrValidationUrl'] . PHP_EOL; No-Code Templates & API Tools (1-Click Import)
n8n Workflow: Import n8n/verifactu-sepa-invoice-workflow.json via Workflows → Import from File and replace SPECGRID-REPLACE-WITH-YOUR-POLAR-KEY with your live SPECGRID-... key (or X-RapidAPI-Key).
Make.com Scenario Blueprint: Import make/verifactu-sepa-make-blueprint.json into a new Make scenario to chain Webhook → VeriFactu XML + SHA-256 → SEPA EPC QR → JSON Response.
Postman / Insomnia / Bruno / Hoppscotch: Import postman/specgrid-eu-compliance.postman_collection.json (all 8 endpoints pre-populated with verified payloads) or load the CORS-enabled OpenAPI 3.0.3 schema directly from https://eu.specgrid-api.workers.dev/openapi.json.
AI / LLM Documentation: Machine-readable specs available at https://eu.specgrid-api.workers.dev/llms.txt and /llms-full.txt.
Security & Technical Scope
SpecGrid processes invoice XMLs, tax identifiers, and IBANs synchronously in memory with zero payload retention. SpecGrid provides deterministic software validation and cryptographic/QR formatting tools based on published technical specifications and is not a law firm, tax advisor, or certified Peppol Access Point.
Released: Dec 1, 2026
verifactu peppol facturae sepa-qr einvoicing gpsr iban
Release files for specgrid-eu-compliance 1.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 13.1 kB
Release files / specgrid_eu_compliance-1.6.1.tar.gz
Security for specgrid-eu-compliance 1.6.1
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 1, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 1875753











