Validate, generate & convert EU e-invoices (UBL, CII, XRechnung, Factur-X) — EN 16931 pre-validated.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Convert an e-invoice between formats via the shared EN 16931 canonical model: parse the source document, re-serialize as the target, and validate the result before returning it — never a document that has not been checked. Format ids: "UBL_2.1" (OASIS UBL, the universal Peppol/EN16931 baseline), "UN_CEFACT_CII" (UN/CEFACT Cross Industry Invoice, required syntax for Chorus Pro/France and many ERP back-ends), "XRechnung_UBL" / "XRechnung_CII" (Germany's mandatory B2G format, XRechnung 3.0 — required for invoicing German public-sector buyers), "Factur-X" (France/Germany hybrid PDF+XML — a human-readable PDF/A-3 with the structured invoice embedded, common for French B2B). Binary formats (Factur-X) are base64 in both directions. Requires an API key on the Pro plan or above for any target beyond plain UBL_2.1 — call list_supported_formats to see current availability.
Target format id, e.g. "UN_CEFACT_CII", "XRechnung_UBL", "XRechnung_CII", or "Factur-X".
Source format id, e.g. "UBL_2.1".
The source document: raw text for XML formats, base64 for binary formats (Factur-X).
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Convert an e-invoice between formats via the shared EN 16931 canonical model: parse the source document, re-serialize as the target, and validate the result before returning it — never a document that has not been checked. Format ids: "UBL_2.1" (OASIS UBL, the universal Peppol/EN16931 baseline), "UN_CEFACT_CII" (UN/CEFACT Cross Industry Invoice, required syntax for Chorus Pro/France and many ERP back-ends), "XRechnung_UBL" / "XRechnung_CII" (Germany's mandatory B2G format, XRechnung 3.0 — required for invoicing German public-sector buyers), "Factur-X" (France/Germany hybrid PDF+XML — a human-readable PDF/A-3 with the structured invoice embedded, common for French B2B). Binary formats (Factur-X) are base64 in both directions. Requires an API key on the Pro plan or above for any target beyond plain UBL_2.1 — call list_supported_formats to see current availability.
| Argument | Type | Description |
|---|---|---|
| to* | string | Target format id, e.g. "UN_CEFACT_CII", "XRechnung_UBL", "XRechnung_CII", or "Factur-X". |
| from* | string | Source format id, e.g. "UBL_2.1". |
| document* | string | The source document: raw text for XML formats, base64 for binary formats (Factur-X). |
{
"type": "object",
"required": [
"from",
"to",
"document"
],
"properties": {
"to": {
"type": "string",
"description": "Target format id, e.g. \"UN_CEFACT_CII\", \"XRechnung_UBL\", \"XRechnung_CII\", or \"Factur-X\"."
},
"from": {
"type": "string",
"description": "Source format id, e.g. \"UBL_2.1\"."
},
"document": {
"type": "string",
"description": "The source document: raw text for XML formats, base64 for binary formats (Factur-X)."
}
}
}Generate an EN 16931-conformant UBL 2.1 invoice from structured fields. The result is self-validated before being returned. Provide seller, buyer, and at least one line; for standard-rated (category "S") lines include a vatRate and the seller vatId.
| Argument | Type | Description |
|---|---|---|
| buyer* | object | |
| lines* | array | |
| seller* | object | |
| dueDate | string | |
| payment | object | |
| currency* | string | ISO 4217, e.g. EUR. |
| issueDate* | string | ISO date, e.g. 2026-06-19. |
| invoiceNumber* | string |
{
"type": "object",
"required": [
"invoiceNumber",
"issueDate",
"currency",
"seller",
"buyer",
"lines"
],
"properties": {
"buyer": {
"type": "object"
},
"lines": {
"type": "array",
"items": {
"type": "object"
}
},
"seller": {
"type": "object"
},
"dueDate": {
"type": "string"
},
"payment": {
"type": "object"
},
"currency": {
"type": "string",
"description": "ISO 4217, e.g. EUR."
},
"issueDate": {
"type": "string",
"description": "ISO date, e.g. 2026-06-19."
},
"invoiceNumber": {
"type": "string"
}
}
}List the e-invoice formats InvoiceHub validates today and what is on the roadmap.
No arguments.
{
"type": "object",
"properties": {}
}Validate an EU e-invoice XML string against the official EN 16931 Schematron. Accepts either syntax — UBL 2.1 (Invoice or CreditNote) or UN/CEFACT CII — and auto-detects which. A document declaring the XRechnung 3.0 CustomizationID is additionally checked against KoSIT's XRechnung delta ruleset. Returns whether it is valid and any failing BR-* / BR-DE-* business rules.
| Argument | Type | Description |
|---|---|---|
| xml* | string | Raw e-invoice XML (UBL 2.1 or UN/CEFACT CII). |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"description": "Raw e-invoice XML (UBL 2.1 or UN/CEFACT CII)."
}
}
}