The MCP server for agentic e-invoicing
Connect Claude, ChatGPT, or any MCP client to InvoiceXML and let your AI agent create, validate, convert, render, and read compliant Factur-X, ZUGFeRD, XRechnung, UBL, CII, and Peppol invoices, natively.
- Claude Desktop, claude.ai and Claude Code
- ChatGPT As a custom connector
- Cursor Agents in the AI code editor
- Windsurf Cascade, the agentic IDE
- VS Code GitHub Copilot agent mode
- Any MCP client An open standard, no lock-in
Two ways to run it
Use the managed server for instant setup, or self-host the open-source build on your own infrastructure.
Hosted
mcp.invoicexml.com
- Zero setup, fully managed and kept up to date
- Secure OAuth 2.1 sign-in, no API key to paste
- Always running on EU infrastructure
{
"mcpServers": {
"invoicexml": {
"url": "https://mcp.invoicexml.com"
}
}
}
Self-hosted
Open source · your infrastructure
- Run it anywhere with your own API key
- Full control over networking and data flow
- Auditable, platform-independent code
- Switch between API-key and OAuth 2.1 modes
- No per-call fees beyond your own API usage
git clone https://github.com/InvoiceXML/invoicexml-mcp cd invoicexml-mcp export INVOICEXML_API_KEY=sk_live_... dotnet run --project src/InvoiceXml.Mcp.Host
Add the connector
Point your AI client at mcp.invoicexml.com, or your own host.
Sign in
Authorize with OAuth, or drop in your API key when self-hosting.
Start invoicing
Ask your agent to create, validate, or convert an invoice. That's it.
E-invoicing your AI can actually use
The Model Context Protocol is the open standard for connecting AI assistants to real tools. InvoiceXML is the first to ship a complete e-invoicing MCP server, so an agent can handle EN 16931 compliance the same way it reads a file or searches the web. No glue code, no brittle screen-scraping, no maintaining a compliance library that breaks every time a standard changes.
Your invoicing tools, one connection
Every tool is exposed to your agent with a clear name, description, and structured results.
Create Invoice
Generate a fully compliant e-invoice in any supported format from structured data.
create_invoice
Validate XML Invoice
Check a UBL, CII, or XRechnung document against EN 16931 XSD and Schematron rules.
validate_xml_invoice
Validate PDF Invoice
Validate a Factur-X or ZUGFeRD hybrid PDF and the XML embedded inside it.
validate_pdf_invoice
Render Invoice to PDF
Turn UBL, CII, or XRechnung XML into a clean, human-readable PDF preview.
render_invoice
Extract Invoice Data
Pull structured JSON or the embedded EN 16931 XML out of a hybrid PDF.
extract_invoice
Embed XML into PDF
Combine a PDF and a CII XML into a Factur-X or ZUGFeRD hybrid PDF/A-3.
embed_invoice
Convert Invoice Format
Transform between UBL, CII, XRechnung, Factur-X, and ZUGFeRD on demand.
convert_invoice
Create and Email Invoice
Generate an e-invoice and email it from your own verified domain, once you approve the send.
email_invoice
Embed XML into PDF and Email
Combine a PDF and a CII XML into a hybrid PDF/A-3 and email it from your own verified domain.
email_embedded_invoice
Works with every MCP client
MCP is an open standard, so InvoiceXML plugs into the tools your team already uses.
What teams build with it
Accounts-payable agent
An agent receives a supplier PDF, extracts the data, validates it against EN 16931, and converts it to the format your ERP expects, with no human in the loop.
Compliance copilot
Ask your assistant "is this invoice XRechnung-compliant?" and get a Schematron-level answer that names the exact business rules that failed.
On-demand conversion
Convert between Factur-X, ZUGFeRD, XRechnung, UBL, and CII inside a chat or an automated pipeline, without wiring up a single library.
Validation gate
Drop a validation step into any agent workflow so invoices are checked before they are sent, booked, or forwarded to a tax authority.
Build it into your product
Give your own AI features native e-invoicing without building and maintaining the compliance layer yourself.
Cross-border invoicing
Generate the right national format for each counterparty, Germany, France, or anywhere on the Peppol network, from one source document.
Built for sensitive financial data
OAuth 2.1 + DCR
The hosted server uses OAuth with Dynamic Client Registration. Your client never sees a raw key.
Zero retention
Documents are processed in memory and deleted on response. We keep no copy and never train on your data.
EU infrastructure
GDPR-aligned, HTTPS-only, hosted in the European Union.
Open & auditable
The server is open source and platform-independent. Read it, fork it, run it yourself.
MCP is one of several ways to automate compliance. The integrations hub covers the Zapier apps, the email gateway, and the ERP guides.
Frequently Asked Questions
Ready to automate your invoices?
Validate, convert and embed compliant e-invoices through one API. Start your 30-day free trial. No credit card required.