B2A SPECIALIZED HUB • DETERMINISTIC COMPLIANCE SPECS

EU Tax, KYB & e-Invoicing

Deterministic Cross-Border VAT, e-Invoicing & Anti-Fraud Engine

This vertical exposes a dedicated Model Context Protocol (MCP) Streamable HTTP endpoint featuring 4 mathematically deterministic compliance tools. Specifically engineered for autonomous AI agents, enterprise ERPs, and compliance pipelines to ensure exact statutory verification without probabilistic hallucination.

🎯 Target: CFOs, Accounting Teams, ERP Software Providers, Tax Compliance Officers

Quick AI Agent Setup (Cursor / Claude Desktop / n8n)

https://tax-mcp.novapixel.it/
// 1. Add to .cursor/mcp.json:
{
  "mcpServers": {
    "lexgrid-eu-tax": {
      "url": "https://tax-mcp.novapixel.it/"
    }
  }
}
// 2. Claude Desktop (claude_desktop_config.json):
{
  "mcpServers": {
    "lexgrid-eu-tax": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://tax-mcp.novapixel.it/"]
    }
  }
}

01. Statutory Architecture & Mathematical Precision

Cross-border European commerce requires rigid compliance with Directive 2006/112/EC, official VIES VAT validation, and strict XML schema validation for electronic invoicing (SDI FatturaPA 1.2.2 and Peppol BIS 3.0). LexGrid executes real-time registry queries, international sanctions screening, and decimal-precise VAT recalculation.

Unlike probabilistic LLM inference which may hallucinate tax percentages, distort statutory thresholds, or produce subtle rounding discrepancies, this engine isolates all math, validation logic, and regulatory constraints into pure, auditable TypeScript routines operating with exact precision (via decimal.js and official XSD/XML schemas).

02. Included Deterministic Tools

vies_gleif_kyb_verify

Direttiva 2006/112/CE & Reg. UE 282/2011
$0.10 USDC

Official EU VIES VAT verification, GLEIF LEI lookup, and international sanctions list screening with fallback resilience.

Statutory Anchor: Direttiva 2006/112/CE & Reg. UE 282/2011

einvoice_xml_auditor

Specifiche Agenzia delle Entrate & Peppol BIS 3.0
$0.15 USDC

Deterministic validation and builder for Italian SDI FatturaPA 1.2.2 and Peppol BIS 3.0 XML documents.

Statutory Anchor: Specifiche Agenzia delle Entrate & Peppol BIS 3.0

iban_sepa_antifraud

Standard ISO 13616 & Regolamento SEPA UE 260/2012
$0.08 USDC

ISO 13616 MOD-97 check, routing directory, and geo-consistency cross-checks preventing Business Email Compromise.

Statutory Anchor: Standard ISO 13616 & Regolamento SEPA UE 260/2012

codice_fiscale_audit

D.M. 23/12/1976 & D.P.R. 605/1973
$0.08 USDC

Italian Fiscal Code algorithmic verification, birth data extraction, and synthetic omocodia substitution detection.

Statutory Anchor: D.M. 23/12/1976 & D.P.R. 605/1973

03. Enterprise & AI Agent Workflows

01

Real-Time KYB & Sanctions Screening

Queries European Commission VIES registries, extracts official legal addresses, and screens counterparty entities against EU, OFAC, and UN sanctions.

02

FatturaPA & Peppol XML Pre-Flight Audit

Validates invoice XML against Agenzia delle Entrate SDI rules (error codes 00419, 00422, virtual stamp duty) before submission.

03

SEPA IBAN Fraud & BEC Prevention

Validates ISO 13616 MOD-97 checksums, extracts BIC routing, and checks geographic consistency against supplier country to stop invoice redirect fraud.

04. Live Payload Specification (Tool: vies_gleif_kyb_verify)

JSON-RPC / REST 200 OK
// Sample Request Payload:
{
  "countryCode": "IT",
  "vatNumber": "01234567890",
  "companyName": "Acme Europe"
}
// Deterministic Response Envelope:
{
  "status": "success",
  "deterministic_execution": true,
  "suite": "eu-tax",
  "tool": "vies_gleif_kyb_verify",
  "data": {
    "isValid": true,
    "name": "ACME EUROPE S.R.L.",
    "address": "VIA CONCILIAZIONE 1, ROMA",
    "sanctionsCheck": { "isSanctioned": false }
  }
}

05. Regulatory Framework & Statutory Basis

All algorithms operate under official formulas enacted by statutory regulations, without approximations or probabilistic inferences:

06. Frequently Asked Questions & Regulatory Details

How does the e-invoice auditor handle FatturaPA rounding? ↓

The algorithm calculates line items and VAT totals using decimal.js fixed-point arithmetic, enforcing Agenzia delle Entrate ministerial rounding rules and flagging SDI error codes 00422 and 00419 before transmission.

What happens if the official European VIES API is down? ↓

LexGrid executes resilient fallback logic that validates format syntax and national checksum algorithms while reporting upstream service availability status.

Does the Codice Fiscale tool detect ministerial omocodia? ↓

Yes. It implements the official D.M. 23/12/1976 CIN algorithm, reverses demographic data, and detects all standard ministerial alphanumeric character substitutions for omocodia.