# InvoiceHub > One JSON invoice model in. Any EU e-invoice format out. Pre-validated > against the official EN 16931 (CEN) Schematron — via a single REST call, > or a hosted MCP server for AI agents. InvoiceHub validates, generates, and converts EU e-invoices across UBL 2.1, UN/CEFACT CII, XRechnung 3.0 (Germany's mandatory B2G format), and Factur-X (France/Germany hybrid PDF/A-3), all through a shared canonical model, using the official CEN EN 16931 Schematron (v1.3.16) and KoSIT's official XRechnung validator rules — the same artifacts tax authorities and Peppol access points use. Generated and converted documents are self-validated before they are ever returned; a document that would fail is never handed back silently. ## REST API - Validate: `POST https://api.invoicehub.dev/api/v1/validate` (Bearer API key) - Generate: `POST https://api.invoicehub.dev/api/v1/generate` (structured JSON → any format) - Convert: `POST https://api.invoicehub.dev/api/v1/convert` (any supported format → any other) - Try validation without a key: `POST https://api.invoicehub.dev/api/v1/playground` - Format catalogue (live): `GET https://api.invoicehub.dev/api/v1/formats` - OpenAPI spec: https://api.invoicehub.dev/api/v1/openapi.json - Docs: https://invoicehub.dev/docs ## MCP server (no install, no auth for validation/generation) A hosted Streamable HTTP MCP server at `https://api.invoicehub.dev/mcp`. Manifest: https://invoicehub.dev/.well-known/mcp/server.json - `validate_invoice` — validate a UBL 2.1 invoice/credit note XML string - `generate_invoice` — generate an EN 16931-conformant UBL 2.1 invoice from structured fields - `convert_invoice` — convert between UBL 2.1, UN/CEFACT CII, XRechnung 3.0, and Factur-X - `list_supported_formats` — the live format catalogue (same source as GET /api/v1/formats) `convert_invoice` targets beyond plain UBL_2.1 require an API key on the Pro plan or above — see https://invoicehub.dev/pricing. Validation and UBL generation remain free and unauthenticated over MCP. Add it as a custom connector in claude.ai/Claude Desktop, or point any MCP client at the URL directly: ```json { "mcpServers": { "invoicehub": { "url": "https://api.invoicehub.dev/mcp" } } } ``` Full docs: https://invoicehub.dev/docs/mcp ## Pricing Validation is unlimited and free forever, on every plan. - Free: 50 documents/month generated or converted, UBL 2.1 only - Pro (€49/mo · €490/yr): 2,000 documents/month, all formats, email support - Scale (€199/mo · €1,990/yr): 25,000 documents/month, all formats, priority email support - Enterprise: custom volume, SLA — https://invoicehub.dev/contact ## Policies - Privacy: https://invoicehub.dev/privacy - Terms: https://invoicehub.dev/terms - Security: https://invoicehub.dev/security ## invoicehub.dev