Factur-X E-Invoice Validator & EU/FR KYB Check (MCP)
Pricing
from $30.00 / 1,000 kyb or factur-x invoice audits
Factur-X E-Invoice Validator & EU/FR KYB Check (MCP)
Validate Factur-X EN 16931 e-invoices and verify SIREN, EU VIES VAT proofs, and BODACC insolvency in real time via API or MCP.
Pricing
from $30.00 / 1,000 kyb or factur-x invoice audits
Rating
0.0
(0)
Developer
Arthur Vatel
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
EU & France E-Invoicing (Factur-X) Validator & KYB Company Check MCP
Verify Factur-X / ZUGFeRD / EN 16931 / UBL 2.1 electronic invoices and run real-time French & European KYB (Know Your Business) supplier checks—available both as a Batch Apify Actor and a Standby Streamable HTTP MCP Server (/mcp) for AI agents, ERPs, and automation workflows.
Built for the 2026 French B2B e-invoicing mandate and European cross-border supplier compliance, running on just 128–256 MB RAM with zero headless browser overhead.
Key Capabilities
-
Factur-X & EN 16931 / UBL 2.1 Deterministic Validator
- Extracts embedded XML (
factur-x.xml,zugferd-invoice.xml,xrechnung.xml) directly from base64-encoded PDF/A-3 documents (/Names/EmbeddedFiles) or parses raw CII / UBL 2.1 XML. - Built-in XXE / DTD protection (rejects
<!DOCTYPEand<!ENTITYdeclarations). - Validates mandatory EN 16931 & BR-FR fields:
BT-1(invoice number),BT-2(issue date),BT-3(type code e.g.380,381),BT-5(ISO currency), seller/buyer names, SIREN/SIRET, and VAT numbers. - Strict decimal arithmetic verification (
TaxExclusiveAmount + TaxAmount == TaxInclusiveAmountwithin0.02, plus invoice line summation checks).
- Extracts embedded XML (
-
Real-Time French & EU KYB Connectors
- Official French SIRENE API (
recherche-entreprises.api.gouv.fr): legal name, active/ceased administrative status (etat_administratif), NAF/APE code, headcount bracket, headquarters SIRET/address, and executives (dirigeants). - Official FR VAT Checksum & EU VIES API: mathematical computation of French intra-community VAT (
FR{key}{SIREN}) + live European Commission VIES REST verification with a strict 5-second timeout and automaticmember_state_timeout_fallbackwhen Brussels VIES is temporarily unavailable. - Official BODACC Insolvency Monitoring (
bodacc-datadila.opendatasoft.com): scans recent commercial announcements to detect sauvegarde, redressement judiciaire, liquidation judiciaire, and radiation.
- Official French SIRENE API (
-
Dual Mode: Apify Batch Actor & Standby MCP Server
- Batch Mode: Process invoices and company lists via Apify Console, API, or n8n/Make schedules and export structured JSON to the Apify Dataset.
- MCP Standby Mode (
/mcp): Connect Claude Desktop, Cursor, Windsurf, or custom AI agents directly over Streamable HTTP JSON-RPC 2.0 (tools/list,tools/call).
Use Cases
- ERP & Accounting Pre-Validation: Reject non-compliant Factur-X invoices before PDP/PPF transmission or ERP ingestion.
- Automated Supplier Onboarding (KYB): Verify new French/EU vendors against SIRENE, VIES, and BODACC insolvency registries in under a second.
- AI Agent Tooling (MCP): Give autonomous procurement, finance, and compliance agents deterministic tools (
check_company_kyb,validate_facturx_invoice) without hallucinated company data.
Input Example (Batch Mode)
{"action": "full_supplier_audit","identifiers": ["380129866"],"facturxXmlOrBase64Pdf": "<rsm:CrossIndustryInvoice ...>...</rsm:CrossIndustryInvoice>","includeBodaccInsolvency": true}
Input Parameters
| Field | Type | Default | Description |
|---|---|---|---|
action | string | "full_supplier_audit" | "kyb_check", "validate_facturx", or "full_supplier_audit". |
identifiers | string[] | [] | French SIREN (9 digits), SIRET (14 digits), or EU VAT numbers (e.g. "380129866", "FR32380129866"). |
facturxXmlOrBase64Pdf | string | null | Raw Factur-X CII / UBL 2.1 XML string or base64-encoded PDF/A-3 document. |
includeBodaccInsolvency | boolean | true | Query official BODACC records for collective insolvency procedures or radiation. |
Output Example
{"action": "kyb_check","invoice_validation": null,"kyb_checks": [{"identifier": {"raw": "380129866","normalized": "380129866","identifier_type": "SIREN","country_code": "FR","siren": "380129866","vat_number": "FR89380129866","computed_fr_vat": "FR89380129866","fr_vat_math_valid": true},"sirene": {"found": true,"siren": "380129866","nom_complet": "ORANGE","etat_administratif": "A","is_active": true,"activite_principale": "61.10Z"},"vies": {"vies_status": "valid","valid": true,"computed_fr_vat": "FR89380129866"},"bodacc": {"checked": true,"insolvency_alert": false,"radiation_detected": false},"risk_level": "LOW","risk_flags": []}]}
MCP Integration (Claude Desktop / Cursor / n8n)
When deployed on Apify in Standby Mode, the MCP endpoint is exposed at:
https://<your-actor-standby-url>/mcp
Exposed MCP Tools
check_company_kyb: Acceptsidentifier(SIREN/SIRET/EU VAT) andinclude_bodacc_insolvency(bool).validate_facturx_invoice: Acceptsfacturx_xml_or_base64_pdf(XML string or base64 PDF/A-3).
Example client configuration (mcpServers):
{"mcpServers": {"fr-eu-einvoicing-kyb": {"type": "http","url": "https://<your-actor-standby-url>/mcp","headers": {"Authorization": "Bearer <APIFY_API_TOKEN>"}}}}
Pay-Per-Event Pricing Transparency
This Actor uses transparent Pay-Per-Event billing (kyb-or-invoice-audit):
- Batch mode: Charges
1kyb-or-invoice-auditevent per audit run. - MCP Standby mode: Charges
1kyb-or-invoice-auditevent per successfultools/callinvocation (check_company_kyborvalidate_facturx_invoice). - Respects Apify spending limits (
event_charge_limit_reached) and uses idempotency keys to prevent duplicate charges.