Validate Peppol UBL, XRechnung, CII and Factur-X/ZUGFeRD e-invoices against EN16931 rules.
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.
Quickly detect whether an XML invoice is UBL or CII (Cross-Industry Invoice). Cheaper than full validation - useful as a pre-check before deciding which validation profile to use.
The XML content to inspect
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp https://peppolvalidator.com/mcp
Quickly detect whether an XML invoice is UBL or CII (Cross-Industry Invoice). Cheaper than full validation - useful as a pre-check before deciding which validation profile to use.
| Argument | Type | Description |
|---|---|---|
| xml* | string | The XML content to inspect |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"description": "The XML content to inspect"
}
}
}Get a plain-language explanation of an EN16931 (BR-*) or Peppol BIS (PEPPOL-EN16931-R*) rule code, or of one of the main XRechnung (BR-DE-*) and French (BR-FR-*) rules. Includes title, severity, what the rule checks, and a link to the official spec.
| Argument | Type | Description |
|---|---|---|
| ruleId* | string | The rule identifier as it appears in validation output, e.g. 'BR-CO-15' or 'PEPPOL-EN16931-R003' |
{
"type": "object",
"required": [
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "The rule identifier as it appears in validation output, e.g. 'BR-CO-15' or 'PEPPOL-EN16931-R003'"
}
}
}Get a HATCHA verification challenge to prove you are an AI agent. Required before calling submit_feedback. Returns a token and a challenge prompt (e.g. compute a SHA-256 hash).
No arguments.
{
"type": "object",
"properties": {}
}Report the outcome of using the Peppol Validator. Requires HATCHA verification (call get_verification_challenge first). Report validation accuracy issues, API problems, or general feedback.
| Argument | Type | Description |
|---|---|---|
| fileId | string | File ID (optional) |
| agentId* | string | Your agent identifier |
| comment* | string | What happened and what you expected |
| outcome* | string | success: worked correctly, failure: wrong results, error: crashed/unavailable |
| ruleIds | array | Specific rule IDs involved, e.g. BR-01 (optional) |
| toolUsed* | string | Which tool was used |
| apiIssues | array | API problems encountered (optional) |
| sessionId | string | Validation session ID (optional) |
| accuracyIssue | string | Type of accuracy problem (optional) |
Validate a Peppol UBL or CII XML invoice, or a ZUGFeRD / Factur-X PDF (pdfBase64): first against the XSD (UBL 2.1 Invoice/CreditNote, UN/CEFACT CII D16B, or the Factur-X 1.09.2 XSD of the profile), then against EN16931 and Peppol BIS Billing 3.0 schematron rules. XRechnung 3.0 files (UBL or CII) are checked against EN16931 plus the KoSIT XRechnung BR-DE rules instead of Peppol BIS. French invoices (business process type BT-23 is a cadre de facturation code such as S1 or B1; UBL or CII with the plain urn:cen.eu:en16931:2017, or Factur-X BASIC WL, EN 16931 or EXTENDED) also get the French BR-FR rules (FNFE-MPE France CTC schematron, AFNOR XP Z12-012 V1.4), in UBL instead of Peppol BIS; issue.rule is the rule (BR-FR-05), issue.id the assert (BR-FR-05_BT-22-1). Factur-X / ZUGFeRD CII files (by BT-24: MINIMUM, BASIC WL, BASIC, EXTENDED, the explicit EN 16931 profile id, and the plain urn:cen.eu:en16931:2017 when the XML is inside a Factur-X / ZUGFeRD PDF) are checked against the official Factur-X 1.09.2 / ZUGFeRD 2.5.2 XSD and Schematron of their profile instead of the CEN EN16931 rules (rule ids BR-*, BR-FXEXT-*, FX-SCH-A-*). Standalone CII XML with the plain urn:cen.eu:en16931:2017 gets the CII D16B XSD and the CEN EN16931 rules. Returns validation status, the XSD and rule sets applied (schema, ruleSets), errors, warnings, and invoice metadata. XSD errors have type "xsd", rule "XSD" (or "XML" when the file is not well-formed), and line and column. Optional: pass your own XSD (xsd, xsdMain) and/or ISO Schematron (schematron, schematronIncludes), e.g. a CIUS or in-house rules, to check the invoice against them instead; builtin=true runs the built-in checks as well. Issues from your files have custom: true, and the result lists them under custom. A PDF is checked first: the embedded invoice XML (factur-x.xml, xrechnung.xml, zugferd-invoice.xml), its file specification (AFRelationship, MIME type), the XMP metadata (ConformanceLevel against the XML's profile) and PDF/A-3 (basic check, not a full PDF/A validation); these issues have type "pdf" and rule PDF-01…PDF-21, the result has pdf (attachment, standard, xmp, pdfa), and then the embedded XML gets the checks above. Data quality hints that are not part of the official rules (rules ADV-EMPTY, ADV-VAT, ADV-IBAN, ADV-ENDPOINT: empty elements where no rule checks them, VAT identifiers with spaces or not in their country's format, IBANs with spaces or hyphens, the wrong length or wrong check digits, placeholder or invalid electronic addresses) come in a separate advisories array (type "advisory", severity "info"); they never change status, errors or warnings. "valid" means the invoice passed the XSD and the rule sets that ran (ruleSets); it does not mean the data is correct: these rules do not check that a VAT ID or Peppol ID exists or is registered, nor the format of VAT IDs, IBANs (except a warning on some German invoices) and most Peppol IDs (an EndpointID "unknown" under scheme 0204 passes). The validator reports these formats, placeholder Peppol IDs and empty elements no rule checks as data quality hints in advisories (ADV-VAT, ADV-IBAN, ADV-ENDPOINT, ADV-EMPTY), which never change status; whether an ID exists or is registered is not checked at all (no live lookups).
Fetch a UBL or CII XML invoice (or a ZUGFeRD / Factur-X PDF) from an HTTPS URL and validate it against its XSD (UBL 2.1, CII D16B, or the Factur-X profile XSD), then EN16931 and Peppol BIS Billing 3.0 (XRechnung 3.0 files: EN16931 plus the KoSIT XRechnung BR-DE rules instead of Peppol BIS; French invoices with a cadre de facturation code in BT-23: also the French BR-FR rules, in UBL instead of Peppol BIS; Factur-X / ZUGFeRD files: the XSD and Schematron of their profile, MINIMUM to EXTENDED; the plain EN 16931 id gets the EN 16931 profile only inside a PDF). The remote file must be ≤5MB and reachable over HTTPS. "valid" means the invoice passed the XSD and the rule sets that ran (ruleSets); it does not mean the data is correct: these rules do not check that a VAT ID or Peppol ID exists or is registered, nor the format of VAT IDs, IBANs (except a warning on some German invoices) and most Peppol IDs (an EndpointID "unknown" under scheme 0204 passes). The validator reports these formats, placeholder Peppol IDs and empty elements no rule checks as data quality hints in advisories (ADV-VAT, ADV-IBAN, ADV-ENDPOINT, ADV-EMPTY), which never change status; whether an ID exists or is registered is not checked at all (no live lookups).
| Argument | Type | Description |
|---|---|---|
| url* | string | HTTPS URL pointing to the XML invoice (or ZUGFeRD / Factur-X PDF) to validate |
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "HTTPS URL pointing to the XML invoice (or ZUGFeRD / Factur-X PDF) to validate"
}
}
}Convert a UBL or CII XML invoice to a human-readable PDF document. Returns the PDF as base64-encoded data.
| Argument | Type | Description |
|---|---|---|
| xml* | string | The full XML content of the invoice to convert |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"description": "The full XML content of the invoice to convert"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 3, 2026.
| invoiceFormat |
| string |
| Invoice format validated (optional) |
| verificationToken* | string | Token from get_verification_challenge |
| verificationAnswer* | string | Your answer to the HATCHA challenge |
{
"type": "object",
"required": [
"agentId",
"toolUsed",
"outcome",
"comment",
"verificationToken",
"verificationAnswer"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID (optional)"
},
"agentId": {
"type": "string",
"description": "Your agent identifier"
},
"comment": {
"type": "string",
"description": "What happened and what you expected"
},
"outcome": {
"enum": [
"success",
"failure",
"error"
],
"type": "string",
"description": "success: worked correctly, failure: wrong results, error: crashed/unavailable"
},
"ruleIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specific rule IDs involved, e.g. BR-01 (optional)"
},
"toolUsed": {
"enum": [
"validate_invoice",
"xml_to_pdf"
],
"type": "string",
"description": "Which tool was used"
},
"apiIssues": {
"type": "array",
"items": {
"type": "string"
},
"description": "API problems encountered (optional)"
},
"sessionId": {
"type": "string",
"description": "Validation session ID (optional)"
},
"accuracyIssue": {
"enum": [
"false_positive",
"false_negative",
"incorrect_severity",
"wrong_rule"
],
"type": "string",
"description": "Type of accuracy problem (optional)"
},
"invoiceFormat": {
"enum": [
"ubl",
"cii"
],
"type": "string",
"description": "Invoice format validated (optional)"
},
"verificationToken": {
"type": "string",
"description": "Token from get_verification_challenge"
},
"verificationAnswer": {
"type": "string",
"description": "Your answer to the HATCHA challenge"
}
}
}| Argument | Type | Description |
|---|---|---|
| xml | string | The full XML content of the invoice to validate. Pass this or pdfBase64. |
| xsd | object | Your own XSD instead of the built-in one: file name → XSD text, the main schema and every file it includes or imports (relative schemaLocation; nothing is downloaded). At most 50 files, 5 MB together. |
| builtin | boolean | With xsd or schematron: also run the built-in XSD and EN16931/Peppol/XRechnung rule sets and merge the issues. Default false. |
| xsdMain | string | File name of the main XSD in xsd. Needed when xsd has more than one file. |
| filename | string | File name of the PDF in pdfBase64, shown in the result. Default invoice.pdf. |
| pdfBase64 | string | A ZUGFeRD / Factur-X PDF, base64-encoded, instead of xml (at most 5 MB). Its PDF checks run and the embedded invoice XML is validated; one result with both. |
| schematron | string | Your own ISO Schematron (queryBinding xslt2 or xslt3) instead of the built-in rule sets: at most 64 KB with its includes and 50 assert/report. Kept for 7 days by hash; each validation compiles it, a few seconds. |
| schematronIncludes | object | File name → text of the files the schematron includes (relative sch:include href). |
{
"type": "object",
"required": [],
"properties": {
"xml": {
"type": "string",
"description": "The full XML content of the invoice to validate. Pass this or pdfBase64."
},
"xsd": {
"type": "object",
"description": "Your own XSD instead of the built-in one: file name → XSD text, the main schema and every file it includes or imports (relative schemaLocation; nothing is downloaded). At most 50 files, 5 MB together.",
"additionalProperties": {
"type": "string"
}
},
"builtin": {
"type": "boolean",
"description": "With xsd or schematron: also run the built-in XSD and EN16931/Peppol/XRechnung rule sets and merge the issues. Default false."
},
"xsdMain": {
"type": "string",
"description": "File name of the main XSD in xsd. Needed when xsd has more than one file."
},
"filename": {
"type": "string",
"description": "File name of the PDF in pdfBase64, shown in the result. Default invoice.pdf."
},
"pdfBase64": {
"type": "string",
"description": "A ZUGFeRD / Factur-X PDF, base64-encoded, instead of xml (at most 5 MB). Its PDF checks run and the embedded invoice XML is validated; one result with both."
},
"schematron": {
"type": "string",
"description": "Your own ISO Schematron (queryBinding xslt2 or xslt3) instead of the built-in rule sets: at most 64 KB with its includes and 50 assert/report. Kept for 7 days by hash; each validation compiles it, a few seconds."
},
"schematronIncludes": {
"type": "object",
"description": "File name → text of the files the schematron includes (relative sch:include href).",
"additionalProperties": {
"type": "string"
}
}
}
}