InvoiceXML
com.invoicexmlPublished by invoicexml.comOfficial publisherv1.0.0Updated Oct 24, 2026
Create, validate, convert & extract compliant e-invoices (UBL, Factur-X, ZUGFeRD, XRechnung)
Overview
Remote InvoiceXML MCP server that lets an assistant create, validate, convert and extract compliant e-invoices such as UBL, Factur-X, ZUGFeRD and XRechnung.
- What you can do
- Create and generate compliant e-invoices in the supported formats
- Validate existing e-invoice documents against the supported standards
- Convert invoices between formats such as UBL, CII, Factur-X, ZUGFeRD and XRechnung
- Extract data from e-invoice files supplied by upload or by URL fetch
- Work across Peppol BIS Billing 3.0 and related European e-invoicing profiles
- When to use it
- Useful when an assistant has to produce, check or reformat electronic invoices for European e-invoicing standards, or pull structured data out of invoice files, without building the format handling itself.
- Requirements
- The hosted endpoint is remote and requires OAuth 2.1 sign-in against invoicexml.com, which yields the user's API key as the access token. Self-hosting the same codebase needs the .NET 10 SDK and an InvoiceXML API key supplied via INVOICEXML_API_KEY or McpApiKeyValue. Network access to the InvoiceXML API is required.
Installation
In SourceWeft
- Open InvoiceXML in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/com.invoicexml%2Finvoicexml/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"invoicexml": {
"type": "http",
"url": "https://mcp.invoicexml.com/"
}
}
}README
InvoiceXML MCP Server
A Model Context Protocol server that exposes the InvoiceXML API to AI agents. Covers Factur-X, ZUGFeRD, XRechnung, UBL / CII, and Peppol BIS Billing 3.0.
The same codebase runs in two deployment shapes, selected at startup by one environment variable:
Both run the same binary; only the configuration differs. The repository is platform-independent — it knows nothing about where or how you host it.
Architecture
InvoiceXml.Mcp.Core is a small, transport-agnostic SDK:
IInvoiceXmlClient— typed client over the public REST APIHttpInvoiceXmlClient— the only implementation; consumes anHttpClientfromIHttpClientFactoryInvoiceXmlClientOptions— base URL, timeout (no auth)AddInvoiceXmlMcpCore(IServiceCollection, IConfiguration)— DI entry point; returns theIHttpClientBuilderso the host attaches auth as aDelegatingHandler
The SDK never sees credentials. The host applies them through the HTTP pipeline. That seam is what lets one codebase serve both deployment modes.
InvoiceXml.Mcp.Host is an ASP.NET Core 10 app:
- Reads
Mcp:AuthMode(ApiKeyorOAuth) at startup - Wires the matching
DelegatingHandleronto the Core HTTP client viaAddHostAuth(...) - Serves the MCP endpoint at
POST /, a human-friendly welcome page atGET /, and/health
Adding a new auth mode = one arm in AuthExtensions.cs plus a small folder under
Auth/<Mode>/. Adding a new tool = one [McpServerTool] class. Nothing else changes.
Repository layout
Running locally
You need a .NET 10 SDK and an InvoiceXML API key.
GET http://localhost:5004/ shows a welcome page in a browser; the MCP endpoint is
POST http://localhost:5004/; GET /health returns { "status": "ok" }.
Configuration
Environment variable equivalents (double underscore = nesting):
OAuth mode
When Mcp:AuthMode=OAuth the host stops accepting a static API key and instead:
- Returns 401 with
WWW-Authenticate: Bearer resource_metadata="…"for anyPOST /that has no Bearer token. - Serves
GET /.well-known/oauth-protected-resourcepointing MCP clients atinvoicexml.comas the authorization server. - Forwards the inbound Bearer token verbatim on every outbound call to the InvoiceXML API (the API is the source of truth for token validity; the MCP server does not validate tokens locally).
The dance an MCP client performs:
Deployment
The host is a standard ASP.NET Core app — run it however you run .NET services (systemd, a container, a PaaS, etc.; the repo doesn't prescribe one):
Set configuration via environment variables on the host (never commit secrets):
ASPNETCORE_ENVIRONMENT=ProductionMcp__AuthMode=ApiKey(orOAuth)Mcp__ApiKey__Value=…/INVOICEXML_API_KEY=…(ApiKey mode)McpUri=https://your-public-urlandMcp__OAuth__AuthorizationServer=https://invoicexml.com(OAuth mode)
Terminate TLS at your reverse proxy / load balancer and forward to the host's HTTP port. The server is stateless, so you can run multiple instances behind a load balancer.
License
MIT — see LICENSE.
Source: README.md at commit 41942a0
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts