XRechnung Validator

Validate XRechnung XML and ZUGFeRD / Factur-X PDFs with the free checkxrechnung.com API.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
97%
Calidad de los nombres
93%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~871Tokens (definiciones de herramientas)
~2.0 KBTamaño de respuesta típico
Impacto moderado en la atención (0.68% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "xrechnung-validator": {
      "command": "npx",
      "args": [
        "xrechnung-validator-mcp"
      ]
    }
  }
}

Paquetes ejecutables

npmxrechnung-validator-mcp0.2.1stdio

Puntos de conexión remotos

https://checkxrechnung.com/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (3)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢validate_xrechnung(xml, file_base64, file_name)

Validate one XRechnung XML document (UBL or CII) or ZUGFeRD PDF with the official KoSIT validator. Provide exactly one of xml (the XML text) or file_base64. XML limit 5 MB. Free: 50 per IP per UTC day without a key, or 500 a month with a free API key. Files are not stored. Returns valid plus errors with rule_id and rule_url.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "xml": {
      "type": "string",
      "description": "XRechnung XML (UBL or CII) as text."
    },
    "file_base64": {
      "type": "string",
      "description": "An XML file or ZUGFeRD PDF, base64-encoded. Use this or xml."
    },
    "file_name": {
      "type": "string",
      "description": "Optional file name, e.g. invoice.pdf."
    }
  }
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "fileName": {
      "type": "string"
    },
    "syntax": {
      "type": "string"
    },
    "invoiceType": {
      "type": "string"
    },
    "persisted": {
      "type": "boolean"
    },
    "summary": {
      "type": "object",
      "properties": {
        "errors": {
          "type": "number"
        },
        "warnings": {
          "type": "number"
        }
      }
    },
    "versions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule_id": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "rule_url": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "valid",
    "errors"
  ]
}
🟢validate_zugferd(file_base64, file_name)

Validate one ZUGFeRD or Factur-X PDF: PDF/A-3 basics, the embedded XML, the profile (MINIMUM, BASIC WL, BASIC, EN16931, EXTENDED, XRECHNUNG) and the EN 16931 CII Schematron. Send the PDF as file_base64 (limit 10 MB). Same free limit as validate_xrechnung (shared counter). Returns valid, profile, and errors with rule_id and rule_url.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The PDF, base64-encoded."
    },
    "file_name": {
      "type": "string",
      "description": "Optional file name, e.g. invoice.pdf."
    }
  },
  "required": [
    "file_base64"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "fileName": {
      "type": "string"
    },
    "profile": {
      "type": "string"
    },
    "embeddedName": {
      "type": "string"
    },
    "pdfa": {
      "type": "object"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule_id": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "rule_url": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "valid",
    "errors"
  ]
}
🟢extract_zugferd(file_base64, file_name)

Extract the embedded invoice XML and a JSON summary from a ZUGFeRD or Factur-X PDF. Send the PDF as file_base64 (limit 10 MB). Same free limit as validate_xrechnung (shared counter). ok means an XML attachment was found. The xml field is the raw document.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The PDF, base64-encoded."
    },
    "file_name": {
      "type": "string",
      "description": "Optional file name, e.g. invoice.pdf."
    }
  },
  "required": [
    "file_base64"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "fileName": {
      "type": "string"
    },
    "profile": {
      "type": "string"
    },
    "embeddedName": {
      "type": "string"
    },
    "summary": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "xml": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada3 herramientas